:root {
    --paper: #F5F3EC;
    --ink: #1E2420;
    --ink-soft: #545E58;
    --accent: #1F4B3F;
    --accent-soft: #E4EEE9;
    --line: #DAD6C8;
    --radius: 10px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
    background: var(--paper);
    min-height: 100%;
}

body {
    margin: 0;
    min-height: calc(100vh - var(--banner-h, 0px));
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- 顶部 Header：居中布局（logo / 站名 / 简介 / 社交账号 竖向居中），无分割线 ---------- */
.site-header {
    padding: 40px 24px 28px;
    text-align: center;
    min-height: 50vh;              /* 默认占据页面高度的一半 */
    display: flex;
    align-items: center;           /* 内容在头部区域内垂直居中 */
    justify-content: center;
}
.header-inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    /* 第一行：logo | 站名（logo 在站名左侧）；其余行（简介、社交、按钮）横跨整行居中。
       【间距修复】左右各留一个等宽的弹性空列（1fr），logo 和站名放在中间两列（auto，刚好贴合内容）：
       横跨整行的内容再宽（比如登录后的"邮箱 + 退出登录"），多出来的宽度也只会被两侧的空列吸收，
       不会再把 logo 和站名之间撑出一大截空隙，并且 logo + 站名整体始终水平居中。 */
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, auto) minmax(0, 1fr);
    justify-content: center;
    align-items: center;
    column-gap: 0;
    row-gap: 14px;
}
/* 滚动时 logo 和站名由 JS 平移+缩放，飞到顶部白条里的固定位置；其余内容淡出 */
.header-inner > .logo,
.header-text .site-name { transform-origin: 0 0; will-change: transform; }
.header-text .intro, .header-right, .header-auth { will-change: transform, opacity; }
.header-text { display: contents; }   /* 让站名、简介直接参与 header-inner 的网格布局 */
.header-inner > .logo { grid-column: 2; grid-row: 1; margin-right: 16px; }   /* 16px = logo 与站名之间的固定间距 */
.header-text .site-name { grid-column: 3; grid-row: 1; }
.header-text .intro { grid-column: 1 / -1; grid-row: 2; text-align: center; }
.header-right, .header-auth { grid-column: 1 / -1; }
.logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}
.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 30px;
}
.site-name {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}
.intro {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.5;
}
.header-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}
.social-links {
    display: flex;
    gap: 14px;
}
.social-links a {
    color: var(--ink-soft);
    transition: color .15s ease;
}
.social-links a:hover { color: var(--accent); }
.view-posts-link {
    font-size: 14px;
    color: var(--ink-soft);
    white-space: nowrap;
    transition: color .15s ease;
}
.view-posts-link:hover { color: var(--accent); }

/* ---------- 非首页的列表页：一个简洁的标题条（风格和首页保持一致，不额外做大图 hero） ---------- */
.listpage-heading {
    max-width: 720px;
    margin: 24px auto 0;
    padding: 0 24px;
    text-align: center;
}
.listpage-heading h2 {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0 0 6px;
}
.listpage-home-link {
    display: inline-block;
    font-size: 12.5px;
    color: var(--ink-soft);
    opacity: .75;
    text-decoration: none;
    margin: 0 0 10px;
    transition: opacity .15s ease, color .15s ease;
}
.listpage-home-link:hover { opacity: 1; color: var(--accent); }
.listpage-heading p {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0 0 14px;
}
.listpage-share-btn {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.listpage-share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 文章列表：每篇一行，封面 + 标题 ---------- */
.article-list {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 24px 60px;
}
.state-msg {
    text-align: center;
    color: var(--ink-soft);
    padding: 60px 0;
    font-size: 15px;
}
.article-row {
    display: block;
    margin: 22px 0;
    border-radius: var(--radius);
    overflow: hidden;
}
.cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--accent-soft);
}
.cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-soft), var(--line));
}
.cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 36, 32, 0.42);
}
.cover-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.cover-caption .row-title {
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.cover-caption .row-date {
    color: rgba(255,255,255,.85);
}
.pinned-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,.92);
    color: #A5690C;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}
.locked-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,.92);
    color: #A5690C;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.row-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
    transition: color .15s ease;
}
.row-date {
    font-size: 13px;
    color: var(--ink-soft);
}

/* ---------- 纯文字 + 日期样式：发布任何类型页面时都可以单独选这种样式在列表页展示 ---------- */
.article-row-text {
    display: flex;
    margin: 0;
    overflow: visible; /* 悬浮时标题字号变大，不能被 .article-row 原来的 overflow:hidden 裁切 */
    border-radius: 0;
}
.text-row-inner {
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
}
.article-row-text:first-child .text-row-inner { padding-top: 0; }
.text-row-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    /* 鼠标悬浮时文字变色、变大都走这个 transition，动画更顺滑 */
    transition: color .18s ease, font-size .18s ease;
}
.text-row-locked { font-size: 12px; margin-left: 4px; color: var(--ink-soft); vertical-align: 1px; }
.article-row-text:hover .text-row-locked { color: var(--accent); }
.text-row-date {
    flex-shrink: 0;
    font-size: 13px;
    color: var(--ink-soft);
    transition: color .18s ease;
}
.article-row-text:hover .text-row-title {
    color: var(--accent);
    font-size: 19px;
}
.article-row-text:hover .text-row-date { color: var(--accent); }

@media (max-width: 560px) {
    .text-row-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- 图书封面样式：发布任何类型页面时都可以单独选这种样式在列表页展示 ----------
   电脑一行 5 列 / 平板一行 4 列 / 手机一行 2 列；每列：封面图 → 一行书名 → "开启解读"小按钮。
   网格会比 720px 的文字列表更宽（居中撑开），不然五列每本书只有一百多像素，太小看不清。 */
.book-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 34px 24px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(1080px, calc(100vw - 48px));
    margin: 22px 0;
}
.book-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
.book-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 4px 8px 8px 4px; /* 左侧书脊略方、右侧略圆，有点书的样子 */
    overflow: hidden;
    background: var(--accent-soft);
    box-shadow: 0 2px 4px rgba(30, 36, 32, .10), 0 8px 18px rgba(30, 36, 32, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.book-cover::after { /* 书脊处一道很淡的压痕 */
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(90deg, rgba(0,0,0,.14), rgba(0,0,0,0));
    pointer-events: none;
}
.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.book-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 15px;
    line-height: 1.4;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent-soft), var(--line));
    overflow: hidden;
}
.book-item:hover .book-cover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(30, 36, 32, .12), 0 14px 26px rgba(30, 36, 32, .16);
}
.book-flag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .04em;
}
.book-flag-member {
    background: linear-gradient(135deg, #fff1b8 0%, #f2c94c 60%, #d9a21b 100%);
    color: #4a3200;
}
.book-flag-lock {
    background: rgba(20, 20, 24, .62);
    color: #fff;
}
.book-title {
    width: 100%;
    margin: 12px 0 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: var(--ink);
    white-space: nowrap;      /* 书名只占一行，太长用省略号 */
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s ease;
}
.book-item:hover .book-title { color: var(--accent); }
/* 低调的小按钮：浅色底 + 同色细边框，悬浮时才变实心 */
.book-btn {
    margin-top: 9px;
    padding: 4px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .06em;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.book-item:hover .book-btn {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 1023px) { /* 平板：一行 4 列 */
    .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; }
}
@media (max-width: 599px) { /* 手机：一行 2 列 */
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
    .book-title { font-size: 14px; }
}

.load-status {
    text-align: center;
    margin: 28px 0 0;
    font-size: 13px;
    color: var(--ink-soft);
}

.site-footer {
    text-align: center;
    padding: 24px;
    color: var(--ink-soft);
    font-size: 13px;
    border-top: 1px solid var(--line);
}

@media (max-width: 560px) {
    .row-title { font-size: 17px; }
}

/* ---------- 帖子页面：头部和首页一致（随滚动上移缩小，由顶部吸顶条接管） ---------- */
.posts-feed {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 24px 40px;
}
.posts-feed.no-header { padding-top: 40px; }
.post-row {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.post-row:first-child { padding-top: 0; }
.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.post-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 18px;
}
.post-main { flex: 1; min-width: 0; }
.post-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}
.post-author {
    font-weight: 600;
    font-size: 15px;
}
.post-pinned-badge {
    font-size: 12px;
    font-weight: 500;
    color: #A5690C;
    background: #FDEBD0;
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}
.post-time {
    font-size: 13px;
    color: var(--ink-soft);
}
.post-content {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.post-expand-btn {
    margin-top: 6px;
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
}
.post-expand-btn:hover { text-decoration: underline; }

.post-link-card {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    transition: border-color .15s ease, background .15s ease;
}
.post-link-card:hover { border-color: var(--accent); background: var(--accent-soft); }
.post-link-icon { font-size: 16px; color: var(--ink-soft); flex-shrink: 0; }
.post-link-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .posts-feed.no-header { padding-top: 40px; }
}

