/* 猫咪聊 协议静态页公共样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: #f4f5f7;
  color: #2c2c2c;
  font-size: 15px;
  line-height: 1.85;
  word-break: break-word;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 26px 18px 56px;
  min-height: 100vh;
}

h1 {
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  color: #161616;
  margin-bottom: 24px;
  line-height: 1.45;
}

h2 {
  font-size: 17px;
  font-weight: 700;
  color: #161616;
  margin-top: 24px;
  margin-bottom: 10px;
  padding-left: 9px;
  border-left: 3px solid #4a7cff;
  line-height: 1.5;
}

h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #161616;
  margin-top: 16px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
  color: #3a3a3a;
}

.intro {
  color: #555555;
  margin-bottom: 14px;
}

.doc-date {
  text-align: center;
  font-size: 13px;
  color: #8a8a8a;
  line-height: 1.8;
  margin-bottom: 20px;
}

.doc-date p {
  margin-bottom: 0;
}

.point {
  color: #3a3a3a;
}

.sub-point {
  padding-left: 1.6em;
  color: #444;
}

strong {
  color: #1a1a1a;
  font-weight: 700;
}

a {
  color: #4a7cff;
  text-decoration: none;
  word-break: break-all;
}

a:active {
  opacity: 0.7;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0 18px;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  border: 1px solid #e4e6ea;
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
  color: #3a3a3a;
  white-space: normal;
  word-break: break-word;
}

th {
  background: #f5f7fa;
  color: #161616;
  font-weight: 700;
}

hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 20px 0;
}

/* ========== 协议强调样式（手动套用）==========
 * 用 <span class="类名"> 包裹要强调的文字，类名可任意组合：
 *   <span class="t-bold">加粗</span>
 *   <span class="t-red">标红</span>
 *   <span class="t-underline">下划线</span>
 *   <span class="t-red t-bold">标红 + 加粗</span>
 *   <span class="t-red t-bold t-underline">标红 + 加粗 + 下划线</span>
 * 一键三连（红 + 粗 + 下划线）：
 *   <span class="t-stress">重点内容</span>
 * 也可直接加到现有标签上，如 <strong class="t-red">、<p class="t-red t-bold">
 */
.t-bold {
  font-weight: 700;
}

.t-red {
  color: #e4393c;
}

.t-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.t-stress {
  font-weight: 700;
  color: #e4393c;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

@media (min-width: 600px) {
  body {
    font-size: 16px;
  }
  .doc {
    padding: 40px 34px 72px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 18px;
  }
}
