:root {
  --brand: #c01818;
  --brand-deep: #972b2b;
  --brand-light: #fdecec;
  --ink: #2b2b2b;
  --muted: #666;
  --line: #eee;
  --bg: #eef1f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.red-bolder {
  color: var(--brand);
  font-weight: 800;
}

.zaax-wxh {
  color: #ff2b2b;
  font-weight: 700;
}

/* 手机容器 */
.page {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* 顶部标题 */
.article-header {
  background: linear-gradient(135deg, #c01818, #e23b3b);
  padding: 22px 18px;
}
.article-header h1 {
  color: #fff;
  font-size: 23px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.article-header h1 .red-bolder {
  color: #ffe14d;
}

/* 日期栏 */
.meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.meta-left {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #3a7bd5;
  font-weight: 600;
}
.meta-dot {
  width: 4px;
  height: 14px;
  background: #3a7bd5;
  border-radius: 2px;
  margin-right: 8px;
}
.follow-btn {
  border: none;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(192, 24, 24, 0.3);
}

/* 内容区 */
.content {
  padding: 6px 14px 24px;
}

/* 正文段落 */
.text-a p {
  text-indent: 2em;
  line-height: 2;
  font-size: 18.5px;
  color: #3a3a3a;
  margin: 14px 0;
  letter-spacing: 0.5px;
}
.caption {
  text-align: center;
  color: #4b7bab;
  font-size: 14px;
  font-weight: 600;
  margin: -4px 0 10px;
}

/* 图片 */
.content-img {
  display: block;
  width: 100%;
  border-radius: 10px;
  margin: 14px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* 章节标题徽章 */
.section-title {
  margin: 24px 0 14px;
  background: linear-gradient(135deg, var(--brand-deep), #c01818);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(192, 24, 24, 0.25);
}
.section-title .st-main {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}
.section-title .st-sub {
  font-size: 17px;
  font-weight: 700;
  color: #ffe14d;
  margin-top: 4px;
}

/* 文档红色分隔标题 */
.red-head {
  margin: 22px 0 14px;
  background: #b50e0e;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 16px rgba(181, 14, 14, 0.25);
}
/* 署名落款 */
.signature {
  text-align: right;
  color: #3a3a3a;
  font-size: 17px;
  line-height: 1.9;
  margin: 8px 0 4px;
}
.signature .lead {
  text-align: left;
  font-weight: 700;
}
.notice-bar {
  margin: 18px 0 6px;
  background: linear-gradient(135deg, #fff4e6, #ffe7c2);
  border: 1px solid #ffcf8f;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  color: #b5530a;
  font-size: 16px;
  font-weight: 700;
}

/* 三步方案卡片 */
.steps {
  margin: 8px 0;
}
.step-card {
  background: #fff;
  border: 1px solid #f0d9d9;
  border-left: 5px solid var(--brand-deep);
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.step-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-deep), #c01818);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(192, 24, 24, 0.3);
  margin-bottom: 10px;
}
.step-body {
  background: var(--brand-light);
  border-left: 3px solid var(--brand-deep);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 4px;
}
.step-body p {
  font-size: 18px;
  line-height: 1.95;
  color: #444;
  margin: 6px 0;
}

/* 案例卡片 */
.case-card {
  border: 2px solid #e23b3b;
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
  box-shadow: 0 6px 16px rgba(226, 59, 59, 0.12);
  background: #fff;
}
.case-title {
  text-align: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 20px;
  padding-bottom: 10px;
  margin: 0 0 8px;
  border-bottom: 1px dashed #e23b3b;
}
.case-text {
  text-indent: 2em;
  line-height: 1.95;
  color: #3a3a3a;
  margin: 8px 0;
  font-size: 18px;
}
.case-imgs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.case-imgs img {
  width: 50%;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

/* 医生简介 */
.doctor-section {
  margin: 6px 0;
}
.doctor-section .text-a p {
  font-size: 18px;
}

/* 分隔条 */
.gray-separator {
  height: 12px;
  background: #f0f0f0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin: 18px 0;
}

/* 评论区 */
.comments {
  background: #fff;
}
.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink);
}
.write-comment {
  color: #3a7bd5;
  cursor: pointer;
  font-size: 15px;
}
.comment {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.comment:hover {
  background: #fafafa;
}
.comment-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}
.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  overflow: hidden;
  flex-shrink: 0;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.comment-info {
  flex: 1;
}
.user-name {
  font-size: 16px;
  font-weight: 700;
  color: #4173af;
  margin: 6px 0 0 8px;
}
.comment-content {
  font-size: 18px;
  line-height: 1.85;
  color: #333;
  word-wrap: break-word;
}
.comment-content p {
  margin-bottom: 8px;
}
.comment-actions {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.action-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.reply-section {
  background: #f8f9fa;
  border-left: 3px solid #4173af;
  padding: 8px 10px;
  margin-top: 6px;
  border-radius: 0 6px 6px 0;
}
.reply-header {
  margin-bottom: 6px;
}
.reply-name {
  font-size: 15px;
  font-weight: 600;
  color: #4173af;
}
.reply-content {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}
.reply-content p {
  margin: 0;
}
.reply-content .content-img {
  margin: 8px 0;
}
.more-comments {
  text-align: center;
  padding: 16px;
  background: #fafafa;
  color: #666;
  font-size: 16px;
  cursor: pointer;
}
.loading-dots::after {
  content: "";
  animation: dots 1.5s infinite;
}

/* 底部横幅 */
#banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  cursor: default;
  z-index: 50;
  /* 跳转地址待定：暂时屏蔽点击，填入 <a> 的 href 后删除本行 */
  pointer-events: none;
}
#banner img {
  width: 375px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}