/* ---------- 文章详情页：参照上传HTML的版式（滚动收起标题栏 + 作者信息条 + 底部固定按钮） ---------- */
.reader-page { position: relative; }

.reader-header {
    position: fixed;
    top: var(--banner-h, 0px); left: 0; right: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.reader-header.loaded {
    border-bottom-color: var(--line);
}
.reader-header-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    min-height: 68px;
    padding: 0 24px;
    display: flex;
    align-items: center;
}
.reader-title-full {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    margin: 12px 0;
    transition: opacity .25s ease;
}
.reader-title-compact {
    position: absolute;
    left: 24px; right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity .25s ease;
}
.reader-avatar-sm {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.reader-name-sm {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
}
.reader-name-sm .bi { color: var(--accent); font-size: 13px; margin-left: 2px; }

.reader-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 24px 40px;
}
.reader-body.no-header { padding-top: 40px; } /* 隐藏了固定定位的头部，正文顶部不用再留那么大空间 */

.reader-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0 24px;
}
.reader-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
}
.reader-name {
    font-size: 16px;
    font-weight: 600;
}
.reader-name .bi { color: var(--accent); font-size: 13px; margin-left: 3px; }
.reader-sub {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 2px;
}

.reader-copyright {
    color: var(--ink-soft);
    font-size: 13px;
    margin: 0 0 20px;
}
.reader-copyright .bi { color: var(--accent); }

.reader-content .article-content {
    font-size: 15px;
    line-height: 23px;
    font-family: var(--font-body);
}

.lock-box {
    text-align: center;
    padding: 36px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--accent-soft);
}
.lock-preview { position: relative; max-height: 96px; overflow: hidden; margin-bottom: 6px; }
.lock-preview-text {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}
.lock-preview-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, var(--accent-soft) 88%);
    pointer-events: none;
}
.lock-meta { text-align: center; margin: 2px 0 22px; }
.lock-chevron { display: block; font-size: 18px; line-height: 1; color: var(--accent); margin-bottom: 4px; }
.lock-count-hint { margin: 0; font-size: 14px; font-weight: 500; color: var(--accent); }
.lock-hint {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 18px;
}
.lock-form {
    display: flex;
    gap: 10px;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.lock-form input {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    box-sizing: border-box;
}
.lock-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.lock-form button:hover:not(:disabled) { background: var(--accent); }
.lock-form button:disabled { opacity: .6; cursor: default; }
.lock-error {
    color: #B3402E;
    font-size: 13px;
    margin: 14px 0 0;
}

/* ---------- 文章内联锁定框：密码输入框 + 购买/查看全部按钮 ---------- */
.lock-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
}
.lock-input-full {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    font-size: 14px;
}
.lock-btn-row { display: flex; gap: 10px; }
.lock-buy-btn,
.lock-viewall-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 11px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .15s ease, background .15s ease;
}
.lock-buy-btn { color: #fff; }
.lock-buy-btn:hover { opacity: .88; }
.lock-viewall-btn { background: var(--ink); color: var(--paper); }
.lock-viewall-btn:hover:not(:disabled) { background: var(--accent); }
.lock-viewall-btn:disabled { opacity: .6; cursor: default; }

/* ---------- 列表页：点击加密文章封面时弹出的密码验证弹窗 ---------- */
.lock-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 24, 21, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lock-modal {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 36px 24px 28px;
    text-align: center;
}
.lock-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--ink-soft);
    font-size: 15px;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
}
.lock-modal-close:hover { background: var(--accent-soft); color: var(--ink); }
.lock-modal-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.lock-modal-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.lock-modal-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 19px;
}
.lock-modal-sitename {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: -0.01em;
}
.lock-modal-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
}
.lock-form-modal { max-width: 100%; flex-direction: column; }
.lock-form-modal input { width: 100%; box-sizing: border-box; }
.lock-form-modal button { width: 100%; }
.lock-modal-buy-btn {
    display: block;
    margin: 14px 0 0;
    padding: 10px 20px;
    border-radius: 999px;
    background: #A5690C;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: filter 0.15s ease;
}
.lock-modal-buy-btn:hover { filter: brightness(0.88); }

.reader-bottom-spacer { height: 90px; }

/* ---------- 会员订购页：主流 SaaS 定价页样式 ---------- */
.membership-body {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 24px 40px;
}
.membership-hero { text-align: center; margin-bottom: 40px; }
.membership-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ink);
}
.membership-subtitle {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.membership-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-bottom: 48px;
}
.membership-plans.single-plan { grid-template-columns: minmax(240px, 360px); justify-content: center; }
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    transition: transform .15s ease, box-shadow .15s ease;
}
.plan-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.plan-card.featured {
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(0,0,0,.08);
    transform: scale(1.03);
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-2px); }
.plan-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-name {
    margin: 4px 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
}
.plan-price {
    text-align: center;
    margin-bottom: 12px;
}
.plan-price-amount {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
}
.plan-price-period { font-size: 14px; color: var(--ink-soft); margin-left: 2px; }
.plan-description {
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 18px;
    line-height: 1.6;
}
.plan-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.5;
}
.plan-check { color: var(--accent); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.plan-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s ease;
}
.plan-btn:hover { opacity: .88; }

.membership-faq { margin-bottom: 32px; }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 16px 2px;
    cursor: pointer;
}
.faq-item:first-child { padding-top: 0; }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
}
.faq-question i { color: var(--ink-soft); flex-shrink: 0; }
.faq-answer {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
}

@media (max-width: 560px) {
    .membership-title { font-size: 26px; }
    .plan-card.featured { transform: none; }
    .plan-card.featured:hover { transform: translateY(-2px); }
}

