/* v8.01 适老化「大字模式」
 * ------------------------------------------------------------
 * 由 js/elder-mode.js 在 <html> 上加 .elder 类开启，用户选择记在 localStorage。
 * 依据《移动互联网应用（APP）适老化通用设计规范》：
 *   正文 ≥ 16px、行距 ≥ 1.5、可点击区域 ≥ 48×48、文字对比度 ≥ 4.5:1。
 * 原页面字号多为 11.5~13px 的浅灰小字（#a9a49a），老人看不清，这里统一放大并加深。
 */

/* 基础正文：加大字号与行距 */
html.elder body {
  font-size: 18px !important;
  line-height: 1.9 !important;
}
html.elder p,
html.elder li {
  font-size: 17px !important;
  line-height: 1.9 !important;
}

/* 说明 / 辅助文字：放大 + 加深（提高对比度，不再用浅灰） */
html.elder .cp-muted,
html.elder .cp-sub,
html.elder .cp-note,
html.elder .cm-sec-sub,
html.elder .si-item span,
html.elder .si-note,
html.elder .si-steps,
html.elder .cp-entry .e-tx span,
html.elder .it-m,
html.elder .it-c,
html.elder .m-sub {
  font-size: 16px !important;
  color: #4b5563 !important;
  line-height: 1.9 !important;
}

/* 标题与正文重点 */
html.elder .cp-card-title,
html.elder .cm-sec-title,
html.elder .si-sec-t {
  font-size: 19px !important;
}
html.elder .cp-entry .e-tx b,
html.elder .si-item b,
html.elder .cp-item .it-t {
  font-size: 18px !important;
}

/* 按钮与可点区域：最小 48px，字大，方便手指点 */
html.elder .cp-btn,
html.elder button,
html.elder .g-item,
html.elder .cm-city-chip,
html.elder .cp-tag,
html.elder .r-btn {
  min-height: 48px !important;
  font-size: 17px !important;
}
html.elder .g-item { min-width: 76px !important; }
html.elder .cm-city-chip { padding: 10px 16px !important; }

/* 关闭「✕」这类小图标按钮不参与放大，避免撑破弹窗标题栏 */
html.elder .jx,
html.elder #jmCloseX {
  min-height: 0 !important;
}

/* 列表项：加大留白 */
html.elder .cp-entry { padding: 14px 12px !important; min-height: 76px !important; }
html.elder .cp-item { padding: 14px 12px !important; }

/* 输入框：≥17px，避免 iOS 聚焦时页面自动缩放 */
html.elder input,
html.elder select,
html.elder textarea {
  font-size: 17px !important;
  min-height: 48px !important;
}

/* 顶部导航标题 */
html.elder .cm-title { font-size: 20px !important; }
