@charset "utf-8";
/*
 * 小书恋文化 · 前台响应式层
 * ------------------------------------------------------------------
 * 原站 style.css 为 1080px 固定宽度且无任何媒体查询。本文件作为覆盖层，
 * 在不改动原站 DOM 结构与类名的前提下，把固定宽度改为流式，
 * 并为 ≤900px / ≤600px 两个断点补齐移动端版式。
 *
 * 加载位置：style.css 之后。
 */

/* ============================================================
   1. 设计 Token（书脊设计语言）
   ============================================================ */
:root {
    /* 颜色 */
    --ink: #16211C;          /* 正文墨色，带绿调的近黑 */
    --ink-soft: #5A6B62;     /* 次级文字 */
    --ink-faint: #66756D;    /* 辅助说明（对白底 4.85:1，对纸底 4.51:1，满足 AA） */
    --pine: #006A42;         /* 品牌绿（原站主色，唯一主色） */
    --pine-deep: #004B2E;    /* 悬停 / 强调 */
    --pine-wash: #E7FAF2;    /* 原站已有的浅绿底 */
    /* 页面底色：原站 body{background:#f3f3f3}（中性灰）。
       重构时误用了 --paper（接近白的冷色），导致站点失去灰底、白卡片浮在白底上，
       层级感消失。这里恢复为线上的中性灰。 */
    --page-bg: #F3F3F3;
    --paper: #F5F7F6;        /* 纸面底色（区块内的浅底，如下载说明块） */
    --card: #FFFFFF;
    --rule: #E3EAE6;         /* 分隔线 */
    --seal: #C0392B;         /* 印章红，仅用于错误态 */
    --seal-wash: #FCEDEB;

    /* 字体 */
    --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", sans-serif;
    --font-book: "Songti SC", "SimSun", "STSong", serif;

    /* 版式
     *
     * --shell 是所有主容器的宽度上限。
     * 原站是 1080px 固定宽，内部子元素按固定像素排布（如 .lmycontnet 的
     * .left 207px + .right 860px = 1067px）。若容器比 1067px 窄，浮动会换行，
     * 右侧内容掉到下一行，左侧就出现大片空白。
     *
     * 因此断点阈值必须与版心收缩点严格对齐：
     *   · 视口 ≥ 1080px：版心恒为 1080px（与线上完全一致，满宽不收缩），
     *     所有固定宽之和（最大 1067px）都放得下，不会换行；
     *   · 视口 ≤ 1079px：版心随视口收缩（下方 @media 覆盖为 100% - 2rem），
     *     同时 8.5 节的「弹性降级」把固定宽多栏行改成 flex 弹性列，
     *     按需收缩而绝不换行。
     *
     * 详见 8.5 节注释：断点与收缩点之间不允许存在真空区。
     */
    --shell: min(1080px, 100%);
    --gap: 1.25rem;
    --r: 10px;
    --shadow: 0 1px 2px rgba(22, 33, 28, .06), 0 8px 24px rgba(22, 33, 28, .06);
    --shadow-lift: 0 2px 4px rgba(22, 33, 28, .08), 0 16px 40px rgba(22, 33, 28, .10);

    /* 动效：仅保留 hover 过渡，≤160ms */
    --t: 140ms cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
   2. 基础重置（补齐原站缺失的现代盒模型与可访问性）
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-cn);
    color: var(--ink);
    /* 页面底色用中性灰（与原站/线上一致），白卡片浮在其上才有层级感 */
    background: var(--page-bg);
    /* 移动端触控友好：避免 300ms 延迟 */
    -webkit-tap-highlight-color: rgba(0, 106, 66, .08);

    /* ---- Sticky footer（2026-11-04）----
     * 原站没有这层处理：内容一短，深色页脚就紧跟内容浮在页面中部，
     * 下方留一大片灰底空白（用户截图：搜索「未找到结果」页页脚上移）。
     * 长内容页完全不受影响 —— .xs-main 只在有剩余空间时才伸展。
     * 100dvh 优先，避免移动端浏览器地址栏导致的 100vh 偏高。 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* flex 子项默认 flex-shrink:1：视口较矮时会把头部 / 广告横幅压扁。
   除内容包裹层外一律不许收缩（.xs-main 自己用 flex:1 0 auto 覆盖）。 */
body > * { flex-shrink: 0; }

.xs-main {
    flex: 1 0 auto;
}

/* ⚠ margin 折叠陷阱：body 变 flex 后，.xs-main 作为 flex item 会为内容
 * 建立独立格式化上下文，内部末尾元素的 margin-bottom 不再与
 * .footerbj 的 margin-top:30px 折叠 —— 会叠加成 60px（与线上不符）。
 * 统一清零内容末尾的 margin-bottom，让这 30px 只由 .footerbj 提供，
 * 桌面与窄屏、长内容与短内容页的间距都保持线上原值。 */
.xs-main > :last-child,
.xs-main > div:last-of-type {
    margin-bottom: 0;
}

.footerbj { flex: none; }

img { max-width: 100%; height: auto; }

/* 手机端二级类目展开按钮：桌面沿用原站 hover 浮层，按钮只在 ≤900px 出现 */
.xs-cat-toggle { display: none; }

/* 焦点环：键盘可见、鼠标不打扰 */
:focus-visible {
    outline: 2px solid var(--pine);
    outline-offset: 2px;
    border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   3. 容器：1080px 固定宽 → 流式
   ============================================================ */
.header,
.index1,
.index2,
.lmycontnet,
.xqyContnent,
.about-bjs,
.xzyContent,
.jxs-content,
.footer,
.sousuojgy {
    width: auto;
    max-width: var(--shell);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

/* ---- 轮播：桌面端也要有高度 ---- */
/* swiper 的 slide 无内在高度（图片缺失时为 0），不设高度整块塌陷 */
.index1 > div > .right > .swiper,
.mySwiper {
    min-height: 220px;
}

/* 不要覆盖 swiper 自身的 slide 排版（width:100% 会让图片脱离 slide 宽度计算） */
.mySwiper .swiper-slide {
    background: var(--paper);
    overflow: hidden;
}

.mySwiper .swiper-slide img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* ---- 顶部 banner（1920×80 横幅，独立于 .headerbj）---- */
.header-banner {
    display: block;
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    background: #eef3f0;
}

/* ============================================================
   3.5 分页
   ============================================================ */
/* 原站 .fenye > a / > span 是 inline-block + 边框的页码按钮。
   桌面端沿用原站观感，仅补足可点面积与配色一致性。 */
.fenye {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .3rem;
}

.fenye > a,
.fenye > span {
    display: inline-block;
    min-width: 2.1rem;
    padding: .32rem .55rem;
    font-size: .875rem;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--card);
    color: var(--ink-soft);
    transition: border-color var(--t), color var(--t), background var(--t);
}

.fenye > a:hover {
    border-color: var(--pine);
    color: var(--pine);
    background: var(--pine-wash);
}

/* 当前页 */
.fenye > span {
    color: #fff;
    background: var(--pine);
    border-color: var(--pine);
    font-weight: 600;
}

/* 「总数 / 上一页 / 下一页」这三类不是页码，给不同观感 */
.fenye > a.a1 {
    color: var(--pine);
    border-color: var(--pine-wash);
    background: var(--pine-wash);
}

.fenye > a.a1:hover {
    color: #fff;
    background: var(--pine);
    border-color: var(--pine);
}

/* 分隔符（省略号 ..）：原站是纯文本节点 */
.fenye {
    word-spacing: .1em;
}

/* ============================================================
   4. 头部：桌面保持原样，移动端折叠
   ============================================================ */

/* 汉堡按钮：桌面隐藏 */
.xs-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 13px 0 0 auto;
    background: none;
    border: 1px solid var(--rule);
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
}

.xs-nav-toggle span {
    display: block;
    position: relative;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: background var(--t);
}

.xs-nav-toggle span::before,
.xs-nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform var(--t);
}

.xs-nav-toggle span::before { top: -6px; }
.xs-nav-toggle span::after { top: 6px; }

.xs-nav-toggle[aria-expanded="true"] span { background: transparent; }
.xs-nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.xs-nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉遮罩 */
/* 移动端抽屉遮罩
 *
 * 关键：遮罩必须位于 header 之下。
 * 原先遮罩 z-index:900 而 header 无 z-index，导致遮罩整块盖住展开后的菜单，
 * elementFromPoint 命中的是遮罩而非链接 —— 菜单能展开却永远点不动（点击被吞）。
 * 现给 headerbj 抬到 910，遮罩降到 900，抽屉内容位于 headerbj 内部故一并可点。
 */
.xs-nav-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(22, 33, 28, .42);
    z-index: 900;
}

.xs-nav-mask[data-open="true"] { display: block; }

/* 展开抽屉时，header 整块抬到遮罩之上，保证导航链接可点 */
.headerbj {
    position: relative;
    z-index: 910;
}

/* ============================================================
   5. 章节标题标记（书脊竖条）—— 用力点，全站统一
   ============================================================ */
.sec-head {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin: 0 0 1.1rem;
    flex-wrap: wrap;
}

.sec-head::before {
    content: "";
    flex: none;
    width: 3px;
    height: 1.05em;
    border-radius: 3px;
    background: var(--pine);
    transform: translateY(.14em);
}

.sec-head__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--ink);
    white-space: nowrap;   /* 标题不被右侧说明文字挤断行 */
}

.sec-head__extra {
    margin-left: auto;
    font-size: .875rem;
    color: var(--ink-faint);
}

/* 窄屏时说明文字换行到下一行，不与标题争空间 */
@media (max-width: 760px) {
    .sec-head__extra {
        margin-left: 0;
        flex-basis: 100%;
        padding-left: calc(3px + .75rem);
    }
}

/* ============================================================
   6. 卡片与表单基元（会员/经销商/关于我们页共用）
   ============================================================ */
.xs-card {
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: var(--r);
    box-shadow: var(--shadow);
}

/* 左侧书脊边条 */
.xs-card--spined {
    border-left: 3px solid var(--pine);
}

.xs-field { margin-bottom: 1.05rem; }

.xs-field__label {
    display: block;
    margin-bottom: .4rem;
    font-size: .875rem;
    color: var(--ink-soft);
}

.xs-field__hint {
    margin: .4rem 0 0;
    font-size: .8125rem;
    line-height: 1.6;
    color: var(--ink-faint);
}

.xs-input {
    width: 100%;
    padding: .7rem .85rem;
    font: inherit;
    font-size: .9375rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    transition: border-color var(--t), box-shadow var(--t);
}

.xs-input:focus {
    outline: none;
    border-color: var(--pine);
    box-shadow: 0 0 0 3px rgba(0, 106, 66, .10);
}

.xs-input[aria-invalid="true"] {
    border-color: var(--seal);
}

.xs-input[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .10);
}

/* 按钮 */
.xs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .78rem 1.25rem;
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: var(--pine);
    border: 1px solid var(--pine);
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--t), border-color var(--t);
}

.xs-btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); }
.xs-btn:active { transform: translateY(1px); }

.xs-btn--ghost {
    color: var(--pine);
    background: transparent;
    border-color: var(--rule);
}

.xs-btn--ghost:hover {
    color: var(--pine-deep);
    background: var(--pine-wash);
    border-color: var(--pine);
}

.xs-btn--sm {
    width: auto;
    padding: .5rem .9rem;
    font-size: .875rem;
}

/* 提示条 */
.xs-alert {
    display: flex;
    gap: .6rem;
    padding: .75rem .9rem;
    margin-bottom: 1.1rem;
    font-size: .875rem;
    line-height: 1.6;
    border-radius: 8px;
    border: 1px solid transparent;
}

.xs-alert--error {
    color: #8A2A20;
    background: var(--seal-wash);
    border-color: #F0C8C2;
}

.xs-alert--ok {
    color: var(--pine-deep);
    background: var(--pine-wash);
    border-color: #B7E6D3;
}

