/* ==========================================================================
   福州贝臣齿科 · 移动站专用样式（6697 域名）
   设计口径：App 式单列布局，44px 以上触控目标，底部标签栏 + 抽屉导航。
   与 PC 站共用同一份后台数据，样式完全独立。
   ========================================================================== */

:root {
  --brand: #1687b0;
  --brand-dark: #0e6e92;
  --brand-deep: #08496a;
  --brand-light: #e6f6fc;
  --brand-soft: #f1fafd;
  --logo-blue: #34b3e1;
  --meituan: #ffc300;
  --dianping: #ff6633;
  --wecom: #0e6e92;
  --ink: #172a35;
  --ink-2: #445a67;
  --ink-3: #7c909c;
  --line: #e6edf1;
  --bg: #f4f8fa;
  --radius: 14px;
  --tab-h: 54px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 8px);
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .8em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .45em; }

/* ---------- 顶栏 ---------- */
.m-header {
  position: sticky; top: 0; z-index: 60;
  height: 52px; padding: 0 14px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.mh-logo img { height: 30px; width: auto; }
.mh-actions { display: flex; gap: 8px; }
.mh-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--brand-dark); font-size: 16px;
  display: grid; place-items: center; cursor: pointer;
}
.mh-btn.accent { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 抽屉导航 ---------- */
.m-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(6, 30, 44, .5);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.m-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(78vw, 300px);
  background: #fff;
  transform: translateX(105%); transition: transform .28s ease;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(6, 30, 44, .18);
}
body.m-open .m-drawer { transform: none; }
body.m-open .m-mask { opacity: 1; pointer-events: auto; }
.md-head {
  padding: 16px 18px 12px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.md-head img { height: 28px; }
.md-close {
  width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--bg);
  color: var(--ink-2); font-size: 17px; display: grid; place-items: center;
}
.md-nav { flex: 1; overflow-y: auto; padding: 8px 0 calc(16px + env(safe-area-inset-bottom)); }
.md-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; font-size: 15.5px; color: var(--ink);
}
.md-nav a .ico { width: 22px; text-align: center; color: var(--brand); font-style: normal; }
.md-nav a.is-active { color: var(--brand-dark); font-weight: 600; background: var(--brand-soft); }
.md-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.md-foot .tel { font-size: 16px; font-weight: 600; color: var(--brand-dark); display: block; margin-bottom: 10px; }
.md-foot a.pc-link { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 通用容器 ---------- */
.m-sec { padding: 18px 14px; }
.m-sec:first-child { padding-top: 12px; }
.m-sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 2px 12px;
}
.m-sec-head h2 { font-size: 17px; margin: 0; font-weight: 600; }
.m-sec-head .more { font-size: 12.5px; color: var(--ink-3); }
.m-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- 首屏 ---------- */
.m-hero {
  margin: 12px 14px 0; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #08496a 0%, #0e6e92 55%, #1687b0 100%);
  color: #fff; padding: 22px 18px;
}
.m-hero .tag {
  display: inline-block; font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  margin-bottom: 10px;
}
.m-hero h1 { font-size: 21px; line-height: 1.35; margin: 0 6px 8px 0; }
.m-hero p { font-size: 13px; color: rgba(255, 255, 255, .85); margin-bottom: 16px; }
.m-hero .btns { display: flex; gap: 10px; }