.copy-share-btn {
    display: block;
    margin: 28px auto 0;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink-soft);
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease;
}
.copy-share-btn:hover { border-color: var(--accent); color: var(--accent); }
.listpage-share-btn { margin-bottom: 32px; } /* 后面紧跟着带分割线的页脚，不加这个间距按钮会贴着分割线 */

.back-to-list-link {
    display: block;
    margin: 32px auto 0;
    text-align: center;
    color: #1a73e8;
    font-size: 15px;
}
.back-to-list-link:hover { color: #0f5bc7; }

.reader-bottom-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 14px 24px;
    z-index: 40;
}
.btn-back-list {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
}
.btn-back-list:hover { background: var(--accent); }


.article-cover {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: block;
}

/* ---------- 商品详情页：顶部复用全站 logo+站名，下面是商品详情 + 底部支付按钮 ---------- */
.product-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 40px;
}
.product-title-bold {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.4;
    margin: 0 0 22px;
}

.product-hero-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
    margin-bottom: 32px;
}
.product-hero-img-wrap img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.product-hero-img-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    background: rgba(0,0,0,.04);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.product-attrs {
    list-style: none;
    margin: 0;
    padding: 0;
}
.product-attrs li {
    display: flex;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 14px;
    line-height: 1.6;
}
.product-attrs li:last-child { border-bottom: none; }
.attr-label {
    flex: 0 0 84px;
    color: var(--ink-soft);
    font-weight: 600;
}
.attr-value { color: var(--ink); }
.attr-value.attr-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 17px;
}

.product-section-title {
    font-family: var(--font-display);
    font-size: 17px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}
.product-intro { margin-bottom: 8px; }
.btn-buy { font-weight: 600; }

@media (max-width: 560px) {
    .product-hero-row { grid-template-columns: 130px 1fr; gap: 18px; }
    .attr-label { flex: 0 0 68px; font-size: 13px; }
    .product-attrs li { font-size: 13px; }
}

/* ---------- 软件发布页：仿 App Store 软件详情页样式 ---------- */
.software-banner-wrap {
    width: 100%;
    margin-bottom: 24px;
}
.software-banner-wrap img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.software-banner-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: rgba(0,0,0,.04);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.software-header-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.software-icon-wrap {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--accent-soft);
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.software-icon-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.software-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--accent);
}

.software-header-info { flex: 1; padding-top: 2px; }
.software-title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
    margin: 0 0 4px;
    line-height: 1.3;
}
.software-subtitle {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0 0 12px;
    line-height: 1.5;
}
.software-get-btn {
    display: inline-block;
    padding: 8px 22px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
}
.software-get-btn:hover { filter: brightness(0.92); }

.software-info-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    text-align: center;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}
.software-info-cell { display: flex; flex-direction: column; gap: 4px; }
.software-info-cell .info-value { font-size: 13px; font-weight: 700; color: var(--ink); }
.software-info-cell .info-label { font-size: 11px; color: var(--ink-soft); }

.software-screens-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.software-screens-scroll img {
    flex: 0 0 auto;
    height: 360px;
    width: auto;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,.1);
    object-fit: cover;
}
.software-screens-scroll::-webkit-scrollbar { height: 6px; }
.software-screens-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.software-intro { margin-bottom: 8px; }

@media (max-width: 560px) {
    .software-info-grid { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
    .software-icon-wrap { flex-basis: 72px; width: 72px; height: 72px; border-radius: 16px; }
    .software-screens-scroll img { height: 260px; }
}
.article-content img {
    max-width: 100%;
    border-radius: var(--radius);
}
.article-content .ql-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: var(--radius);
    margin: 1.2em 0;
}
.article-content .ql-size-small { font-size: 0.75em; }
.article-content .ql-size-large { font-size: 1.5em; }
.article-content .ql-size-huge { font-size: 2.5em; }
.article-content h1, .article-content h2, .article-content h3 {
    font-family: var(--font-display);
    margin-top: 1.6em;
}
.article-content p { margin: 0 0 1.2em; }
.article-content a { color: var(--accent); text-decoration: none; }
.article-content blockquote {
    margin: 1.5em 0;
    padding-left: 18px;
    border-left: 3px solid var(--accent);
    color: var(--ink-soft);
}

@media (max-width: 560px) {
    .reader-title-full { font-size: 17px; }
    .lock-box { padding: 28px 16px; }
    .lock-form { flex-direction: column; max-width: 100%; }
    .lock-form button { width: 100%; }
}

/* ---------- 知识百科页：主体按维基百科风格排版 ---------- */
.wiki-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.wiki-h1 {
    font-family: var(--font-display);
    font-size: 28px;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

/* 单栏顺序往下排：导语 -> 信息框 -> 目录 -> 正文 -> 参考资料 -> 落款 -> 返回链接，
   桌面端和移动端是同一套顺序，不需要另外用 grid/order 折腾。 */
.wiki-lead {
    font-size: 16px;
    line-height: 27px;
    font-weight: 500;
    margin: 0 0 20px;
}

.wiki-toc {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0,0,0,.02);
    padding: 14px 22px;
    margin: 0 0 24px;
}
.wiki-toc-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}
.wiki-toc-list {
    margin: 0;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.9;
}
.wiki-toc-level-3 { list-style: none; margin-left: 16px; font-size: 13px; }

.wiki-content.article-content h1,
.wiki-content.article-content h2 {
    font-size: 19px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    margin-top: 1.8em;
}
.wiki-content.article-content h3 { font-size: 16px; }

/* 百科页链接：完全按维基百科的经典配色——未访问蓝、已访问紫，外部链接带一个小箭头，
   不显示下划线（和全站链接风格保持一致，维基百科现在的 Vector 皮肤默认也不带下划线） */
.wiki-content a,
.wiki-toc-list a,
.wiki-infobox-table a {
    color: #0645ad;
    text-decoration: none;
}
.wiki-content a:visited,
.wiki-toc-list a:visited,
.wiki-infobox-table a:visited {
    color: #0b0080;
}
.wiki-content a:hover,
.wiki-toc-list a:hover,
.wiki-infobox-table a:hover {
    opacity: .8;
}
.wiki-content a[href^="http"]::after,
.wiki-infobox-table a[href^="http"]::after {
    content: "↗";
    display: inline-block;
    font-size: .7em;
    margin-left: 2px;
    transform: translateY(-4px);
}

