/* 旃乡隽语 · 网页前台 全站样式（2026-10-07 新建）
   设计口径：书卷米色纸 + 朱红主色；响应式优先（宽屏多栏／平板双栏／手机单栏），不强制跳转。 */

:root {
  --paper: #f4efe3;
  --paper-2: #fffdf8;
  --ink: #332f29;
  --ink-2: #6d6659;
  --ink-3: #756c5e;
  --red: #8f3326;
  --red-2: #b04533;
  --line: #e7ddc8;
  --red-3: #c65a44;
  --gold: #b08a4c;
  --gold-soft: #dcc89e;
  --green: #2f6b3a;
  --radius: 14px;
  --shadow: 0 2px 8px rgba(120, 90, 40, .06), 0 10px 32px rgba(120, 90, 40, .08);
  --shadow-lift: 0 14px 40px rgba(120, 90, 40, .16);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* 【2026-10-14 防横向溢出兜底】任何元素再淘气（写死宽度、不许换行），
   都只许在自己的容器里横滑，不许把整页撑宽带歪（顶栏 logo 被切、按钮飞出屏幕的病根）。
   只加在 body 上：html 也加会破坏顶栏 position:sticky（浏览器老坑）。
   注意：这只是保险丝，不是遮羞布——新板块仍需过窄屏探针（_selftest/_shots/probe.html）。 */
body { overflow-x: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  /* 长串英文/数字/链接在窄屏不许顶破容器，允许任意处折行 */
  overflow-wrap: break-word;
}
a { color: var(--red); text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── 顶栏 ── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244, 239, 227, .92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 6px 18px -12px rgba(120, 90, 40, .35);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  position: relative;
  font-size: 24px; color: var(--red); letter-spacing: 4px;
  font-weight: 600;
}
.brand::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  margin-left: 10px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 76, .14);
  vertical-align: 3px;
}
.top-actions { display: flex; align-items: center; gap: 10px; }

/* 【2026-10-26 用户令】第一行中间的搜索框：品牌右侧、动作区左侧，占满中间空当。
   PC 上限 460px（不让它拉得像条横幅），窄屏自动收窄、热词不在这一行。 */
.topbar-search {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  max-width: 460px; margin: 0 20px;
}
.topbar-search input {
  flex: 1 1 auto; min-width: 0; height: 36px;
  padding: 0 16px; font-family: inherit; font-size: 14px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  outline: none; transition: border-color .16s ease, box-shadow .16s ease;
}
.topbar-search input::placeholder { color: #a99f8c; }
.topbar-search input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(143, 51, 38, .10); }
.topbar-search .btn { flex: 0 0 auto; height: 36px; padding: 0 18px; font-size: 14px; }
@media (max-width: 767px) {
  /* 【2026-10-26 修正】basis 用 0：只吃剩下多少空间、绝不按输入框固有宽度撑破顶栏 */
  .topbar-search { flex: 1 1 0; min-width: 0; margin: 0 6px; }
  .topbar-search input { height: 34px; padding: 0 12px; font-size: 13px; min-width: 0; }
  /* 窄屏收起红按钮：回车即可提交（首页 #btnSearch 本来是同一口径，这里覆盖全站所有页） */
  .topbar-search .btn { display: none !important; }
  /* 窄屏底部 tab 栏已有「商城」，第一行右侧不再重复放 */
  .topbar-in > .top-actions .act-shop { display: none; }
  /* 【2026-10-26 用户令】「我的」与「登录」是一对互斥键 —— 未登录时它是 hidden，
     登录后必须就地出现（原来这条窄屏规则会把它按死，手机上登录完顶栏就空了）。 */
}

.topbar-links {
  display: flex; align-items: center; gap: 14px;
  flex: 1 1 auto; justify-content: center; min-width: 0; margin: 0 12px;
}
.topbar-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; white-space: nowrap; }
.topbar-links a:hover { color: var(--red); }
@media (max-width: 767px) {
  .topbar-links { flex: 1 1 100%; justify-content: flex-start; overflow-x: auto; padding: 4px 0; }
}
/* 当前所在页的导航项：不可点、淡一档（2026-10-10 给顶栏补「读者社群」入口时加） */
.btn-ghost.is-on { color: var(--ink-3); border-color: transparent; background: transparent; cursor: default; }

/* ── 手机端引导条（仅窄屏出现；不强制跳转） ── */
.banner-mobile {
  display: none;
  align-items: center; gap: 10px;
  padding: 10px 16px;
  background: #fff8e8;
  border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2);
}
.banner-mobile span { flex: 1; }
.banner-x {
  border: none; background: transparent; color: var(--ink-3);
  font-size: 20px; line-height: 1; padding: 0 2px;
}

/* ── 首屏 ── */
.hero { padding: 44px 0 24px; }
.hero h1 {
  font-size: clamp(22px, 3.4vw, 34px);
  color: var(--red);
  letter-spacing: 3px;
  line-height: 1.5;
  font-weight: 700;
}
.hero h1::after {
  content: '';
  display: block;
  width: 46px; height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.hero-sub { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }

/* ── 筛选（2026-10-13 版面整治：从「裸露一排控件」收成一张「找书盘」） ──
   原来是一条无底色、只有下划线的控件行，和上面 hero、下面列表糊在一起；
   现在给它白底 + 圆角 + 淡影，边界一眼分明：这里是「挑书的入口」。 */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  justify-content: space-between;
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  margin: 6px 0 4px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--paper-2);
  color: var(--ink-2); border-radius: 999px;
  padding: 7px 16px; font-size: 14px;
}
.chip.is-on { background: linear-gradient(135deg, var(--red), var(--red-2)); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(143, 51, 38, .22); }
/* 【2026-10-15 用户令】分类 chips 整排删除后搜索栏独占一栏：放开 380px 上限；
   热词（hint-lead + hint-chips）并进同一栏，PC 一行摆下，窄屏折行不溢出 */
.search { display: flex; gap: 8px; flex: 1; min-width: 240px; flex-wrap: wrap; align-items: center; }
.search input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper-2); color: var(--ink);
  padding: 9px 16px; font-size: 15px; font-family: inherit;
  outline: none;
}
.search input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(143, 51, 38, .10); }

/* ── 书架网格：默认 3 列（平板），窄屏 1 列，宽屏 4 列 ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* ── 书卡 ── */
.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  cursor: pointer;
}
/* 【2026-10-13 版面整治】书卡顶端一条「书脊线」（朱红渐隐）：一排书卡铺开时像一格书架，
   而不是一堆各自为政的方框。hover 时书脊线变实、卡片抬起。 */