/* ============================================================
   7. 会员页版式（登录 / 注册 / 找回密码 / 个人中心）
   ============================================================ */
.xs-auth {
    max-width: 460px;
    margin: 2.5rem auto 3.5rem;
    padding: 2rem 1.75rem;
}

.xs-auth__title {
    margin: 0 0 .3rem;
    font-family: var(--font-book);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

.xs-auth__lede {
    margin: 0 0 1.6rem;
    font-size: .875rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

.xs-auth__foot {
    margin-top: 1.5rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
    font-size: .875rem;
    color: var(--ink-soft);
    text-align: center;
}

.xs-auth__foot a {
    color: var(--pine);
    font-weight: 600;
    text-decoration: none;
}

.xs-auth__foot a:hover { text-decoration: underline; }

.xs-auth__note {
    margin-top: 1.1rem;
    font-size: .8125rem;
    line-height: 1.65;
    color: var(--ink-faint);
}

/* 图形验证码
 *
 * 图片以 data URI 内联在 HTML 里（由 CaptchaService 生成），
 * 因此这里只需处理输入框与图片的横向排布。
 * 图片固定 140×44，与服务端的画布尺寸一致，避免缩放导致字符模糊。 */
.xs-captcha__row {
    display: flex;
    align-items: stretch;
    gap: .6rem;
}

.xs-captcha__input {
    flex: 1 1 auto;
    min-width: 0;
}

.xs-captcha__img {
    flex: 0 0 auto;
    width: 140px;
    height: 44px;
    border: 1px solid var(--rule);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    transition: border-color var(--t);
}

.xs-captcha__img:hover { border-color: var(--pine); }

.xs-captcha__img.is-loading { opacity: .5; cursor: progress; }

/* 步骤指示：仅在流程类页面使用 */
.xs-steps {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.6rem;
    padding: 0;
    list-style: none;
}

.xs-steps__item {
    flex: 1;
    padding-top: .6rem;
    font-size: .8125rem;
    color: var(--ink-faint);
    border-top: 2px solid var(--rule);
    transition: border-color var(--t), color var(--t);
}

.xs-steps__item[data-state="active"] {
    color: var(--pine);
    border-top-color: var(--pine);
    font-weight: 600;
}

.xs-steps__item[data-state="done"] {
    color: var(--pine-deep);
    border-top-color: #B7E6D3;
}

/* 会员区版心：与全站头尾对齐，避免会员卡片在宽屏上被拉成通栏 */
.xs-member-shell {
    width: auto;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.xs-member-crumb {
    margin: 1.25rem 0 0;
    font-size: .8125rem;
    color: var(--ink-faint);
}

.xs-member-shell > .xs-member { margin-top: 1rem; }

/* 个人中心 */
.xs-member {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
    margin: 2rem auto 3.5rem;
}

.xs-member__side {
    position: sticky;
    top: 1rem;
}

.xs-member__profile {
    padding: 1.25rem;
    margin-bottom: var(--gap);
    text-align: center;
}

.xs-member__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: .7rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    background: var(--pine);
    border-radius: 50%;
}

.xs-member__name {
    margin: 0 0 .2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

.xs-member__meta {
    margin: 0;
    font-size: .8125rem;
    color: var(--ink-faint);
}

.xs-member__nav {
    padding: .5rem;
}

.xs-member__nav a {
    display: block;
    padding: .6rem .75rem;
    font-size: .9375rem;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: 7px;
    transition: background var(--t), color var(--t);
}

.xs-member__nav a:hover {
    color: var(--pine);
    background: var(--pine-wash);
}

.xs-member__nav a[aria-current="page"] {
    color: var(--pine);
    font-weight: 600;
    background: var(--pine-wash);
}

.xs-member__main { padding: 1.75rem; }

/* 资料标题与明细之间只留一条细线，整块不再用四格统计卡 */
.xs-member__main > .sec-head {
    margin-bottom: 0;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--rule);
}

.xs-profile {
    margin: 0;
}

.xs-profile__row {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: .85rem .5rem;
    border-bottom: 1px solid var(--rule);
    transition: background var(--t);
}

.xs-profile__row:hover { background: var(--pine-wash); }

.xs-profile__row dt {
    flex: 0 0 6.5em;
    font-size: .875rem;
    color: var(--ink-faint);
}

.xs-profile__row dd {
    margin: 0;
    min-width: 0;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* 首行：书脊短竖条 + 深绿大字账号，作为资料区的视觉起点 */
.xs-profile__row--primary dt,
.xs-profile__row--primary dd {
    color: var(--pine-deep);
    font-weight: 700;
}

.xs-profile__row--primary dd { font-size: 1.125rem; }

.xs-profile__row--primary dt::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 1em;
    margin-right: .5rem;
    vertical-align: -.12em;
    border-radius: 3px;
    background: var(--pine);
}

.xs-profile__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
}

.xs-profile__note {
    margin: 0;
    font-size: .875rem;
    color: var(--ink-faint);
}

/* ============================================================
   8. 合作页（关于我们 / 经销商 / 书目下载）版式 —— 第四版
   ============================================================
   这一版只解决一件事：**让每页只回答一个问题，删掉不属于它的内容**。

   第三版的病根（用户原话：「内容冗余，视觉比较混乱，增加内容的扩展不好维护」）：
     · 三页各自摆着一堆「谁都能放」的通用区块 —— 39 页摆书目、
       42 页摆联系渠道、40 页摆学科标签，谁也不像在讲自己的事；
     · 「关于我们」正文已逐句讲完 4 家出版社 / 3 个品牌 / 22 个学科，
       侧栏与学科网格又把它们重排一遍 —— 同一份事实说两遍；
     · 联系渠道（公众号/抖音/快手/QQ/邮编）单独占一个区块，
       墨绿联系条又占一个 —— 「怎么找到我们」被拆成两处；
     · 区块一多，每个区块都得套个盒子才能区分 → 碎成一堆盒子。

   第四版的对策：
     · **职责边界** —— 一页一问：
         关于我们 = 我们是谁（正文为主体）
         经销商   = 怎么合作（合作方式为主体）
         书目下载 = 拿书目（书目清单为主体）
       39 页不再罗列书目（只留一句指引，通向 42 页）；
       42 页不再重复合作方式。
     · **联系信息只出现一次** —— 「关注我们」（社媒账号）与
       「联系我们」（电话/邮箱/地址）性质不同，分成两个区块；
       电话是首要动作，独占墨绿条（全页唯一主色块）。
     · **正文不再有侧栏** —— 关于我们页的正文已涵盖全部事实，
       任何侧栏都是重复。改为居中窄栏白卡 + 大留白。
     · **删除学科标签网格** —— 22 个学科正文里已逐项列出，
       再排一遍网格是纯冗余。
     * **组件收敛** —— 8 个区块类 + 3 个内容类：
         xs-page   页面容器
         xs-head   报头（题名 + 导语 + 数字指标）
         xs-body   正文白卡
         xs-block  通用区块（标题 + 内容）
         xs-card   区块内的卡片
         xs-files  书目清单
         xs-social 关注我们（行式账号清单）
         xs-contact 联系我们（全页唯一主色块）
       另有 xs-prose / xs-note / xs-grid 三个内容型类。
     * **一个主色块** —— 只有 contact 条是实心墨绿（全页唯一焦点），
       其余区块一律白底 + 细边线 + 留白，靠节奏而非盒子堆叠建立层次。
     * **事实单一来源** —— 全部事实走 config/company.php，
       三个页面共用一份，改一处即全站生效。

   已废弃（不得复活）：xs-lead / xs-fact / xs-tags / xs-tag
   颜色全部沿用全站 token，不引入新色相。
   ============================================================ */

/* ---------- 页内主容器 ---------- */
.xs-page {
    max-width: var(--shell);
    margin: 2.5rem auto 4rem;
}

/* ---------- 8.1 报头 ---------- */
.xs-head {
    position: relative;
    margin: 0 0 2.75rem;
    padding: 0 0 1.75rem;
    border-bottom: 1px solid var(--rule);
}

/* 第九版「书脊」：报头细线左端 88px 用墨绿收口。
   品牌识别明确，但只是一条线，不是满宽实心色块（第六版被否的做法）。 */
.xs-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 88px;
    height: 3px;
    background: var(--pine);
}

/* 合作页（经销商 / 书目下载）报头
 *
 * 刻意不做「眉标 + 巨标题 + 副标题 + 底线」那套落地页公式 ——
 * 那是模板，不是这站的气质。版权页的题名区是：
 * 一个题名 + 一句定位 + 一条墨绿细线，靠留白撑开，不靠装饰。
 */
.xs-page--partner { margin-top: 3.25rem; }

.xs-page--partner .xs-head {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom-width: 1px;
}

.xs-page--partner .xs-head__title {
    font-size: 2.5rem;
    letter-spacing: .04em;
}

.xs-page--partner .xs-head__lead {
    max-width: 52ch;
    margin-top: .85rem;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.85;
    color: var(--ink);
}

/* 眉标（eyebrow）仅用于「关于我们」页；
   合作页不用它 —— 合作页的题名区靠版式而非标签说话。 */
.xs-head__eyebrow {
    margin: 0 0 .6rem;
    font-size: .8125rem;
    letter-spacing: .14em;
    color: var(--pine);
}

.xs-head__title {
    margin: 0;
    font-family: var(--font-book);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: .01em;
    color: var(--ink);
}

/* 本页导读：第九版把它从「灰小字公司定位」改成深墨色的内容提要，
   进页面第一眼就知道这一页讲什么。 */
.xs-head__lead {
    max-width: 52ch;
    margin: .9rem 0 0;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.85;
    color: var(--ink);
}

/* 数字指标：一行横排，不做成方块 —— 仅「关于我们」页出现一次 */
/* 第九版：从「大数字 KPI 带」降级为报头下方的一行著录，
   用细线与题名区隔开，字号收小，避免与正文重复叙述显得吵。 */
.xs-head__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2.25rem;
    margin: 1.25rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}

.xs-head__metric {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    min-width: 0;
}

.xs-head__num {
    font-family: var(--font-book);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1;
    color: var(--pine);
    font-variant-numeric: tabular-nums;
}

.xs-head__label {
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--ink-soft);
    white-space: nowrap;
}

/* ---------- 8.2 正文白卡 ---------- */
/* 关于我们页正文唯一的主体。窄栏居中 + 两侧大留白 —— 读起来不累，
   版面也不会因为「塞满」而显得吵。 */
/* 第九版：去掉 UI 卡片的圆角与投影，改成一条直线收边的「纸页」。
   出版物内页靠边框与留白分区，不靠浮起的阴影。 */
.xs-body {
    max-width: 860px;
    margin: 0 auto 3rem;
    padding: 2.75rem 3.25rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-radius: 2px;
    box-shadow: none;
}

/* ---------- 8.3 正文排版 ---------- */
/* 正文取原站 pages.content 原样渲染，不改写一字。
   行宽由外层 .xs-body 控制，此处不再另设 max-width。 */
.xs-prose {
    font-size: 1.0625rem;
    line-height: 1.95;
    color: var(--ink);
}

.xs-prose p { margin: 0 0 1.25rem; }
.xs-prose p:last-child { margin-bottom: 0; }

/* 原站 xsl_page.content 的正文被包在 <span style="font-size:20px"> 里，
   且段首带 &nbsp; 缩进。这里保留原文不改写，只把行高与缩进理顺。 */
.xs-prose span { font-size: inherit; line-height: inherit; }

/* ---------- 8.4 通用区块 ---------- */
.xs-block { margin: 0 0 2.75rem; }

.xs-block:last-of-type { margin-bottom: 0; }

/* 合作页的章节节奏：比通用区块更疏 —— 靠留白分段，不靠盒子 */
.xs-page--partner .xs-block { margin-bottom: 3.5rem; }

.xs-page--partner .sec-head { margin-bottom: 1.5rem; }

