/* ============================================================
 * 内容页（教程 / 规则 / FAQ / 防骗 / 权益 / 天数长尾）
 * 版式：粉底 + 红色返回胶囊 + 面包屑 + 白卡 + 标题红线
 *       正文分节（左侧红竖线）+ 相关阅读 + 底部大按钮
 * 依赖 style.css 的变量
 * ============================================================ */

body {
  background-color: #ffedf1;
  background-image: linear-gradient(180deg, #ffe7ed 0%, #fff3f6 38%, #ffedf1 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.stage-narrow {
  max-width: 760px;
  padding-top: 26px;
  padding-bottom: 40px;
}

/* ---------- 顶部：返回按钮 + 面包屑 ---------- */

.pghead {
  margin-bottom: 16px;
  padding: 0 2px;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4257 0%, #f5283f 100%);
  box-shadow: 0 8px 18px rgba(240, 40, 70, 0.28);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-home:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(240, 40, 70, 0.34);
}

.btn-home:active { transform: translateY(0); }

.btn-home .arw {
  font-size: 15px;
  line-height: 1;
  margin-top: -1px;
}

.crumb {
  margin-top: 14px;
  font-size: 12.5px;
  color: #a99aa1;
  letter-spacing: 0.01em;
}

.crumb a {
  color: #a99aa1;
  text-decoration: none;
}

.crumb a:hover { color: var(--red); }

.crumb i {
  font-style: normal;
  margin: 0 6px;
  color: #cbbcc2;
}

/* ---------- 白卡 ---------- */

.doc {
  background: #fff;
  border-radius: 20px;
  padding: 34px 40px 38px;
  box-shadow: 0 14px 40px rgba(206, 60, 96, 0.1);
}

.doc h1 {
  font-size: 27px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #1d1c22;
  font-weight: 700;
}

/* 标题下方那条短红线 */
.doc h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--red);
}

.doc .lead {
  margin-top: 18px;
  font-size: 14px;
  line-height: 2.05;
  color: #6c636e;
}

.doc h2 {
  position: relative;
  margin: 34px 0 0;
  padding-left: 11px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #24232a;
}

.doc h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--red);
}

.doc h3 {
  margin: 20px 0 0;
  font-size: 14px;
  color: #24232a;
}

.doc p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2.05;
  color: #413b46;
}

/* ---------- 列表 ---------- */

.doc ul,
.doc ol {
  margin: 12px 0 0;
  padding-left: 19px;
  font-size: 14px;
  line-height: 2.05;
  color: #413b46;
}

.doc li { margin-top: 4px; }
.doc li::marker { color: #b9aab0; }
.doc ol li::marker { font-variant-numeric: tabular-nums; }

.doc ul li::marker { color: #ffa7b6; }

.doc b { color: #1d1c22; font-weight: 700; }
.doc a { color: var(--red); text-decoration: none; }
.doc a:hover { text-decoration: underline; }

/* 编号条目：序号灰色、标题加粗、后面直接接说明 */
.doc .items { padding-left: 20px; }
.doc .items > li { margin-top: 8px; }
.doc .items > li > b { letter-spacing: 0.01em; }

/* ---------- 表格 ---------- */

.doc table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.doc th,
.doc td {
  padding: 11px 14px;
  border-bottom: 1px solid #f6eef0;
  text-align: left;
  color: #413b46;
}

.doc th {
  background: #fff6f8;
  color: #8c7b82;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.doc th:first-child { border-radius: 8px 0 0 8px; }
.doc th:last-child { border-radius: 0 8px 8px 0; }

.doc th:last-child,
.doc td:last-child { text-align: right; }

.doc tbody tr:last-child td { border-bottom: 0; }

/* ---------- 提示块 ---------- */

.doc .tip {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fffbf2;
  border: 1px solid #ffe9bd;
  font-size: 13px;
  line-height: 1.95;
  color: #866326;
}

.doc .tip b { color: #bd6f14; }

/* ---------- FAQ ---------- */

.doc .qa {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f8f0f2;
}

.doc .qa:first-of-type {
  margin-top: 26px;
  padding-top: 0;
  border-top: 0;
}

.doc .qa h3 {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #24232a;
}

.doc .qa h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 12px;
  margin-right: 9px;
  border-radius: 2px;
  background: var(--red);
  vertical-align: -1px;
}

.doc .qa p { margin-top: 9px; padding-left: 12px; }

/* ---------- 相关阅读 ---------- */

.rel {
  margin: 26px 4px 0;
}

.rel h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.01em;
}

.rel p {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 2.1;
  color: #a99aa1;
}

.rel a {
  color: #8c7b82;
  text-decoration: none;
}

.rel a:hover { color: var(--red); }

.rel a:not(:last-child)::after {
  content: "\00b7";
  margin: 0 7px;
  color: #d3c4ca;
}

.rel i { display: none; }

/* ---------- 底部大按钮 ---------- */

.big-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4257 0%, #f5283f 100%);
  box-shadow: 0 12px 26px rgba(240, 40, 70, 0.26);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.big-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(240, 40, 70, 0.32);
}

.big-cta:active { transform: translateY(0); }

/* ---------- 内容页页脚 ---------- */

.footer {
  margin-top: 22px;
  text-align: center;
}

.footer .dim {
  font-size: 11.5px;
  line-height: 1.9;
  color: #bfb0b6;
}

/* ---------- 窄屏 ---------- */

@media (max-width: 560px) {
  .stage-narrow { padding-top: 18px; }

  .doc {
    padding: 24px 19px 28px;
    border-radius: 16px;
  }

  .doc h1 { font-size: 20.5px; line-height: 1.5; }
  .doc h1::after { width: 38px; margin-top: 13px; }
  .doc .lead { margin-top: 15px; font-size: 13.5px; line-height: 1.98; }
  .doc h2 { margin-top: 26px; font-size: 15.5px; padding-left: 9px; }
  .doc h2::before { width: 3px; }
  .doc p, .doc ul, .doc ol { font-size: 13.5px; line-height: 1.98; }
  .doc li { margin-top: 3px; }
  .doc .items > li { margin-top: 7px; }
  .doc .tip { font-size: 12.5px; }
  .doc .qa h3 { font-size: 14px; }
  .doc .qa p { padding-left: 0; }
  .doc th, .doc td { padding: 9px 10px; font-size: 12.5px; }

  .btn-home { height: 35px; padding: 0 17px 0 14px; font-size: 13px; }
  .crumb { margin-top: 12px; font-size: 12px; }

  .rel { margin: 20px 2px 0; }
  .rel p { font-size: 12px; line-height: 1.95; }
  .rel i { margin: 0 5px; }

  .big-cta { height: 50px; margin-top: 18px; font-size: 14.5px; }
}
