/* ============================================================
   光明爱心驿站 · Web 版全局样式
   主题色与小程序 app.wxss 完全一致（#07c160 主绿）
   布局：≥768px 顶部导航；<768px 底部 tabbar（与小程序一致）
   ============================================================ */
:root {
  --primary: #07c160;
  --primary-light: #e8f8ee;
  --primary-dark: #06ad56;
  --warning: #fa8c16;
  --warning-light: #fff7e6;
  --danger: #ff4d4f;
  --danger-light: #fff1f0;
  --text-1: #1a1a1a;
  --text-2: #555555;
  --text-3: #767676;
  --border: #eee;
  --bg: #f7f7f7;
  --bg-card: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --radius: 12px;
  --nav-h: 60px;
  --tabbar-h: 56px;
  --max-w: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---------- 布局骨架 ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
.page-body { min-height: calc(100vh - var(--nav-h)); padding: 20px 0 60px; }
@media (max-width: 767px) {
  .page-body { padding: 12px 0 calc(var(--tabbar-h) + 24px); }
}

/* ---------- 顶部导航（PC） ---------- */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.topnav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 8px; height: 100%; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 600; color: var(--primary-dark); cursor: pointer; margin-right: 16px; white-space: nowrap; }
.brand .logo { font-size: 24px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; color: var(--text-2);
  font-size: 15px; cursor: pointer; white-space: nowrap;
}
.nav-link:hover { background: var(--primary-light); }
.nav-link.active { color: var(--primary); font-weight: 600; background: var(--primary-light); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-badge { position: relative; cursor: pointer; font-size: 20px; padding: 6px; }
.nav-badge .dot {
  position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px;
  background: var(--danger); color: #fff; border-radius: 8px;
  font-size: 11px; line-height: 16px; text-align: center; padding: 0 3px; font-style: normal;
}
.nav-user { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 10px; border-radius: 20px; }
.nav-user:hover { background: var(--primary-light); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--primary-dark);
  overflow: hidden; flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 28px; height: 28px; font-size: 13px; }
.avatar.lg { width: 60px; height: 60px; font-size: 26px; }
.avatar.official { background: var(--primary); color: #fff; border-radius: 50%; }
@media (max-width: 767px) { .topnav { display: none; } }

/* ---------- 底部 tabbar（手机） ---------- */
.tabbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #fff; border-top: 1px solid var(--border);
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar-inner { display: flex; height: var(--tabbar-h); }
.tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; font-size: 11px; color: var(--text-3); cursor: pointer; position: relative;
}
.tabbar-item .ico { font-size: 20px; line-height: 1; }
.tabbar-item.active { color: var(--primary); }
.tabbar-item .dot {
  position: absolute; top: 4px; right: calc(50% - 16px); min-width: 15px; height: 15px;
  background: var(--danger); color: #fff; border-radius: 8px; font-size: 10px;
  line-height: 15px; text-align: center; padding: 0 3px; font-style: normal;
}
.tabbar-item.publish .ico {
  background: var(--primary); color: #fff; border-radius: 50%;
  width: 42px; height: 42px; font-size: 26px; margin-top: -18px; box-shadow: 0 4px 10px rgba(7,193,96,.4);
}
@media (max-width: 767px) { .tabbar { display: block; } }