/* 参考资料：单独一个带边框的盒子，和上面的正文明确分开，不是同一块内容 */
.wiki-references {
    margin-top: 32px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0,0,0,.02);
}
.wiki-section-title {
    font-family: var(--font-display);
    font-size: 17px;
    margin: 0 0 10px;
}
.wiki-references-list {
    font-size: 13px;
    line-height: 1.9;
    color: var(--ink-soft);
    padding-left: 20px;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wiki-footer-note {
    margin-top: 28px;
    font-size: 12.5px;
    color: var(--ink-soft);
    font-style: italic;
}

/* 信息框：导语下面的独立卡片，不再是右侧侧栏 */
.wiki-infobox {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0,0,0,.015);
    font-size: 13px;
    margin: 0 0 24px;
}
.wiki-infobox-title {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
}
.wiki-infobox-img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 260px;
}
.wiki-infobox-table {
    width: 100%;
    border-collapse: collapse;
}
.wiki-infobox-table th,
.wiki-infobox-table td {
    padding: 8px 14px;
    border-top: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.wiki-infobox-table th {
    width: 25%;
    color: var(--ink-soft);
    font-weight: 600;
    white-space: nowrap;
}
.wiki-infobox-table td { word-break: break-word; }

/* ---------- 作者介绍页：图片+文字的作者卡片网格 ---------- */
.author-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}
.author-page-title {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 0 0 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.author-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    margin: -8px 0 24px;
}
.author-outro {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 28px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.author-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 18px;
}
.author-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(0,0,0,.015);
    text-align: center;
    padding-bottom: 14px;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .2s ease, border-color .2s ease;
}
a.author-card:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.author-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
.author-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
/* 鼠标悬浮时图片放大，容器 overflow:hidden 会把超出部分裁掉，不会撑破卡片 */
.author-card:hover .author-card-img { transform: scale(1.12); }

.author-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.06);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-family: var(--font-display);
}
.author-card-name {
    font-weight: 700;
    font-size: 14.5px;
    margin: 12px 12px 4px;
}
.author-card-name .bi { color: var(--accent); font-size: 12px; margin-left: 2px; }
.author-card-bio {
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 12px;
}

@media (max-width: 720px) {
    .author-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
}

/* ---------- 会话页（在线客服聊天） ---------- */
.chat-page {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--banner-h, 0px));
    max-width: 720px;
    margin: 0 auto;
}
.chat-topbar { padding: 20px 24px 0; }
.chat-back-link { font-size: 14px; color: var(--ink-soft); }
.chat-back-link:hover { color: var(--accent); }