/* ---------- 按钮 ---------- */
.mbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.3;
}
.mbtn-primary { background: #fff; color: var(--brand-dark); }
.mbtn-wecom { background: var(--wecom); color: #fff; }
.mbtn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.mbtn-brand { background: var(--brand); color: #fff; }
.mbtn-outline { border-color: #cdd9e0; color: var(--ink-2); background: #fff; }
.mbtn-meituan { background: var(--meituan); color: #5a3d00; }
.mbtn-dianping { background: var(--dianping); color: #fff; }
.mbtn-block { display: flex; width: 100%; }
.mbtn-sm { min-height: 38px; padding: 8px 16px; font-size: 13.5px; }

/* ---------- 快捷宫格 ---------- */
.m-quick {
  margin: 12px 14px 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 14px 6px;
}
.m-quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); padding: 6px 0; }
.m-quick .qi {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand-light);
  color: var(--brand-dark); display: grid; place-items: center; font-size: 19px;
}

/* ---------- 列表行（项目/医生/文章通用） ---------- */
.m-rows { display: flex; flex-direction: column; }
.m-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-bottom: 1px solid var(--line); min-height: 64px;
}
.m-row:last-child { border-bottom: 0; }
.m-row .r-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: var(--brand-light); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 17px;
}
.m-row .r-main { flex: 1; min-width: 0; }
.m-row .r-main b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.m-row .r-main span {
  display: block; font-size: 12.5px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.m-row .r-chev { color: #c3d0d8; font-size: 14px; flex: 0 0 auto; }
.m-row .r-thumb {
  width: 84px; height: 62px; border-radius: 10px; flex: 0 0 auto; overflow: hidden;
  background: linear-gradient(135deg, #eaf7fc, #d3edf8); display: grid; place-items: center;
  color: var(--brand); font-size: 20px;
}
.m-row .r-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-row .r-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; overflow: hidden;
  background: linear-gradient(135deg, #dceff8, #bfe3f4); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 18px;
}
.m-row .r-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-row .r-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.m-tag {
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #d6eaf2;
}

/* ---------- 活动卡 ---------- */
.m-campaign { margin-bottom: 12px; }
.m-campaign .cm-media {
  height: 140px; background: linear-gradient(140deg, #e8f7fd, #b8e0f2);
  display: grid; place-items: center; color: rgba(14, 110, 146, .4); font-size: 32px;
  position: relative;
}
.m-campaign .cm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-campaign .cm-body { padding: 14px; }
.m-badge {
  display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 6px;
  background: #f2f8e6; color: #5c7d16; margin-bottom: 8px;
}
.m-campaign h3 { font-size: 16px; margin: 0 0 4px; }
.m-campaign .sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.m-highs { list-style: none; padding: 0; margin: 0 0 12px; }
.m-highs li {
  font-size: 13px; color: var(--ink-2); padding: 4px 0 4px 20px; position: relative; margin: 0;
}
.m-highs li::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  width: 15px; height: 15px; border-radius: 50%; background: var(--brand-light);
  color: var(--brand-dark); font-size: 10px; display: grid; place-items: center;
}
.m-campaign .cm-act { display: flex; gap: 10px; }

/* ---------- 渠道 ---------- */
.m-ch-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.m-ch-row:last-child { border-bottom: 0; }
.m-ch-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.m-ch-dot.mt { background: var(--meituan); }
.m-ch-dot.dp { background: var(--dianping); }
.m-ch-dot.dy { background: #161823; }
.m-ch-dot.wc { background: var(--wecom); }
.m-ch-row b { flex: 1; font-size: 14.5px; font-weight: 500; min-width: 0; }
.m-ch-row .go { font-size: 13px; color: var(--brand); flex: 0 0 auto; }

/* ---------- 门店卡 ---------- */
.m-store { padding: 14px; margin-bottom: 12px; }
.m-store:last-child { margin-bottom: 0; }
.m-store h3 { font-size: 16px; margin: 0 0 8px; }
.m-store .st-line { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.m-store .st-line .k { color: var(--ink-3); flex: 0 0 auto; }
.m-store .st-act { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.m-store .st-act .mbtn { flex: 1; min-width: 80px; padding: 8px 10px; font-size: 13px; min-height: 38px; }

/* ---------- 文章 ---------- */
.m-article { padding: 4px 2px; font-size: 15.5px; line-height: 1.85; color: #26343d; }
.m-article h2 { font-size: 18px; margin: 1.2em 0 .5em; }
.m-article h3 { font-size: 16.5px; margin: 1.3em 0 .4em; padding-left: 10px; border-left: 3px solid var(--brand); }
.m-article img { border-radius: 10px; margin: 1em 0; }
.m-article table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 1em 0; }
.m-article th, .m-article td { border: 1px solid var(--line); padding: 8px 9px; text-align: left; }
.m-article blockquote { margin: 1em 0; padding: 10px 14px; background: var(--brand-soft); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; color: var(--ink-2); font-size: 14px; }
.m-title { font-size: 20px; line-height: 1.4; margin: 4px 0 8px; }
.m-meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.m-crumbs { font-size: 12.5px; color: var(--ink-3); padding: 12px 2px 0; }
.m-crumbs a { color: var(--brand); }

/* ---------- 页头横幅（内页） ---------- */
.m-page-hero {
  margin: 12px 14px 0; border-radius: 14px; padding: 18px;
  background: linear-gradient(125deg, #08496a, #1687b0); color: #fff;
}
.m-page-hero h1 { font-size: 19px; margin: 0 0 6px; }
.m-page-hero p { font-size: 12.5px; color: rgba(255, 255, 255, .82); margin: 0; }

/* ---------- 提示 ---------- */
.m-note {
  font-size: 12px; color: var(--ink-3); background: #fff;
  border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 10px;
}
.m-warn { background: #fdf7e8; border: 1px solid #f0e2bd; color: #8a6516; font-size: 12.5px; padding: 10px 12px; border-radius: 10px; }
.m-ok { background: #eaf8f1; border: 1px solid #c9ead9; color: #1d7a52; font-size: 13px; padding: 12px; border-radius: 10px; }

/* ---------- 分页 ---------- */
.m-pager { display: flex; gap: 8px; justify-content: center; margin: 18px 0 4px; flex-wrap: wrap; }
.m-pager a, .m-pager span {
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13.5px;
}
.m-pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.m-pager .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- 行动条 ---------- */
.m-cta {
  margin: 14px; padding: 18px; border-radius: 14px; text-align: center;
  background: linear-gradient(125deg, #08496a, #1687b0); color: #fff;
}
.m-cta h2 { font-size: 17px; margin: 0 0 4px; }
.m-cta p { font-size: 12.5px; color: rgba(255, 255, 255, .8); margin: 0 0 14px; }
.m-cta .btns { display: flex; gap: 10px; justify-content: center; }

/* ---------- 表单 ---------- */
.m-form { padding: 16px 14px; }
.m-field { margin-bottom: 14px; }
.m-field label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
.m-field label .req { color: #d9534f; }
.m-input, .m-textarea, .m-select {
  width: 100%; min-height: 46px; padding: 11px 13px;
  border: 1px solid #d5e0e6; border-radius: 10px; background: #fff;
  font-size: 15px; font-family: inherit; color: var(--ink);
}
.m-textarea { min-height: 110px; resize: vertical; }
.m-input:focus, .m-textarea:focus, .m-select:focus { outline: none; border-color: var(--brand); }

/* ---------- 页脚 ---------- */
.m-footer { background: #06304a; color: rgba(255, 255, 255, .62); padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); margin-top: 20px; font-size: 13px; }
.m-footer h4 { color: #fff; font-size: 14.5px; margin: 0 0 10px; }
.m-footer a { color: rgba(255, 255, 255, .78); }
.m-footer .f-line { margin-bottom: 6px; }
.m-footer .f-ch { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.m-footer .f-ch a { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.m-footer .f-beian { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; font-size: 12px; color: rgba(255, 255, 255, .5); line-height: 1.9; }

/* ---------- 底部标签栏 ---------- */
.m-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.m-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 10.5px; color: var(--ink-3);
}
.m-tabbar a .t-ico { font-size: 18px; line-height: 1; }
.m-tabbar a.is-active { color: var(--brand-dark); font-weight: 600; }
.m-tabbar a.tab-consult .t-ico { color: var(--brand); }

/* ---------- 图片灯箱 ---------- */
.m-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4, 20, 30, .92);
  display: flex; align-items: center; justify-content: center; padding: 30px 16px;
}
.m-lightbox[hidden] { display: none; }
.m-lightbox img { max-width: 100%; max-height: 76vh; border-radius: 10px; }
.m-lightbox .lb-cap { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.m-lightbox .lb-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; }

/* 环境图格 */
.m-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-gal .g-item { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.m-gal .g-item .g-img { aspect-ratio: 4/3; background: var(--brand-soft); display: grid; place-items: center; color: var(--ink-3); font-size: 12px; }
.m-gal .g-item img { width: 100%; height: 100%; object-fit: cover; }
.m-gal .g-item figcaption { font-size: 12px; color: var(--ink-2); padding: 7px 10px; }

/* ---------- 弹窗公告（移动样式） ---------- */
.m-pop-mask {
  position: fixed; inset: 0; z-index: 300; background: rgba(6, 30, 44, .6);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.m-pop-mask[hidden] { display: none; }
.m-pop-box {
  position: relative; background: #fff; border-radius: 16px; width: 100%; max-width: 330px;
  overflow: hidden; box-shadow: 0 20px 50px rgba(3, 20, 32, .35);
}
.m-pop-close {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); color: var(--ink-2); font-size: 18px;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.m-pop-img img { width: 100%; max-height: 190px; object-fit: cover; }
.m-pop-body { padding: 18px 16px; text-align: center; }
.m-pop-body h3 { font-size: 17px; margin: 0 0 8px; }
.m-pop-body p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 16px; }
.m-pop-act { display: grid; gap: 8px; }
/* 抖音按钮（移动站） */
.mbtn-douyin { background: #161823; color: #fff; }
.mbtn-douyin:hover, .mbtn-douyin:active { background: #2b2d3a; color: #fff; }

/* ==========================================================================
   移动端 v2：顶栏主导航 / 横滑轮播 / 平台行 / 科普分类
   ========================================================================== */
/* 顶栏主导航 */
.m-topnav {
  position: sticky; top: 52px; z-index: 55;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0 10px; height: 44px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.m-topnav::-webkit-scrollbar { display: none; }
.m-topnav > a {
  flex: 0 0 auto; padding: 7px 12px; border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); white-space: nowrap;
}
.m-topnav > a.is-active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.mtn-more {
  flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.mtn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 12px; }
.mtn-grid i { width: 5px; height: 5px; border-radius: 1.5px; background: var(--brand); }

/* 横滑多图轮播 */
.m-swipe { overflow: hidden; margin: 0 -14px; }
.m-swipe-track {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px 14px 8px;
  scrollbar-width: none;
}
.m-swipe-track::-webkit-scrollbar { display: none; }
.m-sw-item { flex: 0 0 78%; scroll-snap-align: center; }
.m-sw-dots { display: flex; gap: 6px; justify-content: center; margin-top: 10px; }
.m-sw-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #cfdde4; cursor: pointer; transition: all .25s; }
.m-sw-dots button.is-active { background: var(--brand); width: 18px; border-radius: 4px; }

/* 活动横滑卡 */
.m-act-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mac-media { position: relative; display: block; aspect-ratio: 16/9; background: linear-gradient(140deg, #e8f7fd, #cfeaf7); }
.mac-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mac-ph { display: grid; place-items: center; height: 100%; font-size: 34px; color: rgba(14,110,146,.3); }
.mac-badge { position: absolute; top: 8px; left: 8px; font-size: 11px; padding: 2px 9px; border-radius: 5px; background: #ff5a2b; color: #fff; }
.mac-body { display: block; padding: 12px 14px 14px; }
.mac-body b { display: block; font-size: 15px; line-height: 1.45; margin-bottom: 4px; }
.mac-body span { display: block; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 医生横滑卡 */
.m-doc-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 14px 18px;
}
.mdc-avatar { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; margin-bottom: 10px; background: linear-gradient(135deg, #dceff8, #bfe3f4); color: var(--brand-dark); display: grid; place-items: center; font-size: 28px; }
.mdc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-doc-card b { font-size: 15.5px; margin-bottom: 3px; }
.mdc-title { font-size: 12px; color: var(--brand); margin-bottom: 6px; }
.mdc-sp { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 平台行：平台名 + 医院名 */
.m-ch-row2 { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.m-ch-row2:last-child { border-bottom: 0; }
.mch-logo { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.mch-mt { background: #ffc300; color: #5a3d00; }
.mch-dp { background: #ff6633; }
.mch-dy { background: #161823; }
.mch-wc { background: linear-gradient(135deg, #1687b0, #34b3e1); }
.mch-name { flex: 1; min-width: 0; }
.mch-name b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mch-name span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.m-ch-row2 .go { flex: 0 0 auto; font-size: 12.5px; color: var(--brand); }

/* 科普分类（移动） */
.m-kb-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.m-kb-tabs::-webkit-scrollbar { display: none; }
.m-kb-tab { flex: 0 0 auto; padding: 7px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 12.5px; cursor: pointer; font-family: inherit; }
.m-kb-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.m-kb-panel { display: none; }
.m-kb-panel.is-active { display: block; }
.m-kb-more { display: block; text-align: right; font-size: 12.5px; color: var(--brand); margin-top: 10px; }

/* 页脚 v2 */
.mf-brand { text-align: center; padding: 6px 0 14px; }
.mf-brand img { height: 40px; width: auto; margin: 0 auto 10px; background: #fff; border-radius: 10px; padding: 6px 12px; }
.mf-name { color: #fff; font-size: 17px; }
.mf-slogan { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 0; }
.mf-stores { display: grid; gap: 10px; margin-bottom: 16px; }
.mf-store { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; }
.mfs-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--logo-blue); margin-top: 6px; }
.mfs-main { flex: 1; min-width: 0; }
.mfs-main b { display: block; color: #fff; font-size: 13.5px; margin-bottom: 4px; }
.mfs-main span { display: block; font-size: 12px; color: rgba(255,255,255,.62); line-height: 1.6; }
.mfs-meta { margin-top: 3px; color: rgba(255,255,255,.5) !important; }
.mfs-go { flex: 0 0 auto; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.mf-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; font-size: 11.5px; color: rgba(255,255,255,.5); line-height: 1.9; }
.mf-legal a { color: rgba(255,255,255,.6); }
.mf-legal-sep { margin: 0 6px; opacity: .5; }
.mf-legal-row { display: block; }

/* ---- 顶栏 v3：滚动区 + 固定分类按钮；全局防横向溢出 ---- */
body { overflow-x: hidden; }
.m-topnav { display: flex; align-items: center; gap: 8px; padding: 0 10px; overflow: visible; }
.mtn-scroll {
  flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; height: 44px; align-items: center;
}
.mtn-scroll::-webkit-scrollbar { display: none; }
.mtn-scroll > a { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.mtn-scroll > a.is-active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.mtn-more { flex: 0 0 auto; margin-left: 0; }

/* 宫格防溢出：列宽用 minmax(0,1fr)，文字可换行/截断 */
.m-quick { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.m-quick a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.m-sec .m-card .m-quick { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.m-sec .m-card .m-quick a span:last-child { white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }

/* 横滑区不撑破页面 */
.m-swipe { max-width: 100%; }
.m-swipe-track { max-width: 100vw; }

/* 平台行名称截断 */
.mch-name b { max-width: 100%; }

/* 页脚院区卡文字防溢 */
.mfs-main span { word-break: break-all; }
.mf-legal-row { word-break: break-all; }

/* 平台行在深色 CTA 内的白卡中，文字恢复深色（防白字白底） */
.m-ch-row2 .mch-name b { color: var(--ink); }
.m-ch-row2 .mch-name span { color: var(--ink-3); }
.m-ch-row2 .go { color: var(--brand); }

/* ==========================================================================
   v4：顶栏两行时间 / banner 轮播 / 平台三合一 / 科普小图 / 页脚精简 / 防拖动
   ========================================================================== */
html, body { overflow-x: hidden; overscroll-behavior-x: none; }
body { touch-action: pan-y; }
img { -webkit-user-drag: none; user-select: none; }
.m-swipe-track { touch-action: pan-x pan-y; overscroll-behavior-x: contain; }

/* 顶栏：logo + 两行院区时间 + 单行电话 */
.m-header { height: auto; min-height: 56px; padding: 8px 12px; gap: 10px; }
.mh-logo img { height: 26px; }
.mh-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.mhi-hours { display: flex; flex-direction: column; align-items: flex-end; font-size: 10.5px; color: var(--ink-3); line-height: 1.45; }
.mhi-hours span { white-space: nowrap; }
.mhi-tel { font-size: 13px; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }

/* banner 轮播 */
.m-hero-swipe { overflow: hidden; margin: 12px 0 0; }
.m-hero-swipe .m-swipe-track { padding: 0 14px 4px; gap: 12px; }
.m-hero-swipe .m-sw-item { flex: 0 0 100%; scroll-snap-align: center; }
.m-hero { margin: 0; background-size: cover; background-position: center; }
.m-hero.has-img { position: relative; }
.m-hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(6,42,62,.85), rgba(6,42,62,.45)); }
.m-hero.has-img > * { position: relative; }
.m-hero-swipe + .m-sw-dots { margin-top: 8px; }

/* 平台三合一 */
.m-gp3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.mgp-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mgp-logo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.mgp-mt { background: #ffc300; color: #5a3d00; }
.mgp-dp { background: #ff6633; }
.mgp-dy { background: #161823; }
.mgp-card b { font-size: 12.5px; }
.mgp-btns { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.mgp-btns a { font-size: 11px; color: var(--brand-dark); background: var(--brand-soft); border-radius: 6px; padding: 4px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 科普小图行 */
.m-rows-sm .m-row { padding: 10px 12px; min-height: 0; gap: 10px; }
.m-rows-sm .r-thumb { width: 84px; height: 47px; border-radius: 8px; font-size: 15px; }
.m-rows-sm .r-main b { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.m-rows-sm .r-main span { font-size: 11px; }

/* 页脚精简 */
.mf-stores2 { display: flex; flex-direction: column; gap: 4px; align-items: center; margin-bottom: 14px; font-size: 12px; }
.mf-stores2 a { color: rgba(255,255,255,.72); }
.mf-stores2 .mf-tel { color: #fff; font-weight: 600; font-size: 13px; margin-top: 2px; }

/* 移动分类卡片 */
.m-svc-cats { display: grid; gap: 12px; }
.msc-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 10px 12px 10px 10px; }
.msc-media { width: 96px; height: 64px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: var(--brand-soft); }
.msc-media img { width: 100%; height: 100%; object-fit: cover; }
.msc-body { flex: 1; min-width: 0; }
.msc-body b { display: block; font-size: 15px; margin-bottom: 2px; }
.msc-body span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }
.msc-go { color: var(--brand); font-size: 18px; flex: 0 0 auto; }

/* 移动项目页首屏图 */
.m-svc-hero { margin: 12px 14px 0; border-radius: 16px; overflow: hidden; background: linear-gradient(125deg, #08496a, #1687b0); color: #fff; }
.m-svc-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.msh-txt { padding: 14px 16px 16px; }
.msh-txt h1 { font-size: 19px; margin: 0 0 6px; }
.msh-txt p { font-size: 12.5px; color: rgba(255,255,255,.85); margin: 0; }

/* 移动项目正文区块化 */
.svc-body-m h3 { font-size: 16.5px; margin: 22px 0 10px; padding-left: 10px; border-left: 3px solid var(--brand); }
.svc-body-m .fit-box { background: var(--brand-soft); border: 1px solid #d6eaf2; border-radius: 12px; padding: 14px; margin: 12px 0; }
.svc-body-m .fit-box h3 { margin: 0 0 10px; padding: 0; border: 0; font-size: 15px; }
.svc-body-m .fit-cols { display: grid; gap: 10px; }
.svc-body-m .fit-col b { display: block; font-size: 13px; margin-bottom: 6px; }
.svc-body-m .fit-yes b { color: #1d7a52; }
.svc-body-m .fit-wait b { color: #8a6516; }
.svc-body-m .fit-col ul { margin: 0; padding-left: 1.2em; }
.svc-body-m .fit-col li { font-size: 12.5px; color: var(--ink-2); }
.svc-body-m .sub-grid { display: grid; gap: 8px; margin: 10px 0; }
.svc-body-m .sub-item { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; }
.svc-body-m .sub-item b { display: block; font-size: 13.5px; color: var(--brand-dark); margin-bottom: 2px; }
.svc-body-m .sub-item span { font-size: 12px; color: var(--ink-3); }
.svc-body-m .flow-steps { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.svc-body-m .flow-step { display: flex; align-items: center; gap: 6px; background: var(--brand-soft); border-radius: 999px; padding: 5px 12px 5px 5px; }
.svc-body-m .flow-step span { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 11px; }
.svc-body-m .flow-step b { font-size: 12px; font-weight: 500; }
.svc-body-m .svc-faq-list { display: grid; gap: 8px; margin: 10px 0; }
.svc-body-m .svc-faq-item { display: flex; align-items: center; gap: 8px; background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; }
.svc-body-m .faq-arrow { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.svc-body-m .svc-faq-item b { flex: 1; font-size: 12.5px; font-weight: 500; }
.svc-body-m .faq-go { font-size: 11px; color: var(--brand); flex: 0 0 auto; }

.svc-body-m .svc-faq-more { display: inline-block; margin-top: 10px; font-size: 12.5px; color: var(--brand); font-weight: 600; }

/* ==========================================================================
   v6：顶栏单行连贯导航 / 时间电话独立行 / 活动单卡轮播 / 数字分页 / 页脚重设计
   ========================================================================== */
/* 顶栏：logo + 连贯导航 + 纯图标分类 */
.m-header { display: flex; align-items: center; gap: 6px; padding: 8px 10px; min-height: 50px; height: auto; }
.mh-logo { flex: 0 0 auto; }
.mh-logo img { height: 24px; }
.m-header .mtn-scroll { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; height: auto; }
.m-header .mtn-scroll::-webkit-scrollbar { display: none; }
.m-header .mtn-scroll > a { flex: 0 0 auto; padding: 6px 10px; font-size: 13.5px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.m-header .mtn-scroll > a.is-active { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; }
.mtn-more { flex: 0 0 auto; margin-left: 2px; padding: 6px; background: none; border: 0; }
.mtn-grid { width: 16px; height: 16px; }
/* 时间电话独立行：沿用旧配色 */
.m-subbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 12px; background: var(--brand-soft); border-bottom: 1px solid var(--line); }
.msb-hours { display: flex; gap: 12px; font-size: 10.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.msb-tel { font-size: 12.5px; font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
/* 分类卡文字留白 */
.msc-body { padding-right: 6px; }
.msc-card { padding: 12px 14px 12px 12px; }
/* 活动单卡轮播 */
.m-camp-swipe .m-swipe-track { padding: 0 14px 4px; }
.m-camp-swipe .m-sw-item { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.m-camp-swipe .m-campaign { height: 100%; }
/* 数字分页 */
.m-pager-num { display: flex; gap: 6px; justify-content: center; align-items: center; margin: 16px 0 4px; }
.m-pager-num a { min-width: 30px; height: 30px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; }
.m-pager-num a.is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.m-pager-num a.is-disabled { opacity: .4; pointer-events: none; }
.m-pager-num .pg-arrow { font-size: 16px; }
/* 页脚重设计 */
.m-footer { background: #0b3348; padding: 18px 14px 14px; }
.mf-card { background: #fff; border-radius: 16px; padding: 20px 16px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.mf-top { text-align: center; }
.mf-logo { height: 30px; }
.mf-name { font-size: 18px; }
.mf-slogan { margin: 8px 0 14px; font-size: 12.5px; color: var(--ink-3); letter-spacing: 1px; }
.mf-act { display: flex; gap: 8px; justify-content: center; }
.mf-btn { flex: 1; max-width: 150px; text-align: center; padding: 8px 0; border-radius: 999px; font-size: 13px; font-weight: 600; }
.mf-btn-brand { background: var(--brand); color: #fff; }
.mf-btn-ghost { border: 1px solid var(--brand); color: var(--brand-dark); }
.mf-stores3 { display: grid; gap: 8px; margin-top: 16px; }
.mf-store3 { display: block; background: var(--brand-soft); border-radius: 12px; padding: 10px 12px; }
.mf-store3 b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 2px; }
.mf-store3 span { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.6; }
.mf-store3 .mfs3-meta { color: var(--brand-dark); }
.m-footer .mf-legal { margin-top: 14px; }
.m-footer .mf-legal-row { color: rgba(255,255,255,.55); font-size: 10.5px; }
.m-footer .mf-legal-row a { color: rgba(255,255,255,.7); }

/* v6b：时间两行+电话独立行；页脚幽灵按钮文字修复 */
.m-subbar { flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 12px; }
.msb-hours { flex-direction: column; gap: 2px; align-items: flex-start; overflow: visible; }
.msb-tel { align-self: flex-start; margin-top: 1px; }
.m-footer .mf-btn-ghost { color: var(--brand-dark); }
.m-footer .mf-store3 b { color: var(--ink); }

/* ==========================================================================
   v7：深蓝信息条置顶 / 底部导航加大 / 页脚品牌行 / 关怀模式
   ========================================================================== */
/* 第一行：深蓝信息条，时间+电话同行 */
.m-topbar { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #06304a; color: rgba(255,255,255,.85); padding: 5px 12px; font-size: 10.5px; }
.mtb-hours { display: flex; gap: 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.mtb-hours span { overflow: hidden; text-overflow: ellipsis; }
.mtb-tel { flex: 0 0 auto; color: #fff; font-weight: 700; font-size: 12px; white-space: nowrap; }
.m-subbar { display: none; }
/* 第二行导航沿用 m-header 样式 */
.m-header { position: sticky; top: 0; z-index: 60; }
/* 页脚品牌行：logo+口号一行 */
.mf-top-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.mf-top-row .mf-logo { height: 26px; }
.mf-top-row .mf-slogan { margin: 0; font-size: 13px; color: var(--ink-2); letter-spacing: 1px; }
/* 底部导航加大 */
:root { --tab-h: 60px; }
.m-tabbar a { font-size: 12.5px; gap: 3px; }
.m-tabbar a .t-ico { font-size: 22px; }

/* ---- 关怀模式：放大字号/按钮/行距 ---- */
html.care body { font-size: 17.5px; line-height: 1.85; }
html.care .m-topbar { font-size: 12.5px; }
html.care .mtb-tel { font-size: 14.5px; }
html.care .m-header .mtn-scroll > a { font-size: 16px; padding: 8px 12px; }
html.care .mh-logo img { height: 28px; }
html.care .m-sec-head h2 { font-size: 20px; }
html.care .m-sec-head .more { font-size: 15px; }
html.care .m-hero h1 { font-size: 24px; }
html.care .m-hero p { font-size: 15.5px; }
html.care .mbtn { min-height: 52px; font-size: 17px; padding: 12px 22px; }
html.care .mbtn-sm { min-height: 46px; font-size: 15.5px; }
html.care .m-quick a { font-size: 15px; }
html.care .m-quick .qi { width: 50px; height: 50px; font-size: 23px; }
html.care .m-row .r-main b { font-size: 17px; }
html.care .m-row .r-main span { font-size: 14.5px; }
html.care .m-rows-sm .r-main b { font-size: 15.5px; -webkit-line-clamp: 2; }
html.care .m-rows-sm .r-main span { font-size: 13px; }
html.care .mac-body b { font-size: 17.5px; }
html.care .mac-body span { font-size: 14.5px; }
html.care .m-doc-card b { font-size: 17.5px; }
html.care .mdc-title { font-size: 14px; }
html.care .mdc-sp { font-size: 13.5px; }
html.care .m-article { font-size: 18px; line-height: 2; }
html.care .m-title { font-size: 23px; }
html.care .m-tabbar { height: calc(68px + env(safe-area-inset-bottom)); }
html.care .m-tabbar a { font-size: 14.5px; }
html.care .m-tabbar a .t-ico { font-size: 26px; }
html.care body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
html.care .md-nav a { font-size: 18px; padding: 15px 20px; }
html.care .msc-body b { font-size: 17.5px; }
html.care .msc-body span { font-size: 13.5px; }
html.care .mf-store3 b { font-size: 15.5px; }
html.care .mf-store3 span { font-size: 13.5px; }
html.care .m-pager-num a { min-width: 38px; height: 38px; font-size: 15.5px; }
/* 关怀开关按钮 */
.m-care-btn { display: flex; align-items: center; justify-content: space-between; width: 100%;
  margin-top: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--brand-soft); color: var(--ink); font-size: 14px; font-family: inherit; cursor: pointer; }
.m-care-btn b { color: var(--brand-dark); }
html.care .m-care-btn { font-size: 16px; }

/* v7b：分类图标固定第二行右侧 */
.m-header { gap: 4px; }
.m-header .mtn-more { flex: 0 0 auto; padding: 7px 6px; background: var(--brand-soft); border-radius: 9px; }

/* v8：环境页安全标准卡 */
.m-sec .sub-item { background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; }
.m-sec .sub-item b { display: block; font-size: 13.5px; color: var(--brand-dark); margin-bottom: 2px; }
.m-sec .sub-item span { font-size: 12px; color: var(--ink-3); line-height: 1.6; }

/* ==========================================================================
   v9：哀悼灰度 / 深色模式
   ========================================================================== */
html.mourning { filter: grayscale(1); }
html.dark {
  --brand: #4cc3ea; --brand-dark: #8fdcf7; --brand-deep: #0b3348;
  --brand-light: #123a4d; --brand-soft: #0f2e3d;
  --ink: #e8f1f6; --ink-2: #c3d4dd; --ink-3: #8fa6b2;
  --line: #24404e; --bg: #0d1a22;
  color-scheme: dark;
}
html.dark .m-header { background: rgba(13,26,34,.96); }
html.dark .m-card, html.dark .m-quick, html.dark .msc-card, html.dark .mgp-card,
html.dark .mf-card, html.dark .m-drawer, html.dark .m-pop-box, html.dark .m-kb-tab,
html.dark .m-pager-num a, html.dark .sub-item { background: #12242e; border-color: var(--line); color: var(--ink); }
html.dark .mf-store3 { background: var(--brand-soft); }
html.dark .mf-store3 b { color: var(--ink); }
html.dark .m-tabbar { background: rgba(13,26,34,.98); }
html.dark .m-act-card, html.dark .m-doc-card { background: #12242e; border-color: var(--line); }
html.dark .m-care-btn { background: var(--brand-soft); border-color: var(--line); color: var(--ink); }
html.dark .mbtn-outline { border-color: var(--line); color: var(--ink-2); background: #12242e; }
html.dark .m-topbar { background: #050f17; }
html.dark img { opacity: .92; }

/* v9b：哀悼灰度双保险 + 深色对比修正 */
html.mourning body { filter: grayscale(1); }
html.dark .mac-media, html.dark .cm-media, html.dark .mdc-avatar, html.dark .r-thumb,
html.dark .doctor-avatar, html.dark .ph-thumb, html.dark .msc-media { background: linear-gradient(140deg, #12303f, #0f2e3d); color: rgba(140,190,215,.5); }
html.dark .mbtn-primary { background: #e8f1f6; color: #0e6e92; }
html.dark .m-hero.has-img::before { background: linear-gradient(120deg, rgba(2,10,16,.9), rgba(2,10,16,.6)); }

/* ---------- 宣传视频 ---------- */
.m-video { overflow: hidden; }
.m-video video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.m-video .mv-cap { padding: 10px 12px; font-size: 13px; color: var(--ink-2); }

/* ---------- 视频封面点击播放 ---------- */
.vp { position: relative; cursor: pointer; background: #000; }
.vp .vp-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.vp .vp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(8, 73, 106, .78); color: #fff; display: grid; place-items: center; }
.vp .vp-play span { font-size: 18px; margin-left: 3px; }
.vp video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }

/* ---------- 深色模式补全 ---------- */
html.dark .m-header, html.dark .m-subbar, html.dark .m-topbar { background: #0d1a22; }
html.dark .m-card, html.dark .m-row, html.dark .msc-card, html.dark .mgp-card,
html.dark .mf-card, html.dark .m-page-hero, html.dark .m-cta, html.dark .m-note,
html.dark .m-kb-tab, html.dark .m-pager a, html.dark .m-tag, html.dark .sub-item,
html.dark .m-sw-item, html.dark .m-doc-card, html.dark .m-act-card { background: #12242e; border-color: #1d3440; color: #dce8ef; }
html.dark .m-hero { background: linear-gradient(135deg, #0a161d, #12303c); }
html.dark .m-tabbar { background: rgba(13,26,34,.98); border-color: #1d3440; }
html.dark .m-drawer { background: #0d1a22; }
html.dark .mtn-scroll > a.is-active { background: #12303c; color: #7cc7e8; }
html.dark .mfs3-meta, html.dark .mv-cap { color: #7c909c; }
html.dark .mf-store3 { background: #16303c; border-color: #1d4a5c; }
html.dark .mf-store3 b { color: #dce8ef; }
html.dark .vp .vp-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }

/* ---------- 播放器锁定卡片尺寸 + 关闭按钮 ---------- */
.vp { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.vp .vp-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vp .vp-close { position: absolute; top: 6px; right: 6px; z-index: 3; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(6,30,44,.72); color: #fff; font-size: 15px; line-height: 1; display: grid; place-items: center; }

/* ---------- AI 生成示意角标 ---------- */
.msc-media, .m-svc-hero { position: relative; }
.ai-note { position: absolute; right: 6px; bottom: 6px; z-index: 2; font-size: 9.5px; color: rgba(23,42,53,.6); background: rgba(255,255,255,.68); padding: 2px 7px; border-radius: 5px; pointer-events: none; }
html.dark .ai-note { color: rgba(220,232,239,.7); background: rgba(13,26,34,.6); }

/* ---------- 贝臣标准 · 深蓝金高级展示 ---------- */
.std-band { background: linear-gradient(160deg, #081c26, #12303c); padding: 22px 14px; color: #e8d9b8; }
.std-head { text-align: center; margin-bottom: 16px; }
.std-eyebrow { display: inline-block; font-size: 10px; letter-spacing: 3px; color: #c9a86a; border: 1px solid rgba(201,168,106,.45); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }
.std-head h2 { color: #f0e2c4; font-size: 18px; margin-bottom: 6px; }
.std-head p { color: rgba(232,217,184,.72); font-size: 12px; }
.std-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.std-item { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(201,168,106,.35); background: rgba(255,255,255,.03); border-radius: 10px; padding: 10px 12px; }
.std-item i { font-style: normal; font-family: Georgia, serif; font-size: 16px; color: #c9a86a; min-width: 24px; }
.std-item b { font-size: 12.5px; color: #f0e2c4; font-weight: 600; }
.std-nine { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 14px; }
.std-nine-t { color: #c9a86a; font-size: 12px; letter-spacing: 2px; width: 100%; text-align: center; }
.std-chip { border: 1px solid rgba(201,168,106,.5); color: #e8d9b8; font-size: 11px; padding: 4px 12px; border-radius: 999px; }

/* ---------- 页脚品牌区居中：口号居中于logo正下方 ---------- */
.mf-top-row { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mf-top-row .mf-logo { height: 30px; }
.mf-top-row .mf-slogan { margin: 0; font-size: 12.5px; text-align: center; }
.vp, .video-frame.vp { padding-top: 0 !important; }
.vp .vp-cover { top: 0; left: 0; right: 0; bottom: 0; }
.vp video { top: 0; left: 0; }
.vp .vp-cover, .vp video { margin: 0 !important; }

/* ---------- 六宫格分类图标（图片版） ---------- */
.m-quick .qi { padding: 0; background: none; }
.m-quick .qi img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #fbfeff; display: block; }
html.dark .m-quick .qi img { background: #f2f8fb; }
html.care .m-quick .qi img { width: 76px; height: 76px; }

/* ---------- 医生竖版照片（移动） ---------- */
.m-photo { width: 64px; height: 84px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: linear-gradient(135deg, #dceff8, #bfe3f4); align-self: center; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.m-photo .m-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 26px; color: #7c909c; }
.m-photo-lg { width: 96px; height: 128px; }
.m-photo-lg .m-ph { font-size: 36px; }
html.dark .m-photo { background: #12303f; }

/* ---------- 首页纯图轮播（移动·整图完整显示） ---------- */
.m-hero-img { position: relative; background: #08496a; }
.m-hi-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.m-hi-track::-webkit-scrollbar { display: none; }
.m-hi-item { flex: 0 0 100%; scroll-snap-align: start; line-height: 0; }
.m-hi-item img { width: 100%; height: auto; display: block; }
.m-hi-dots { display: flex; gap: 6px; justify-content: center; padding: 8px 0 2px; }
.m-hi-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(8,73,106,.25); transition: all .25s; }
.m-hi-dots button.is-active { width: 18px; border-radius: 4px; background: var(--brand); }

/* ================= v23-mobile 批量优化（仅移动端） ================= */
/* 顶栏：logo 与导航间距 + 关怀快捷钮 */
.m-header .mtn-scroll { margin-left: 16px; gap: 16px; }
.m-header .mtn-scroll > a { padding: 4px 2px; white-space: nowrap; }
.mtn-care { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 3px 10px; font-size: 12px; cursor: pointer; white-space: nowrap; }
.mtn-care .tc-ico { font-weight: 800; color: var(--brand-dark); font-size: 11.5px; }
.mtn-care b { color: var(--brand-dark); font-weight: 600; }
html.dark .mtn-care { background: #12242e; color: #dce8ef; border-color: #1d3440; }

/* 轮播通用 < > 箭头按钮 */
.m-swipe { position: relative; }
.m-arrow { position: absolute; top: 42%; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: 16px; line-height: 1; display: grid; place-items: center; cursor: pointer; z-index: 6; box-shadow: 0 4px 12px rgba(8,73,106,.16); padding: 0; }
.m-arrow.is-prev { left: 4px; }
.m-arrow.is-next { right: 4px; }
.m-arrow:active { transform: scale(.92); }
html.dark .m-arrow { background: rgba(18,36,46,.92); color: #7cc7e8; border-color: #1d3440; }
.m-hero-img { position: relative; }
.m-hero-img .m-arrow { top: 50%; }

/* 首页诊疗宫格：图标统一尺寸、与文字留距 */
.m-quick a { gap: 8px; }
.m-quick .qi { padding: 0; }
.m-quick .qi img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #f4fafc; display: block; }
.m-quick a > span:last-child { line-height: 1.3; text-align: center; }

/* 首页科普：缩略图加大 */
.m-rows-sm .r-thumb { width: 120px; height: 68px; border-radius: 10px; }
.m-rows-sm .r-thumb img { border-radius: 10px; }

/* 页脚：logo与口号居中、院区卡片整行 */
.mf-top-row { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center; gap: 6px; }
.mf-stores3 { grid-template-columns: 1fr; }
.mf-store3 { width: 100%; }

/* 诊疗项目列表页：封面高度与文字间距 */
.msc-card { padding: 14px 16px; align-items: center; }
.msc-media { height: 92px; border-radius: 12px; }
.msc-media img { object-fit: cover; }
.msc-body { padding: 0 10px; }
.msc-body b { font-size: 16px; display: block; margin-bottom: 4px; }
.msc-body span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 分类内页：左右留白 */
.m-svc-hero .msh-txt { padding: 16px 18px 18px; }
.m-card { padding: 16px 18px; }
.m-article .sub-grid, .m-article .flow-steps, .m-article .svc-faq { padding: 0 2px; }
.m-article h3 { margin-top: 18px; }

/* 活动页：卡片居中 */
.m-camp-swipe .m-swipe-track { padding: 0 4%; }
.m-camp-swipe .m-sw-item { width: 92%; }

/* 医生页横滑卡 */
.m-doc-swipe .m-sw-item.m-doc2 { flex: 0 0 62%; scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; align-items: center; text-align: center; color: inherit; gap: 4px; }
.m-photo-lg2 { width: 100%; height: 210px; border-radius: 12px; margin-bottom: 8px; }
.d2-name { font-size: 16px; color: var(--ink); }
.d2-title { font-size: 12px; color: var(--brand-dark); }
.d2-sp { font-size: 11.5px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d2-go { margin-top: 8px; font-size: 12px; color: var(--brand); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
html.dark .m-doc2 { background: #12242e; border-color: #1d3440; }
html.dark .d2-name { color: #dce8ef; }

/* 影像滑动卡 */
.m-vid-swipe .m-sw-item.m-vcard { flex: 0 0 78%; scroll-snap-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.m-vcard .m-video { margin: 0; }
.m-vcard .mv-cap { font-size: 12.5px; color: var(--ink-2); text-align: center; }
html.dark .m-vcard { background: #12242e; border-color: #1d3440; }

/* 环境相册：横向滑动大图 */
.m-gal { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; }
.m-gal::-webkit-scrollbar { display: none; }
.m-gal .g-item { flex: 0 0 66%; scroll-snap-align: center; }
.m-gal .g-img { height: 200px; border-radius: 12px; }
.m-gal .g-img img { width: 100%; height: 100%; object-fit: cover; }
.m-gal figcaption { font-size: 12px; }

/* 贝臣标准：16项改每行3个、九大准则加大 */
.m-std .std-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 8px; }
.m-std .std-item { flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px; }
.m-std .std-item b { font-size: 12px; }
.m-std .std-item i { font-size: 15px; }
.m-std .std-chip { font-size: 13px; padding: 6px 14px; }
.m-std .std-nine-t { font-size: 14px; margin-bottom: 2px; }

/* 视频封面底色防黑边（与 PC 同步） */
.video-frame, .vp, .m-video.vp, .m-video { background: #eef4f7; }

/* v23b：诊疗宫格图标固定容器稳定尺寸 */
.m-quick .qi { width: 58px; height: 58px; display: grid; place-items: center; }
.m-quick .qi img { width: 58px; height: 58px; max-width: 58px; border-radius: 15px; }

/* ================= v24 移动端二轮优化（仅移动端） ================= */

/* 1&9 顶栏：三项均分排布 + 激活态加大长方形底 */
.m-header .mtn-scroll { justify-content: space-evenly; gap: 6px; margin-left: 10px; }
.m-header .mtn-scroll > a { flex: 1 1 auto; text-align: center; display: flex; justify-content: center; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; }
.m-header .mtn-scroll > a.is-active { background: var(--brand); color: #fff; }
.m-header .mtn-care { flex: 0 0 auto; padding: 6px 12px; border-radius: 10px; }
html.dark .m-header .mtn-scroll > a.is-active { background: #1d4a5c; color: #7cc7e8; }

/* 2 首页科普：竖版大封面卡 */
.m-rows-sm .m-row-kb { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 2px; }
.m-rows-sm .m-row-kb:first-child { padding-top: 2px; }
.m-rows-sm .m-row-kb:last-child { padding-bottom: 2px; }
.m-rows-sm .m-row-kb .r-thumb { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 12px; }
.m-rows-sm .m-row-kb .r-main b { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-rows-sm .m-row-kb .r-main { width: 100%; }

/* 3 页脚口号视觉居中（抵消字距尾隙，视觉右移） */
.mf-top-row .mf-slogan { margin-right: -2px; padding-left: 2px; }

/* 4 分类卡：左侧图恢复加大、防吞 */
.msc-card { padding: 12px 14px; }
.msc-media { width: 116px; height: 88px; flex: 0 0 auto; border-radius: 12px; background: #eaf4f8; }
.msc-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.msc-body b { font-size: 15.5px; }

/* 5 活动滑动：一屏一张、起始即居中、封面零裁切 */
.m-camp-swipe .m-sw-item { flex: 0 0 86%; }
.m-camp-swipe .m-swipe-track { padding: 0 7%; scroll-snap-type: x mandatory; }
.m-camp-swipe .cm-media { height: auto; aspect-ratio: 16/9; background: linear-gradient(140deg, #e8f7fd, #d2ecf6); }
.m-camp-swipe .cm-media img { object-fit: contain !important; }
.m-camp-swipe .m-sw-dots { margin-top: 10px; }

/* 6 环境相册：一张展示+滑动（箭头/圆点由脚本注入） */
.m-gal-swipe .m-gal { display: flex; overflow: visible; gap: 0; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0; }
.m-gal-swipe .g-item { flex: 0 0 84%; margin: 0 8%; scroll-snap-align: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.m-gal-swipe .g-item { margin: 0; }
.m-gal-swipe .m-gal { gap: 12px; }
.m-gal-swipe .g-img { height: auto; aspect-ratio: 4/3; }
.m-gal-swipe figcaption { font-size: 12.5px; }
.m-gal-swipe + .m-sw-dots { margin: 10px 0 0; }

/* 6&7 影像：一屏一张封面 */
.m-vid-swipe .m-swipe-track { padding: 0 7%; scroll-snap-type: x mandatory; }
.m-vid-swipe .m-vcard { flex: 0 0 86%; margin: 0; }
.m-vcard .vp-cover { aspect-ratio: 16/9; object-fit: cover; }

/* 8 擅长标签：底色包裹文字 */
.m-tags-fit { display: flex; flex-wrap: wrap; gap: 7px; }
.m-tags-fit .m-tag { display: inline-flex; width: auto; max-width: 100%; padding: 5px 12px; font-size: 12.5px; }

/* 10 关怀模式 v2：全局字号显著加大 + 宫格修复 */
html.care .m-header .mtn-scroll > a { font-size: 17.5px; padding: 9px 14px; }
html.care .mtn-care { font-size: 15px; }
html.care .m-quick .qi { width: 68px; height: 68px; flex: 0 0 auto; }
html.care .m-quick .qi img { width: 68px; height: 68px; max-width: 68px; }
html.care .m-quick a { font-size: 17px; gap: 10px; }
html.care .m-quick a span:last-child { -webkit-line-clamp: 2; white-space: normal; }
html.care .msc-body b { font-size: 19px; }
html.care .msc-body span { font-size: 15px; }
html.care .msc-media { width: 130px; height: 100px; }
html.care .m-sec-head h2 { font-size: 22px; }
html.care .m-sec-head .more { font-size: 16px; }
html.care .m-page-hero h1 { font-size: 26px; }
html.care .m-page-hero p { font-size: 16.5px; }
html.care .m-article { font-size: 19.5px; line-height: 2.05; }
html.care .m-article h3 { font-size: 21px; }
html.care .m-article .sub-item b { font-size: 18.5px; }
html.care .m-article .sub-item span { font-size: 16px; }
html.care .m-note { font-size: 15.5px; }
html.care .m-row .r-main b { font-size: 18.5px; }
html.care .m-row .r-main span { font-size: 16px; white-space: normal; }
html.care .m-rows-sm .m-row-kb .r-main b { font-size: 18.5px; }
html.care .m-rows-sm .m-row-kb .r-main span { font-size: 15.5px; }
html.care .m-tag { font-size: 15px; padding: 6px 14px; }
html.care .m-act-card b, html.care .mac-body b { font-size: 19px; }
html.care .mac-body span { font-size: 16px; }
html.care .m-campaign h3 { font-size: 21px; }
html.care .m-campaign .sub { font-size: 16.5px; }
html.care .m-highs li { font-size: 17px; }
html.care .m-hero p, html.care .m-hero h1 { font-size: 18px; }
html.care .m-hero h1 { font-size: 27px; }
html.care .mgp-card b { font-size: 17.5px; }
html.care .mgp-btns a { font-size: 15.5px; }
html.care .m-kb-tab { font-size: 16px; padding: 8px 16px; }
html.care .m-doc2 .d2-name { font-size: 19px; }
html.care .m-doc2 .d2-title { font-size: 16px; }
html.care .m-doc2 .d2-sp { font-size: 15px; }
html.care .m-doc2 .d2-go { font-size: 15.5px; }
html.care .m-row .r-thumb { width: 150px; height: 84px; }
html.care .std-item b { font-size: 15px; }
html.care .std-item i { font-size: 17px; }
html.care .std-head h2 { font-size: 22px; }
html.care .std-head p { font-size: 16px; }
html.care .std-chip { font-size: 15.5px; padding: 7px 16px; }
html.care .mv-cap { font-size: 16px; }
html.care .m-store h3 { font-size: 20px; }
html.care .st-line { font-size: 16.5px; }
html.care .st-line .k { font-size: 15px; }
html.care .g-item figcaption { font-size: 15px; }
html.care .mf-store3 b { font-size: 17px; }
html.care .mf-store3 span { font-size: 15px; }
html.care .mf-slogan { font-size: 16px; }
html.care .mf-legal { font-size: 13.5px; }
html.care .m-tabbar a { font-size: 14px; }
html.care .m-drawer .md-nav a { font-size: 17.5px; }
html.care .m-photo-lg2 { height: 250px; }
html.care .m-gal-swipe .g-img { aspect-ratio: 4/3; }
html.care .md-foot .m-care-btn { font-size: 15.5px; }

/* v24b 页脚口号明显右移（视觉居中） */
.mf-top-row .mf-slogan { padding-left: 16px; letter-spacing: 1px; }
html.care .mf-top-row .mf-slogan { padding-left: 18px; }

/* v24c 收尾：顶栏三项铺满整行 + 擅长标签紧贴文字 */
.m-header .mtn-scroll { justify-content: space-between; gap: 8px; }
.m-header .mtn-scroll > a { flex: 1 1 0; min-width: 0; }
.m-tags-fit .m-tag { width: auto !important; max-width: none; align-self: flex-start; }
.m-tags-fit { display: flex; flex-wrap: wrap; gap: 7px; }

/* v24d：关怀按钮状态字仅开启时显示 */
html:not(.care) .mtn-care b { display: none; }
html:not(.care) .md-foot .m-care-btn b { display: none; }

/* v24e：相册首张两侧露出（左右各8%） */
.m-gal-swipe .m-gal { gap: 12px; }
.m-gal-swipe .m-swipe-track { padding: 0 8%; scroll-snap-type: x mandatory; }

/* ================= v25 移动端三轮优化 ================= */

/* 顶栏仅剩关怀按钮：右对齐 */
.m-header .mtn-care-only { justify-content: flex-end; }
.m-header .mtn-care-only .mtn-care { padding: 7px 16px; border-radius: 999px; }

/* 4 首页科普：左图右文（图适中+标题+缩略） */
.m-rows-sm .m-row-kb { flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px 2px; }
.m-rows-sm .m-row-kb .r-thumb { width: 132px; height: 90px; flex: 0 0 auto; border-radius: 10px; }
.m-rows-sm .m-row-kb .r-main { width: auto; flex: 1; }
.m-rows-sm .m-row-kb .r-main b { font-size: 15px; -webkit-line-clamp: 2; }
.m-rows-sm .m-row-kb .kb-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; margin-top: 3px; }
html.care .m-rows-sm .m-row-kb .r-thumb { width: 156px; height: 106px; }
html.care .m-rows-sm .m-row-kb .kb-sum { font-size: 15px; -webkit-line-clamp: 2; }

/* 5 科普内页缩略图加大 */
.m-news-row .r-thumb, .m-rows .m-row > .r-thumb { width: 150px; height: 96px; border-radius: 12px; }

/* 6 环境相册：修复无法滑动（v24误设overflow:visible） */
.m-gal-swipe .m-gal { overflow: hidden; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; display: flex; gap: 12px; padding: 0 8%; }
.m-gal-swipe .m-gal::-webkit-scrollbar { display: none; }
.m-gal-swipe .g-item { flex: 0 0 84%; }
.m-gal-swipe { touch-action: pan-x pan-y; }

/* 7 一屏只展示一张视频封面 */
.m-vid-swipe .m-swipe-track { padding: 0 4%; scroll-snap-type: x mandatory; }
.m-vid-swipe .m-vcard { flex: 0 0 92%; }

/* 8 分类卡左侧图加大 */
.msc-media { width: 150px; height: 110px; }
.msc-body b { font-size: 15.5px; }

/* 3 视频浮动层播放器 */
.vp-modal { position: fixed; inset: 0; z-index: 220; background: rgba(4, 16, 24, .94); display: flex; align-items: center; justify-content: center; padding: 20px 12px; }
.vp-modal[hidden] { display: none; }
.vp-modal-stage { width: 100%; max-width: 720px; border-radius: 12px; overflow: hidden; background: #000; }
.vp-modal-stage video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.vp-modal-close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; z-index: 2; }

/* ================= v26 缩略图等比不裁切 ================= */
/* 1 分类卡：容器改为与源图一致的方形，整图完整显示 */
.msc-card { padding: 12px; gap: 12px; }
.msc-media { width: 158px; height: 158px; aspect-ratio: 1/1; background: #f6fbfd; }
.msc-body b { font-size: 16px; }
html.care .msc-media { width: 176px; height: 176px; }

/* 2 首页科普：容器=封面源图16:9等比，整体加宽，零裁切 */
.m-rows-sm .m-row-kb .r-thumb { width: 152px; height: auto; aspect-ratio: 16 / 9; flex: 0 0 auto; }
.m-rows-sm .m-row-kb .r-thumb img { object-fit: contain; background: #f2f8fb; }
html.care .m-rows-sm .m-row-kb .r-thumb { width: 176px; }

/* 2 科普内页：同样16:9等比并加大 */
.m-rows .m-row > .r-thumb { width: 176px; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
.m-rows .m-row > .r-thumb img { object-fit: contain; background: #f2f8fb; }
html.care .m-rows .m-row > .r-thumb { width: 200px; }

/* v26b 分类卡：容器=源图16:9等比，加大且零裁切 */
.msc-media { width: 180px; height: auto; aspect-ratio: 16 / 9; }
.msc-media img { object-fit: cover; }
html.care .msc-media { width: 204px; height: auto; }

/* ================= 关怀模式 v3：全局再加大一档 + 防重叠核查 ================= */
html.care body { font-size: 19px; }
html.care .m-topbar { font-size: 13.5px; }
html.care .mtb-tel { font-size: 16px; }
html.care .mh-logo img { height: 30px; }
html.care .m-header .mtn-scroll > a { font-size: 19px; }
html.care .m-header .mtn-care { font-size: 17px; padding: 8px 16px; }
html.care .mtn-grid i { width: 5px; height: 5px; }
html.care .m-hero h1 { font-size: 29px; }
html.care .m-hero p { font-size: 19px; }
html.care .m-sec-head h2 { font-size: 23.5px; }
html.care .m-sec-head .more { font-size: 17.5px; }
html.care .m-page-hero h1 { font-size: 28px; }
html.care .m-page-hero p { font-size: 18px; }
html.care .mbtn { min-height: 54px; font-size: 18px; }
html.care .mbtn-sm { min-height: 48px; font-size: 16.5px; }

/* 宫格：图标72、文字19两行，间距12防重叠 */
html.care .m-quick .qi { width: 72px; height: 72px; }
html.care .m-quick .qi img { width: 72px; height: 72px; max-width: 72px; }
html.care .m-quick a { font-size: 19px; gap: 12px; }
html.care .m-quick a span:last-child { -webkit-line-clamp: 2; }

/* 首页科普 */
html.care .m-rows-sm .m-row-kb .r-thumb { width: 184px; }
html.care .m-rows-sm .m-row-kb .r-main b { font-size: 20px; }
html.care .m-rows-sm .m-row-kb .kb-sum { font-size: 16.5px; }
html.care .m-rows-sm .m-row-kb .r-main > span:last-child { font-size: 15.5px; }

/* 医生横滑卡 */
html.care .m-doc-swipe .m-sw-item.m-doc2 { padding: 16px; gap: 6px; }
html.care .m-photo-lg2 { width: 100%; height: 262px; }
html.care .m-doc2 .d2-name { font-size: 21px; }
html.care .m-doc2 .d2-title { font-size: 17.5px; }
html.care .m-doc2 .d2-sp { font-size: 16.5px; -webkit-line-clamp: 2; }
html.care .m-doc2 .d2-go { font-size: 16.5px; padding: 6px 14px; }

/* 医生详情（模板内联字号在关怀模式统一放大） */
html.care .m-photo-lg { width: 120px; height: 160px; }
html.care .m-card b[style*="font-size:17px"] { font-size: 21px !important; }
html.care .m-card div[style*="font-size:13px"] { font-size: 17px !important; }
html.care .m-card b[style*="font-size:14px"] { font-size: 18px !important; }
html.care .m-tags-fit .m-tag { font-size: 16.5px; padding: 6px 14px; }

/* 文章/列表 */
html.care .m-article { font-size: 21px; line-height: 2; }
html.care .m-article h3 { font-size: 22.5px; }
html.care .m-article .sub-item b { font-size: 20px; }
html.care .m-article .sub-item span { font-size: 17.5px; }
html.care .m-article .flow-step b { font-size: 18px; }
html.care .m-note { font-size: 17px; }
html.care .m-row .r-main b { font-size: 20px; }
html.care .m-row .r-main span { font-size: 17.5px; }
html.care .m-tag { font-size: 16px; }
html.care .m-kb-tab { font-size: 17.5px; padding: 9px 16px; }
html.care .m-kb-more { font-size: 16.5px; }

/* 分类卡：图204、正文放宽到3行防挤压 */
html.care .msc-media { width: 204px; }
html.care .msc-body b { font-size: 20.5px; }
html.care .msc-body span { font-size: 16.5px; -webkit-line-clamp: 3; }

/* 活动卡 */
html.care .mac-body b { font-size: 20.5px; }
html.care .mac-body span { font-size: 17.5px; }
html.care .m-campaign h3 { font-size: 22.5px; }
html.care .m-campaign .sub { font-size: 18px; }
html.care .m-highs li { font-size: 18px; }
html.care .m-badge { font-size: 15px; }

/* 团购/门店/环境/标准/页脚/底栏 */
html.care .mgp-card b { font-size: 19px; }
html.care .mgp-btns a { font-size: 16.5px; }
html.care .mgp-logo { font-size: 15px; }
html.care .m-store h3 { font-size: 22px; }
html.care .st-line { font-size: 18px; }
html.care .st-line .k { font-size: 16.5px; }
html.care .g-item figcaption { font-size: 16.5px; }
html.care .m-std .std-item b { font-size: 16.5px; }
html.care .m-std .std-item i { font-size: 18px; }
html.care .std-head h2 { font-size: 24px; }
html.care .std-head p { font-size: 17.5px; }
html.care .std-nine-t { font-size: 18px; }
html.care .std-chip { font-size: 17px; padding: 7px 16px; }
html.care .mv-cap { font-size: 17.5px; }
html.care .mf-top-row .mf-logo { height: 34px; }
html.care .mf-slogan { font-size: 18px; }
html.care .mf-store3 b { font-size: 18.5px; }
html.care .mf-store3 span { font-size: 16.5px; }
html.care .mf-legal { font-size: 14.5px; }
html.care .m-tabbar { height: calc(84px + env(safe-area-inset-bottom)); }
html.care .m-tabbar a { font-size: 15.5px; gap: 3px; }
html.care .m-tabbar a .t-ico { font-size: 21px; }
html.care body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
html.care .m-drawer .md-nav a { font-size: 19px; padding: 14px 18px; }
html.care .md-foot .m-care-btn { font-size: 17px; }
html.care .m-drawer .md-head { padding: 18px; }
html.care .m-pop-body h3 { font-size: 20px; }
html.care .m-pop-body p { font-size: 17px; }

/* ================= 关怀模式 v4：再加大一档 + 医生卡强化 + 防重叠核查 ================= */
html.care body { font-size: 20px; }
html.care .m-sec-head h2 { font-size: 25px; }
html.care .m-sec-head .more { font-size: 18.5px; }
html.care .m-page-hero h1 { font-size: 29px; }
html.care .m-page-hero p { font-size: 19px; }
html.care .m-hero h1 { font-size: 31px; }
html.care .m-hero p { font-size: 20px; }
html.care .mbtn { min-height: 56px; font-size: 19px; }
html.care .mbtn-sm { min-height: 50px; font-size: 17.5px; }
html.care .m-header .mtn-scroll > a { font-size: 20px; }
html.care .m-header .mtn-care { font-size: 18px; }

/* 医生卡：名字与简介显著加大，容器随内容增高不重叠 */
html.care .m-doc-swipe .m-sw-item.m-doc2 { padding: 18px; gap: 8px; align-items: stretch; }
html.care .m-photo-lg2 { width: 100%; height: 288px; margin-bottom: 10px; }
html.care .m-doc2 .d2-name { font-size: 23px; line-height: 1.3; }
html.care .m-doc2 .d2-title { font-size: 19px; line-height: 1.4; }
html.care .m-doc2 .d2-sp { font-size: 18px; line-height: 1.55; -webkit-line-clamp: 3; }
html.care .m-doc2 .d2-go { font-size: 17.5px; padding: 7px 16px; margin-top: 10px; }

/* 宫格：图标76+文字20，两行留足间隙 */
html.care .m-quick { padding: 16px 6px; }
html.care .m-quick .qi { width: 76px; height: 76px; }
html.care .m-quick .qi img { width: 76px; height: 76px; max-width: 76px; }
html.care .m-quick a { font-size: 20px; gap: 13px; padding: 8px 0; }
html.care .m-quick a span:last-child { line-height: 1.35; -webkit-line-clamp: 2; }

/* 科普行：图196、标题21、缩略17，行内不挤压 */
html.care .m-rows-sm .m-row-kb { gap: 13px; padding: 14px 2px; }
html.care .m-rows-sm .m-row-kb .r-thumb { width: 196px; }
html.care .m-rows-sm .m-row-kb .r-main b { font-size: 21px; line-height: 1.4; }
html.care .m-rows-sm .m-row-kb .kb-sum { font-size: 17px; line-height: 1.6; }
html.care .m-rows-sm .m-row-kb .r-main > span:last-child { font-size: 16px; }

/* 内页科普列表 */
html.care .m-rows .m-row > .r-thumb { width: 208px; }
html.care .m-row { padding: 15px 4px; gap: 13px; }
html.care .m-row .r-main b { font-size: 21px; line-height: 1.4; }
html.care .m-row .r-main span { font-size: 18px; line-height: 1.55; }

/* 分类卡：图212 + 正文留3行 */
html.care .msc-card { padding: 14px; gap: 13px; }
html.care .msc-media { width: 212px; }
html.care .msc-body b { font-size: 22px; }
html.care .msc-body span { font-size: 17.5px; -webkit-line-clamp: 3; line-height: 1.6; }

/* 文章正文 */
html.care .m-article { font-size: 22px; line-height: 2.1; }
html.care .m-article h3 { font-size: 23.5px; }
html.care .m-article .sub-item b { font-size: 21px; }
html.care .m-article .sub-item span { font-size: 18px; line-height: 1.6; }
html.care .m-article .flow-step b { font-size: 19px; }
html.care .m-note { font-size: 18px; line-height: 1.7; }
html.care .m-tag { font-size: 17px; padding: 6px 14px; }
html.care .m-tags-fit .m-tag { font-size: 17.5px; }

/* 医生详情 */
html.care .m-photo-lg { width: 130px; height: 172px; }
html.care .m-card b[style*="font-size:17px"] { font-size: 23px !important; }
html.care .m-card div[style*="font-size:13px"] { font-size: 18.5px !important; line-height: 1.5; }
html.care .m-card b[style*="font-size:14px"] { font-size: 19.5px !important; }

/* 活动/团购/门店/标准/页脚 */
html.care .mac-body b { font-size: 22px; line-height: 1.4; }
html.care .mac-body span { font-size: 18.5px; line-height: 1.55; }
html.care .m-campaign h3 { font-size: 24px; }
html.care .m-campaign .sub { font-size: 19.5px; }
html.care .m-highs li { font-size: 19px; line-height: 1.6; }
html.care .m-badge { font-size: 16px; }
html.care .mgp-card b { font-size: 20.5px; }
html.care .mgp-btns a { font-size: 17.5px; padding: 9px 10px; }
html.care .m-store h3 { font-size: 23.5px; }
html.care .st-line { font-size: 19px; line-height: 1.6; }
html.care .st-line .k { font-size: 17.5px; }
html.care .g-item figcaption { font-size: 17.5px; line-height: 1.5; }
html.care .m-std .std-item b { font-size: 17.5px; }
html.care .m-std .std-item i { font-size: 18.5px; }
html.care .std-head h2 { font-size: 25px; }
html.care .std-head p { font-size: 18.5px; line-height: 1.7; }
html.care .std-nine-t { font-size: 19px; }
html.care .std-chip { font-size: 18px; padding: 8px 16px; }
html.care .mv-cap { font-size: 18.5px; line-height: 1.5; }
html.care .m-kb-tab { font-size: 18.5px; padding: 9px 16px; }
html.care .m-kb-more { font-size: 18px; }
html.care .mf-top-row .mf-logo { height: 36px; }
html.care .mf-slogan { font-size: 19px; }
html.care .mf-store3 b { font-size: 20px; }
html.care .mf-store3 span { font-size: 17.5px; line-height: 1.55; }
html.care .mf-legal { font-size: 15px; line-height: 1.7; }
html.care .m-tabbar { height: calc(88px + env(safe-area-inset-bottom)); }
html.care .m-tabbar a { font-size: 16.5px; }
html.care .m-tabbar a .t-ico { font-size: 22px; }
html.care body { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
html.care .m-drawer .md-nav a { font-size: 20px; padding: 15px 18px; }
html.care .md-foot .m-care-btn { font-size: 18px; }
html.care .m-pop-body h3 { font-size: 21px; }
html.care .m-pop-body p { font-size: 18px; }


/* ================= v28 ================= */
/* 1) 顶栏就诊时间：允许折行，关怀模式不再被遮挡 */
.m-topbar { flex-wrap: wrap; }
.mtb-hours { flex-wrap: wrap; white-space: normal; gap: 4px 10px; }
.mtb-hours span { white-space: nowrap; }
html.care .m-topbar { font-size: 12.5px; }
html.care .mtb-tel { flex: 0 0 auto; margin-left: auto; }

/* 2) 联系页地址：图标与长地址分列，地址整行折行 */
.st-addr { align-items: flex-start; }
.st-addr .addr-text { flex: 1; min-width: 0; white-space: normal; word-break: break-all; line-height: 1.55; }
html.care .st-addr .addr-text { font-size: 18px; }

/* 3) 科普内页行：方形图（4:3），不再细长条 */
.m-rows .m-row.m-news-row { padding: 14px 2px; }
.m-rows .m-row.m-news-row > .r-thumb { width: 138px; height: 104px; aspect-ratio: 4 / 3; flex: 0 0 auto; border-radius: 12px; }
.m-rows .m-row.m-news-row > .r-thumb img { object-fit: cover; }
html.care .m-rows .m-row.m-news-row > .r-thumb { width: 168px; height: 126px; }

/* 4) 环境相册滑动：统一横屏固定高度，竖图自动居中裁切，观感一致 */
.m-gal-swipe .g-item { flex: 0 0 84%; margin: 0; }
.m-gal-swipe .m-gal { gap: 12px; }
.m-gal-swipe .g-img, .m-gal-swipe .g-item .g-img { height: 218px !important; aspect-ratio: auto !important; border-radius: 12px; }
.m-gal-swipe .g-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html.care .m-gal-swipe .g-img, html.care .m-gal-swipe .g-item .g-img { height: 252px !important; }

/* v28b 环境相册：统一 16:9 横屏框（竖图 cover 居中裁切，观感一致） */
.m-gal-swipe .g-img, .m-gal-swipe .g-item .g-img { height: auto !important; aspect-ratio: 16 / 9 !important; }
html.care .m-gal-swipe .g-img, html.care .m-gal-swipe .g-item .g-img { height: auto !important; aspect-ratio: 16 / 9 !important; }


/* ================= v29 ================= */
/* 1) 科普内页缩略图：换回上一版尺寸（176 宽 16:9，关怀 208） */
.m-rows .m-row.m-news-row > .r-thumb { width: 176px; height: auto; aspect-ratio: 16 / 9; flex: 0 0 auto; border-radius: 12px; }
.m-rows .m-row.m-news-row > .r-thumb img { object-fit: cover; }
html.care .m-rows .m-row.m-news-row > .r-thumb { width: 208px; }

/* 2) 相册：保持固定 16:9 横屏；竖构图楼栋全貌图取上部含招牌的横带，呈现标准横向外观 */
.m-gal-swipe .g-img img { object-position: center 38%; }
.m-gal-swipe .g-img img[src*="76a100e38fbc38ce"] { object-position: center 18%; }

/* 3) 环境与服务：分组标题前加品牌竖线（与关于我们小标题同款） */
.m-env .m-sec-head h2 { padding-left: 10px; border-left: 3px solid var(--brand); line-height: 1.25; }
html.care .m-env .m-sec-head h2 { padding-left: 12px; border-left-width: 4px; }

/* v29b 相册统一横屏：固定像素高+cover（aspect-ratio在内容撑高场景不可靠） */
.m-gal-swipe .g-img, .m-gal-swipe .g-item .g-img { height: 152px !important; aspect-ratio: auto !important; overflow: hidden; }
.m-gal-swipe .g-img img { height: 152px !important; width: 100% !important; object-fit: cover !important; }
html.care .m-gal-swipe .g-img, html.care .m-gal-swipe .g-item .g-img, html.care .m-gal-swipe .g-img img { height: 188px !important; }


/* ================= v30 移动端 ================= */
/* 顶部胶囊快捷菜单（参考稿：白底圆胶囊横滑） */
.m-cat-pills { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.m-cat-pills::-webkit-scrollbar { display: none; }
.m-pill { flex: 0 0 auto; background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 7px 16px; font-size: 13.5px; white-space: nowrap; box-shadow: 0 2px 8px rgba(8,73,106,.06); }
.m-pill:active { background: var(--brand-light); color: var(--brand-dark); }
.m-pill-all { color: var(--brand-dark); font-weight: 600; }

/* banner 参考稿展示方式：左右留边 + 大圆角卡片 */
.m-hero-img { margin: 6px 14px 0; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(8,73,106,.12); }
.m-hero-img .m-hi-dots { padding: 0 0 10px; background: transparent; }

/* 科普内页分类条：隐藏滚动条（“下划线”问题） */
.m-cat-scroll { scrollbar-width: thin; scrollbar-color: rgba(22,135,176,.45) transparent; }
.m-cat-scroll::-webkit-scrollbar { height: 4px; display: block; -webkit-appearance: none; }
.m-cat-scroll::-webkit-scrollbar-track { background: transparent; }
.m-cat-scroll::-webkit-scrollbar-thumb { background: rgba(22,135,176,.45); border-radius: 2px; }


/* v31 banner 上方团购店铺胶囊 */
.m-pill-label { flex: 0 0 auto; align-self: center; color: var(--ink-3); font-size: 12px; letter-spacing: 1px; padding-left: 2px; }
.m-pill-gp { background: linear-gradient(135deg, #fff7e9, #fff); border-color: #f0dfc0; color: #8a5f00; font-weight: 600; }
.m-pill-gp:active { background: #fff3dd; }
/* 团购 section 锚点偏移（避开 tabbar） */
#groupbuy { scroll-margin-top: 10px; }


/* ================= 团购内页（移动） ================= */
.gb-steps-m { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px; margin-bottom: 14px; }
.gb-step-m { display: flex; align-items: center; gap: 7px; flex: 1; justify-content: center; min-width: 0; }
.gb-step-m i { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.gb-step-m b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.gb-step-arrow { color: #c3d0d8; font-weight: 700; flex: 0 0 auto; }
.m-gb-platform { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.m-gb-ph { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.m-gb-ph b { font-size: 15.5px; }
.m-gb-ph .m-gb-sub { margin-left: auto; font-size: 11.5px; color: var(--ink-3); }
.m-gb-flag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; flex: 0 0 auto; }
.m-gb-flag-mt { background: #ffc300; color: #6b4e00; }
.m-gb-flag-dp { background: #ff6633; color: #fff; }
.m-gb-flag-dy { background: #161823; color: #fff; }
.m-gb-list { display: grid; gap: 8px; }
.m-gb-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; color: inherit; background: #fbfdfe; }
.m-gb-l { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.m-gb-store { font-size: 14.5px; }
.m-gb-meta { font-size: 11.5px; color: var(--ink-3); }
.m-gb-btn { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.m-gb-btn-mt { background: #fff6dd; color: #8a5f00; }
.m-gb-btn-dp { background: #ffefe8; color: #c14a22; }
.m-gb-btn-dy { background: #eceef2; color: #161823; }
html.care .gb-step-m b { font-size: 16px; }
html.care .m-gb-store { font-size: 18px; }
html.care .m-gb-meta { font-size: 14px; }
html.care .m-gb-btn { font-size: 15px; padding: 9px 14px; }
html.care .m-gb-ph b { font-size: 18.5px; }
html.care .m-gb-ph .m-gb-sub { font-size: 13.5px; }