.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold) 62%, rgba(176, 138, 76, .12));
  opacity: .8; transition: opacity .18s ease;
}
.card:hover { transform: translateY(-3px); border-color: #dbcbaa; box-shadow: var(--shadow-lift); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card-title { font-size: 19px; color: var(--ink); letter-spacing: 1px; }
.card-no { font-size: 12px; color: var(--ink-3); white-space: nowrap; padding-top: 4px; }
.card-sum {
  margin: 10px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-3);
}
.tag {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 10px; font-size: 12px; color: var(--ink-2);
}
.tag-free { border-color: #cfe3d3; color: var(--green); background: #f2f8f3; }
.tag-owned { border-color: #d9c9a8; color: #8a6a1f; background: #fdf7e7; }
/* 音频时长标签（2026-10-11）：与小程序卡片「🎧 音频 N 分钟」同款、同色系 */
.tag-audio { border-color: #d9c9a8; color: #8a6a1f; background: #fdf7e7; }

.empty { padding: 60px 0; text-align: center; color: var(--ink-3); }
.more { padding: 26px 0 40px; text-align: center; }

.foot {
  padding: 26px 20px 40px;
  text-align: center; font-size: 13px; color: var(--ink-3);
}
.foot-sep { margin: 0 8px; }
/* 【2026-10-26 用户令】页脚次要入口：顶栏第一行撤下的影像 / 开放包 / 公告与说明 / 系统客服 / 读者社群。
   跟在「公司名 · 备案号」后面做一行浅字链接，窄屏自然折行，不抢主行。 */
.foot-links { display: inline; }
.foot-links a { color: var(--ink-3); text-decoration: none; margin: 0 3px; white-space: nowrap; }
.foot-links a:hover { color: var(--red); }
@media (max-width: 767px) {
  .foot-links { display: block; margin-top: 6px; line-height: 2.1; }
}

/* 【2026-10-26 用户令】站介「同色字」（index.html 页脚之后）——
   颜色与页面背景完全一致（--paper #f4efe3），视觉上看不见、不占版面，
   但页面里仍留着「旃乡隽语 · 内蒙古蒙古族历史文化知识库」这个 h1 与那段简介。
   想让它重新显示：把下面三处 color 换成 var(--ink) / var(--ink-2) 即可。 */
.ink-bg { padding: 2px 0 34px; color: var(--paper); }
.ink-bg-t { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--paper); }
.ink-bg-p { margin: 0; font-size: 14px; line-height: 1.95; color: var(--paper); }
/* 选中反白时也保持同色，避免「藏起来的字」被拖选出来现形 */
.ink-bg ::selection { background: var(--paper); color: var(--paper); }

/* ── 弹窗 ── */
/* 【2026-10-12 用户令】修「二维码被遮挡、显示不全」：
   弹窗卡片原来没有高度上限也没有滚动，PC 端微信扫码 iframe（高 420px）在
   小窗口/笔记本屏幕上会顶出视口被裁；这里补 max-height + 内部滚动，任何屏幕都能看全。 */
.modal {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(40, 34, 26, .5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal-card {
  position: relative;
  width: 100%; max-width: 380px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px 26px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  text-align: center;
}
.modal-x {
  position: absolute; top: 8px; right: 12px;
  border: none; background: transparent; color: var(--ink-3);
  font-size: 24px; line-height: 1;
}
.modal-title { font-size: 20px; color: var(--red); letter-spacing: 2px; }
/* 二维码容器：原来是写死的 240×240，窄屏（<375px）会横向溢出。
   改成「不超容器、不超视口、永远正方形」，图片 contain 不裁切。
   【2026-10-13 修「二维码被遮挡、显示不全、扫不出来」】
   二维码最怕两件事：四周留白（quiet zone）被吃掉、码的四角被圆角裁掉。
   原来 border-radius:12px + overflow:hidden + img{height:100%} 三样凑一起，
   码被顶到边框、四角被切，微信识别率直接掉 → 用户报「显示不全、进不去」。
   现在：容器给 10px 白底内衬、overflow 放开、圆角收到 6px、图片 contain 不裁不缩。 */
.qrbox {
  margin: 20px auto 12px;
  width: min(260px, calc(100vw - 96px));
  aspect-ratio: 1 / 1; height: auto;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 10px;                /* 二维码四周的留白，缺它扫不出来 */
  overflow: visible;            /* 不许裁角 */
}
.qrbox img {
  width: 100%; height: 100%;
  object-fit: contain;          /* 不裁不拉伸 */
  image-rendering: pixelated;
  -webkit-touch-callout: default;   /* 手机上允许长按（识别图中二维码 / 保存图片） */
  -webkit-user-select: auto; user-select: auto;
  cursor: zoom-in;
}
/* 【2026-10-12 用户报缺陷·修复 ①】PC 端弹窗里嵌的是「微信官方扫码页」(iframe)，不是一张图。
   原来它被 .qrbox 的固定 260px 卡住 → iframe 内可视宽度只有 240px、高度不够 → 微信页自己出滚动条，
   用户报「二维码太大，得左右拉动才能扫」。实测（部署联调\cdp\_probe_wx_qr.js）：
   官方页在 376px 宽下 dx=0、无滚动条。故：内嵌 iframe 时容器让满卡片宽度、不再锁比例。 */
.qrbox.is-frame {
  width: 100%; aspect-ratio: auto; height: auto;
  padding: 10px;                /* 留白照旧（quiet zone 不能省） */
}
/* 二维码操作行：放大（长按识别）／保存图片
   （用 a:link/:visited 提一格特异性 —— 否则会被后面的 .wxqr-alt a 覆盖成红字下划线） */
.qr-acts { margin-top: 10px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.qr-acts a:link, .qr-acts a:visited, .qr-acts button {
  border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; text-decoration: none;
  cursor: pointer;
}
/* ── 手机端「一键调起微信」按钮（URL Scheme，2026-10-12 加）──
   手机浏览器长按菜单里没有「识别图中二维码」（浏览器行为，加不出来），
   所以给一个真按钮：点一下由服务端换微信官方 scheme 直接跳小程序，进小程序自动登录。 */
.wx-onetap { margin: 0 0 12px; }
.wx-onetap button {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; border-radius: 999px;
  padding: 12px 18px; font-size: 16px; font-weight: 600; letter-spacing: .5px;
}
.wx-onetap button[disabled] { opacity: .55; cursor: default; }
.wx-onetap p { margin: 8px 0 0; color: var(--ink-3); font-size: 12px; line-height: 1.7; text-align: center; }
/* 全屏放大层：手机上长按识别要一个大、白、干净、不被任何弹窗裁到的目标（点二维码弹出） */
.qr-zoom {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(40, 34, 26, .94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 16px;
}
.qr-zoom img {
  width: min(92vw, 92vh, 560px); height: auto;
  background: #fff; padding: 14px; border-radius: 8px; display: block;
  -webkit-touch-callout: default;
}
.qr-zoom p { margin: 0; color: #fff; font-size: 15px; text-align: center; max-width: 86vw; line-height: 1.8; font-weight: 500; }
.qr-zoom button {
  border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff;
  border-radius: 999px; padding: 8px 20px; font-size: 14px;
}
.qr-loading { color: var(--ink-3); font-size: 14px; }
.modal-tip { color: var(--ink-2); font-size: 13px; line-height: 1.7; margin: 0; }
.modal-foot { margin-top: 14px; font-size: 13px; color: var(--ink-3); min-height: 20px; }

/* ── PC 微信扫码登录（开放平台「网站应用」二维码，2026-10-11 加）──
   二维码是微信官方页面（iframe 内嵌，实测无 X-Frame-Options/CSP 限制）。
   手机上不嵌 iframe（手机自己扫不了自己），改走下面的小程序码。 */
/* 【2026-10-12 用户令】原来 height: 340px 写死，微信官方扫码页比它高 →
   底部二维码被裁掉（用户报「二维码被遮挡、显示不全」的正因）。
   现改为高度随 iframe 撑开（iframe 给足 420px），弹窗卡片不够高时可滚动。 */
.wxqr { width: 100%; height: auto; min-height: 340px; display: flex; align-items: center; justify-content: center; }
/* 微信官方扫码页比 420px 更高，矮屏笔记本上底部二维码会被裁 —— 高度改成随视口自适应（2026-10-13） */
.wxqr iframe { width: 100%; height: clamp(360px, 62vh, 520px); border: 0; display: block; }
/* 【2026-10-12 用户报缺陷·修复 ①】PC（≥700px 宽）上把登录卡片放宽 + 扫码页给足高度：
   卡片 380 → 430px，iframe 内可视宽 ≈ 376px（实测官方页在 376px 下 dx=0）；
   高度 520 → clamp(480px, 68vh, 640px)，让官方页整体装下、不再出现内部滚动条。 */
@media (min-width: 700px) {
  #loginModal .modal-card { max-width: 430px; }
  .wxqr iframe { height: clamp(480px, 68vh, 640px); }
}
.wxqr-loading { color: var(--ink-3); font-size: 14px; text-align: center; line-height: 1.9; }
.wxqr-alt { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
.wxqr-alt a { color: var(--red); text-decoration: underline; cursor: pointer; }

/* ── 轻提示 ── */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%);
  z-index: 90; max-width: 84vw;
  background: rgba(51, 48, 43, .92); color: #fff;
  border-radius: 10px; padding: 10px 18px; font-size: 14px;
}

/* ── 按钮 ── */
.btn {
  border: 1px solid transparent; border-radius: 999px;
  padding: 9px 20px; font-size: 15px; line-height: 1.2;
  background: var(--paper-2); color: var(--ink-2);
  transition: opacity .15s ease, background .15s ease;
}
.btn:active { opacity: .8; }
.btn-red { background: linear-gradient(135deg, var(--red), var(--red-2)); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(143, 51, 38, .28); }
.btn-red:hover { background: linear-gradient(135deg, var(--red-2), var(--red-3)); box-shadow: 0 6px 18px rgba(143, 51, 38, .32); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn-mini { padding: 5px 12px; font-size: 13px; background: var(--red); border-color: var(--red); color: #fff; }
.btn-wide { width: 100%; padding: 13px 20px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ══════════ 阅读页 ══════════ */
.reader-top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245, 240, 230, .95);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.reader-top-in {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 20px;
  max-width: 920px; margin: 0 auto;
}
.reader-back { border: none; background: transparent; color: var(--ink-2); font-size: 15px; padding: 6px 0; }
.reader-heads { flex: 1; min-width: 0; }
.reader-title {
  font-size: 17px; color: var(--ink); letter-spacing: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.reader-sub { font-size: 12px; color: var(--ink-3); }
.reader-tools { display: flex; align-items: center; gap: 6px; }
.tool {
  border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2);
  border-radius: 8px; width: 34px; height: 34px; font-size: 15px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.tool.is-on { border-color: var(--red); color: var(--red); }

.reader-main { max-width: 920px; margin: 0 auto; padding: 22px 20px 120px; }

/* 纸面 */
.reader-paper {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px clamp(20px, 5vw, 56px);
  min-height: 46vh;
  overflow: hidden;
}
.reader-body {
  position: relative; z-index: 1;
  font-size: 18px; line-height: 2.05; letter-spacing: .4px;
  color: var(--ink);
  white-space: pre-wrap; word-break: break-word;
}
.reader-body p { margin: 0 0 1.1em; text-indent: 2em; }
.reader-body[data-size="s"] { font-size: 16px; }
.reader-body[data-size="m"] { font-size: 18px; }
.reader-body[data-size="l"] { font-size: 21px; }
.reader-body[data-size="xl"] { font-size: 24px; }

/* 水印：JS 写入 SVG 平铺背景（昵称 + 手机掩码） */
.watermark {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-repeat: repeat;
}

/* 权限墙 */
.gate {
  position: relative; z-index: 3;
  margin-top: -60px;
  background: linear-gradient(to bottom, rgba(255, 253, 248, 0), var(--paper-2) 34%);
  border-top: 1px solid var(--line);
  padding: 60px 0 10px;
  text-align: center;
}
.gate-ico { font-size: 34px; }
.gate-title { font-size: 19px; color: var(--red); margin-top: 8px; letter-spacing: 1px; }
.gate-sub { color: var(--ink-2); font-size: 14px; margin: 8px 0 18px; }
.gate-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 底部翻页条 */
.reader-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(245, 240, 230, .96);
  border-top: 1px solid var(--line);
  backdrop-filter: saturate(150%) blur(6px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.reader-foot-in {
  max-width: 920px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pager { display: flex; align-items: center; gap: 10px; }
.pager-info { font-size: 14px; color: var(--ink-2); min-width: 92px; text-align: center; }
.reader-hint { font-size: 12px; color: var(--ink-3); text-align: center; flex: 1; }

/* ── 音频条（2026-10-11 加 · 与小程序 pack-reader 的 .rd-audio-* 三态同款） ── */
.rd-audio-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; padding: 0 0 10px;
}
.rd-audio-btn {
  border: 1px solid var(--red); background: var(--red); color: #fff;
  border-radius: 999px; padding: 7px 16px; font-size: 14px; line-height: 1.2; cursor: pointer;
}
.rd-audio-btn:active { opacity: .82; }
.rd-audio-btn.is-locked { background: #b8860b; border-color: #b8860b; }   /* 暖金：有音频、需开通 */
.rd-audio-btn.is-off { background: var(--ink-3); border-color: var(--ink-3); cursor: default; }  /* 灰淡：本包暂无 */
.rd-audio-live { display: flex; align-items: center; gap: 8px; flex: 0 1 320px; min-width: 180px; }
.rd-audio-track { flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rd-audio-fill { height: 100%; width: 0; background: var(--red); transition: width .2s linear; }
.rd-audio-time { font-size: 12px; color: var(--ink-3); white-space: nowrap; }

/* 阅读主题 */
/* 【2026-10-12 用户令】第 4 档「护目」（sepia）——网页原来只有 3 档（米色纸/白纸/夜间），
   比小程序少这一档。色值与小程序 pages/pack-reader/reader-paper.wxss:195-202 及
   pages/article-detail/reader-mode.wxss:17 完全对齐：
   bg #cde6cf / 纸卡 #e6f4e7 / 边 #b3d3b7 / 字 #000 / 页码 #3f5a42 / 工具钮 #16281a。 */
body[data-theme="sepia"] { background: #cde6cf; color: #000; }
body[data-theme="sepia"] .reader-paper { background: #e6f4e7; border-color: #b3d3b7; }
body[data-theme="sepia"] .reader-top { background: rgba(205, 230, 207, .96); border-color: #b3d3b7; }
body[data-theme="sepia"] .reader-foot { background: rgba(205, 230, 207, .96); border-color: #b3d3b7; }
body[data-theme="sepia"] .reader-body,
body[data-theme="sepia"] .reader-title { color: #000; }
body[data-theme="sepia"] .tool { background: rgba(255, 255, 255, .55); border-color: #b3d3b7; color: #16281a; }
body[data-theme="sepia"] .gate { background: linear-gradient(to bottom, rgba(230, 244, 231, 0), #e6f4e7 34%); }
body[data-theme="sepia"] .pager-info,
body[data-theme="sepia"] .reader-hint,
body[data-theme="sepia"] .rd-audio-time { color: #3f5a42; }
body[data-theme="sepia"] .rd-audio-track { background: #b3d3b7; }

body[data-theme="white"] { background: #fff; }
body[data-theme="white"] .reader-paper,
body[data-theme="white"] .reader-top,
body[data-theme="white"] .reader-foot { background: #fff; }
body[data-theme="night"] { background: #1d1c1a; color: #cfc9bf; }
body[data-theme="night"] .reader-paper { background: #232220; border-color: #34322e; box-shadow: none; }
body[data-theme="night"] .reader-top,
body[data-theme="night"] .reader-foot { background: rgba(29, 28, 26, .96); border-color: #34322e; }
body[data-theme="night"] .reader-body,
body[data-theme="night"] .reader-title { color: #cfc9bf; }
body[data-theme="night"] .tool { background: #2a2825; border-color: #3b3832; color: #b9b2a6; }
body[data-theme="night"] .gate { background: linear-gradient(to bottom, rgba(35, 34, 32, 0), #232220 34%); }

/* ══════════ 响应式（宽屏多栏 → 平板 → 手机单栏；PC 与 H5 同一套代码） ══════════ */
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 14px; }
  /* 顶栏：2026-10-10 补「读者社群」入口后，手机端 4 个导航 + 登录按钮需能换行 */
  .topbar-in { height: auto; min-height: 56px; padding: 8px 0; flex-wrap: wrap; row-gap: 6px; }
  .top-actions { flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
  .top-actions .btn { padding: 5px 10px; font-size: 13px; }
  .brand { font-size: 20px; letter-spacing: 3px; }
  .hero { padding: 26px 0 16px; }
  .hero h1 { letter-spacing: 1px; line-height: 1.6; }
  .hero-sub { font-size: 14px; }
  .filters { gap: 10px; }
  .search { max-width: none; min-width: 0; width: 100%; }
  .grid { grid-template-columns: 1fr; }

  .reader-top-in { padding: 8px 14px; gap: 8px; }
  .reader-tools { gap: 4px; }
  .tool { width: 32px; height: 32px; font-size: 14px; }
  .reader-main { padding: 14px 12px 140px; }
  .reader-paper { padding: 26px 20px; border-radius: 10px; min-height: 42vh; }
  .reader-body { font-size: 17px; line-height: 2; }
  .reader-foot-in { flex-wrap: wrap; gap: 8px; justify-content: center; }
  .reader-hint { order: 3; flex-basis: 100%; }
  .pager { width: 100%; justify-content: space-between; }
  .pager .btn { flex: 1; }
  .pager-info { min-width: 76px; font-size: 13px; }
}

/* 无障碍：尊重系统"减少动效"设置 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 配对码兜底展示（2026-10-07：小程序码不可用时，电脑上直接给 6 位码） */
.pair {
  margin-top: 16px;
  padding: 16px 14px;
  background: #fffaf0;
  border: 1px dashed #d8c9ae;
  border-radius: 12px;
  text-align: center;
}
.pair-label { font-size: 13px; color: #8a8377; letter-spacing: 2px; }
.pair-code {
  margin: 8px 0 6px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 8px;
  color: #8c2b22;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
}
.pair-how { font-size: 12px; color: #a49b8c; line-height: 1.6; }

/* ══════════ 盟市全集页（league.html，2026-10-10 新建） ══════════ */
.lg-cities {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px; padding-bottom: 40px;
}
/* 【2026-10-13 用户令 · 商城版面整治】每格左侧加一条「书脊」竖条（朱红渐隐、悬停变实），
   12 个盟市＋专题排成一片时有了统一的秩序；空格（内容筹备中）竖条转灰，一眼分得清能点不能点。 */
.lg-city {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 18px 20px 22px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.lg-city::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--red-2), rgba(140, 43, 34, .14));
  opacity: .55; transition: opacity .16s ease;
}
.lg-city:hover { transform: translateY(-3px); border-color: #dccdb2; box-shadow: 0 12px 30px rgba(120, 90, 40, .14); }
.lg-city:hover::before { opacity: 1; }
.lg-city-name { font-size: 19px; color: var(--red); letter-spacing: 2px; }
.lg-city-count { font-size: 13px; color: var(--ink-3); }
.lg-city.is-empty .lg-city-name { color: var(--ink-3); }
.lg-city.is-empty::before { background: var(--line); opacity: 1; }
.lg-city-topic { background: linear-gradient(135deg, #fffdf8, #f6efe0); }

.lg-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 6px 0 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px;
}
.lg-bar-name { font-size: 22px; color: var(--red); letter-spacing: 2px; }
.lg-bar-count { font-size: 13px; color: var(--ink-3); }

.lg-buy {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: space-between;
  background: #fdf7e7; border: 1px dashed #d9c9a8; border-radius: var(--radius);
  padding: 16px 20px 16px 22px; margin: 0 0 22px;
}
/* 【2026-10-13 商城版面整治】左侧朱红竖条（与盟市格「书脊」、频道标题同一记号） */
.lg-buy::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--red-2), rgba(140, 43, 34, .15));
}
.lg-buy-txt { font-size: 14px; color: var(--ink-2); }
.lg-buy-txt b { color: var(--red); }
.lg-tip { margin: 18px 0 40px; font-size: 13px; color: var(--ink-3); text-align: center; }

@media (max-width: 767px) {
  .lg-cities { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lg-city { padding: 16px 14px; }
  .lg-city-name { font-size: 17px; letter-spacing: 1px; }
  .lg-bar-name { font-size: 19px; }
}

/* ══════════ 系统客服 · 我的留言（my-messages.html，2026-10-10 新建） ══════════ */
.msg-tip {
  font-size: 13px; color: var(--ink-2);
  background: #fffaf0; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; margin: 0 0 14px; line-height: 1.7;
}
#btnNewMsg {
  cursor: pointer; color: var(--red); border-color: #d8c9ae; background: #fff5e4;
  text-align: center; font-weight: 600; padding: 14px 16px; font-size: 15px;
}
#btnNewMsg:hover { background: #ffefd8; }
.msg-list { display: flex; flex-direction: column; gap: 16px; padding: 8px 0 20px; }
.msg-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px;
}
.msg-me { display: flex; justify-content: flex-end; }
.msg-bubble-me {
  background: #eaf5ec; border: 1px solid #cfe3d3;
  border-radius: 12px 12px 4px 12px; padding: 10px 14px; max-width: 88%;
  white-space: pre-wrap; word-break: break-word;
}
.msg-kf { display: flex; margin-top: 12px; }
.msg-bubble-kf {
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px; padding: 10px 14px; max-width: 88%;
  white-space: pre-wrap; word-break: break-word;
}
.msg-kf-name { font-size: 12px; color: var(--ink-3); margin: 6px 0 0; }
.msg-waiting { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.msg-pic { max-width: 200px; border-radius: 8px; display: block; margin-top: 8px; }

/* 系统函件（如「经理确认函」） */
.msg-notice { background: linear-gradient(135deg, #fffdf6, #fbf3e2); border-color: #e6d6b4; }
.msg-notice-h { font-size: 18px; color: var(--red); letter-spacing: 1px; }
.msg-notice-b { margin: 10px 0 0; color: var(--ink); font-size: 15px; line-height: 1.9; white-space: pre-wrap; }
.msg-notice-foot { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* ══════════ 读者社群（groups.html，2026-10-10 新建） ══════════ */
.grp-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px; padding: 8px 0 30px;
}
.grp-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.grp-name { font-size: 18px; color: var(--ink); letter-spacing: 1px; }
.grp-desc { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.7; }
.grp-meta { font-size: 12px; color: var(--ink-3); }
.grp-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.grp-joined { font-size: 13px; color: var(--green); }
/* 【2026-10-14 用户令】群卡条改成一行两栏：左「群名/说明/人数」，右「二维码」（原来按钮在下面） */
.grp-card { flex-direction: row; align-items: center; gap: 14px; }
.grp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.grp-card.joined { border-color: var(--green); }

/* ── 公告与说明（2026-10-10 第 2 批 · notices.html） ── */
.nt-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.nt-tab {
  border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2);
  border-radius: 999px; padding: 8px 18px; font-size: 15px;
}
.nt-tab.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.nt-list { margin-top: 14px; display: grid; gap: 14px; }
.nt-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.nt-title { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.nt-body { font-size: 15px; color: var(--ink-2); line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.nt-time { margin-top: 12px; font-size: 12px; color: var(--ink-3); }

/* ── 我的（2026-10-10 第 2 批 · my.html） ── */
.me-guest {
  background: var(--paper-2); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 34px 20px; text-align: center;
}
.me-guest-ico { font-size: 34px; line-height: 1.2; }
.me-guest-title { font-size: 20px; margin-top: 8px; }
.me-guest-sub { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.me-guest-acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }

.me-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.me-avatar { font-size: 30px; line-height: 1; }
.me-info { flex: 1; min-width: 0; }
.me-name { font-size: 19px; }
.me-sub { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.me-btn { white-space: nowrap; }

.me-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.me-stat {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-align: center;
}
.me-stat b { display: block; font-size: 24px; color: var(--red); }
.me-stat span { font-size: 13px; color: var(--ink-2); }

.me-title { font-size: 15px; color: var(--ink-2); letter-spacing: 1px; margin: 24px 0 10px; }
.me-recent { display: grid; gap: 10px; }
.me-menu { display: grid; gap: 10px; }
.me-item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-size: 16px; color: var(--ink); font-family: inherit;
}
.me-item:hover { border-color: var(--red); }
.me-ico { font-size: 20px; line-height: 1.2; }
.me-txt { flex: 1; min-width: 0; }
.me-txt b { display: block; font-weight: 600; }
.me-txt em { display: block; font-style: normal; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.me-arrow { color: var(--ink-3); }
/* 只给手机端看的入口（PC 端保持原设计不动；每日推送等新增项用） */
.only-m { display: none; }
.me-stats + .only-m { margin-top: 12px; }
.me-tip { font-size: 13px; color: var(--ink-3); line-height: 1.8; margin: 18px 0 40px; }

@media (max-width: 767px) {
  .msg-bubble-me, .msg-bubble-kf { max-width: 100%; }
  .grp-list { grid-template-columns: 1fr; }
  .nt-list { gap: 12px; }
  .nt-card { padding: 15px 16px; }
  .me-card { flex-wrap: wrap; }
  .me-btn { width: 100%; }
  .me-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .only-m { display: flex; }
}



/* ── 我的订单（2026-10-10 第 3 批 · orders.html） ── */
.od-count { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
.od-list { margin-top: 14px; display: grid; gap: 14px; }
.od-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.od-head { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.od-title { font-size: 17px; color: var(--ink); }
.od-status { font-size: 13px; white-space: nowrap; color: var(--ink-3); }
.od-status.paid, .od-status.completed, .od-status.success { color: var(--green); }
.od-status.pending { color: var(--red); }
.od-status.cancelled { color: var(--ink-3); }
.od-row { margin-top: 6px; font-size: 13px; color: var(--ink-3); line-height: 1.75; word-break: break-all; }
.od-amount { margin-top: 10px; font-size: 20px; color: var(--red); }

@media (max-width: 767px) {
  .od-card { padding: 15px 16px; }
  .od-head { flex-direction: column; gap: 4px; }
}

/* ── 首页板块流（2026-10-11 用户令「网页版要有小程序全部版面」）──
   与小程序 pages/index/index.wxml 同结构：.sec-flow 竖排 flex，
   每块 .sec-wrap 用 data-sec 对应后台 ui.index.*（显隐）与 uiOrder.index（顺序）。
   排序用 CSS order（同小程序 style="order:{{ord.板块名}}" 的做法）。 */
.sec-flow { display: flex; flex-direction: column; }
/* 【2026-10-13 版面整治】板块之间统一 16px 呼吸 —— 原来各块自带零散 margin（14/16/12/22px 不一），
   整页看着忽松忽紧；这一条把所有相邻板块的间距拉平，块内样式一律不动。 */
.sec-flow > .sec-wrap + .sec-wrap { margin-top: 16px; }
.sec-wrap { min-width: 0; }

/* ① 公告条（content.notice；照小程序 index.wxml:15 的配色/圆角）
   【2026-10-13 版面整治】左侧补一条暖黄竖线（配黄底，不用朱红），
   与频道标题、书卡「书脊线」共用「左侧竖记号」这一套语言，扫一眼就知道该看哪。 */
.notice-bar {
  position: relative;
  margin: 14px 0 0; padding: 11px 15px 11px 18px;
  background: #fff7e6; color: #8a5a1a;
  border-radius: 12px; font-size: 14px; line-height: 1.6;
}
.notice-bar::before {
  content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px;
  border-radius: 2px; background: linear-gradient(180deg, #c98a2e, rgba(201, 138, 46, .25));
}

/* ② 「大家都在搜」真实词（照小程序 index.wxss:101-144，rpx→px 减半）
   【2026-10-14 用户令·热词行】这一行不许折行（原来 4 个词一 wrap，与搜索框合计占三行）：
     · .hint-row 固定 nowrap
     · 词条区 .hint-chips 横滑（收得下的照常显示，收不下的左右滑，不折行）
     · 「查资料 ›」做成朱红实心按钮，flex:0 0 auto 钉在行尾（不随词条跑掉） */
.hint-row { display: flex; align-items: center; flex-wrap: nowrap; gap: 7px; padding: 10px 0 0; }

/* 【2026-10-26 用户令】搜索框搬到顶栏第一行后，这里只剩一条热词。
   给一层浅底 + 细边，把「大家都在搜」与下面的站介分开；自身不滚动，横滑交给 .hint-chips。 */
.hotbar {
  display: flex; align-items: center; gap: 2px; min-width: 0;
  padding: 8px 14px; margin: 4px 0 12px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
@media (max-width: 767px) {
  .hotbar { padding: 6px 10px; margin: 2px 0 10px; }
}

.hint-lead { flex: 0 0 auto; font-size: 12px; color: #b3aa96; margin-right: 3px; white-space: nowrap; }
.hint-chips {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-wrap: nowrap; gap: 8px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;                 /* Firefox：藏掉横滑条 */
}
.hint-chips::-webkit-scrollbar { display: none; }   /* Chrome / Safari / 微信内置浏览器 */
.hint-chip {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 13px; color: #5b5340; background: #fff;
  border: 1px solid #e6e2d8; border-radius: 13px; padding: 4px 12px;
  cursor: pointer;
}
.hint-chip:hover { border-color: var(--red); color: var(--red); }
.hint-more {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: #fff; background: #b3541e;
  border: 0; border-radius: 999px; padding: 5px 14px;
  cursor: pointer;
}
.hint-more:hover { opacity: .88; }

/* ③ 内蒙古文史全集卡（照小程序 index.wxss:536-548 的墨绿渐变） */
.master-card {
  display: flex; align-items: center; width: 100%; text-align: left;
  margin: 16px 0 0; padding: 18px 20px;
  background: linear-gradient(135deg, #2e7d5b, #17513a);
  border: 0; border-radius: 14px; color: #fff; cursor: pointer;
  box-shadow: var(--shadow);
}
.master-card:hover { filter: brightness(1.05); }
.mc-main { flex: 1; }
.mc-title { display: block; font-size: 19px; font-weight: 700; }
.mc-sub { display: block; font-size: 13px; opacity: .85; margin-top: 5px; }
.mc-arrow { font-size: 18px; opacity: .8; }

/* ④ 12 盟市 + 专题格（小程序 3 列；桌面宽屏给 6 列更顺手，窄屏回到 3 列） */
.league-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px;
  margin: 12px 0 0; padding: 10px 8px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px;
}
.lg-cell {
  background: none; border: 0; cursor: pointer;
  padding: 10px 6px; text-align: center; border-radius: 10px;
}
.lg-cell:hover { background: #fff; }
.lg-name { display: block; font-size: 14px; font-weight: 600; color: #2b2418; }
.lg-meta { display: block; font-size: 11px; color: #b3541e; margin-top: 4px; }
.lg-cell.is-empty .lg-name { color: #bbb; }
.lg-cell.is-empty .lg-meta { color: #ccc; }
.lg-note { margin: 10px 0 0; font-size: 13px; color: #756c5e; line-height: 1.6; }

@media (max-width: 767px) {
  .league-grid { grid-template-columns: repeat(3, 1fr); }
  .master-card { padding: 15px 16px; }
  .mc-title { font-size: 17px; }
  /* 窄屏：筛选 chips 与搜索框分两行，搜索按钮不再被挤断（原先与 chips 抢一行） */
  .filters { flex-direction: column; align-items: stretch; }
  .search { max-width: none; min-width: 0; }
  /* 窄屏：顶栏按钮换行，整页不再横向溢出（原先 6 个按钮挤一行把页面撑宽，
     连带把「搜索」按钮挤出屏幕）。top-actions 用 flex:1 1 100% 强制独占一行，
     并给 min-width:0 才能真正换行（flex 项默认 min-width:auto 不肯收缩）。 */
  .topbar-in { height: auto; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
  .top-actions { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; }
  /* 防横向溢出：grid 的 1fr 默认 min-width:auto，格内「呼和浩特市 / 37 包 · 整包 ¥50」
     这类不换行的格子会把网格撑宽 → 用 minmax(0,1fr) 强制可收缩；柔性容器也一并给 min-width:0 */
  .league-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-cell, .hint-chips, .hint-row, .card-meta, .sec-wrap { min-width: 0; }
}

/* ── 首页板块⑥ · 旃乡文章（2026-10-11 加；照小程序 index.wxss:568-620 换算 rpx→px） ── */
.sec-title { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 12px; }
.sec-title > span:first-child { font-size: 18px; color: var(--ink); letter-spacing: 1px; }
.sec-more { font-size: 13px; color: var(--ink-3); }

.article-list { display: grid; gap: 12px; }
@media (min-width: 768px) { .article-list { grid-template-columns: 1fr 1fr; } }
.article-card {
  display: flex; gap: 14px; align-items: stretch;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 16px; color: inherit; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.article-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(120, 90, 40, .14); }
.art-cover { width: 96px; height: 74px; flex: none; border-radius: 10px; object-fit: cover; background: #f0ece2; }
.art-cover-none { display: flex; align-items: center; justify-content: center; font-size: 26px; }
.art-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.art-title {
  font-size: 16px; color: var(--ink); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-sum {
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.art-foot { margin-top: auto; font-size: 12px; color: var(--ink-3); }

/* ── 文章详情页（2026-10-11 新建 · article.html） ── */
.art-page {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 30px; margin: 24px 0 0;
}
.art-head { border-bottom: 1px dashed var(--line); padding-bottom: 14px; }
.art-h1 { font-size: 25px; line-height: 1.4; color: var(--ink); letter-spacing: 1px; }
.art-meta { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.art-video { margin-top: 18px; }
.art-video video { width: 100%; max-height: 70vh; border-radius: 12px; background: #000; display: block; }
.art-video-tip { margin: 10px 0 0; font-size: 13px; color: #b3541e; }
.art-text { margin-top: 18px; font-size: 16px; color: var(--ink); line-height: 2; }
.art-text p { margin: 0 0 1.1em; text-indent: 2em; }
.art-page .art-foot {
  margin-top: 22px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px;
}
.art-back { margin: 18px 0 0; font-size: 14px; }

@media (max-width: 767px) {
  .art-page { padding: 18px 16px; margin-top: 14px; }
  .art-h1 { font-size: 21px; }
  .art-title { font-size: 15px; }
  .art-cover { width: 82px; height: 66px; }
}

/* ── 我的收藏（2026-10-10 第 3 批 · collection.html） ── */
.col-count { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
.col-list { margin-top: 14px; display: grid; gap: 14px; }
.col-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.col-head { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.col-title { font-size: 17px; color: var(--ink); }
.col-time { font-size: 13px; white-space: nowrap; color: var(--ink-3); }
.col-row { margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.col-sum { margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.col-acts { margin-top: 12px; }

/* ── 我的资料（2026-10-10 第 3 批 · profile.html） ── */
.pf-head { display: flex; align-items: center; gap: 16px; margin: 20px 0 4px; }
.pf-avatar {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.pf-member { font-size: 18px; color: var(--ink); }
.pf-mask { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.pf-card {
  margin-top: 16px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px;
}
.pf-card-title { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.pf-row { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pf-label { width: 52px; flex: none; font-size: 14px; color: var(--ink-3); }
.pf-value { flex: 1; font-size: 15px; color: var(--ink); word-break: break-all; }
.pf-field { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.pf-field .pf-label { padding-top: 10px; }
.pf-input, .pf-addr {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.pf-input:focus, .pf-addr:focus { outline: none; border-color: var(--red); }
.pf-addr { min-height: 86px; line-height: 1.7; resize: vertical; }
.pf-acts { margin-top: 14px; display: flex; gap: 10px; }
.pf-hint { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }

@media (max-width: 767px) {
  .col-card { padding: 15px 16px; }
  .col-head { flex-direction: column; gap: 4px; }
  .pf-field { flex-direction: column; gap: 6px; }
  .pf-field .pf-label { padding-top: 0; }
}


/* ══ 频道条 + 频道内容（【2026-10-13 用户令】首页「展示我都有啥」）══════════════
   四个频道按钮：知识包 / 文史视频 / 蒙古老照片 / 蒙古音乐。数字写在按钮上，
   点了就在原地换列表（见 assets/shelf.js 频道条段落）。配色沿用全站变量。 */
.chans { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; -webkit-overflow-scrolling: touch; }
.chan {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 86px; padding: 10px 14px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; font: inherit; color: inherit;
}
.chan:hover { border-color: var(--red-2); }
.chan.is-on { border-color: var(--red); box-shadow: 0 2px 10px rgba(140, 43, 34, .12); }
.chan-emoji { font-size: 18px; line-height: 1; }
.chan-name { font-size: 14px; font-weight: 600; }
.chan-num { font-size: 12px; color: var(--ink-3); }
.chan.is-on .chan-num { color: var(--red); }
.chan-box { padding: 2px 0 10px; }
.chan-note { font-size: 14px; color: var(--ink-3); margin: 6px 0 14px; }

/* 图集（副标题 = 图片文件名） */
.photo-album { margin: 8px 0 20px; }
.photo-album h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-item { margin: 0; }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--line); border-radius: 10px; }
.photo-cap { font-size: 12px; color: var(--ink-3); margin-top: 5px; text-align: center; }
/* 图片弹层：正图按原比例铺满可视宽度，避免手机被裁成缩略图 */
.photo-full { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
/* 【2026-10-14 用户令】二维码不再孤零零挂在页顶 —— 搬进每个群卡条右侧（groups.js 渲染） */
.grp-qr { margin: 0; padding: 0; background: transparent; border: none; border-radius: 0; text-align: center; flex: none; }
.grp-qr-img { width: 104px; height: 104px; display: block; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.grp-qr-cap { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 520px) { .grp-qr-img { width: 92px; height: 92px; } }

/* 蒙古音乐 */
.music-item {
  display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; margin-bottom: 10px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
.music-title { font-size: 15px; font-weight: 600; }
.music-sec { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.music-item audio { width: 100%; }
/* 【2026-10-26 用户令 · 网页单品限制模式】免费试听 60 秒的说明条（挂在曲目卡片最下面一行） */
.trial-note { font-size: 12px; color: var(--ink-3); padding-top: 2px; }

/* 【2026-10-26 用户令 · 网页单品限制模式】音乐试听提示条 ——
   不表示「被挡住」，而是「每首都能免费听 60 秒」；比 .media-lock 更轻，不吓人。 */
.trial-hint {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 10px 0 2px; padding: 10px 12px;
  border-radius: 10px; background: #fbf7ee; border: 1px solid #ece3d2;
}
.trial-hint-t { flex: 1 1 220px; font-size: 13px; line-height: 1.7; color: var(--ink-2, #4a4038); }

/* 我的姓氏频道（【2026-10-13 用户令】内容先空着，但列表形式必须有）——
   一列「姓氏条目」卡：左边大字姓名，右边小字说明；清单空着时给一条虚线占位行。 */
.ns-list { display: grid; gap: 8px; }
.ns-item {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 12px;
}
.ns-name { font-size: 15px; font-weight: 600; }
.ns-sub { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.ns-item.ns-empty { background: transparent; border-style: dashed; }
.ns-item.ns-empty .ns-name { color: var(--ink-2); font-weight: 500; }

/* ══ 我的姓氏 · 书封卡 + 搜索框（【2026-10-13 用户令】「知识包形式的书封卡 + 按按钮出来一个搜索框」）══
   结构：搜索行 .sk-search → 说明 .sk-note → 结果区 .sk-res（.sk-sum/.sk-hits/.sk-hit）→ 书架 .sk-grid/.sk-card。
   书封用 CSS 画（站上没有这 12 本书的封面图，不拿别的图充数）：朱红书脊 + 竖排书名。 */
.sk { display: grid; gap: 12px; }
.sk-search { display: flex; gap: 8px; align-items: stretch; }
.sk-kw {
  flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 12px; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.sk-kw:focus { outline: none; border-color: var(--red-2); box-shadow: 0 0 0 3px rgba(140, 43, 34, .10); }
.sk-search .btn { flex: 0 0 auto; white-space: nowrap; }
.sk-note { font-size: 13px; line-height: 1.8; color: var(--ink-3); margin: 0; }
.sk-hint {
  font-size: 14px; line-height: 1.9; color: var(--ink-2); margin: 0; padding: 12px 14px;
  background: var(--paper-2); border: 1px dashed var(--line); border-radius: 12px;
}
.sk-res { display: grid; gap: 10px; }
.sk-sum { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0; }
.sk-tip { font-size: 13px; color: var(--ink-3); margin: 0; }
.sk-err { padding: 12px 14px; background: #fff7e6; border: 1px solid #f0d9a8; border-radius: 12px; }
.sk-err-t { font-size: 14px; font-weight: 600; color: #8a5a1a; margin: 0 0 4px; }
.sk-err-s { font-size: 13px; color: #8a5a1a; line-height: 1.8; margin: 0; }
.sk-hits { display: grid; gap: 8px; }
.sk-hit { padding: 12px 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.sk-hit-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sk-hit-book { font-size: 14px; font-weight: 600; }
.sk-hit-meta { font-size: 12px; color: var(--ink-3); }
.sk-hit-text { font-size: 14px; line-height: 1.9; margin: 6px 0 0; color: var(--ink-2); }
.sk-hit mark { background: #ffe9a8; color: inherit; padding: 0 1px; border-radius: 3px; }
.sk-h { font-size: 15px; font-weight: 600; margin: 6px 0 0; }
.sk-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.sk-card {
  display: flex; flex-direction: column; gap: 8px; padding: 10px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
.sk-open {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left;
  padding: 0; background: none; border: 0; font: inherit; color: inherit; cursor: pointer;
}
.sk-cover {
  flex: 0 0 auto; width: 54px; height: 76px; border-radius: 4px 8px 8px 4px; padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(160deg, var(--red), #5f1c17); color: #f7efe2;
  box-shadow: inset 3px 0 0 rgba(0, 0, 0, .25); overflow: hidden;
}
.sk-cover-t { font-size: 11px; line-height: 1.25; text-align: center; writing-mode: vertical-rl; max-height: 56px; }
.sk-cover-s { font-size: 9px; opacity: .75; }
.sk-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sk-title { font-size: 14px; font-weight: 600; line-height: 1.5; }
.sk-sub { font-size: 12px; color: var(--ink-3); line-height: 1.6; }
.sk-words { display: flex; gap: 6px; flex-wrap: wrap; }
.sk-word {
  font: inherit; font-size: 12px; padding: 3px 9px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--red);
}
.sk-word:hover { border-color: var(--red-2); }
.sk-open:hover .sk-title { color: var(--red); }

/* 文史视频 */
.video-list { display: grid; gap: 10px; }
@media (min-width: 768px) { .video-list { grid-template-columns: 1fr 1fr; } }
.video-item {
  display: flex; flex-direction: column; gap: 6px; padding: 12px 14px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
}
.video-item:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(120, 90, 40, .14); }
.video-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.video-sum { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.video-foot { font-size: 12px; color: var(--ink-3); }

/* hero 收紧：首屏把位置让给搜索框与频道条（用户令 2026-10-13） */
.hero-tight { padding: 14px 0 6px; }
.hero-tight h1 { font-size: 22px; margin: 2px 0 6px; }
.hero-tight .hero-sub { font-size: 14px; margin: 0 0 6px; line-height: 1.8; }

/* ══ 顶栏第二行：一个长方框，框里装五颗胶囊（知识包 / 音乐 / 文章 / 视频 / 图片）══
   【2026-10-26 用户令】「和搜索框在白色方框里一样，里面是五个好看的按钮」——
   方框改成与搜索框同款的白底圆角（外浮起），框里的胶囊换米色带边，选中格朱红实底白字。
   右侧那个三角收起件（▾）按用户令撤掉，方框铺满整行。
   注意：mainnav 只有首页 index.html 有，其他页面没有这条，改样式不波及其它页。 */
.topbar-nav { display: flex; align-items: center; gap: 8px; padding: 2px 0 14px; }
.mainnav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(120, 90, 40, .07);
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.mainnav::-webkit-scrollbar { display: none; }
.mainnav .chan {
  flex: 1 1 0; justify-content: center;
  display: flex; flex-direction: row; align-items: center; gap: 7px;
  padding: 7px 15px; min-height: 38px;
  background: #f7f2e6; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; font: inherit; color: var(--ink-2);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(120, 90, 40, .05);
  transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.mainnav .chan:hover {
  border-color: var(--red-2); color: var(--ink); background: #fff;
  transform: translateY(-1px); box-shadow: 0 3px 10px rgba(120, 90, 40, .14);
}
.mainnav .chan.is-on {
  background: linear-gradient(180deg, var(--red-2), var(--red));
  border-color: var(--red); color: #fff;
  box-shadow: 0 4px 14px rgba(140, 43, 34, .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.mainnav .chan-emoji { font-size: 15px; line-height: 1; }
.mainnav .chan-name { font-size: 14px; font-weight: 600; letter-spacing: .5px; }
.mainnav .chan-num {
  font-size: 11px; line-height: 1.5; color: var(--ink-3);
  font-variant-numeric: tabular-nums; padding: 0 7px; border-radius: 999px;
  background: rgba(120, 90, 40, .07);
}
.mainnav .chan.is-on .chan-num { color: #fff; background: rgba(255, 255, 255, .22); }

/* 【2026-10-26 用户令】三角收起件（原 .nav-toggle）样式与按钮一并删除，频道条常驻。 */

/* ══ 页首分割线（2026-10-26 用户令）══
   「旃乡隽语（首页）/ 商城 / 我的」等页面的大标题与说明段全部撤下，
   顶栏之下只留这一条细线，线以下直接进列表 —— 不再拿标题占掉首屏。 */
.rule {
  height: 0; margin: 20px 0 18px; padding: 0; border: 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 767px) {
  .rule { margin: 14px 0 12px; }
}
/* 页首小工具行：只放「‹ 返回我的」或统计小字（收藏 / 订单 / 资料 / 盟市全集页用） */
.page-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0 0; }
.back-link { color: var(--ink-2); font-size: 14px; }
.back-link:hover { color: var(--red); }
.page-stat { color: var(--ink-3); font-size: 13px; }

/* 只给搜索引擎与读屏看的文字：视觉上不占位（首页唯一 h1 用） */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* 窄屏：胶囊更紧凑；仍可整条横滑，不换行、不超幅 */
@media (max-width: 767px) {
  .topbar-nav { padding-bottom: 10px; }
  .mainnav { gap: 6px; }
  .mainnav .chan { min-height: 34px; padding: 6px 12px; gap: 5px; }
  .mainnav .chan-name { font-size: 13px; letter-spacing: .3px; }
  .mainnav .chan-num { padding: 0 6px; }
}
/* 顶栏第一行放品牌、四个站内入口与右侧动作；导航条在第二行（窄屏内部横滑） */
.topbar-in > .brand { flex: 0 0 auto; }
.topbar-in > .top-actions { flex: 0 0 auto; min-width: 0; }

/* 顶栏第二行：次级入口（盟市全集 / 公告 / 系统客服 / 读者社群） */
.subbar { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.subbar-in { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0; font-size: 13px; scrollbar-width: none; }
.subbar-in::-webkit-scrollbar { display: none; }
.subbar-in a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.subbar-in a:hover { color: var(--red); }
/* 当前所在的次级页（2026-10-13 加）：不可点、朱红 + 下划短线，替代原来那种「淡灰字、看着像能点」的样子 */
.subbar-in .is-here {
  color: var(--red); font-weight: 600; white-space: nowrap;
  border-bottom: 2px solid var(--red); padding-bottom: 2px;
}

/* 频道内容区标题行：当前频道名 + 共 N 条 + 加载更多 */
.chan-head {
  position: relative;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 2px 0 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
/* 【2026-10-13 版面整治】频道标题左侧朱红短竖条（与书卡「书脊线」同一套语言），
   切频道时视线有个落脚点，标题不再是凭空一行字。 */
.chan-head::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 11px; width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red-2), rgba(140, 43, 34, .18));
}
.chan-head-title { font-size: 17px; font-weight: 700; }
.chan-head-num { font-size: 13px; color: var(--ink-3); }
.chan-more {
  margin-left: auto; font: inherit; font-size: 13px; padding: 5px 14px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 9px; cursor: pointer; color: var(--ink-2);
}
.chan-more:hover { border-color: var(--red-2); color: var(--red); }
.chan-more:disabled { opacity: .6; cursor: default; }

/* 视频频道（旧会员资料库 resources）：封面网格 */
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
@media (min-width: 768px) { .vc-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.vc {
  display: flex; flex-direction: column; gap: 6px; padding: 0 0 10px; text-align: left;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; font: inherit; color: inherit; overflow: hidden;
}
.vc:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(120, 90, 40, .14); }
/* 【2026-10-14 用户令】视频都是竖屏：封面框改竖版（9:16）+ contain 完整显示，
   原来 16:9 横框 + cover 把竖屏画面裁成横的了。 */
.vc-cover { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; display: block; background: #000; }
.vc-cover-none { display: flex; align-items: center; justify-content: center; font-size: 30px; color: #756c5e; }
.vc-title { font-size: 14px; font-weight: 600; line-height: 1.5; padding: 0 10px; }
.vc-foot { font-size: 12px; color: var(--ink-3); padding: 0 10px; display: flex; align-items: center; gap: 8px; }
.vc-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #eef7ee; color: #2f7d33; }
.vc-tag-lock { background: #fdeeee; color: var(--red); }

/* 文章频道（旧会员资料库 private_articles）：竖排列表 */
.ai-list { display: grid; gap: 8px; }
@media (min-width: 900px) { .ai-list { grid-template-columns: 1fr 1fr; } }
.ai {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; text-align: left;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; font: inherit; color: inherit;
}
.ai:hover { border-color: var(--red-2); }
.ai-title { font-size: 14px; font-weight: 600; line-height: 1.6; }
.ai-foot { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }

/* 播放 / 阅读弹层 */
.vmodal {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: rgba(28, 22, 16, .62); padding: 16px;
}
.vmodal-card {
  position: relative; width: 100%; max-width: 860px; max-height: 88vh; overflow: auto;
  background: var(--paper); border-radius: 16px; padding: 18px 18px 16px;
}
.vmodal-body { margin-top: 10px; }
.vplayer { width: 100%; max-height: 70vh; background: #000; border-radius: 10px; display: block; }
.aread { font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.aread p { margin: 0 0 12px; }
.vmodal-tip { font-size: 12px; color: var(--ink-3); margin: 12px 0 0; }


/* ════════════════════════════════════════════════════════════════════
   手机版首页 = 小程序界面（2026-10-14 用户令「网页版完全用手机小程序界面显示」）
   复刻对象：小程序 pages/index（部署联调\_发布快照_导航改版_20261014）。
   全部规则只活在 ≤767px；PC 端由下面的默认隐藏三件套保证一根毛不变。
   手机版版面（自上而下）：店名+登录 → 公告条 → 搜索框 → 热词行 → 频道四格砖
   → 全集卡 → 盟市格 → 「最新知识包」封面书卡 → 底部 tab 栏。
   ════════════════════════════════════════════════════════════════════ */

/* PC 默认隐身三件套：手机书封 / 手机小标题 / 底部 tab 栏 */
.card-cover-m { display: none; }
.sec-title-m { display: none; }
.tabbar-m { display: none; }

@media (max-width: 767px) {

  /* ── 收掉 PC 骨架：站内导航行 / 去小程序横幅 / 分类 chips / 频道收起钮 ──
     （公告与说明、系统客服、读者社群在手机上从「我的」页进，与小程序一致） */
  .topbar-links { display: none; }
  .banner-mobile { display: none !important; }
  #typeChips { display: none; }
  .nav-toggle { display: none !important; }

  /* ── 顶栏收成一行：店名 + 搜索框 + 我的/登录 ── */
  /* 【2026-10-26 修正】原先写 padding: 0 被 L529 的 .wrap/.topbar-in 规则叠加成左右 0，
     品牌贴屏幕边、可用宽度少 28px 把「扫码登录」挤出屏外；这里显式补回左右 14px。 */
  .topbar-in { flex-wrap: nowrap; height: 52px; min-height: 0; padding: 0 14px; gap: 6px; }
  .brand { font-size: 19px; letter-spacing: 2px; }
  .topbar-in > .top-actions { flex: 0 0 auto; }
  .top-actions { gap: 6px; }
  .top-actions .btn { padding: 6px 10px; font-size: 12.5px; }

  /* ── 频道条（【2026-10-26 用户令】与桌面同一套：白长方框里五颗按钮，均分铺满一行、
     不溢出不用横滑；选中 = 朱红实底白字，与 PC 一模一样） ── */
  .topbar-nav { padding: 8px 14px 2px; }   /* 【2026-10-26 修正】左右 14px 别被清掉，五格才能均分到框内 */
  .mainnav { display: flex; gap: 6px; overflow-x: auto; }
  .mainnav .chan {
    /* 【2026-10-26】窄屏也是「均分铺满一行」：五格一眼看全，不溢出、不用横滑 */
    flex: 1 1 0; min-width: 0;
    flex-direction: column; justify-content: center; gap: 2px;
    padding: 6px 4px; border-radius: 8px;
    background: #f7f2e6; border: 1px solid var(--line); box-shadow: none;
    white-space: nowrap; text-align: center;
  }
  .mainnav .chan.is-on {
    background: linear-gradient(180deg, var(--red-2), var(--red));
    border-color: var(--red); color: #fff;
    box-shadow: 0 3px 8px rgba(140, 43, 34, .22);
  }
  .mainnav .chan:hover { transform: none; }   /* 触屏没有 hover，别飘 */
  .mainnav .chan-emoji { font-size: 15px; }
  .mainnav .chan-name { font-size: 13px; letter-spacing: 0; }
  .mainnav .chan-num { font-size: 11px; padding: 0; background: none; color: #756c5e; }
  .mainnav .chan.is-on .chan-num { color: rgba(255, 255, 255, .86); background: none; }

  /* ── 搜索框：一整行白胶囊（小程序 search-inner 同款：🔍 图标 + 占位词，无按钮；
     手机上收掉红按钮——回车键已绑 doSearch（shelf.js），与小程序 confirm-type=search 一致） ── */
  .filters { margin-top: 12px; }
  .search { box-shadow: var(--shadow); position: relative; }
  .search input { padding-left: 36px; background: #fff; }
  .search::before {
    content: '🔍'; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font-size: 13px; pointer-events: none;
  }
  #btnSearch { display: none; }
  /* 【2026-10-18】小程序已删「大家都在搜」整行；手机网页同步收起，搜索框独占一行 */
  .hint-lead, .hint-chips { display: none !important; }
  /* 【2026-10-26】热词整行收起时，装它的浅底框一并收掉，别留一条空框 */
  .hotbar { display: none !important; }

  /* ── 「最新知识包」小标题（小程序 sec-title 同款） ── */
  .sec-title-m {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 22px 0 12px;
  }
  .sec-title-m > span:first-child { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: 1px; }

  /* ── 书卡带封面（小程序 pack-card 同款：左封面 + 右文字） ── */
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; gap: 12px; padding: 14px; align-items: stretch; }
  .card::before { display: none; }   /* 手机上不画顶部书脊线：封面本身就是书 */
  .card:hover { transform: none; }
  .card-cover-m {
    display: block; position: relative; flex: 0 0 auto;
    width: 80px; height: 100px;
    border-radius: 2px 8px 8px 2px;   /* 左直右圆 = 书脊那边 */
    overflow: hidden;
    box-shadow: 0 4px 9px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .14);
  }
  /* 书脊：左侧暗带 + 一道烫金压线 */
  .cm-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 11px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .04)); }
  .cm-spine::after { content: ''; position: absolute; right: 2px; top: 5px; bottom: 5px;
    width: 1px; background: rgba(244, 227, 178, .5); }
  /* 封面框：内嵌烫金线框 */
  .cm-frame { position: absolute; left: 15px; right: 6px; top: 6px; bottom: 6px;
    border: 1px solid rgba(244, 227, 178, .55); border-radius: 2px; }
  /* 装饰小印（右上角） */
  .cm-seal { position: absolute; right: 4px; top: 4px; font-size: 11px; line-height: 1; }
  /* 封面上的字（最新版 2026-10-14：不再只印一个大字 —— 地域 + 书名多字，烫金色，
     照 index.wxss 的 .pc-main/.pc-kind/.pc-title 换算） */
  .cm-main { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; padding: 0 6px 0 15px; z-index: 2; }
  .cm-kind { font-size: 9px; line-height: 1.4; color: rgba(246, 230, 184, .82); letter-spacing: .5px;
    text-align: center; margin-bottom: 4px; max-width: 60px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cm-t { font-size: 12px; font-weight: 700; color: #f6e6b8; letter-spacing: 1px; line-height: 1.35;
    text-align: center; max-height: 50px; overflow: hidden;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .card-title { font-size: 16px; letter-spacing: 0; }
  .card-no { font-size: 11px; padding-top: 2px; }
  .card-sum { font-size: 12px; line-height: 1.6; margin-top: 6px; -webkit-line-clamp: 2; }
  .card-meta { margin-top: auto; padding-top: 8px; gap: 6px; border-top: 1px dashed var(--line); }
  .card-meta .tag { padding: 2px 8px; font-size: 11px; }

  /* ── 底部 tab 栏（小程序 bottom-nav 同款：首页 / 商城 / 我的） ── */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .tabbar-m {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--paper-2); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(120, 90, 40, .10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .tabbar-m .tab {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 7px 0 6px; font-size: 11px; color: var(--ink-3);
    text-decoration: none;
  }
  .tabbar-m .tab-ico { font-size: 20px; line-height: 1.2; }
  .tabbar-m .tab.is-on { color: var(--red); font-weight: 600; }
}


/* ══ 全库检索层 · 命中已有包引流卡（2026-10-15「搜索框不能停留在旧设计」）══
   置顶于检索层：朱红描边 + 米白底，与频道选中态同族；整卡可点 → read.html */
.fs-packs { margin: 0 0 12px; padding: 12px 14px; background: #fdf6ec; border: 1px solid #e8d9b8; border-radius: 12px; }
.fs-packs-t { font-size: 14px; font-weight: 600; color: #8a5a1a; margin: 0 0 8px; }
.fs-pack {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; margin: 6px 0 0; background: var(--paper-2, #fffdf8);
  border: 1.5px solid var(--red); border-radius: 10px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600;
}
.fs-pack-go { font-size: 13px; font-weight: 600; color: var(--red); white-space: nowrap; }
.fs-pack:active { background: #f7ecdd; }

/* ══ 音乐/图片会员门禁（2026-10-15 用户令）══
   「▶ 播放」按钮（拿到签名网址前替身）；图片缩略图按钮；非会员引导条 */
.music-play {
  align-self: flex-start; padding: 8px 18px; border: none; border-radius: 999px;
  background: var(--red, #b3352b); color: #fff; font-size: 14px; cursor: pointer;
}
.music-play:disabled { opacity: .6; cursor: default; }
.photo-open { display: block; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.photo-open img { transition: filter .15s; }
.photo-open:hover img { filter: brightness(1.06); }

/* ══ 每日推送（2026-10-18 · daily.html）═══════════════════════════
   与小程序 pages/member-sub 同口径：会员每日一期；非会员只看到条数与开通引导。 */
.daily-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  margin-top: 8px; padding: 18px 20px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.daily-date { font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: 1px; }
.daily-sum { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.daily-member { font-size: 13px; color: var(--green); white-space: nowrap; }
.daily-body { display: grid; gap: 14px; margin-top: 14px; }
.daily-sec {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px 4px;
}
.daily-sec-h {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px; margin-bottom: 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.daily-sec-h > span { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.daily-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: inherit; text-align: left; text-decoration: none;
  font: inherit; cursor: pointer;
}
.daily-sec .daily-row:last-child { border-bottom: 0; }
.daily-row:hover .daily-row-t { color: var(--red); }
.daily-row-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.daily-row-t { font-size: 15px; line-height: 1.6; color: var(--ink); }
.daily-row-s { font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.daily-row-a { flex: none; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.daily-photos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px; padding: 10px 0 12px;
}
.daily-photo { display: flex; flex-direction: column; gap: 5px; color: var(--ink-2); text-decoration: none; }
.daily-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border: 1px solid var(--line); border-radius: 10px; background: #f0ece2;
}
.daily-photo span { font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.daily-past { margin-top: 18px; }
.daily-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.daily-datebtn {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2); font-size: 13px; font-family: inherit;
}
.daily-datebtn:hover { border-color: var(--red); color: var(--red); }
.daily-datebtn.on { background: var(--red); border-color: var(--red); color: #fff; }
.daily-tip { margin: 18px 0; font-size: 14px; color: var(--ink-3); text-align: center; }
.daily-gate-note { margin-top: 6px; font-size: 13px; }

@media (max-width: 767px) {
  .daily-head { flex-direction: column; align-items: flex-start; gap: 4px; padding: 15px 16px; }
  .daily-date { font-size: 21px; }
  .daily-member { white-space: normal; }
  .daily-sec { padding: 13px 14px 2px; }
  .daily-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.media-lock {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 14px 0 6px; padding: 14px 16px; border: 1px dashed var(--red, #b3352b);
  border-radius: 12px; background: #fdf6f4;
}
.media-lock-t { font-size: 14px; color: var(--ink-2, #4a4038); line-height: 1.7; }
.media-lock-btn { flex: none; }

/* ══ 文章会员门禁（2026-10-19 · article.html）══════════════════════ */
.art-gate {
  max-width: 640px; margin: 28px auto 0; padding: 34px 24px 30px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.art-gate .gate-title { font-size: 21px; }
.art-gate .gate-sub { max-width: 470px; margin: 8px auto 18px; line-height: 1.8; }

/* ══ 「我的」会员权益（2026-10-19 · 与小程序三档文案一致）══════════ */
.me-benefits-wrap { margin-top: 26px; }
.me-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.me-benefit {
  padding: 15px 16px; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.me-benefit-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.me-benefit-h b { font-size: 16px; color: var(--ink); }
.me-benefit-h span { font-size: 13px; color: var(--red); white-space: nowrap; }
.me-benefit p { margin: 8px 0 0; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.me-benefit-tip { margin: 12px 0 40px; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.me-benefit-tip a { color: var(--red); }

/* ══ 商城（2026-10-19 · shop.html）═══════════════════════════════ */
.shop-block {
  margin-top: 18px; padding: 18px 20px 20px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.shop-head h2 { margin: 0; font-size: 19px; letter-spacing: 1px; }
.shop-head span { font-size: 12px; color: var(--ink-3); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card {
  display: flex; flex-direction: column; min-height: 172px;
  padding: 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #fffdf8;
}
.plan-card.gold { border-color: #d9b86a; background: #fffaf0; }
.plan-card.diamond { border-color: #9bb7d4; background: #f6faff; }
.plan-card.is-current { box-shadow: 0 0 0 2px var(--red) inset; }
.plan-top { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.plan-top b { font-size: 16px; }
.plan-badge {
  padding: 1px 6px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: 10px; line-height: 1.6;
}
.plan-price { margin-left: auto; color: var(--red); font-size: 22px; font-weight: 700; white-space: nowrap; }
.plan-price em { font-style: normal; font-size: 11px; font-weight: 400; color: var(--ink-3); }
.plan-benefit { flex: 1; margin: 10px 0 14px; font-size: 13px; line-height: 1.75; color: var(--ink-2); }
.plan-btn { width: 100%; padding: 8px 10px; font-size: 13px; }
/* 知识包三个总包（2026-10-19 用户令）：PC 商城直接铺三张 ¥200 卡，不再只有一行入口 */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bundle-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fffdf8; border: 1px solid var(--line); border-radius: 14px;
}
.bundle-cover {
  min-height: 92px; padding: 16px; display: flex; align-items: flex-end;
  color: #f7efe2; font-size: 17px; font-weight: 600; letter-spacing: 1px;
  background: linear-gradient(155deg, #2f6b4f, #17402f);
}
.bundle-card.mg .bundle-cover { background: linear-gradient(155deg, #1f4f8a, #12305a); }
.bundle-card.cn .bundle-cover { background: linear-gradient(155deg, #8c2f2a, #5a1b18); }
.bundle-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.bundle-body h3 { margin: 0; font-size: 16px; }
.bundle-body p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.bundle-sub { color: var(--ink-3) !important; font-size: 12px !important; }
.bundle-meta { display: flex; align-items: baseline; gap: 8px; margin-top: auto !important; }
.bundle-meta b { font-size: 22px; color: var(--red); }
.bundle-meta span { font-size: 12px; color: var(--ink-3); }
.bundle-acts { display: flex; gap: 8px; padding-top: 6px; }
.bundle-acts .btn { flex: 1; }
.shop-links { display: grid; gap: 10px; }
.shop-link {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: #fffdf8; color: var(--ink); text-align: left; text-decoration: none;
  font: inherit; cursor: pointer;
}
.shop-link:hover { border-color: var(--red); }
.shop-link-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.shop-link-main b { font-size: 15px; }
.shop-link-main em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.shop-link-go { color: var(--ink-3); font-size: 20px; }
.shop-note { margin: 12px 0 0; font-size: 12px; line-height: 1.8; color: var(--ink-3); }
.shop-note a { color: var(--red); }

@media (max-width: 767px) {
  .me-benefits { grid-template-columns: 1fr; gap: 10px; }
  .shop-block { padding: 15px 14px 16px; }
  .plan-grid { grid-template-columns: 1fr; }
  .bundle-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; }
  .shop-head { align-items: flex-start; flex-direction: column; gap: 3px; }
}
/* 我的额度 2026-10-22 */
.usage-panel{padding:12px 16px;background:#f8f6f2;border:1px solid var(--line);border-radius:8px;margin:0;}
.usage-month-tip{font-size:12px;color:#8a6d3b;background:#fcf8e3;border:1px solid #f5e6c8;border-radius:6px;padding:6px 10px;margin-bottom:10px;}
.usage-month-tip b{color:#c0392b;}
.usage-row{margin-bottom:10px;}
.usage-row-t{display:flex;justify-content:space-between;font-size:13px;color:#444;margin-bottom:4px;}
.usage-row-t b{font-weight:600;color:#333;}
.usage-bar{height:6px;background:#e8e2d8;border-radius:3px;overflow:hidden;}
.usage-bar i{display:block;height:100%;background:#b8860b;border-radius:3px;}
.usage-bar i.danger{background:#e64340;}
.usage-foot{font-size:12px;color:#999;margin-top:4px;}
/* 商城会员卡「更多权益」 */
.plan-more{margin:8px 0;font-size:13px;color:#666;}
.plan-more summary{cursor:pointer;color:#b8860b;user-select:none;}
.plan-more ul{margin:6px 0 0 18px;padding:0;}
.plan-more li{margin:2px 0;color:#555;}
/* AI 成文回答卡 2026-10-22 */
.fs-answer{margin:12px 0;padding:14px 16px;background:#f4f9f4;border:1px solid #d5e8d5;border-radius:10px;}
.fs-answer-h{font-size:14px;font-weight:700;color:#2e7d32;margin-bottom:8px;}
.fs-answer-ms{float:right;font-size:11px;font-weight:400;color:#999;}
.fs-answer-t{font-size:14px;line-height:1.9;color:#333;margin:0;white-space:pre-wrap;}
.fs-answer-tip{font-size:13px;color:#888;margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.fs-answer-loading{font-size:13px;color:#888;margin:0;}
.fs-answer-srcs{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px;}
.fs-answer-src{font-size:12px;color:#6b8e6b;background:#fff;border:1px solid #d5e8d5;border-radius:12px;padding:2px 10px;}
