/* 协议正文排版:适配 WebView,字号/行距/安全区 */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  /* 借鉴系统字体栈,中文优先 */
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', '宋体', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  /* 安全区(刘海屏/底部 home 条) */
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  padding-top: calc(16px + env(safe-area-inset-top));
}

.protocol-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 12px;
}

.protocol-update-time {
  color: #999;
  font-size: 13px;
  text-align: center;
  margin-bottom: 16px;
}

/* 协议正文容器(富文本 HTML 直接注入) */
.protocol-content {
  word-break: break-all;
}

.protocol-content :where(p) {
  margin: 0 0 10px;
}

.protocol-content :where(strong) {
  font-weight: 600;
}

/* 兜底:外部富文本未带字号时统一可读 */
.protocol-content :where(span) {
  font-size: 15px;
}

/* 底部版本标志(淡灰小字,用于排查线上是否发布最新代码) */
.protocol-version {
  color: #bbb;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  margin-top: 24px;
}