.xs-page--partner .sec-head__title { font-size: 1.5rem; }

/* 关于我们页的版权页著录区与正文白卡共用同一条 860px 中轴。
   2026-11-05 联系方式从经销商页迁入本页后，若让它沿用 1080px 版心，
   「860px 窄白卡 → 满宽双栏」会把中轴突然拉断，版面就散了。 */
.xs-page--about .xs-block {
    max-width: 860px;
    margin: 0 auto;
}

/* 三页小节标题同阶；会员区仍用 .sec-head__title 的 1.25rem 基线 */
.xs-page--about .sec-head__title { font-size: 1.5rem; }
.xs-page .sec-head::before { width: 4px; }

/* 合作方式 —— 目录页条目
 *
 * 第七版：不再用三等分特性栅格（那是落地页模板的产物）。
 * 改成**目录页条目**：编号 + 标题 + 说明，逐行排列、行间一条发丝线。
 * 三种合作方式本就不同质（出版 / 分销 / 内容），目录式排布
 * 允许它们长短不齐、权重不同，比硬凑三等分更诚实。
 *
 * 编号用 CSS counter 生成，不写死在模板里 —— 增删条目不必改 HTML。
 * 注意用 .xs-grid > .xs-card 限定作用域：.xs-card 还被会员区
 * 与 404 页复用，不能被合作页的版式改掉。
 */
.xs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    counter-reset: xs-toc;
    border-top: 1px solid var(--rule);
}

.xs-grid > .xs-card {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
    /* 计数器必须在条目自身递增：
       grid item 会为后代建立独立作用域，只在 ::before 里写 counter()
       而不 increment，值会恒为 0（显示成 00）。 */
    counter-increment: xs-toc;
}

/* 编号：墨绿。全页唯一贯穿的强调记号 */
.xs-grid > .xs-card::before {
    content: counter(xs-toc, decimal-leading-zero);
    grid-column: 1;
    grid-row: 1;
    font-family: var(--font-book);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--pine);
    font-variant-numeric: tabular-nums;
}

.xs-grid > .xs-card > .xs-card__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 .5rem;
    font-family: var(--font-book);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--ink);
}

.xs-grid > .xs-card > .xs-card__text {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: .9375rem;
    line-height: 1.95;
    color: var(--ink-soft);
}

/* 合作页正文：限制行宽 —— 段落一行不超过 46 个汉字，
   否则 1080px 版心上一行能塞 60 多字，读起来像在看说明书。 */
.xs-page--partner .xs-prose {
    max-width: 46em;
    font-size: 1.0625rem;
    line-height: 2.1;
    color: var(--ink);
}

/* .xs-card 基线 —— 会员区侧栏/主区、404 页复用它，
   必须保留白底 + 细边线 + 圆角的「卡片」外观。
   合作页三栏的「去盒子」版式在上面用 .xs-grid > .xs-card 覆盖。 */
.xs-card {
    padding: 1.5rem 1.6rem;
    background: var(--card);
    border: 1px solid var(--rule);
    border-top: 2px solid var(--pine);
    border-radius: 6px;
}

.xs-card__title {
    margin: 0 0 .6rem;
    font-family: var(--font-book);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
}

.xs-card__text {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.85;
    color: var(--ink-soft);
}

/* ---------- 8.4b 引言与提示（合作页） ---------- */
/* 「我们是谁」的正文：机构简介原文，一字不改。
 *
 * 第七版调整：此前它是 1.25rem 衬线大字 + 2.15 行高 + 限宽 40em，
 * 单块面积 103,200 px² —— 成了全页最大的文字块，比报头题名还大，
 * 抢走了主体的位置。版权页的「出版说明」是不抢戏的：
 * 字号略小于题名、行距舒展、限宽更窄，两侧留白更阔。
 * 现在的视觉关系：题名 > 小节标题 > 引言 > 正文，
 * 每一级都低于上一级。 */
.xs-intro {
    max-width: 46em;
    margin: 0 0 2rem;
    font-family: var(--font-book);
    font-size: 1.0625rem;
    line-height: 2.05;
    color: var(--ink);
}

/* 区块末尾的补充提示：一行轻文字 + 链接，不套框。
   此前「书目资料」单开一节，标题比内容还重；
   现在并入合作方式末尾，用一行提示带过。 */
.xs-hint {
    margin: 1.75rem 0 0;
    font-size: .9375rem;
    line-height: 1.8;
    color: var(--ink-soft);
}

.xs-hint a {
    color: var(--pine);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--pine);
}

.xs-hint a:hover { color: var(--pine-deep); }

/* ---------- 8.5 关注我们（版权页右栏） ---------- */
/* 第七版：并入联系区右栏，与左栏「商务洽谈」双栏对置。
 *
 * 此前它是页面末尾一条 13px 灰字细带 —— 面积只有 45,124 px²、
 * 无容器无标题，在灰底上几乎看不见（视觉上等于消失）。
 * 现在它与电话并列为著录行，同样有标签、同样有墨绿竖条，
 * 权重对等，读者一眼能找到。
 *
 * 墨绿竖条挂在整栏左侧，是「版权页」的标记语言：
 * 竖条 = 这是一组联系信息。面积 3×N px²，克制但可识别。 */

.xs-social-bar {
    min-width: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--pine);
}

.xs-social-bar__label {
    display: block;
    margin: 0 0 .9rem;
    font-family: var(--font-book);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.xs-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 引导点线：版权页著录行用细点线逐条分隔，
   比连续排下来的灰字更有工艺感，也更容易逐行扫读。 */
.xs-social__item {
    display: flex;
    gap: .75rem;
    align-items: baseline;
    min-width: 0;
    padding: .3rem 0;
    border-bottom: 1px dotted var(--rule);
    font-size: .875rem;
    line-height: 1.85;
}

.xs-social__item:last-child { border-bottom: 0; }

.xs-social__key {
    flex: none;
    width: 4.5em;
    color: var(--ink-soft);
}

.xs-social__val {
    min-width: 0;
    color: var(--ink);
    word-break: break-all;
}

/* ---------- 8.6 书目清单 ---------- */
/* 第七版：书目是「书目下载」页的唯一主体，必须撑得住版面。
 *
 * 此前是一条 20px 小图标 + 一行文字的清单行，
 * 主体只有 1 份书目时，整页看起来几乎是空的 ——
 * 主体被压成了「一行灰字 + 一个小绿按钮」。
 *
 * 现在把书目做成**书封卡**：把原那张 32×32 的小图标放大成
 * 真正的书封比例（4:3 封面框），配衬线书名 + 著录信息 + 下载动作。
 * 主体有了体量，页面的重心才落得住。 */
.xs-files {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xs-files__item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
}

.xs-files__item:last-child { border-bottom: 0; }

/* 书封框：原图仅 32×32，放大用 image-rendering 保持边缘清晰 */
/* 左侧 4px 墨绿即「书脊」—— 让书封框真的是一本书，不是浅底方块 */
.xs-files__cover {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    height: 144px;
    background: var(--pine-wash);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--pine);
    border-radius: 2px 4px 4px 2px;
}

.xs-files__thumb {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
}

.xs-files__body { flex: 1; min-width: 0; }

/* 下载按钮：不参与 flex 拉伸。
   .xs-btn 基线是 width:100%（为表单/移动端设计），
   在这里必须收回 auto，否则它会撑满剩余宽度、
   把书名挤成竖排单字。 */
.xs-files__item > .xs-btn {
    flex: none;
    width: auto;
    padding: .7rem 1.4rem;
    font-size: .875rem;
}

.xs-files__title {
    margin: 0 0 .35rem;
    font-family: var(--font-book);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
}

.xs-files__meta {
    margin: 0;
    font-size: .875rem;
    color: var(--ink-soft);
}

/* 提示条（空态 / 指引） */
.xs-note {
    margin: 0;
    padding: 1.1rem 1.3rem;
    background: var(--paper);
    border: 1px dashed var(--rule);
    border-radius: 6px;
    font-size: .9375rem;
    line-height: 1.75;
    color: var(--ink-soft);
}

.xs-note a {
    color: var(--pine);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--pine);
}

.xs-note a:hover { color: var(--pine-deep); }

/* ---------- 8.7 联系我们（版权页式著录区） ----------
 *
 * 第七版改版 —— 这一段是本次改版的核心。
 *
 * 原做法：整条满宽墨绿实心块（1080×176 = 190,063 px²，占版面 15.9%），
 * 内含 32px 的超大电话。问题有二：
 *   1. 面积倒置 —— 一个页脚级的联系区吃掉了全页 16% 的版面，
 *      而页面真正的主体（合作方式）只有 4.6%；
 *   2. 层级倒置 —— 32px 的电话比全页 24px 的小节标题还大，
 *      页脚信息变成了页面主角。
 *
 * 新做法：借中文书「版权页」的版式语言 ——
 * 版权页正是书籍世界中专用于回答「这本书谁做的、怎么找他」的信息页，
 * 与本页职责天然同构。它用**双栏对置的著录行**（标签 ······ 值）
 * 承载联系信息，密度高、字号克制、没有色块。
 *
 * 墨绿由此从「满宽色块」降级为「3px 竖条标记」：
 * 品牌识别完整保留，视觉上从主角退回标记。
 */
.xs-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 3.5rem;
    margin: 0;
    padding: 2rem 0 0;
    border-top: 1px solid var(--rule);
}

/* 左栏：商务洽谈（电话为唯一强调项） */
.xs-contact__lead {
    min-width: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--pine);
}

.xs-contact__person {
    margin: 0;
    font-family: var(--font-book);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.xs-contact__note {
    margin: .2rem 0 0;
    font-size: .8125rem;
    color: var(--ink-faint);
}

.xs-contact__phones {
    display: flex;
    flex-wrap: wrap;
    gap: .1rem 1.75rem;
    margin-top: .9rem;
}

/* 电话是首要动作，但仍用**常规字号 + 墨绿**，
 * 而不是超大白字 —— 强调靠颜色与位置，不靠面积。
 * min-height 44px 保证移动端点击目标达标（WCAG 2.5.8 AA）。 */
.xs-contact__phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-book);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--pine);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.xs-contact__phone:hover { color: var(--pine-deep); text-decoration: underline; }

/* 邮箱与地址：著录行，与电话之间用发丝线分隔 */
.xs-contact__meta {
    margin: 1.1rem 0 0;
    padding-top: .9rem;
    border-top: 1px solid var(--rule);
}

.xs-contact__row {
    display: flex;
    gap: .75rem;
    align-items: baseline;
    min-width: 0;
    padding: .3rem 0;
    border-bottom: 1px dotted var(--rule);
    font-size: .875rem;
    line-height: 1.85;
}

.xs-contact__row:last-child { border-bottom: 0; }

.xs-contact__key {
    flex: none;
    width: 4.5em;
    color: var(--ink-soft);
}

.xs-contact__val {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    word-break: break-all;
}

.xs-contact__val a { color: var(--pine); text-decoration: none; }
.xs-contact__val a:hover { text-decoration: underline; }

.sousuojgy > ul > li .img.xs-cover-missing {
    background:
        url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 145' width='110' height='145'%3E%3Crect width='110' height='145' fill='%23f5f7f6'/%3E%3Crect x='0.5' y='0.5' width='109' height='144' fill='none' stroke='%23e3eae6'/%3E%3Cg fill='none' stroke='%23c2d2c9' stroke-width='2'%3E%3Crect x='34' y='26' width='42' height='54' rx='2'/%3E%3Cpath d='M34 68h42M40 26v-6h30v6'/%3E%3C/g%3E%3C/svg%3E")
        center / auto 78% no-repeat;
}