/* ---------- 手机端页面顶栏 ---------- */
.mheader {
  display: none; position: sticky; top: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 10px 14px; align-items: center; gap: 8px;
}
.mheader .back { cursor: pointer; font-size: 18px; padding: 2px 8px; color: var(--text-2); }
.mheader .title { flex: 1; text-align: center; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mheader .side { width: 34px; text-align: right; }
@media (max-width: 767px) { .mheader { display: flex; } }

/* ---------- 卡片 / 网格 ---------- */
.card { background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.card + .card { margin-top: 14px; }
.card-title { font-size: 17px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card-title .more { margin-left: auto; font-size: 13px; font-weight: 400; color: var(--text-3); cursor: pointer; }

.grid-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .grid-items { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .grid-items { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.item-card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.item-card:hover { transform: translateY(-2px); transition: transform .15s; }
.item-cover { position: relative; aspect-ratio: 1/1; background: var(--bg); overflow: hidden; }
.item-cover img { width: 100%; height: 100%; object-fit: cover; }
.item-cover .noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--border); }
.item-cover .tag {
  position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.55); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 4px;
}
.item-cover .tag.given { background: var(--warning); }
.item-info { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.item-info .t { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-info .meta { font-size: 12px; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; }
.item-info .meta .free { color: var(--primary); font-weight: 600; }

.grid-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 767px) { .grid-articles { grid-template-columns: 1fr; } }
.article-card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); }
.article-card .cover { aspect-ratio: 16/9; background: var(--bg); overflow: hidden; }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-card .info { padding: 12px; }
.article-card .t { font-size: 15px; font-weight: 600; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .s { font-size: 13px; color: var(--text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 轮播 ---------- */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/8; background: var(--bg); box-shadow: var(--shadow); }
@media (max-width: 767px) { .carousel { aspect-ratio: 16/9; } }
.carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; cursor: pointer; }
.carousel .slide.on { opacity: 1; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: 15px; font-weight: 500;
}
.carousel .dots { position: absolute; bottom: 8px; right: 12px; display: flex; gap: 6px; }
.carousel .dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.5); transition: all .2s; }
.carousel .dots i.on { background: #fff; width: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 10px; padding: 10px 22px; font-size: 15px;
  cursor: pointer; background: var(--primary); color: #fff; font-weight: 500;
  transition: opacity .15s;
}
.btn:hover { opacity: .88; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.block { width: 100%; padding: 12px; font-size: 16px; }
.btn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn.gray { background: #f0f0f0; color: var(--text-2); }
.btn.danger { background: var(--danger); }
.btn.warn { background: var(--warning); }
.btn.sm { padding: 6px 14px; font-size: 13px; border-radius: 8px; }
.btn.lg { padding: 14px 30px; font-size: 17px; }

/* ---------- 标签 / 徽章 ---------- */
.tagchip { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 20px; background: var(--primary-light); color: var(--primary-dark); }
.tagchip.warn { background: var(--warning-light); color: var(--warning); }
.tagchip.danger { background: var(--danger-light); color: var(--danger); }
.tagchip.gray { background: #f0f0f0; color: var(--text-3); }
.badge-official {
  display: inline-block; font-size: 11px; background: var(--primary); color: #fff;
  border-radius: 4px; padding: 1px 6px; margin-left: 6px; font-weight: 500;
}

/* ---------- 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text-2); }
.form-row label .req { color: var(--danger); margin-left: 2px; }
.form-row .tip { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--text-1);
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); }
.textarea { min-height: 100px; resize: vertical; }
.form-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; background: #f0f0f0; border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button {
  border: none; background: transparent; padding: 7px 16px; border-radius: 8px;
  font-size: 14px; color: var(--text-2); cursor: pointer;
}
.seg button.on { background: #fff; color: var(--primary); font-weight: 600; box-shadow: var(--shadow); }
.seg button.sm { padding: 4px 10px; font-size: 12px; }

/* ---------- 图片上传 ---------- */
.uploader { display: flex; flex-wrap: wrap; gap: 10px; }
.up-box {
  width: 84px; height: 84px; border: 1.5px dashed #ccc; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 12px; gap: 2px; cursor: pointer; background: #fafafa;
}
.up-box:hover { border-color: var(--primary); color: var(--primary); }
.up-box .plus { font-size: 26px; line-height: 1; }
.up-item { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; }
.up-item img { width: 100%; height: 100%; object-fit: cover; }
.up-item .del {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; line-height: 20px; text-align: center; cursor: pointer;
}

/* ---------- 列表行 ---------- */
.row-list { display: flex; flex-direction: column; }
.row-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; cursor: pointer; }
.row-item:last-child { border-bottom: none; }
.row-item .body { flex: 1; min-width: 0; }
.row-item .t { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-item .s { font-size: 13px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.row-item .rt { font-size: 12px; color: var(--text-3); white-space: nowrap; }

/* ---------- 空态 / 加载 ---------- */
.empty { text-align: center; color: var(--text-3); padding: 50px 0; font-size: 14px; }
.empty .emoji { font-size: 44px; margin-bottom: 10px; }
.loading { text-align: center; color: var(--text-3); padding: 40px 0; font-size: 14px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.pager button { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 7px 16px; cursor: pointer; font-size: 14px; color: var(--text-2); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }
.pager .info { font-size: 13px; color: var(--text-3); }

/* ---------- 聊天 ---------- */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - var(--nav-h) - 40px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 767px) { .chat-wrap { height: calc(100vh - var(--tabbar-h) - 48px); } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-weight: 600; }
.chat-head .sub { font-size: 12px; color: var(--text-3); font-weight: 400; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.msg-row { display: flex; gap: 8px; align-items: flex-start; }
.msg-row.mine { flex-direction: row-reverse; }
.msg-bubble {
  max-width: 72%; padding: 9px 13px; border-radius: 12px; background: #fff; font-size: 15px;
  word-break: break-word; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.msg-row.mine .msg-bubble { background: var(--primary-light); }
.msg-time { font-size: 11px; color: var(--text-3); margin-top: 3px; }
.msg-row.mine .msg-time { text-align: right; }
.chat-input { display: flex; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.chat-input input { flex: 1; }
/* 举报卡片（与消息气泡区分：整宽卡片） */
.report-card {
  width: 86%; background: var(--danger-light); border: 1px solid #ffd6d6; border-radius: 12px;
  padding: 12px 14px; font-size: 14px;
}
.report-card .rc-head { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--danger); margin-bottom: 6px; }
.sys-tip { text-align: center; font-size: 12px; color: var(--text-3); background: rgba(0,0,0,.04); border-radius: 20px; padding: 3px 12px; align-self: center; }

/* ---------- 订单状态 ---------- */
.order-flow { display: flex; align-items: center; gap: 0; margin: 8px 0 4px; }
.order-flow .step { flex: 1; text-align: center; position: relative; font-size: 12px; color: var(--text-3); }
.order-flow .step .b {
  width: 22px; height: 22px; border-radius: 50%; background: #eee; color: var(--text-3);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; margin-bottom: 3px;
}
.order-flow .step.done .b { background: var(--primary); color: #fff; }
.order-flow .step.done { color: var(--primary-dark); font-weight: 600; }
.order-flow .step::after {
  content: ''; position: absolute; top: 11px; left: calc(50% + 14px); width: calc(100% - 28px); height: 2px; background: #eee;
}
.order-flow .step:last-child::after { display: none; }
.order-flow .step.done::after { background: var(--primary); }

/* ---------- 通用工具 ---------- */
.flex { display: flex; align-items: center; gap: 10px; }
.flex.wrap { flex-wrap: wrap; }
.flex.between { justify-content: space-between; }
.flex.center { justify-content: center; }
.mt8 { margin-top: 8px; } .mt14 { margin-top: 14px; } .mt20 { margin-top: 20px; }
.mb8 { margin-bottom: 8px; } .mb14 { margin-bottom: 14px; }
.muted { color: var(--text-3); font-size: 13px; }
.small { font-size: 13px; }
.bold { font-weight: 600; }
.danger-text { color: var(--danger); }
.primary-text { color: var(--primary-dark); }
.hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.section-title { font-size: 19px; font-weight: 600; margin: 4px 0 14px; display: flex; align-items: center; gap: 8px; }
.section-title .sub { font-size: 13px; font-weight: 400; color: var(--text-3); }

/* ---------- 富文本（协议 / 文章 markdown 渲染） ---------- */
.rich { font-size: 15px; color: var(--text-1); }
.rich h1, .rich h2, .rich h3, .rich h4 { margin: 18px 0 10px; line-height: 1.4; }
.rich h1 { font-size: 21px; } .rich h2 { font-size: 19px; } .rich h3 { font-size: 17px; }
.rich p { margin: 8px 0; }
.rich ul, .rich ol { padding-left: 22px; margin: 8px 0; }
.rich li { margin: 4px 0; }
.rich blockquote {
  border-left: 4px solid var(--primary); background: var(--primary-light);
  padding: 8px 14px; border-radius: 0 8px 8px 0; color: var(--text-2); margin: 10px 0;
}
.rich code { background: #f4f4f4; border-radius: 4px; padding: 1px 6px; font-size: 13px; }
.rich table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 14px; }
.rich td, .rich th { border: 1px solid var(--border); padding: 6px 10px; text-align: left; }
.rich .md-link { color: var(--primary); font-weight: 500; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: #fff; border-radius: 14px; padding: 22px; width: 100%; max-width: 420px;
  max-height: 85vh; overflow-y: auto; box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.modal h3 { font-size: 17px; margin-bottom: 14px; }
.modal .actions { display: flex; gap: 10px; margin-top: 18px; }
.modal .actions .btn { flex: 1; }

/* ---------- toast ---------- */
.toast {
  position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 300;
  background: rgba(0,0,0,.75); color: #fff; padding: 10px 22px; border-radius: 22px;
  font-size: 14px; max-width: 80vw; text-align: center;
}
@media (max-width: 767px) { .toast { top: 16px; } }

/* ---------- 登录页 ---------- */
.login-hero { text-align: center; padding: 36px 0 24px; }
.login-hero .logo { font-size: 54px; }
.login-hero .t { font-size: 24px; font-weight: 600; color: var(--primary-dark); margin-top: 8px; }
.login-hero .s { color: var(--text-3); margin-top: 6px; font-size: 14px; }
.login-box { max-width: 400px; margin: 0 auto; }
.agreement-line { font-size: 13px; color: var(--text-3); text-align: center; margin-top: 14px; line-height: 1.8; }
.agreement-line a { color: var(--primary); }
.check-agree { display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 13px; color: var(--text-2); }
.check-agree .box {
  width: 18px; height: 18px; border: 2px solid var(--primary); border-radius: 5px;
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px;
}
.check-agree .box.on { background: var(--primary); }
.err-line { color: var(--danger); font-size: 13px; text-align: center; margin-top: 8px; cursor: pointer; }

/* ---------- 赞赏页 ---------- */
.qr-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.qr-box { text-align: center; }
.qr-box img { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.qr-box .t { margin-top: 8px; font-size: 14px; color: var(--text-2); }

/* ---------- 详情页 ---------- */
.detail-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .detail-wrap { grid-template-columns: 1fr; } }
.gallery { display: flex; gap: 4px; overflow-x: auto; border-radius: var(--radius); }
.gallery .main-img { flex: 1; min-width: 100%; aspect-ratio: 4/3; background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.gallery .main-img img, .gallery .main-img video { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs .th { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; background: var(--bg); }
.thumbs .th.on { border-color: var(--primary); }
.thumbs .th img, .thumbs .th video { width: 100%; height: 100%; object-fit: cover; }
.kv { display: flex; gap: 10px; font-size: 14px; margin: 6px 0; }
.kv .k { color: var(--text-3); width: 76px; flex-shrink: 0; }
.kv .v { color: var(--text-1); flex: 1; }
.user-card { display: flex; align-items: center; gap: 12px; }
.user-card .u-body { flex: 1; min-width: 0; }
.user-card .u-name { font-weight: 600; font-size: 15px; display: flex; align-items: center; }
.user-card .u-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ---------- 表格（订单列表 PC） ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.table th { color: var(--text-3); font-weight: 500; font-size: 13px; white-space: nowrap; }
.table .img-mini { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--bg); }

/* ---------- 首页统计条 ---------- */
.stat-bar { display: flex; gap: 10px; }
.stat-item { flex: 1; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; text-align: center; }
.stat-item .n { font-size: 22px; font-weight: 700; color: var(--primary-dark); }
.stat-item .l { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ---------- 横滑区（公益动态，PC 也横滑） ---------- */
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.hscroll .article-card { width: 240px; flex-shrink: 0; }
@media (max-width: 767px) { .hscroll .article-card { width: 180px; } }

/* ---------- 页脚（备案号必须展示） ---------- */
.site-footer { text-align: center; color: var(--text-3); font-size: 12px; padding: 26px 16px calc(var(--tabbar-h) + 20px); line-height: 2; }
.site-footer a { color: var(--text-3); }
@media (min-width: 768px) { .site-footer { padding-bottom: 26px; } }
