@charset "utf-8";
/* ==========================================================================
   作品详情（付费阅读入口）/ 章节阅读页
   依赖 brand.css 的令牌：--deep / --paper / --accent / --ink / --muted / --line
   作用域：body.page
   ========================================================================== */

/* ---------------------------- 详情页操作区 ---------------------------- */
body.page .work-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 26px 0 0;
    max-width: 520px;
}

body.page .btn-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 26px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-ink);
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 24px;
    text-decoration: none;
    white-space: nowrap;
}
body.page .btn-pay:hover { background: #a7e26e; border-color: #a7e26e; }

body.page .btn-fav {
    height: 46px;
    padding: 0 22px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(23, 35, 31, .22);
    border-radius: 24px;
    cursor: pointer;
    white-space: nowrap;
}
body.page .btn-fav:hover { border-color: var(--ink); }
body.page .btn-fav.on {
    color: var(--deep);
    background: #eef4ea;
    border-color: var(--deep);
    font-weight: 600;
}

body.page .btn-share {
    height: 46px;
    padding: 0 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--muted);
    background: none;
    border: 0;
    cursor: pointer;
}
body.page .btn-share:hover { color: var(--ink); }

body.page .work-actions-note {
    flex: 0 0 100%;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--muted);
}

/* ---------------------------- 连载 ---------------------------- */
body.page .work-serial {
    margin: 48px 0 0;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

body.page .work-serial-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 6px;
}
body.page .work-serial-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--ink);
}
body.page .work-serial-sum { font-size: 12.5px; color: var(--muted); }

body.page .chapter-list { margin: 0; padding: 0; list-style: none; }
body.page .chapter-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
}
body.page .chapter-item:last-child { border-bottom: 0; }

body.page .chapter-seq {
    flex: 0 0 auto;
    min-width: 46px;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--muted);
}
body.page .chapter-title {
    flex: 1 1 auto;
    font-size: 14.5px;
    color: var(--ink);
    text-decoration: none;
}
body.page .chapter-title:hover { text-decoration: underline; text-underline-offset: 4px; }

body.page .chapter-free,
body.page .chapter-lock {
    flex: 0 0 auto;
    padding: 2px 10px;
    font-size: 11.5px;
    border-radius: 999px;
    white-space: nowrap;
}
body.page .chapter-free { color: #2f6b22; background: #e4f7d2; }
body.page .chapter-lock { color: #8a6116; background: #fff4dd; }

body.page .chapter-go {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--deep);
    text-decoration: none;
    border-bottom: 1px solid rgba(23, 54, 45, .28);
    padding-bottom: 1px;
}
body.page .chapter-go:hover { border-bottom-color: var(--deep); }
body.page .chapter-empty { padding: 18px 2px; font-size: 13.5px; color: var(--muted); list-style: none; }

/* ---------------------------- 阅读页 ---------------------------- */
body.page .reader-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 56px var(--gutter) 0;
}

body.page .reader-back { margin: 0 0 24px; text-align: center; font-size: 13px; }
body.page .reader-back a { color: var(--muted); text-decoration: none; }
body.page .reader-back a:hover { color: var(--ink); }

body.page .reader-head { padding: 10px 0 26px; text-align: center; }
body.page .reader-kicker {
    margin: 0 0 10px;
    font-size: 11.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(23, 35, 31, .45);
}
body.page .reader-title {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--ink);
}
body.page .reader-meta { margin: 0; font-size: 13px; color: var(--muted); }
body.page .reader-meta a { color: var(--deep); text-decoration: none; border-bottom: 1px solid rgba(23, 54, 45, .28); }

body.page .reader-pages { display: flex; flex-direction: column; gap: 14px; }
body.page .reader-pages img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(23, 35, 31, .10);
}

body.page .reader-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 34px 0 0;
}
body.page .reader-nav a {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    font-size: 13.5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(23, 35, 31, .22);
    border-radius: 22px;
    text-decoration: none;
}
body.page .reader-nav a:hover { border-color: var(--ink); }
body.page .reader-nav a.disabled { opacity: .35; pointer-events: none; }

/* 付费墙 */
body.page .paywall {
    max-width: 620px;
    margin: 10px auto 0;
    padding: 42px 38px 44px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(23, 35, 31, .04);
}
body.page .paywall h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.01em; }
body.page .paywall p { margin: 0 0 8px; font-size: 14px; line-height: 1.9; color: var(--muted); }
body.page .paywall .price {
    margin: 18px 0 6px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
body.page .paywall .price em { font-style: normal; font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; }
body.page .paywall .btn-pay { margin-top: 20px; }
body.page .paywall-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

@media screen and (max-width: 760px) {
    body.page .reader-title { font-size: 23px; }
    body.page .chapter-item { flex-wrap: wrap; gap: 8px 12px; }
    body.page .chapter-title { flex: 1 1 100%; order: 2; }
    body.page .chapter-go { order: 3; margin-left: auto; }
    body.page .work-actions { max-width: none; }
}