/* ---- 盒模型还原：搜索结果封面框 ----
 *
 * 线上 style.css 通篇没有 box-sizing（content-box），而本文件基础层为
 * 适配流式布局给全局设了 border-box。两者在「显式 height + padding」上
 * 结果相差 42px：
 *   线上 content-box：.img height 210 + padding 20×2 + border 1×2 = 252px
 *   本地 border-box ：.img 总高 = 210px（内容区只剩 168px）
 *
 * 后果是封面图（158×196）放不下被压扁，封面框与线上一高一矮，
 * 整行 li 的高度也跟着差 42px（实测线上 li 高 310 / 本地 268）。
 *
 * 这里只对搜索结果封面框还原 content-box，其余元素保持 border-box
 * （流式布局依赖它，不能全局回退）。
 */
.sousuojgy > ul > li .img {
    box-sizing: content-box;
}

/* ============================================================
   8.4b 顶部导航 6 项后的头部行重排（≥1080px）
   ============================================================ */
/* 背景（2026-11-04 第七版起，同日修订）：
 *   「书目下载」(catid=42) 经甲方确认纳入顶级导航（原站刻意排除，
 *   见 App\Providers\AppServiceProvider::NAV_HIDDEN）。导航 5 → 6 项。
 *
 *   原站 .header 是 float 布局，1080px 版心内四块合计 1047px：
 *     120(logo) + 27 + 400(nav) + 60 + 270(search) + 170(member) = 1047
 *   6 项导航在原站 padding:0 17px 下合计 476px，放不进 400px 容器。
 *
 *   ⚠ 第一版对策只把 .header02 改成 width:auto（收缩到内容宽 497px），
 *   结果四块合计 1144px > 1080px → **.header04（登录｜注册）被挤到第二行**，
 *   头部高度突变、会员入口掉到搜索框下方（用户截图反馈「样式错乱」）。
 *   而 responsive-scan 的判据是「右栏左边界回退」，掉行时 x 并未回退，
 *   故 176 组合全通过却漏检 —— 已在 scanFn 补充 header 纵向判据。
 *
 * 对策：≥1080px 也把 .header 改为 flex 单行（与 ≤1079px 同一套处理），
 *   用 auto margin 把剩余空间交给搜索框左侧，精确复现线上坐标：
 *     线上实测（1400px 视口，版心左 x=160）：
 *       h1 x=160(+0) / h2 x=307(+147) / h3 x=767(+607) / h4 x=1070(+910)
 *       h4 与 h1 同行（y 相同），分隔符 x=1130 落在两个 60px 链接之间
 *   6 项导航收到 padding:0 13px 合计 428px，比原站多占 28px，
 *   从原站 h2→h3 的 60px 间距里吸收（auto margin 实际得到 32px），
 *   h3 / h4 的绝对位置与线上完全一致。
 *
 *   ⚠ .header04 不能设 text-align:right —— 原站分隔符是
 *   position:absolute; left:60px，右对齐会把竖线推进「登录」文字里。
 */
@media (min-width: 1080px) {
    .header {
        display: flex;
        flex-wrap: nowrap;
        /* 原站 .header03 有 margin-top:16px，其余贴顶；保持顶对齐，
         * 不能用 center，否则会把原站的纵向错位「修正」成居中。 */
        align-items: flex-start;
    }

    .header > .header01 {
        float: none;
        flex: 0 0 120px;
    }

    .header > .header02 {
        float: none;
        width: auto;
        flex: 0 1 auto;       /* 按 6 项内容宽，不增长 */
        min-width: 0;
        margin-left: 27px;    /* 原站 */
    }

    .header > .header02 > ul {
        display: flex;
        flex-wrap: nowrap;    /* 6 项恒为单排 */
    }

    .header > .header02 > ul > li {
        flex: 0 1 auto;
        min-width: 0;
    }

    /* 原站 padding:0 17px；6 项收到 13px，合计 428px */
    .header > .header02 > ul > li > a {
        padding: 0 13px;
    }

    .header > .header03 {
        float: none;
        flex: 0 0 270px;
        margin-left: auto;    /* 吸收剩余空间（实测 32px），h3 仍落在 +607 */
    }

    .header > .header04 {
        float: none;
        flex: 0 0 170px;
        margin-left: 33px;    /* 复现原站 h3 右缘 1037 → h4 左缘 1070 的空隙 */
        /* text-align 保持原站左对齐：分隔符是 left:60px 绝对定位 */
    }
}

/* ============================================================
   8.5 断点：≤1079px（版心收缩区间）
   ============================================================ */
/* ★★★ 通用解法：断点阈值必须与版心收缩点严格相等，不允许存在"断点真空区" ★★★
 *
 * 背景：--shell 决定版心宽度。固定宽子元素宽度之和（最大 1067px）
 * 一旦大于版心可用宽，浮动就会换行——右侧内容掉到下一行、左侧留大片空白。
 * 这类"错乱"不伴随横向溢出（scrollWidth 不变），极易被误判为溢出问题。
 *
 * 旧写法 --shell: min(1080px, 100% - 2rem) 造成两处不一致：
 *   · 视口 ≤1112px 时版心就开始收缩；
 *   · 但流式规则要到 ≤1080px 才生效。
 * 于是 1081–1098px 成为真空区：容器已缩、固定宽仍固定 → 浮动换行。
 * 实测 .lmycontnet 在 1084/1088/1092/1096px 全部换行（topDiff=293px）。
 *
 * 现在的统一规则：
 *   · 视口 ≥1080px：--shell = min(1080px, 100%) = 恒 1080px，
 *     与线上版心逐像素一致；且固定宽之和（最大 1067px）必然放得下，
 *     任何视口宽度都不可能换行；
 *   · 视口 ≤1079px：版心收缩（下方 :root 覆盖）与流式化同时发生，
 *     且所有固定宽多栏行统一降级为 flex 弹性列，按需收缩而绝不换行。
 *
 * ⇒ 1079 / 1080 之间不再有任何真空区，全区间（1060–1200 实测）零换行。
 */