/* 第一行：客服头像（居中）/ 第二行：客服名称 / 第三行：客服自我介绍（浅色字体） */
.chat-agent-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--line);
}
.chat-agent-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}
.chat-agent-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 26px;
}
.chat-agent-name {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}
.chat-agent-bio {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    color: var(--ink-soft);
    opacity: .85;
    max-width: 440px;
    line-height: 1.6;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.chat-empty-hint {
    margin: auto;
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
}
.chat-disabled-hint {
    margin: 40px auto;
    color: var(--ink-soft);
    font-size: 14px;
    text-align: center;
}
.chat-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 78%;
}
.chat-row-agent { align-self: flex-start; }
.chat-row-user { align-self: flex-end; flex-direction: row-reverse; }

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 15px;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-avatar-user { background: var(--accent); color: #fff; }
.chat-avatar-placeholder { font-family: var(--font-display); font-weight: 600; }

.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}
.chat-row-user .chat-bubble {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.chat-input-bar {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 14px 24px;
    background: var(--paper);
    border-top: 1px solid var(--line);
}
.chat-input-bar input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 16px; /* 16px 避免 iOS Safari 聚焦时自动放大页面 */
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
}
.chat-input-bar input:focus { outline: none; border-color: var(--accent); }
.chat-input-bar button {
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.chat-input-bar button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 悬浮的"联系站长"入口，除会话页本身外常驻在页面底部/右下角 ---------- */
.floating-chat-entry {
    position: fixed;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

/* 样式一：通栏白色文字条（图标 + "联系站长" 文字，贴底部 20px，左右占满整行） */
.floating-chat-entry-bar {
    left: 20px;
    right: 20px;
    bottom: 20px;
    height: 52px;
    gap: 8px;
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
}
.floating-chat-entry-bar i { font-size: 18px; color: var(--accent); }
.floating-chat-entry-bar:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
/* 文章/商品详情页底部已有一条固定操作栏，悬浮条上移让位，避免两条栏重叠 */
.floating-chat-entry-bar.floating-chat-entry-raised { bottom: 92px; }

/* 样式二：圆形图标按钮（最早的默认样式，只有图标，固定在右下角） */
.floating-chat-entry-circle {
    right: 22px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.floating-chat-entry-circle span { display: none; }
.floating-chat-entry-circle:hover { transform: scale(1.06); }
.floating-chat-entry-circle.floating-chat-entry-raised { bottom: 94px; }

@media (max-width: 720px) {
    .chat-agent-avatar { width: 60px; height: 60px; }
    .chat-row { max-width: 88%; }
}

/* ---------- 用户注册 / 登录页 ---------- */
.auth-page { min-height: calc(100vh - var(--banner-h, 0px)); padding-bottom: 48px; }
.auth-topbar { padding: 20px 24px 0; }
.auth-back-link { font-size: 14px; color: var(--ink-soft); }
.auth-back-link:hover { color: var(--accent); }
.auth-card {
    max-width: 400px;
    margin: 32px auto 0;
    padding: 32px 28px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,.05);
}
.auth-logo {
    display: block;
    width: 56px; height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
}
.auth-title {
    margin: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}
.auth-subtitle {
    margin: 6px 0 24px;
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.auth-field > span { color: var(--ink-soft); font-weight: 500; }
.auth-field input {
    width: 100%;
    padding: 11px 12px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.auth-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-field input:disabled { background: #f6f6f3; }
.auth-code-row { display: flex; gap: 8px; }
.auth-code-row input { flex: 1; min-width: 0; }
.auth-code-btn {
    flex: none;
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}
.auth-code-btn:hover:not(:disabled) { border-color: var(--accent); }
.auth-code-btn:disabled { opacity: .6; cursor: not-allowed; }
.auth-msg { margin: 0; font-size: 13px; line-height: 1.5; }
.auth-msg-error { color: #C0392B; }
.auth-msg-info { color: var(--accent); }
.auth-submit {
    padding: 12px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.auth-submit:hover:not(:disabled) { filter: brightness(.92); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.auth-switch {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
}
.auth-switch-btn {
    margin-left: 6px;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
}
.auth-switch-btn:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .auth-card { margin: 20px 16px 0; padding: 26px 20px 22px; }
}


/* ---------- 吸顶条：滚动到位后出现，70px 高纯白，logo + 站名靠左，左边距 20px ---------- */
.site-bar {
    position: fixed;
    top: var(--banner-h, 0px); left: 0; right: 0;
    height: 70px;
    padding: 0 20px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility 0s linear .15s;
}
html.hbar-on .site-bar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .15s ease, visibility 0s;
}
.site-bar-logo {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.site-bar-logo.logo-placeholder { font-size: 18px; }
.site-bar-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---------- 页脚永远贴在页面底部：内容不足一屏时也不上移 ---------- */
#app:has(> .site-footer) {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--banner-h, 0px));
}
#app:has(> .site-footer) > .listpage-heading,
#app:has(> .site-footer) > .article-list,
#app:has(> .site-footer) > .posts-feed { width: 100%; }
#app:has(> .site-footer) > .listpage-share-btn { align-self: flex-start; }
#app:has(> .site-footer) > .site-footer { margin-top: auto; }

/* ---------- 首页头部的 登录 / 注册 按钮 ---------- */
.header-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.header-auth-email { font-size: 13px; color: var(--ink-soft); }
.auth-btn {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    border: 1px solid var(--accent);
    font-family: inherit;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.auth-btn-ghost { background: transparent; color: var(--accent); }
.auth-btn-ghost:hover { background: var(--accent-soft); }
.auth-btn-solid { background: var(--accent); color: #fff; }
.auth-btn-solid:hover { opacity: .88; }

@media (max-width: 560px) {
    .logo { width: 56px; height: 56px; }
    .site-name { font-size: 26px; }
}


/* ---------- 会员体系：全站顶部提示条 + 升级弹窗 ---------- */
:root { --banner-h: 0px; }
html.has-member-banner { --banner-h: 40px; padding-top: var(--banner-h); }
.member-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 40px;
    z-index: 130;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}
.member-banner > span { overflow: hidden; text-overflow: ellipsis; }
.member-banner.is-member {
    background: linear-gradient(90deg, #8a6a12, #e6c04a 50%, #8a6a12);
    color: #3b2a00;
}
.member-banner.not-member {
    background: linear-gradient(90deg, #1b1b1b, #3a2a12);
    color: #f6e3a8;
}
.member-banner-icon { font-size: 16px; }
.member-banner-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 4px 14px;
    background: #e6c04a;
    color: #2b1f00;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.member-banner-btn:hover { background: #f3d36b; }
@media (max-width: 560px) {
    .member-banner { font-size: 12px; gap: 8px; }
}
.member-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.member-gate {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 26px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.member-gate-icon { font-size: 40px; margin-bottom: 8px; }
.member-gate h3 { margin: 0 0 10px; font-size: 22px; color: var(--ink); }
.member-gate p { margin: 0 0 22px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.member-gate-actions { display: flex; gap: 12px; justify-content: center; }


/* ---------- 被会员专享页面拦截后跳到登录/注册页时的醒目提示 ---------- */
.auth-gate-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fff4d6;
    border: 1.5px solid #e6b422;
    color: #6b4a00;
    text-align: left;
}
.auth-gate-notice-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.auth-gate-notice p { margin: 0; font-size: 14px; line-height: 1.6; font-weight: 600; }
.auth-gate-notice-btn {
    margin-top: 10px;
    padding: 6px 14px;
    border: 0;
    border-radius: 999px;
    background: #e6b422;
    color: #2b1f00;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.auth-gate-notice-btn:hover { background: #f0c444; }


/* ---------- 徽标：会员专享（金色）/ 加密文章（磨砂深色）/ 官方（强调色盾牌） ---------- */
.badge-ico { width: 13px; height: 13px; flex-shrink: 0; }
.members-badge, .locked-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
}
.members-badge {
    background: linear-gradient(135deg, #fff1b8 0%, #f2c94c 45%, #d9a21b 100%);
    color: #4a3200;
    border: 1px solid rgba(255, 255, 255, .55);
    box-shadow: 0 3px 10px rgba(180, 130, 10, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.members-badge .badge-ico { color: #7a5200; }
.locked-badge {
    background: rgba(20, 20, 24, .62);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
.locked-badge .badge-ico { color: #ffd966; }
.locked-badge-low { top: 46px; }
.members-badge-inline {
    position: static;
    display: inline-flex;
    vertical-align: middle;
    margin-left: 8px;
    padding: 4px 10px 4px 8px;
    font-size: 11px;
    box-shadow: none;
}
.official-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px;
    padding: 3px 9px 3px 7px;
    border-radius: 999px;
    vertical-align: middle;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.official-badge .badge-ico { width: 14px; height: 14px; color: #fff; }
.official-badge-sm { padding: 2px 7px 2px 5px; font-size: 11px; margin-left: 4px; }
.official-badge-sm .badge-ico { width: 12px; height: 12px; }


/* ---------- 会员订购页（新版）：顶部固定白条 + 问候语 + 一行两列方案卡片 + 支付按钮 ----------
 * 顶部白条是全站 .site-bar（70px 纯白，logo + 站名靠左 20px），会员订购页进入时就是固定状态，
 * 所以正文要在顶部留出 70px + 间距，不被白条盖住。卡片/按钮颜色和按钮形状由后台通过 CSS 变量注入。 */
.mp-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 98px 20px 40px;
}
.mp-greeting {
    margin: 0 0 28px;
    text-align: center;
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
}
.mp-greeting-email { color: var(--accent); font-weight: 700; word-break: break-all; }
.mp-link { color: var(--accent); font-weight: 600; text-decoration: underline; }

.mp-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-bottom: 28px;
}
.mp-plans.mp-single { grid-template-columns: minmax(0, 320px); justify-content: center; }
.mp-plan {
    box-sizing: border-box;
    padding: 22px 20px;
    border: 1.5px solid var(--mp-border, #C9DDD3);
    border-radius: 14px;
    background: var(--mp-bg, #F4F8F6);          /* 未选中：浅色背景 */
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.mp-plan.selected {
    background: var(--mp-bg-sel, #D3E6DC);      /* 选中：背景加深 */
    border-color: var(--mp-border-sel, #1F4B3F);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}
.mp-plan:focus-visible { outline: 2px solid var(--mp-border-sel, #1F4B3F); outline-offset: 2px; }
.mp-plan-name {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
}
.mp-plan-price { margin-bottom: 10px; }
.mp-plan-amount { font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--mp-price, #1F4B3F); }
.mp-plan-period { margin-left: 2px; font-size: 14px; color: var(--ink-soft); }
.mp-plan-desc { margin: 0 0 4px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.mp-plan-features {
    margin: 14px 0 0;
    padding: 14px 0 0;
    list-style: none;
    border-top: 1px dashed var(--mp-border, #C9DDD3);
    font-size: 14px;
    line-height: 1.9;
    color: var(--ink);
}
.mp-plan-features li { display: flex; align-items: flex-start; gap: 8px; }
.mp-check { flex-shrink: 0; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--mp-price, #1F4B3F); }

.mp-pay { margin-bottom: 40px; text-align: center; }
.mp-pay-btn {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 14px 20px;
    background: var(--mp-btn, #1F4B3F);
    color: var(--mp-btn-text, #fff);
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--mp-btn-radius, 10px);
    transition: filter .15s ease;
}
.mp-pay-btn:hover { filter: brightness(.92); }
.mp-pay-msg { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #C0392B; }

@media (max-width: 480px) {
    .mp-body { padding: 92px 14px 32px; }
    .mp-greeting { font-size: 16px; margin-bottom: 22px; }
    .mp-plans { gap: 10px; }
    .mp-plan { padding: 16px 12px; border-radius: 12px; }
    .mp-plan-name { font-size: 16px; }
    .mp-plan-amount { font-size: 24px; }
    .mp-plan-features { font-size: 13px; line-height: 1.85; }
}


/* ---------- 会员订购页顶部提示：因点击会员专享内容被带到这里时显示 ---------- */
.mp-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1px solid #E6C04A;
    border-radius: 12px;
    background: #FFF6DB;
    color: #6B4E00;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}
.mp-notice-icon { font-size: 18px; flex-shrink: 0; }
@media (max-width: 480px) {
    .mp-notice { font-size: 14px; padding: 10px 12px; }
}


/* ---------- 会员状态提示（订购页）+ 到期 / 即将到期的顶部提示条 ---------- */
.mp-status {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin: -8px 0 22px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
}
.mp-status-ok { background: #FFF6DB; border: 1px solid #E6C04A; color: #6B4E00; }
.mp-status-warn { background: #FFF0DC; border: 1px solid #F0A04B; color: #8A4B00; }
.mp-status-expired { background: #FDECEA; border: 1px solid #E8A39B; color: #A12B1F; }

.member-banner.is-member.is-expiring { background: linear-gradient(90deg, #8a4b00, #f0a04b 50%, #8a4b00); color: #3b1d00; }
.member-banner.is-expired { background: linear-gradient(90deg, #7a1f16, #c0392b 50%, #7a1f16); color: #fff3f1; }

/* ---------- 支付按钮（button）与支付弹窗 ---------- */
button.mp-pay-btn { border: 0; cursor: pointer; font-family: inherit; }
button.mp-pay-btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.mp-pay-tip { margin: 12px 0 0; font-size: 12px; color: var(--ink-soft); }

.pay-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .5);
}
.pay-modal {
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    padding: 26px 22px 20px;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.pay-modal-icon { font-size: 40px; line-height: 1; margin-bottom: 8px; }
.pay-modal-title { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--ink); }
.pay-modal-plan { margin: 0; font-size: 14px; color: var(--ink-soft); }
.pay-modal-amount { margin: 2px 0 12px; font-size: 30px; font-weight: 700; color: var(--mp-price, #1F4B3F); }
.pay-modal-qr {
    display: block;
    width: 200px; height: 200px;
    margin: 0 auto 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
}
.pay-modal-text { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.pay-modal-btn {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 16px;
    border: 0;
    border-radius: var(--mp-btn-radius, 10px);
    background: var(--mp-btn, #1F4B3F);
    color: var(--mp-btn-text, #fff);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}
.pay-modal-btn:hover { filter: brightness(.92); }
.pay-modal-sub { margin: 0 0 8px; font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
.pay-modal-close {
    padding: 4px 10px;
    border: 0;
    background: none;
    color: var(--ink-soft);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
@media (max-width: 480px) {
    .mp-status { font-size: 13px; }
}


/* ---------- 支付宝图标 + 按钮内图标文字排版 ---------- */
.alipay-ico { width: 22px; height: 22px; flex-shrink: 0; }
button.mp-pay-btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pay-modal-title .alipay-ico { width: 22px; height: 22px; margin-right: 6px; vertical-align: -4px; }

.pay-modal-warn {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #F0A04B;
    border-radius: 10px;
    background: #FFF0DC;
    color: #8A4B00;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}


/* ---------- 全站"支付成功"提示条 ---------- */
.pay-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 240;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    border-radius: 12px;
    background: #1F4B3F;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
    cursor: pointer;
}


/* ---------- 软件页：会员专享下载（按钮是 button，加锁定提示） ---------- */
button.software-get-btn { border: 0; cursor: pointer; font-family: inherit; }
.software-lock-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }


/* ---------- 会员专享文章：非会员只能看 30% 预览，其余折叠 + 引导开通会员 ---------- */
.member-preview { position: relative; }
.member-preview-fade {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(245, 243, 236, 0), var(--paper, #F5F3EC) 92%);
    pointer-events: none;
}
.member-preview-excerpt { padding-bottom: 60px; }
.agate {
    position: relative;
    margin: -6px 0 8px;
    padding: 8px 12px 4px;
    text-align: center;
}
.agate-chevron { display: block; font-size: 22px; line-height: 1; color: var(--ink-soft); }
.agate-title { margin: 8px 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.agate-sub { margin: 0 0 18px; font-size: 13px; color: var(--ink-soft); }
.agate-btn {
    display: inline-block;
    min-width: 220px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f2c94c 0%, #d9a21b 100%);
    color: #4a3200;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(180, 130, 10, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}
.agate-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(180, 130, 10, .45); }
.agate-login { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
.agate-login a { color: var(--accent); text-decoration: underline; cursor: pointer; }

/* ---------- 会员专享列表页：非会员只看到设定数量的内容，末尾用醒目的卡片提示登录 / 开通会员 ---------- */
.list-gate {
    position: relative;
    margin: 30px 0 12px;
    padding: 28px 22px 24px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid #ecd9a0;
    background: linear-gradient(180deg, #fffaf0 0%, #fff3d6 100%);
    box-shadow: 0 10px 30px rgba(180, 130, 10, .16);
}
.list-gate-ico {
    width: 52px; height: 52px;
    margin: -52px auto 12px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #4a3200;
    background: linear-gradient(135deg, #f2c94c 0%, #d9a21b 100%);
    box-shadow: 0 6px 16px rgba(180, 130, 10, .4);
    border: 3px solid var(--paper, #F5F3EC);
}
.list-gate-title { margin: 0 0 6px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #3d2a00; }
.list-gate-sub { margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: #6b5a2e; }
.list-gate-btn {
    display: inline-block;
    min-width: 220px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f2c94c 0%, #d9a21b 100%);
    color: #4a3200;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(180, 130, 10, .35);
    transition: transform .15s ease, box-shadow .15s ease;
}
.list-gate-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(180, 130, 10, .45); }
.list-gate-alt { margin: 14px 0 0; font-size: 13px; color: #6b5a2e; }
.list-gate-alt a { color: var(--accent); text-decoration: underline; cursor: pointer; }


/* ---------- 课程专页 ----------
   顶部约 500px 高的背景图（内容多时自动撑高，不会溢出）→ 图上居中：标志图 / 课程名称 / 作者（更小更浅）/ 下载按钮 / 简介；
   背景图下面：课程目录；点简介里的"更多"，从屏幕底部向上弹出完整介绍。 */
.course-page { width: 100%; }
.course-page .state-msg { max-width: 720px; margin: 32px auto; padding: 0 24px; }
/* 顶部 logo + 站名在左上角的固定白条里（70px 高），课程背景图直接贴在白条下面，不留大段空白 */
.course-page.course-has-bar { padding-top: 70px; }

.course-hero {
    position: relative;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1f4b3f 0%, #17332b 100%); /* 没有配背景图时的兜底底色 */
    color: #fff;
}
.course-hero-bg {
    /* 背景图比英雄区高 40%：滚动时由 JS 让它少走 40% 的距离（视差），图上的文字按钮则正常滚动，
       所以图像看起来比其他元素上移得更慢；高度冗余正好覆盖最大位移，不会在底部露出空白 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    display: block;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.course-hero-shade { /* 压暗一层，保证任何背景图上白字都看得清 */
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 14, 12, .38) 0%, rgba(10, 14, 12, .72) 100%);
}
.course-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    padding: 44px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.course-logo-wrap { line-height: 0; }
.course-logo {
    width: 128px;
    height: 128px;
    border-radius: 18px;
    object-fit: cover;
    display: block;
    border: 3px solid rgba(255, 255, 255, .92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    background: #fff;
}
.course-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
}
.course-title {
    margin: 22px 0 0;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}
.course-author { /* 比标题小、颜色更浅 */
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .66);
}
.course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 11px 26px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .15s ease, background .15s ease;
}
.course-btn:hover { background: #f1eee4; transform: translateY(-1px); }
.course-btn-ico { width: 18px; height: 18px; flex: none; }
.course-lock-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.course-intro {
    margin: 20px 0 0;
    max-width: 540px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .84);
    word-break: break-word;
}
.course-more {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    white-space: nowrap;
}

.course-catalog { max-width: 720px; margin: 0 auto; padding: 34px 24px 8px; }
.course-catalog-title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}
.course-catalog-list { list-style: none; margin: 0; padding: 0; }
.course-catalog-item {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
}
.course-catalog-no {
    flex: none;
    min-width: 26px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: var(--ink-soft);
}
.course-catalog-text { flex: 1; min-width: 0; font-size: 15px; line-height: 1.6; color: var(--ink); word-break: break-word; }
.course-catalog-empty { margin: 16px 0; font-size: 14px; color: var(--ink-soft); }

/* 从底部向上弹出的完整介绍 */
.course-sheet-mask {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.course-sheet {
    position: relative;
    width: 100%;
    max-width: 720px;
    /* 弹窗上边缘距离屏幕顶部 40px：高度 = 屏幕高度 - 40px（dvh 让手机浏览器地址栏收起 / 展开时也准确） */
    height: calc(100vh - 40px);
    height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    background: var(--paper, #F5F3EC);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* 关闭按钮单独占一行，不再用绝对定位叠在滚动区上面：手机（尤其 iOS Safari）上，可滚动区域会盖住叠在上面的按钮，点叉号没反应 */
.course-sheet-head {
    flex: none;
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 0;
    position: relative;
    z-index: 2;
}
.course-sheet-close {
    flex: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .06);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.course-sheet-close:hover { background: rgba(0, 0, 0, .12); color: var(--ink); }
.course-sheet-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 26px 30px; -webkit-overflow-scrolling: touch; }
.course-sheet-title {
    margin: 0 40px 0 0;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ink);
}
.course-sheet-author { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }
.course-sheet-intro {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink);
    white-space: pre-wrap;   /* 保留后台填写时的换行 */
    word-break: break-word;
}
.course-sheet-enter-active, .course-sheet-leave-active { transition: opacity .3s ease; }
.course-sheet-enter-active .course-sheet, .course-sheet-leave-active .course-sheet { transition: transform .3s cubic-bezier(.22, .8, .24, 1); }
.course-sheet-enter-from, .course-sheet-leave-to { opacity: 0; }
.course-sheet-enter-from .course-sheet, .course-sheet-leave-to .course-sheet { transform: translateY(100%); }

@media (max-width: 599px) {
    .course-hero-inner { padding: 36px 20px 32px; }
    .course-logo { width: 112px; height: 112px; border-radius: 16px; }
    .course-title { font-size: 24px; }
    .course-catalog { padding: 28px 20px 20px; }
}

/* 推荐课程：目录下面一行多列，封面 + 名称（都是各课程页自己设置的） */
.course-reco { max-width: 720px; margin: 0 auto; padding: 26px 24px 8px; }
.course-reco-title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}
.course-reco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 22px 18px;
}
.course-reco-item { display: block; min-width: 0; color: inherit; text-decoration: none; }
.course-reco-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #1f4b3f 0%, #17332b 100%);
    box-shadow: 0 2px 4px rgba(30, 36, 32, .10), 0 8px 18px rgba(30, 36, 32, .10);
    transition: transform .2s ease, box-shadow .2s ease;
}
.course-reco-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-reco-cover-ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 40px; font-weight: 700; color: rgba(255, 255, 255, .85);
}
.course-reco-item:hover .course-reco-cover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(30, 36, 32, .12), 0 14px 26px rgba(30, 36, 32, .16); }
.course-reco-name {
    margin: 10px 2px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.course-reco-item:hover .course-reco-name { color: var(--accent); }
.course-foot { max-width: 720px; margin: 0 auto; padding: 8px 24px 24px; }
@media (max-width: 720px) {
    .course-reco { padding: 22px 20px 8px; }
    .course-reco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
    .course-foot { padding: 8px 20px 24px; }
}


/* ---------- 电影专页 ----------
   仿照课程专页：顶部背景图（没有标志图，视差更慢）→ 图上居中：电影名称 / 导演主演 / 观看按钮 / 简介；
   背景图下面：剧情介绍、精彩画面（多列图片墙）、推荐电影（一行多列）；点简介里的"更多"，从屏幕底部向上弹出完整介绍。 */
.movie-page { width: 100%; }
.movie-page .state-msg { max-width: 720px; margin: 32px auto; padding: 0 24px; }
/* 顶部 logo + 站名在左上角的固定白条里（70px 高），电影背景图直接贴在白条下面，不留大段空白 */
.movie-page.movie-has-bar { padding-top: 70px; }

.movie-hero {
    position: relative;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1f4b3f 0%, #17332b 100%); /* 没有配背景图时的兜底底色 */
    color: #fff;
}
.movie-hero-bg {
    /* 背景图比英雄区高 70%：滚动时由 JS 让它少走 70% 的距离（只跟着页面走 30%，比课程专页的 60% 更慢），
       图上的文字按钮则正常滚动，所以图像看起来上移得很慢；高度冗余正好覆盖最大位移，不会在底部露出空白 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170%;
    object-fit: cover;
    display: block;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}
.movie-hero-shade { /* 压暗一层，保证任何背景图上白字都看得清 */
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 14, 12, .38) 0%, rgba(10, 14, 12, .72) 100%);
}
.movie-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 620px;
    padding: 44px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.movie-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    word-break: break-word;
}
.movie-author { /* 比标题小、颜色更浅 */
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .66);
}
.movie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 11px 26px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .15s ease, background .15s ease;
}
.movie-btn:hover { background: #f1eee4; transform: translateY(-1px); }
.movie-btn-ico { width: 18px; height: 18px; flex: none; }
.movie-lock-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
.movie-intro {
    margin: 20px 0 0;
    max-width: 540px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .84);
    word-break: break-word;
}
.movie-more {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    white-space: nowrap;
}


/* 从底部向上弹出的完整介绍 */
.movie-sheet-mask {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, .5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.movie-sheet {
    position: relative;
    width: 100%;
    max-width: 720px;
    /* 弹窗上边缘距离屏幕顶部 40px：高度 = 屏幕高度 - 40px（dvh 让手机浏览器地址栏收起 / 展开时也准确） */
    height: calc(100vh - 40px);
    height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    background: var(--paper, #F5F3EC);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* 关闭按钮单独占一行，不再用绝对定位叠在滚动区上面：手机（尤其 iOS Safari）上，可滚动区域会盖住叠在上面的按钮，点叉号没反应 */
.movie-sheet-head {
    flex: none;
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 0;
    position: relative;
    z-index: 2;
}
.movie-sheet-close {
    flex: none;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .06);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.movie-sheet-close:hover { background: rgba(0, 0, 0, .12); color: var(--ink); }
.movie-sheet-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 26px 30px; -webkit-overflow-scrolling: touch; }
.movie-sheet-title {
    margin: 0 40px 0 0;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ink);
}
.movie-sheet-author { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }
.movie-sheet-intro {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink);
    white-space: pre-wrap;   /* 保留后台填写时的换行 */
    word-break: break-word;
}
.movie-sheet-enter-active, .movie-sheet-leave-active { transition: opacity .3s ease; }
.movie-sheet-enter-active .movie-sheet, .movie-sheet-leave-active .movie-sheet { transition: transform .3s cubic-bezier(.22, .8, .24, 1); }
.movie-sheet-enter-from, .movie-sheet-leave-to { opacity: 0; }
.movie-sheet-enter-from .movie-sheet, .movie-sheet-leave-to .movie-sheet { transform: translateY(100%); }

@media (max-width: 599px) {
    .movie-hero-inner { padding: 36px 20px 32px; }
    .movie-title { font-size: 24px; }
}

/* 推荐电影：目录下面一行多列，封面 + 名称（都是各电影页自己设置的） */
.movie-reco { max-width: 720px; margin: 0 auto; padding: 26px 24px 8px; }
.movie-section-title {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}
.movie-reco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 22px 18px;
}
.movie-reco-item { display: block; min-width: 0; color: inherit; text-decoration: none; }
.movie-reco-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #1f4b3f 0%, #17332b 100%);
    box-shadow: 0 2px 4px rgba(30, 36, 32, .10), 0 8px 18px rgba(30, 36, 32, .10);
    transition: transform .2s ease, box-shadow .2s ease;
}
.movie-reco-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.movie-reco-cover-ph {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 40px; font-weight: 700; color: rgba(255, 255, 255, .85);
}
.movie-reco-item:hover .movie-reco-cover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(30, 36, 32, .12), 0 14px 26px rgba(30, 36, 32, .16); }
.movie-reco-name {
    margin: 10px 2px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}
.movie-reco-item:hover .movie-reco-name { color: var(--accent); }
.movie-foot { max-width: 720px; margin: 0 auto; padding: 8px 24px 24px; }
@media (max-width: 720px) {
    .movie-reco { padding: 22px 20px 8px; }
    .movie-reco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
    .movie-foot { padding: 8px 20px 24px; }
}

/* 剧情介绍 */
.movie-plot { max-width: 720px; margin: 0 auto; padding: 34px 24px 8px; }
.movie-plot .movie-section-title { margin-bottom: 12px; }
.movie-plot-text {
    font-size: 15px;
    line-height: 1.95;
    color: var(--ink);
    white-space: pre-wrap;   /* 保留后台填写时的换行 */
    word-break: break-word;
}

/* 精彩画面：多列图片墙 */
.movie-stills { max-width: 720px; margin: 0 auto; padding: 34px 24px 8px; }
.movie-stills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}
.movie-still {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #1b2420;
    aspect-ratio: 16 / 9;
    cursor: zoom-in;
    box-shadow: 0 2px 4px rgba(30, 36, 32, .10), 0 8px 18px rgba(30, 36, 32, .10);
}
.movie-still img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.movie-still:hover img { transform: scale(1.05); }

/* 精彩画面放大浏览 */
.movie-viewer {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(8, 10, 9, .93);
    display: flex;
    align-items: center;
    justify-content: center;
}
.movie-viewer-img { max-width: 92vw; max-height: 84vh; object-fit: contain; display: block; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.movie-viewer-close, .movie-viewer-nav {
    position: absolute;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}
.movie-viewer-close:hover, .movie-viewer-nav:hover { background: rgba(255, 255, 255, .26); }
.movie-viewer-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 40px; height: 40px; }
.movie-viewer-nav { top: 50%; width: 46px; height: 46px; margin-top: -23px; font-size: 30px; line-height: 1; padding-bottom: 4px; }
.movie-viewer-nav.prev { left: 14px; }
.movie-viewer-nav.next { right: 14px; }
.movie-viewer-count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .7); }
.movie-fade-enter-active, .movie-fade-leave-active { transition: opacity .25s ease; }
.movie-fade-enter-from, .movie-fade-leave-to { opacity: 0; }
@media (max-width: 720px) {
    .movie-plot, .movie-stills { padding: 26px 20px 8px; }
    .movie-stills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .movie-viewer-nav { width: 40px; height: 40px; margin-top: -20px; }
    .movie-viewer-nav.prev { left: 6px; }
    .movie-viewer-nav.next { right: 6px; }
}

/* ---------- 网友留言：会员发布框 / 会员专享提示 / VIP 标志 ---------- */
.vip-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: .06em;
    vertical-align: 1px;
    color: #4a3200;
    background: linear-gradient(135deg, #f2c94c 0%, #d9a21b 100%);
    box-shadow: 0 1px 3px rgba(180, 130, 10, .35);
}
.post-composer {
    margin: 0 0 18px;
    padding: 16px 16px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30, 36, 32, .06);
}
.composer-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.composer-avatar {
    position: relative;
    flex: none;
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: var(--accent-soft);
    border: 2px dashed var(--line);
    display: flex; align-items: center; justify-content: center;
}
.composer-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-avatar-ph { font-size: 20px; font-weight: 700; color: var(--accent); }
.composer-avatar:hover { border-color: var(--accent); }
.composer-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.composer-profile-fields { flex: 1; min-width: 0; }
.composer-name {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: var(--ink);
}
.composer-name:focus, .composer-text:focus { outline: none; border-color: var(--accent); }
.composer-avatar-actions { margin-top: 5px; font-size: 12px; color: var(--ink-soft); display: flex; gap: 12px; flex-wrap: wrap; }
.composer-avatar-actions a { color: var(--accent); text-decoration: underline; cursor: pointer; }
.composer-text {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    line-height: 1.7;
    resize: vertical;
    background: #fff;
    color: var(--ink);
    box-sizing: border-box;
}
.composer-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.composer-count { font-size: 12px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.composer-error { flex: 1; min-width: 0; font-size: 13px; color: #c0392b; }
.composer-foot .composer-count + .composer-submit { margin-left: auto; }
.composer-error + .composer-submit { margin-left: 0; }
.composer-submit {
    margin-left: auto;
    padding: 9px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.composer-submit:disabled { opacity: .6; cursor: default; }
.composer-lock {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 2px;
    flex-wrap: wrap;
}
.composer-lock-ico { font-size: 26px; line-height: 1; }
.composer-lock-body { flex: 1; min-width: 180px; }
.composer-lock-title { margin: 0; font-size: 16px; font-weight: 700; color: #3d2a00; }
.composer-lock-sub { margin: 3px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.composer-lock-btns { display: flex; gap: 8px; }
.composer-lock-btn {
    padding: 9px 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f2c94c 0%, #d9a21b 100%);
    color: #4a3200;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.composer-lock-btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }

/* ---------- 大人说：课程专页 / 电影专页推荐下方的评论块（网站头像 + 网站名称 + 评论内容） ---------- */
.says { max-width: 720px; margin: 0 auto; padding: 30px 24px 8px; }
.says-title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
}
.says-card {
        padding: 18px 20px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30, 36, 32, .06);
}
.says-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.says-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.says-avatar-ph { display: flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 700; }
.says-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.says-body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ink);
    white-space: pre-wrap;   /* 保留后台填写时的换行 */
    word-break: break-word;
}
@media (max-width: 720px) { .says { padding: 24px 20px 8px; } }

/* 电脑端：推荐 / 精彩画面 / 大人说 和上面的剧情介绍、目录用同一列宽（720px），左右边缘上下对齐 */

/* 精彩片段：视频（16:9），和剧情介绍 / 精彩画面同一列宽 */
.movie-clips { max-width: 720px; margin: 0 auto; padding: 34px 24px 8px; }
.movie-clips-list { display: flex; flex-direction: column; gap: 14px; }
.movie-clip {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 4px rgba(30, 36, 32, .10), 0 8px 18px rgba(30, 36, 32, .10);
}
.movie-clip iframe, .movie-clip video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
@media (max-width: 720px) { .movie-clips { padding: 26px 20px 8px; } }