@media (max-width: 1079px) {

    /* 版心收缩与流式化必须同步发生，否则又会回到"容器已缩、
     * 固定宽仍固定"的夹缝状态。 */
    :root {
        --shell: calc(100% - 2rem);
    }

    /* 首页顶部双栏（左侧分类 + 右侧轮播）
     *
     * 原站 .index1 固定 1080px，.left 207px + .right 860px = 1067px。
     * 容器被 --shell 收窄后固定宽会挤换行，轮播掉到下一行并压住下方区块标题。
     *
     * 改为 flex 弹性列：宽度按 207 : 860 的原站比例伸缩，
     * 且无论版心多窄都保持同行——「伸缩」而非「换行」。 */
    .index1 > div {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .index1 > div > .left {
        width: auto;
        float: none;
        flex: 0 0 19.4%;        /* 207 / 1067 */
        min-width: 0;
    }

    .index1 > div > .right {
        width: auto;
        float: none;
        flex: 1 1 80.6%;        /* 860 / 1067 */
        min-width: 0;
    }

    /* 二级浮层原为绝对定位 860px 宽，弹性化后跟随右栏实际宽度 */
    .index1 > div > .left > ul > li .erji {
        width: 100%;
    }

    /* 列表页 / 资源页 / 详情页 的双栏
     *
     * 原站 .left 207px + .right 860px = 1067px。容器被 --shell 收窄后，
     * 固定宽子元素会让浮动换行（右侧内容掉到下一行，左侧留大片空白）。
     * 同样降级为 flex 弹性列，保持 207 : 860 比例且绝不换行。 */
    .lmycontnet {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .lmycontnet > .left {
        width: auto;
        float: none;
        flex: 0 0 19.4%;        /* 207 / 1067 */
        min-width: 0;
    }

    .lmycontnet > .right {
        width: auto;
        float: none;
        flex: 1 1 80.6%;        /* 860 / 1067 */
        min-width: 0;
    }

    /* 列表页卡片：原站 377px 固定宽 + 33px 左边距，两列排布。
     * 改用 flex 让卡片按等分宽度重排，避免固定宽在窄容器里挤换行。 */
    .lmycontnet > .right > .listContent > ul {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 0;
        padding-bottom: 10px;
    }

    .lmycontnet > .right > .listContent > ul > li {
        flex: 1 1 340px;
        max-width: 377px;
        min-width: 0;
        float: none;
        height: auto;
        margin-left: 0;
        margin-top: 0;
    }

    /* 列表项内部：封面 110px + 右侧文字，整体比例随卡片缩放 */
    .lmycontnet > .right > .listContent > ul > li .left {
        width: auto;
        float: none;
        flex: 0 0 29.2%;        /* 110 / 377 */
        min-width: 0;
    }

    .lmycontnet > .right > .listContent > ul > li .right {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    /* 头部：原站固定宽合计约 1047px
     * （logo 120 + 导航 400 + margin 27 + 搜索 270 + margin 60 + 登录 170）。
     * 版心收缩后同样会掉行，改为 flex 弹性列：
     * logo / 搜索框 / 登录区保持原宽，导航栏（.header02）作为弹性项吸收收缩量。 */
    .header {
        display: flex;
        flex-wrap: nowrap;
        /* 原站头部子元素是「浮动 + 各自 margin-top」，纵向位置并不统一：
         * .header03 有 margin-top:16px（对齐搜索框），其余贴顶。
         * 因此这里必须用 flex-start 保持顶对齐，不能用 center，
         * 否则会把原站的错位对齐「修正」成居中，反而与线上不一致。 */
        align-items: flex-start;
    }

    .header > .header01 {
        width: auto;
        float: none;
        flex: 0 0 120px;
    }

    .header > .header02 {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 27px;
    }

    .header > .header03 {
        width: auto;
        float: none;
        flex: 0 0 270px;
        margin-left: 60px;
    }

    .header > .header04 {
        width: auto;
        float: none;
        flex: 0 0 170px;
        /* 原站 .header04 是 float:right，始终贴右边缘；
         * 弹性布局下用 margin-left:auto 复现右对齐。 */
        margin-left: auto;
        /* ⚠ 不能加 text-align:right：原站分隔符 <span>|</span> 是
         * position:absolute; left:60px 相对本容器定位，两个链接各 60px。
         * 若右对齐，链接整体右移 50px，竖线会落进「登录」文字里，
         * 而「登录」与「注册」之间反而没有分隔（实测 901–1079px 曾错位）。
         * 左对齐时 sep.x = h4.x + 60，恰好在两链接之间。 */
        text-align: left;
    }

    /* 导航项原为固定间距，弹性化后允许压缩。
     *
     * 第七版起导航为 6 项（原站 5 项），inline-block 在窄容器里
     * 会折成两排（实测 1079px 时 rows=2，头部布局错乱）。
     * 改为 flex 单排 + nowrap：项宽按内容分配，绝不折行；
     * 空间不足时靠 li 的 flex-shrink 压缩，文字本身不截断。
     */
    .header > .header02 > ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .header > .header02 > ul > li {
        float: none;
        flex: 0 1 auto;
        min-width: 0;
    }

    /* 窄容器下收紧导航项内边距，给 6 项腾出空间 */
    .header > .header02 > ul > li > a {
        padding: 0 9px;
        font-size: 15px;
    }

    /* 详情页正文区：原站 .left 700px + .right 337px = 1037px。
     * 同样降级为 flex 弹性列，避免窄版心下右侧栏掉行。 */
    .xqyContnent > .bottom {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .xqyContnent > .bottom > .left {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    .xqyContnent > .bottom > .right {
        width: auto;
        float: none;
        flex: 0 0 32.5%;        /* 337 / 1037 */
        min-width: 0;
    }

    /* 详情页左上角图文块：原站 .left 170px + .right 490px */
    .xqyContnent > .bottom > .left > .top {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .xqyContnent > .bottom > .left > .top > .left {
        width: auto;
        float: none;
        flex: 0 0 170px;
    }

    .xqyContnent > .bottom > .left > .top > .right {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    /* 页脚深色块：原站写死 height:179px，只够桌面 1080px 版心的双栏排布。
     * 本段（901–1079px）把内部改成弹性列后，内容实测撑到 283px，
     * 固定高度会让二维码 / 版权文字溢出到深色块外的灰底上，
     * 并把 html 的 scrollHeight 撑出 104px 空白（用户反馈「底部样式错乱」）。
     * 与 ≤900px 段同样改为自适应高度 + 清除内部浮动。 */
    .footerbj {
        height: auto;
        min-height: 179px;
        overflow: hidden;
    }

    /* 页脚主体：原站 .left 730px + .right 230px（margin-left 90px）= 1050px */
    .footer > div {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .footer > div > .left {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    .footer > div > .right {
        width: auto;
        float: none;
        flex: 0 0 21.9%;        /* 230 / 1050 */
        min-width: 0;
        margin-left: 8.6%;      /* 90 / 1050 */
    }

    /* 页脚左下：原站 .left 150px + .right 525px（margin-left 40px） */
    .footer > div > .left > .bottom {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .footer > div > .left > .bottom > .left {
        width: auto;
        float: none;
        flex: 0 0 150px;
    }

    .footer > div > .left > .bottom > .right {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 40px;
    }

    /* 友情链接行原为固定行高 72px，弹性化后改为随内容自适应 */
    .footer > div > .left > .top {
        height: auto;
        line-height: 1.9;
        padding: 0.5rem 0;
    }

    /* 栏目页左侧导航：原站 .left 100px + .right 700px */
    .indexnavfelei {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .indexnavfelei > .left {
        width: auto;
        float: none;
        flex: 0 0 100px;
    }

    .indexnavfelei > .right {
        width: auto;
        float: none;
        flex: 1 1 auto;
        min-width: 0;
    }

    /* 首页推荐位：原站是 208px 固定宽 + 10px 间距的浮动网格（5 列）。
     * 容器收缩时固定宽会挤出一列空隙（图二红框处的空隙），改为 flex 换行，
     * 让卡片按等分宽度重排，既填满版心又不需要百分比推算。
     *
     * 注意：ul 原站带 overflow:hidden（建立 BFC）+ margin-left:-10px。
     * 改成 flex 后 BFC 会让宽度按内容收缩，必须显式 width 撑满版心。 */
    .index2 > div > ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0 10px;
        width: calc(100% + 10px);
        margin-left: -10px;
        margin-top: 30px;
    }

    .index2 > div > ul > li {
        flex: 1 1 190px;
        max-width: 208px;
        min-width: 0;
        margin-left: 0;
    }

    /* 搜索结果区：线上 .sousuojgy 是 1080px 固定宽、直接挂在 body 下
     * （原站 search/list.html），与 .header / .footer / .index1 同宽。
     * 本地已把 .sousuojgy 纳入 --shell 体系，这里只需把结果列表
     * 从「float + 负边距」改为 flex，避免窄屏时负边距造成横向溢出。 */
    .sousuojgy > ul {
        overflow: visible;
        display: flex;
        flex-wrap: wrap;
        /* 原站是 float + margin-left:20px，横向间距 20px。
         * 改用 flex 后用 gap 表达间距，并去掉 li 的 margin-left，
         * 否则两者叠加会变成 40px（实测 li 位置 0/240/480 vs 线上 0/220/440）。 */
        gap: 25px 20px;
        margin-left: 0;
        padding: 0;
    }

    .sousuojgy > ul > li {
        flex: 0 0 200px;
        max-width: 200px;
        min-width: 0;
        float: none;
        margin-left: 0;
        margin-top: 0;
    }

    /* 资源页横幅里的搜索框容器
     *
     * 原站 .content 是 position:absolute; left:450px; width:440px，
     * 但里面真正有内容的只有 .left(300px) + .right(48px) = 348px，
     * 剩下 92px 是留给烘焙图上那个放大镜的空白。
     *
     * 版心一旦窄于 450+440=890px，这个透明盒子就会探出版心，
     * 在 901–905px 区间造成 5px 横向溢出（实测 901px 时 right=906 > 版心 901）。
     *
     * 改成 min(440px, 100% - 450px)：≥950px 时仍是 440px（与线上一致），
     * 窄下来时按剩余空间收缩。子元素都是 float:left 从左排布，
     * 容器变窄不会移动输入框和按钮 —— 视觉零变化，只是不再溢出。 */
    .xzyContent .topSearch .content {
        width: min(440px, calc(100% - 450px));
    }
}

/* ============================================================
   9. 断点：≤900px（平板 / 手机横向）
   ============================================================ */
/* ============================================================
   8.6 断点：901–1079px —— 6 项导航的压缩保护
   ============================================================ */
/* 背景（2026-11-04 用户截图「各尺寸导航样式错乱」）：
 *   8.5 段把 .header 改成 flex 弹性列后，.header02 分到的宽度 =
 *   版心 - (logo 120 + 27 + 60 + 搜索 270 + 登录 170) = 版心 - 647。
 *   901px 视口版心 869px → 只剩 222px；1000px → 321px。
 *   而 6 项导航在 padding 9px / 15px 字号下需要约 363px，
 *   li 被 flex-shrink 压窄后中文按字换行 —— 实测 1000px 截图里
 *   「首页」变「首 / 页」、「图书」变「图 / 书」，竖排单字。
 *
 *   旧扫描判据只查 li 的 top 种类（是否折成两排），
 *   对「同一 li 内文字换行」完全免疫，故 176 组合曾全通过却漏检。
 *
 * 对策：不把导航收进抽屉（该区间仍保持桌面形态），而是从其余三块
 *   各让出一点宽度，使导航项恒为自然宽、绝不压缩：
 *     logo 120→104（图片等比缩放）、h2/h3 左间距 27/60→12、
 *     登录区 170→120（两个 60px 链接 + left:60px 分隔符刚好）。
 *   搜索框保持 270px 原宽 —— 它的背景是 270px 烘焙图，缩窄会错位。
 *   901px 视口可用宽 = 869 - (104+12+12+270+120) = 351px ≥ 339px ✓
 */
@media (min-width: 901px) and (max-width: 1079px) {
    .header > .header01 {
        flex: 0 0 104px;
    }

    .header > .header01 > a > img {
        width: 104px;
    }

    .header > .header02 {
        margin-left: 12px;
    }

    .header > .header03 {
        margin-left: 12px;
    }

    .header > .header04 {
        flex: 0 0 120px;
    }

    /* 导航项按内容宽排列，绝不压缩；文字强制单行 */
    .header > .header02 > ul > li {
        flex: 0 0 auto;
    }

    .header > .header02 > ul > li > a {
        padding: 0 7px;
        white-space: nowrap;
    }

    /* 页脚收尾：该区间版权行变窄，备案号曾被拆成「…京公网安备」+「号」孤行。 */
    .footer > div > .left > .bottom > .right > .bottom a {
        white-space: nowrap;
    }

    /* 二维码（2026-11-05 用户反馈「1035 左右底部二维码样式错乱」）：
     * 8.5 段给 .footer > div > .right 的比例宽只有 190–229px，
     * 而两个 108px 图 + 16px 间距需要 232px。放不下时
     * .footer-erw2 是 float:right，会掉到第二行并贴住容器右缘，
     * 表现为「一上一下、第二个偏右」，还把深色块撑到 295px。
     * 与 ≤900px 段一样改成 flex 并排，容器按内容宽自适应。 */
    .footer > div > .right {
        flex: 0 0 auto;
        width: auto;
        min-width: 232px;
        margin-left: 1.5rem;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 1rem;
    }

    .footer-erw1,
    .footer-erw2 {
        float: none;
        flex: none;
    }

    .footerbj {
        padding-bottom: .75rem;
    }
}

@media (max-width: 900px) {

    /* ---- 头部折叠为抽屉 ---- */
    .header {
        height: auto;
        min-height: 66px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 0 .25rem;
    }

    .header > .header01 {
        width: auto;
        float: none;
        flex: none;
        order: 1;
        /* 与登录区和汉堡按钮共用 66px 行高，展开抽屉时 logo 行高度也不变，
           关闭按钮（top:13px，居中于 66px）才能继续对准 logo。 */
        display: flex;
        align-items: center;
        min-height: 66px;
    }

    /* 桌面 .header01 img 的 margin-top:10px 是为了在浮动顶栏里下移 logo。
       移动端整行已按交叉轴居中，这 10px 会把 logo 压到「登录 / 注册」下方。 */
    .header > .header01 > a {
        display: flex;
        align-items: center;
        line-height: 0;
    }

    .header > .header01 > a > img {
        display: block;
        margin-top: 0;
        height: auto;
    }

    /* 会员区（登录 | 注册）
     *
     * 原站 .header04 a 为 inline-block + width:60px + text-align:center，
     * 分隔符 <span>|</span> 是 position:absolute; left:60px —— 这套定位只在
     * 桌面 170px 宽的固定布局下成立。移动端若只把宽度改成 auto，绝对定位的
     * 分隔符会脱离文档流，"登录"与"注册"被撑到两个 60px 宽的盒子而左右错开。
     *
     * 移动端改为常规流式：分隔符回到文档流，两个链接按内容宽度并排。
     */
    .header > .header04 {
        width: auto;
        float: none;
        order: 2;
        margin-left: auto;
        padding-top: 0;
        font-size: 13px;
        flex: none;          /* 清掉 8.5 段的 170px 弹性基准 */
        display: flex;
        align-items: center;
        gap: .45rem;
    }

    .header > .header04 a {
        width: auto;
        margin-top: 0;
        height: auto;
        line-height: 1.4;
        text-align: left;
        overflow: visible;
        color: var(--ink-soft);
        white-space: nowrap;
    }

    .header > .header04 span {
        position: static;
        left: auto;
        top: auto;
        color: var(--rule);
        user-select: none;
    }

    .xs-nav-toggle {
        display: inline-flex;
        order: 3;
        margin: 0 0 0 .5rem;   /* 纵向对齐交给 flex 的 align-items，不再用 margin-top 硬撑 */
        flex: none;
    }

    /* 抽屉内的导航 / 搜索 */
    .header > .header02,
    .header > .header03 {
        display: none;
        /* 清掉 8.5 段的弹性基准，展开态为纵向流式 */
        flex: none;
    }

    .header.xs-nav-open {
        flex-direction: column;
        align-items: stretch;
    }

    /* 展开态是纵向排列，汉堡按钮须继续留在右上角 ——
       用绝对定位脱离纵向流，避免被 order 排到会员区下方。 */
    .header.xs-nav-open {
        position: relative;
        padding-right: 3.25rem;
    }

    .header.xs-nav-open > .xs-nav-toggle {
        position: absolute;
        top: 13px;
        right: .25rem;
        margin: 0;
    }

    /* 展开态下会员区上移一行，给右上角的关闭按钮让出空间 */
    .header.xs-nav-open > .header04 {
        margin-left: 0;
        align-self: flex-start;
    }

    .header.xs-nav-open > .header02,
    .header.xs-nav-open > .header03 {
        display: block;
        width: auto;
        float: none;
        margin: 0;
        order: 4;
    }

    /* ⚠ 8.5 段（≤1079px）给 .header > .header02 > ul 设了
     * display:flex; flex-wrap:nowrap —— 抽屉展开时它仍然生效，
     * 6 项被压到 40–65px 宽，中文按字竖排（「首/页」「图/书」），
     * 溢出的字还会盖住下面的搜索框（2026-11-05 用户截图）。
     * 抽屉里必须显式退回纵向块级列表。 */
    .header.xs-nav-open > .header02 > ul {
        display: block;
        padding: .5rem 0;
        border-top: 1px solid var(--rule);
    }

    .header.xs-nav-open > .header02 > ul > li {
        display: block;
        position: relative;
        flex: none;
        width: 100%;
    }

    .header.xs-nav-open > .header02 > ul > li > a {
        height: 42px;
        line-height: 42px;
        /* 原值 .1.1rem 是笔误（无效 CSS，整条 padding 被丢弃） */
        padding: 0 .35rem 0 1.1rem;
        white-space: nowrap;
        font-size: 15px;
        /* 原站是纯黑粗体（#333），与全站墨色+品牌绿体系不一致，
         * 抽屉里改用墨色常规字重，当前项用书脊式绿条标记。 */
        color: var(--ink);
        font-weight: 500;
        border-radius: 6px;
    }

    /* 当前项：左侧 3px 品牌绿竖条 —— 沿用全站「书脊」标记语言 */
    .header.xs-nav-open > .header02 > ul > li.active > a {
        background: var(--pine-wash);
        color: var(--pine);
        font-weight: 600;
    }

    .header.xs-nav-open > .header02 > ul > li.active > a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 20px;
        border-radius: 3px;
        background: var(--pine);
    }

    .header.xs-nav-open > .header03 {
        display: block;
        width: 100%;
        float: none;
        margin: 0;
        padding: .25rem 0 1rem;
        background: none;
        /* 原站 .header03 写死 height:32px（桌面单行搜索）。
         * 展开态输入框高 38px，会溢出这 6px 压到下层内容上 —— 必须放开。 */
        height: auto;
        min-height: 0;
    }

    .header.xs-nav-open > .header03 > .clearfix > form {
        display: flex;
        gap: .5rem;
        align-items: center;
    }

    .header.xs-nav-open .header03 .header03-01 {
        /* 分类下拉：窄屏隐藏（选项已由抽屉导航覆盖） */
        display: none;
    }

    .header.xs-nav-open .header03 .header03-02 {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        float: none;
        padding-left: 0;
    }

    .header.xs-nav-open .header03 .header03-02 input {
        width: 100%;
        height: 38px;
        padding: 0 .6rem;
        border: 1px solid var(--rule);
        border-radius: 8px;
        background: #fff;
    }

    .header.xs-nav-open .header03 .header03-03 {
        width: 42px;
        flex: 0 0 42px;
        float: none;
    }

    /* 搜索按钮：原站是背景图上的无字 input（value=""），
       移开 header03 的背景图后按钮会变成空白块 —— 这里补一个放大镜图标。 */
    .header.xs-nav-open .header03 .header03-03 input {
        height: 38px;
        border: 1px solid var(--pine);
        border-radius: 8px;
        background: var(--pine)
            url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E")
            center / 18px no-repeat;
        cursor: pointer;
        text-indent: -9999px;
        overflow: hidden;
    }

    /* ---- 首页 index1：左栏改横向标签条 ---- */
    .index1 {
        height: auto;
        margin-top: 1rem;
    }

    .index1 > div > .left {
        width: 100%;
        float: none;
        height: auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .index1 > div > .left::-webkit-scrollbar { display: none; }

    .index1 > div > .left > ul {
        display: flex;
        gap: .35rem;
        padding: .5rem;
        white-space: nowrap;
    }

    .index1 > div > .left > ul > li {
        flex: none;
    }

    .index1 > div > .left > ul > li > a {
        display: block;
        padding: .45rem .85rem;
        font-size: 14px;
        text-align: center;
        border-radius: 999px;
        background: var(--paper);
    }

    .index1 > div > .left > ul > li.active > a {
        color: #fff;
        background: var(--pine);
    }

    /* 二级浮层在触屏改为静态展开 */
    .index1 > div > .left > ul > li .erji {
        display: none;
        position: static;
        width: auto;
        height: auto;
        border-left: 0;
        background: transparent;
        overflow: visible;
    }

    .index1 > div > .left > ul > li:hover .erji { display: none; }

    .index1 > div > .right {
        width: 100%;
        float: none;
        margin-top: .75rem;
    }

    /* 桌面 min-height:220px 比手机上按宽度缩放后的横幅更高，
       圆点会掉到图下方的空白里；默认 44px 蓝箭头也会盖住画面。
       高度跟图片走，箭头缩小，圆点贴在图底部。 */
    .index1 > div > .right > .swiper,
    .mySwiper {
        height: auto;
        min-height: 0;
    }

    .mySwiper .swiper-wrapper,
    .mySwiper .swiper-slide {
        height: auto;
        background: transparent;
    }

    .mySwiper .swiper-slide a,
    .mySwiper .swiper-slide img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
    }

    .mySwiper .swiper-button-prev,
    .mySwiper .swiper-button-next {
        --swiper-navigation-size: 28px;
        --swiper-navigation-color: #fff;
        width: 28px;
        height: 28px;
        margin-top: -14px;
        background: rgba(22, 33, 28, .35);
        border-radius: 50%;
    }

    .mySwiper .swiper-button-prev::after,
    .mySwiper .swiper-button-next::after {
        font-size: 14px;
    }

    .mySwiper .swiper-button-prev { left: 6px; }
    .mySwiper .swiper-button-next { right: 6px; }

    .mySwiper .swiper-pagination {
        bottom: 8px;
        left: 50%;
        width: auto;
        transform: translateX(-50%);
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(22, 33, 28, .35);
        line-height: 0;
    }

    .mySwiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px;
        background: #fff;
        opacity: .7;
        box-shadow: 0 0 0 1px rgba(22, 33, 28, .25);
    }

    .mySwiper .swiper-pagination-bullet-active {
        width: 14px;
        border-radius: 6px;
        background: #fff;
        opacity: 1;
    }

    /* ---- 首页 index2：推荐图书网格 ---- */
    /* 区块标题：图标 + 名称在左，「更多>>」在右
     *
     * 原站 .index2 > div > h3 > a 是 float:right，且它是 h3 的**第一个**子元素
     * （DOM 顺序：更多>> → 图标 → 标题文字），靠浮动推到右侧。
     * 窄屏若改成 float:none，「更多>>」就会掉到图标左边、变成
     * "更多>> 高等学历辅导" 这种错位。
     *
     * 改为 flex + order：图标与标题按文档顺序在左，更多用 order 推到最右。
     * 这样与 float 的视觉效果一致，且不依赖浮动。
     */
    .index2 > div > h3 {
        margin-top: 1.75rem;
        padding-left: 2.25rem;
        font-size: 17px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0 .5rem;
    }

    .index2 > div > h3 img {
        left: 6px;
        top: 12px;
        order: 0;
        flex: none;
    }

    /* 标题文字是裸文本节点，包一层 span 才能参与 flex 排序 */
    .index2 > div > h3 > .sec-head__text {
        order: 1;
        min-width: 0;
    }

    .index2 > div > h3 > a.view_more {
        order: 2;
        margin-left: auto;
        float: none;
        padding-right: 0;
        font-size: .875rem;
        font-weight: 400;
        color: var(--ink-faint);
        white-space: nowrap;
    }

    .index2 > div > h3 > a.view_more:hover {
        color: var(--pine);
    }

    .index2 > div > ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: .75rem;
        margin-left: 0;
        margin-top: 1.25rem;
    }

    .index2 > div > ul > li {
        width: auto !important;
        float: none !important;
        height: auto !important;   /* 原站固定 304px，网格下需放开 */
        margin-left: 0;
        margin-bottom: 0;
    }

    .index2 > div > ul > li > a > .bookname {
        height: auto;
        min-height: 2.6em;
        margin-top: .75rem;
        font-size: 15px;
    }

    /* ---- 列表页 / 详情页：双栏转单栏 ---- */
    /* 必须同时覆盖 .right —— 列表页右栏是 float:right + width:860px，
       只改 .left 会让 860px 的右栏被浮到 358px 容器左侧之外（分页跑到视口外）。 */
    .lmycontnet > .left,
    .lmycontnet > .right,
    .xqyContnent > .bottom > .left,
    .xqyContnent > .bottom > .right {
        width: 100%;
        float: none;
        /* 8.5 段已把这两组改成 flex 弹性列（flex-basis 19.4% / 80.6%）。
         * 单栏化时必须清掉 flex-basis，否则 flex 会无视 width:100%，
         * 仍按 19.4% / 80.6% 并排 —— 双栏并不会真正叠起来。 */
        flex: none;
    }

    /* 单栏化同时把弹性列容器改回常规块流 */
    .lmycontnet,
    .xqyContnent > .bottom,
    .footer > div,
    .index1 > div,
    .indexnavfelei {
        display: block;
    }

    .lmycontnet > .right { margin-top: 0; }

    /* 列表项：原站 377px 固定宽 + 33px 左边距，双栏排布。
     * 窄屏改为单栏流式，卡片内封面与信息也纵向排列。 */
    .lmycontnet > .right > .listContent > ul {
        overflow: visible;
        display: grid;
        grid-template-columns: 1fr;
        gap: .75rem;
        padding: .75rem;
    }

    .lmycontnet > .right > .listContent > ul > li {
        width: auto;
        float: none;
        height: auto;
        margin-left: 0;
        margin-top: 0;
        padding: .75rem;
        border: 1px solid var(--rule);
        border-radius: var(--r);
        background: var(--card);
    }

    .lmycontnet > .right > .listContent > ul > li .left {
        width: auto;
        float: none;
        margin: 0 auto .6rem;
        text-align: center;
    }

    .lmycontnet > .right > .listContent > ul > li .right {
        width: auto;
        float: none;
    }

    .lmycontnet > .right > .listContent > ul > li .right > ul > li {
        width: auto;
        float: none;
    }

    .lmycontnet > .left {
        margin-bottom: 1rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .lmycontnet > .left::-webkit-scrollbar { display: none; }

    .lmycontnet > .left > ul {
        display: flex;
        gap: .35rem;
        padding: .5rem;
        white-space: nowrap;
    }

    .lmycontnet > .left > ul > li {
        flex: none;
        height: auto;
        line-height: 1.4;
        text-align: left;
    }

    .lmycontnet > .left > ul > li > a {
        display: block;
        padding: .45rem .85rem;
        font-size: 14px;
        border-radius: 999px;
        background: var(--paper);
    }

    .lmycontnet > .left > ul > li.active > a {
        color: #fff;
        background: var(--pine);
    }

    /* 手机端二级类目：原浮层在列表页被强制隐藏，触屏又没有 hover，
       导致子栏目完全选不到。改为点按箭头后在类目条下方展开一个共享面板；
       面板挂在 .left 之后而非 li 内部，避免被 overflow-x:auto 裁掉。 */
    .index1 > div > .left > ul > li,
    .lmycontnet > .left > ul > li {
        display: flex;
        align-items: center;
        flex: none;
        height: auto;
        line-height: 1.4;
        text-align: left;
    }

    .xs-cat-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
        margin-left: -2px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--pine);
        font-size: 12px;
        cursor: pointer;
    }

    .xs-cat-toggle i { transition: transform .15s ease; }
    .index1 > div > .left > ul > li.is-open > .xs-cat-toggle i,
    .lmycontnet > .left > ul > li.is-open > .xs-cat-toggle i { transform: rotate(180deg); }

    .index1 > div > .left > ul > li .erji,
    .lmycontnet > .left > ul > li .erji {
        display: none;
        position: static;
        width: 100%;
        height: auto;
        border-left: 0;
        background: transparent;
        overflow: visible;
        white-space: normal;
    }

    .xs-cat-mobile-panel {
        margin: .35rem .5rem .5rem;
        padding: .55rem .65rem;
        border: 1px solid var(--rule);
        border-radius: 10px;
        background: var(--card);
        box-shadow: 0 6px 18px rgba(22, 33, 28, .06);
        white-space: normal;
    }

    .xs-cat-mobile-panel .indexnavfelei { display: block; }

    .xs-cat-mobile-panel .indexnavfelei > .left {
        margin-bottom: .4rem;
        color: var(--pine);
        font-weight: 600;
    }

    .xs-cat-mobile-panel .indexnavfelei > .right > ul {
        display: flex;
        flex-wrap: wrap;
        gap: .35rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .xs-cat-mobile-panel .indexnavfelei > .right > ul > li > a {
        display: block;
        padding: .3rem .65rem;
        border-radius: 999px;
        background: var(--paper);
        color: var(--ink);
        font-size: 13px;
        text-decoration: none;
    }

    .xqyContnent > .bottom > .right { margin-top: 1.25rem; }

    /* ---- 详情页内部固定宽（原站 700/337/170/490px）---- */
    .xqyContnent > .bottom > .left > .top > .left,
    .xqyContnent > .bottom > .left > .top > .right {
        width: auto;
        float: none;
    }

    .xqyContnent > .bottom > .left > .top > .right {
        margin-top: 1rem;
    }

    /* 相关图书 / 封面样章 内的固定宽图片 */
    .rightContent2 > ul > li > a > div > .left,
    .rightContent2 > ul > li > a > div > .right {
        width: auto;
        float: none;
    }

    .rightContent2 > ul > li > a > div > .left {
        margin-bottom: .5rem;
    }

    /* ---- 底栏 ---- */
    /* .footerbj 原站写死 height:179px（桌面双栏刚好）。
     * 窄屏下内容改为纵向堆叠后实际需要 400px+，固定高度会让内容溢出深色块，
     * 表现为「深色背景被截断 + 内容溢到白底上、logo 被切一半」。 */
    .footerbj {
        height: auto;
        min-height: 0;
        padding: 1.5rem 0;
        /* .footer 内部是 float 布局（.left 730px + .right 230px），
         * 高度改成 auto 后必须清除浮动，否则 .footer 自身高度会塌成 0。 */
        overflow: hidden;
    }

    .footer > div > .left {
        width: 100%;
        float: none;
        /* 清掉 8.5 段的 flex 弹性列约束（.footer > div 已改回 display:block） */
        flex: none;
        margin-left: 0;
    }

    .footer > div > .left > .top {
        height: auto;
        line-height: 2;
        padding: .75rem 0;
    }

    .footer > div > .left > .top > span { display: block; }

    .footer > div > .left > .top > a {
        margin: 0 .9rem .35rem 0;
        display: inline-block;
    }

    /* 底栏
     *
     * 8.5 段（≤1079px）把 .footer > div 和 .bottom 都改成了
     * display:flex; flex-wrap:nowrap —— 因为版心在 901–1079px 之间
     * 仍是 600–1047px，双栏并排仍放得下。
     *
     * 但 ≤900px 时版心只有 328–868px，再保持 nowrap 就出事了：
     * 子项已被改成 width:100%，两个 100% 宽的子项被 flex 强行并排，
     * 右侧内容整块溢出视口（实测 x=884 > 版心 868），
     * 底部导航被压成「首」「京:」这样竖排一字一行。
     *
     * 修法：≤900px 把这两个容器退回 display:block，
     * 让子项按正常的块级流纵向堆叠。
     */
    .footer > div,
    .footer > div > .left > .bottom {
        display: block;
        flex-wrap: wrap;
    }

    .footer > div > .left > .bottom > .left,
    .footer > div > .left > .bottom > .right {
        width: 100%;
        float: none;
        margin-left: 0;
        flex: none;
    }

    /* logo 与版权信息纵向排列时留出间距 */
    .footer > div > .left > .bottom > .left.footer_logo {
        padding: .5rem 0;
        text-align: center;
    }

    /* 底部导航：链接与竖线换行时不该留下悬空的分隔符 */
    .footer > div > .left > .bottom > .right > .top > span {
        margin: 0 .15rem;
    }

    .footer > div > .right {
        width: 100%;
        float: none;
        margin: 1.5rem 0 0;
        flex: none;
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    /* ---- 资源页：横幅重排 ----
     *
     * 原站 .topSearch 是一张 1081×178 的整幅烘焙图：
     *   x 116–492  「资料下载 / ZILIAO XIAZAI」标题
     *   x 436–812  中间那条白色横条（就是搜索框的位置）
     *   x 812–916  右侧书本与苹果插画
     * 搜索框用 position:absolute; left:450px; top:102px 精确压在那条白条上，
     * 输入框自身 background:none —— 白条和放大镜都是画在图里的。
     *
     * 窄屏下白条被压缩后必然与标题错位，搜索框就会压住 logo。
     * 这里的做法：桌面端（>900px）完全不动，仍用原图；
     * 窄屏把横幅拆成两块素材重新排版 ——
     *   ① 上半条：纯主蓝底 + 抠好的标题图（左）+ 书本插画（右）
     *   ② 下半条：独立的白色搜索卡片，与图形彻底分离，永不重叠。
     */
    .xzyContent .topSearch {
        height: auto;
        margin-top: 1.5rem;
        padding: 0;
        background: none;
        border-radius: var(--r);
        overflow: hidden;
    }

    .xzyContent .topSearch::before {
        content: "";
        display: block;
        height: 96px;
        background-color: #0871C2;
        background-image: url("../images/zlxaimg1_03_title.png"),
            url("../images/zlxaimg1_03_books.png");
        background-repeat: no-repeat;
        background-position: left 1rem center, right 1rem center;
        background-size: auto 62px, auto 82px;
    }

    .xzyContent .topSearch > form {
        display: block;
        margin: 0 1rem 1rem;
        padding: .7rem .8rem;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    }

    .xzyContent .topSearch .content {
        position: static;
        left: auto;
        top: auto;
        width: auto;
        max-width: none;
        height: auto;
        display: flex;
        gap: .5rem;
    }

    .xzyContent .topSearch .content > .left {
        width: auto;
        flex: 1;
        min-width: 0;
        padding-left: 0;
        float: none;
    }

    .xzyContent .topSearch .content > .left > input {
        width: 100%;
        height: 38px;
        padding: 0 .6rem;
        background: #fff;
        border: 1px solid var(--rule);
        border-radius: 8px;
    }

    .xzyContent .topSearch .content > .right {
        float: none;
        flex: none;
    }

    .xzyContent .topSearch .content > .right > input {
        width: 44px;
        height: 38px;
        padding: 0;
        background-color: var(--pine);
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 19px 19px;
        color: #fff;
        border: 0;
        border-radius: 8px;
        cursor: pointer;
    }

    /* ---- 搜索结果页 ----
     * 原站 search/list.html 的结果区 .sousuojgy 直接挂在 body 下，
     * 线上宽度即 xsl/style.css 的 1080px 固定宽（与版心同宽），
     * 这里只需在窄屏放宽为 100%，并把结果列表改用 grid 消除负边距。 */
    .sousuojgy,
    .sousuojgy .maobaoxie,
    .sousuojgy .title,
    .sousuojgy ul {
        width: auto;
        max-width: 100%;
    }

    /* 结果列表：原站 margin-left:-20px 配 20px 项间距，窄屏改用 grid 消除负边距 */
    .sousuojgy > ul {
        margin-left: 0;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem .75rem;
        padding: .25rem 0;
    }

    .sousuojgy > ul > li {
        width: auto;
        /* 基础层是 flex 固定列宽（flex-basis），grid 下需重置 */
        flex: none;
        max-width: none;
        float: none;
        margin-left: 0;
        margin-top: 0;
    }

    .sousuojgy > ul > li .img {
        height: auto;
        padding: .5rem;
    }

    .sousuojgy > ul > li .bookname {
        margin-top: .5rem;
    }

    /* ---- 关于我们 / 经销商（合作页） ----
     * ≤900px 时版心收窄，三处需要降级：
     *   1. 报头（xs-head）改为上下堆叠，题名与导语不再并排；
     *   2. 正文白卡（xs-body）收掉留白，改为贴合版心；
     *   3. 联系条（xs-contact）的「联系人 + 电话」并排会挤压大号数字，
     *      改为上下堆叠。
     */
    .xs-page { margin: 1.75rem auto 2.75rem; }

    .xs-head {
        margin-bottom: 1.75rem;
        padding-bottom: 1.2rem;
    }

    .xs-head__title { font-size: 2rem; }
    .xs-head__num { font-size: 1.65rem; }

    .xs-body {
        max-width: none;
        margin-bottom: 1.75rem;
        padding: 1.4rem 1.5rem;
    }

    .xs-contact {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
        padding-top: 1.5rem;
    }

    .xs-contact__phone { font-size: 1.25rem; }

    .xs-card { padding: 1.2rem 1.3rem; }

    /* 合作页：报头题名收小、引言收小、目录条目收窄 */
    .xs-page--partner .xs-head { margin-bottom: 2.25rem; }

    .xs-page--partner .xs-head__title { font-size: 2rem; }

    .xs-page--partner .xs-head__lead { font-size: 1rem; }

    .xs-page--partner .xs-block { margin-bottom: 2.5rem; }

    .xs-page--partner .sec-head__title { font-size: 1.25rem; }

    .xs-page--partner .xs-prose,
    .xs-intro {
        max-width: none;
        font-size: 1rem;
        line-height: 2;
    }

    /* 目录条目：编号列收窄 */
    .xs-grid > .xs-card {
        grid-template-columns: 2.5rem minmax(0, 1fr);
        column-gap: 1rem;
    }

    .xs-grid > .xs-card::before { font-size: 1.125rem; }

    .xs-grid > .xs-card > .xs-card__title { font-size: 1.125rem; }

    .xs-hint { margin-top: 1.25rem; }

    /* ---- 会员页 ---- */
    .xs-member {
        grid-template-columns: 1fr;
        margin-top: 1.25rem;
    }

    .xs-member__side { position: static; }

    .xs-member__nav {
        display: flex;
        gap: .25rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .xs-member__nav::-webkit-scrollbar { display: none; }

    .xs-member__nav a {
        flex: none;
        white-space: nowrap;
    }

    .xs-member__main { padding: 1.25rem; }

    .xs-auth { margin: 1.5rem auto 2.5rem; }

    /* 验证码：窄屏下输入框会被压得过窄，改为上下排列，
     * 让输入框占满整行、图片靠右对齐。 */
    .xs-captcha__row {
        flex-wrap: wrap;
    }

    .xs-captcha__input {
        flex: 1 1 100%;
    }

    .xs-captcha__img {
        margin-left: auto;
    }
}

/* ============================================================
   10. 断点：≤600px（手机）
   ============================================================ */
@media (max-width: 600px) {

    :root { --gap: 1rem; }

    .header > .header01 > a > img { width: 104px; }

    /* 详情页：封面居中、著录通栏。
     * 原站固定宽让封面靠左、著录仅 163px，右侧各空 227px；
     * 并排方案在 390px 下著录只剩 145px，书号/主编会被折行。
     * 手机上改为封面居中、著录占满整行，既消除单侧大留白，文字也完整。 */
    .xqyContnent > .bottom > .left > .top {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .xqyContnent > .bottom > .left > .top > .left {
        flex: none;
        width: auto;
        max-width: 190px;
        margin: 0 auto 1rem;
        padding: .5rem 0;
    }

    .xqyContnent > .bottom > .left > .top > .left img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 150px;
        margin: 0 auto;
    }

    .xqyContnent > .bottom > .left > .top > .right {
        flex: none;
        width: 100%;
        min-width: 0;
        margin-top: 0;
    }

    .xqyContnent > .bottom > .left > .top > .right > h3 {
        font-size: 1.125rem;
    }

    .xqyContnent > .bottom > .left > .top > .right > ul {
        margin: .5rem 0;
        padding: .5rem .65rem;
        font-size: 12px;
        line-height: 1.6;
    }

    .xqyContnent > .bottom > .left > .top > .right > ul > li {
        /* 书号等长串在 320px 窄屏也能折行，不把容器撑出视口 */
        overflow-wrap: anywhere;
    }

    /* 简介/目录/微课 三等分铺满整行，原站 83px 固定宽在手机上会空出 1/3 */
    .jjmuwk > ul {
        display: flex;
        height: auto;
    }

    .jjmuwk > ul > li {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: .45rem .4rem;
        font-size: .9375rem;
    }

    .xs-member__profile { padding: 1rem; }

    /* 资料著录：窄屏横向空间不足，标签在上、值在下 */
    .xs-profile__row {
        display: block;
        padding: .9rem .25rem;
    }

    .xs-profile__row dt {
        width: auto;
        margin-bottom: .25rem;
    }

    .xs-profile__foot {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    /* 关于我们 / 经销商：窄屏收紧内边距，报头与卡片减重 */
    .xs-head { padding-bottom: 1rem; }
    .xs-head__title { font-size: 1.75rem; }
    .xs-head__lead { font-size: .9375rem; }
    .xs-head__num { font-size: 1.35rem; }

    .xs-body { padding: 1.15rem 1.1rem; }

    /* 指标：窄屏由横排退为两列，避免 320px 屏挤成两字宽 */
    .xs-head__metrics {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.25rem;
    }

    .xs-head__metric { flex-direction: column; align-items: flex-start; gap: .2rem; }

    /* 联系条：电话独占一行放大显示 */
    .xs-contact__phone { font-size: 1.45rem; }

    /* 索引项：标签在上、值在下（窄屏横向空间不足） */
    .xs-contact__row {
        flex-direction: column;
        gap: .1rem;
    }

    /* 合作方式：窄屏下目录条目堆叠 */
    .xs-grid { grid-template-columns: minmax(0, 1fr); }

    /* 关注我们：窄屏下两栏堆叠后，标签列收窄 */
    .xs-social__key { width: 4em; }

    /* 书封卡：窄屏缩小，避免占满整行 */
    .xs-files__cover {
        width: 76px;
        height: 102px;
    }

    .xs-files__item {
        gap: 1.25rem;
        padding: 1.5rem 0;
    }

    .xs-files__title { font-size: 1.125rem; }

    .xs-files__item { padding: .85rem 1.1rem; }

    .xs-steps { gap: .35rem; }

    .xs-steps__item { font-size: .75rem; }

    /* 分页：窄屏收紧间距，页码按钮保持可点面积 */
    .fenye { padding: 1.5rem 0; gap: .25rem; }

    .fenye > a,
    .fenye > span {
        min-width: 2rem;
        padding: .3rem .45rem;
        font-size: .8125rem;
    }
}


/* ============================================================
   9. 第十版（2026-11-05）：还原原站三页 DOM 后的视觉精修
   ------------------------------------------------------------
   客户要求「和线上页面逻辑保持一致」+「不要 low」。
   结构、类名、内容全部回到原站（.about-bjs / .gywm-about / .jxs-content），
   这里只做工艺精修：收敛 30px 大圆角与 40px 行高、把渐变横幅压成纯墨绿、
   重排字阶与著录分隔，并补齐窄屏流式宽度。
   第七~九版那套 xs-* 类已不再被三页使用；本文件上方保留的通用组件
   （.xs-btn / .xs-card / .xs-note 等）仍供会员区与 404 页复用。
   ============================================================ */

/* ---- 9.1 关于我们（线上 .about-bjs 结构） ---- */
.about-bjs {
    /* 绿色只留在横幅上。整段涂深绿会在白卡两侧铺出绿条。 */
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: #FBFCFB;
    padding-bottom: 3rem;          /* 白卡和深色页脚之间的纸色间距 */
}

/* 清掉全站页脚 30px 上边距，避免在纸色间距下再露出一条灰边。 */
.xs-main:has(> .about-bjs) + .footerbj { margin-top: 0; }

.gywm-about {
    width: auto;
    max-width: var(--shell);
}

.about_banner {
    height: auto;
    min-height: 168px;
    padding: clamp(3.25rem, 7.5vw, 5.25rem) 0 clamp(3.75rem, 8.5vw, 6rem);
    background: var(--pine-deep);
}

.about_banner .title {
    position: static;
    top: auto;
    transform: none;
    font-family: var(--font-book);
    font-size: clamp(2rem, 5vw, 2.7rem);   /* v3：横幅标题放大，更「门面」 */
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: none;
    color: #fff;
    text-wrap: balance;
}

/* v3：横幅内 1px 浅绿细线分隔（编辑式 shelf，同系统可控差异化） */
.about_banner .title::after {
    content: "";
    display: block;
    width: min(620px, 82%);
    height: 1px;
    background: var(--pine-wash);
    opacity: .55;
    margin: 1.5rem auto 0;
}

.gywm-about .contnet {
    margin-top: -3rem;              /* 保留线上 -60px 白卡上浮的层叠关系 */
    padding: clamp(2.5rem, 5.5vw, 3.5rem) clamp(1.5rem, 5vw, 3.25rem) clamp(2.5rem, 5vw, 3rem);
    border: 1px solid var(--rule);
    border-radius: 3px;             /* 线上 30px 大圆角是 low 的主因 */
    box-shadow: 0 14px 44px rgba(0, 40, 25, .12);   /* v3：卡片浮起略加强 */
    min-height: 0;                  /* 线上 400px 会把短正文撑出空白 */
    font-size: 1rem;
    line-height: 1.95;              /* v3：正文节奏更松快 */
    color: var(--ink);
}

.gywm-about .title_h1 {
    margin-bottom: 1.75rem;
    padding-bottom: 0;              /* 覆盖原站 style.css 的 padding-bottom:20px */
    /* 原 border-bottom 分隔线改为 H1 下的 4px 浅绿强调条（v3 门面动机，见 ::after） */
}

/* v3：H1 下方 4px 浅绿书脊强调条，与横幅细线呼应 */
.gywm-about .title_h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: var(--pine-wash);
    border-radius: 2px;
    margin: 1rem 0 0;
}

.gywm-about .title_h1 h1 {
    position: relative;
    margin: 0;
    padding-left: 1.1rem;           /* v3：配合更大的绿书脊条 */
    font-family: var(--font-book);
    font-size: clamp(1.7rem, 4vw, 2.3rem);   /* v3：放大书宋字号 */
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
    /* 17 字公司名在窄屏必然折行，balance 让两行均匀分配，
       避免出现「末行 1–2 字」的孤字行（扫描 short-text-orphan-line）。 */
    text-wrap: balance;
}

.gywm-about .title_h1 h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: .16em;
    bottom: .16em;
    width: 4px;
    background: var(--pine);
}

.gywm-about .contnet p {
    margin: 0 0 1.4rem;             /* v3：靠段间距拉开节奏，去掉首行缩进 */
    text-indent: 0;                 /* 覆盖原站 style.css .contnet p 的 2em 缩进 */
    font-size: 1.02rem;
    line-height: 1.95;
    color: var(--ink);
}

/* v3：正文统一处理，不再对首段单独放大（与 mockup v3 一致） */

.gywm-about .contnet p:last-child { margin-bottom: 0; }

/* ---- 9.2 经销商 / 书目下载（线上 .jxs-content 结构） ---- */
.jxs-content {
    padding: 2.5rem 0 3.5rem;
}

.jxs-content .title {
    margin-top: 0;
    padding: .9rem 1.5rem;
    border-radius: 4px 4px 0 0;
    background: var(--pine-deep);
    font-family: var(--font-book);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    text-wrap: balance;
}

.jxs-content .content {
    padding: 2rem 2.5rem 2.25rem;
    border: 1px solid var(--rule);
    border-top: 0;
    border-radius: 0 0 4px 4px;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink);
}

/* 9 行联系方式著录：标签定宽 + 点线分隔，一眼扫得到 */
.jxs-content .content ul.jxs-info {
    padding-top: 0;
    margin: 0;
    list-style: none;
    font-size: .9375rem;
}

.jxs-content .content ul.jxs-info > li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    min-width: 0;
    padding: .55rem 0;
    border-bottom: 1px dotted var(--rule);
}

.jxs-content .content ul.jxs-info > li:last-child { border-bottom: 0; }

.jxs-content .content ul.jxs-info > li > span {
    flex: none;
    width: 6.5em;
    font-weight: 600;
    white-space: nowrap;
    color: var(--pine);
}

.jxs-content .content p.jxs-hint {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    text-indent: 0;
    font-size: .875rem;
    line-height: 1.8;
    color: var(--ink-soft);
}

.jxs-content .content p.jxs-hint a {
    color: var(--pine);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--pine);
}

/* 42 页：教材与教学资源 + 书目清单同属一个「书目下载」板块 */
.jxs-content .content h3 {
    margin: 0 0 1rem;
    padding-left: .85rem;
    border-left: 4px solid var(--pine);
    font-family: var(--font-book);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    text-wrap: balance;
}

.jxs-content .content p.jxs-intro {
    max-width: 62ch;
    margin: 0 0 2rem;
    text-indent: 0;
    font-size: 1rem;
    line-height: 2;
    color: var(--ink);
}

/* 嵌套在 .content 内的书目区不再另起一张白卡 */
.jxs-content .content .shumuxiazai {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    line-height: inherit;
}

.jxs-content .shumuxiazai > ul { overflow: visible; }

.jxs-content .shumuxiazai > ul > li {
    height: auto;
    min-height: 72px;
    line-height: 1.6;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
}

.jxs-content .shumuxiazai > ul > li:first-child { border-top: 1px solid var(--rule); }

.jxs-content .shumuxiazai > ul > li > a {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.jxs-content .shumuxiazai > ul > li .img1 {
    position: static;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 4px;
    object-fit: contain;
    background: var(--pine-wash);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--pine);
    border-radius: 2px;
    image-rendering: pixelated;
}

.jxs-content .shumuxiazai > ul > li .book_title {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-book);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.jxs-content .shumuxiazai > ul > li .down_btn {
    /* 线上是 position:absolute;right:0 + 固定 90×31px（content-box 时代）。
       全局 border-box 后 90px 装不下「立即下载」+ 新内边距，文字折行被裁。
       收回流内 flex 项：宽度交由内容决定，书名 flex:1 把按钮推到行右。 */
    position: static;
    width: auto;
    height: auto;
    line-height: 1;
    flex: none;
    padding: .55rem 1.4rem;
    background: var(--pine);
    border-radius: 3px;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: background var(--t);
}

.jxs-content .shumuxiazai > ul > li .down_btn:hover { background: var(--pine-deep); }

/* ---- 9.3 响应式 ---- */
@media (max-width: 1079px) {
    .gywm-about .contnet { padding: 2.25rem 2rem 2.5rem; }
    .jxs-content .content { padding: 1.75rem 2rem 2rem; }
}

@media (max-width: 900px) {
    .about_banner { min-height: 132px; padding: 2.5rem 0 3.75rem; }
    .about_banner .title { font-size: 2rem; }
    .gywm-about .contnet { margin-top: -2.5rem; padding: 1.75rem 1.5rem 2rem; }
    .gywm-about .title_h1 h1 { font-size: 1.7rem; }
    .jxs-content { padding: 1.75rem 1rem 2.75rem; }
    .jxs-content .content { padding: 1.5rem 1.25rem 1.75rem; }
    .jxs-content .content ul.jxs-info > li { flex-wrap: wrap; gap: .25rem .75rem; }
}

@media (max-width: 600px) {
    .about-bjs { padding-bottom: 2.5rem; }
    .about_banner { min-height: 108px; padding: 2rem 0 3rem; }
    .about_banner .title { font-size: 1.5rem; }
    .gywm-about .contnet { margin-top: -2rem; padding: 1.35rem 1.1rem 1.5rem; line-height: 1.9; }
    .gywm-about .contnet p { font-size: .9375rem; line-height: 1.9; }
    .gywm-about .title_h1 h1 { font-size: 1.5rem; }
    .jxs-content { padding: 1.25rem .75rem 2.25rem; }
    .jxs-content .title { font-size: 1.125rem; padding: .75rem 1rem; }
    .jxs-content .content { padding: 1.25rem 1rem 1.5rem; }
    .jxs-content .content ul.jxs-info > li > span { width: 5.5em; }
    .jxs-content .shumuxiazai > ul > li > a { flex-wrap: wrap; gap: .75rem 1rem; }
    .jxs-content .shumuxiazai > ul > li .book_title { flex: 1 1 calc(100% - 60px); }
    .jxs-content .shumuxiazai > ul > li .down_btn { margin-left: 56px; }
}
