* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f3f3;
  color: #222;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.78;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
p,
figure {
  margin: 0;
}

.phone-page {
  width: min(100%, 640px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 86px;
  background: #fff;
  border-top: 2px solid #d34b65;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.breadcrumb {
  padding: 10px 26px 0;
  color: #5d6670;
  font-size: 13px;
  line-height: 1.4;
}

.article-head {
  padding: 8px 26px 18px;
}

.forum-head h1 {
  color: #070707;
  font-size: 28px;
  line-height: 1.22;
  font-weight: 800;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-top: 12px;
  padding: 5px 12px;
  background: #f4f4f4;
  color: #8a8f94;
  font-size: 13px;
}

.avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.author-name {
  color: #1681c4;
  font-weight: 700;
}

.post-time {
  color: #8c9399;
}

.floor-tag {
  margin-left: auto;
  color: #8c9399;
}

.article-body {
  padding: 0 26px;
}

.article-body > p,
.program-section p {
  margin-top: 18px;
  color: #262626;
  font-size: 16px;
  line-height: 1.88;
  text-align: justify;
  text-indent: 2em;
}

.inline-wechat {
  display: inline-block;
  height: 28px;
  margin: 0;
  padding: 0 15px;
  border: none;
  border-radius: 14px;
  background: #7cbe1f !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-indent: 0;
  vertical-align: middle;
  cursor: pointer;
  animation: hdfWx11ScaleDraw 1s ease-in-out infinite;
}

.inline-wechat:active {
  transform: translateY(1px);
}

@keyframes hdfWx11ScaleDraw {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

.hero-media {
  margin: 26px 0 10px;
}

.hero-media img {
  width: 100%;
  border: 1px solid #dceff1;
}

.image-card {
  margin: 16px auto 12px;
}

.image-card img {
  width: 100%;
  border: 1px solid #e5e5e5;
}

.image-card figcaption {
  min-height: 22px;
  padding: 3px 8px;
  background: #f3f3f3;
  color: #676767;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.mock-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  background: #ddd;
  border: 1px solid #ddd;
  overflow: hidden;
}

.person-panel {
  position: relative;
  min-height: 250px;
  background:
    radial-gradient(circle at 50% 28%, #e1b594 0 8%, transparent 8.4%),
    linear-gradient(82deg, transparent 0 37%, #efc19e 37% 41%, transparent 41% 58%, #efc19e 58% 62%, transparent 62%),
    linear-gradient(180deg, transparent 0 32%, #9fb8c9 32% 76%, #1b2430 76% 100%),
    linear-gradient(135deg, #e9eef5, #f3d7e8);
}

.person-panel.after {
  background:
    radial-gradient(circle at 50% 27%, #d0a07f 0 7%, transparent 7.4%),
    linear-gradient(82deg, transparent 0 38%, #d0a07f 38% 41%, transparent 41% 59%, #d0a07f 59% 62%, transparent 62%),
    linear-gradient(180deg, transparent 0 32%, #161b1e 32% 78%, #101214 78% 100%),
    linear-gradient(90deg, #b7b0a4, #efeadf 78%, #ffffff);
}

.person-panel span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
}

.report-card {
  width: 82%;
}

.mock-report {
  min-height: 310px;
  padding: 20px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(0deg, #f1f1f1 0 31px, #dedede 32px 33px),
    linear-gradient(120deg, #f7f7f7, #ddd);
  border: 1px solid #ddd;
  color: #222;
  transform: rotate(-1deg);
}

.report-title {
  margin-bottom: 14px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
}

.report-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 1px;
  font-size: 12px;
  line-height: 1.5;
}

.report-grid span,
.report-grid b {
  min-height: 24px;
  padding: 3px 5px;
  border-bottom: 1px solid #bfc1c5;
  font-weight: 400;
}

.report-grid b {
  color: #333;
}

.report-grid .red {
  color: #d03a43;
  font-weight: 800;
}

.mock-medicine {
  position: relative;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  overflow: hidden;
  border: 1px solid #d9d9d9;
  background:
    linear-gradient(90deg, #526264 0 22%, transparent 22%),
    linear-gradient(180deg, #e7e0d7 0 55%, #c9b8a6 55% 100%);
}

.mock-medicine::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 168px;
  height: 142px;
  border: 7px solid #6b3d2f;
  border-left-width: 9px;
  background: linear-gradient(135deg, #a7c6cf, #e3eef0);
}

.box {
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.17);
}

.b1 { right: 38px; bottom: 28px; width: 150px; height: 52px; background: #b82b2d; }
.b2 { right: 70px; bottom: 82px; width: 120px; height: 48px; background: #f0f1f0; }
.b3 { right: 24px; bottom: 135px; width: 112px; height: 42px; background: #206db8; }
.b4 { right: 96px; bottom: 148px; width: 92px; height: 36px; background: #f4c52c; }
.b5 { right: 150px; bottom: 55px; width: 94px; height: 38px; background: #9f753c; }
.b6 { left: 70px; bottom: 28px; width: 120px; height: 44px; background: #c4352c; transform: rotate(-8deg); }
.b7 { left: 165px; bottom: 18px; width: 98px; height: 38px; background: #f4f1e9; transform: rotate(9deg); }
.b8 { right: 160px; bottom: 112px; width: 84px; height: 46px; background: #d69a19; }

.teacher-card {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #f1d4a5;
  background: #fff8ed;
}

.video-card {
  margin: 24px auto 12px;
}

.video-card video {
  display: block;
  width: 100%;
  background: #000;
}

.video-card figcaption {
  min-height: 22px;
  padding: 3px 8px;
  background: #f3f3f3;
  color: #676767;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.teacher-card h2,
.program-section h2,
.wechat-panel h2,
.comments h2 {
  color: #111;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
}

.teacher-card p {
  margin-top: 12px;
  color: #393939;
  font-size: 15px;
  line-height: 1.72;
  text-align: justify;
  text-indent: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: #e45126;
  font-size: 13px;
  font-weight: 800;
}

.notice {
  padding-top: 10px;
  border-top: 1px dashed #d7ba8f;
  color: #785f42 !important;
  font-size: 13px !important;
}

.program-section {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #ededed;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.tip {
  min-height: 138px;
  padding: 13px 12px;
  border: 1px solid #e6eceb;
  background: #fbfdfb;
}

.tip span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #f59f28;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.tip strong {
  display: block;
  color: #087563;
  font-size: 15px;
}

.tip p {
  margin-top: 7px;
  color: #566367;
  font-size: 13px;
  line-height: 1.55;
}

.wechat-panel {
  display: grid;
  gap: 14px;
  margin: 24px 0 8px;
  padding: 16px;
  border: 1px solid #cbe6d8;
  background: #eefaf4;
}

.wechat-panel p {
  margin-top: 8px;
  color: #516165;
  font-size: 14px;
  line-height: 1.62;
  text-indent: 0;
}

.wechat-button {
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: #18a85d;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(24, 168, 93, 0.22);
}

.wechat-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.meta-strip {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 26px;
  border-top: 8px solid #f5f6f7;
  border-bottom: 1px solid #edf0f1;
  color: #7b878b;
  font-size: 12px;
}

.likes-strip {
  padding: 14px 26px 2px;
  background: #fff;
}

.likes-strip img {
  width: 100%;
}

.comments {
  padding: 14px 26px 8px;
}

.comments h2 {
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #d5dadd;
}

.comment {
  padding: 12px 0;
  border-bottom: 1px solid #edf0f1;
}

.comment-head {
  display: flex;
  min-height: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  background: #f5f7f8;
}

.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.comment-head strong {
  flex: 1 1 auto;
  overflow: hidden;
  color: #2581c4;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-head span {
  flex: 0 0 auto;
  color: #91999d;
  font-size: 11px;
}

.comment p {
  margin-top: 8px;
  color: #2b3032;
  font-size: 14px;
  line-height: 1.66;
}

.site-foot {
  padding: 14px 26px 22px;
  color: #828c90;
  font-size: 12px;
  line-height: 1.6;
  background: #fafafa;
}

.sticky-cta {
  position: fixed;
  right: max(10px, calc((100vw - 640px) / 2 + 10px));
  bottom: 10px;
  left: max(10px, calc((100vw - 640px) / 2 + 10px));
  z-index: 20;
  display: flex;
  max-width: 620px;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  padding: 9px 10px 9px 13px;
  border: 1px solid rgba(23, 139, 96, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(21, 40, 43, 0.18);
}

.sticky-cta span {
  flex: 1 1 auto;
  min-width: 0;
}

.sticky-cta-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.sticky-cta strong,
.sticky-cta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta strong {
  color: #ec2d21;
  font-size: 17px;
  line-height: 1.2;
}

.sticky-cta small {
  margin-top: 3px;
  color: #e84125;
  font-size: 14px;
  font-weight: 700;
}

.sticky-cta b {
  flex: 0 0 auto;
  display: inline-flex;
  min-width: 84px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #21b654;
  color: #fff;
  font-size: 16px;
}

.floating-wx-logo {
  position: fixed;
  top: 50%;
  right: max(18px, calc((100vw - 640px) / 2 + 18px));
  z-index: 19;
  display: block;
  width: 56px;
  height: 56px;
  transform: translateY(-50%);
  transform-origin: center;
  cursor: pointer;
  animation: hdfWx11LogoScaleDraw 1s ease-in-out infinite;
}

.floating-wx-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wechat-toast {
  position: fixed;
  left: 50%;
  bottom: 30%;
  z-index: 18;
  display: flex;
  width: max-content;
  max-width: min(320px, calc(100vw - 52px));
  min-height: 36px;
  align-items: center;
  gap: 2px;
  padding: 7px 12px;
  border-radius: 18px;
  background: rgba(232, 232, 232, 0.88);
  color: #222;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wechat-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.wechat-toast span {
  flex: 0 0 auto;
  color: #333;
}

.wechat-toast strong {
  min-width: 0;
  overflow: hidden;
  color: #111;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes hdfWx11LogoScaleDraw {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }

  50% {
    transform: translateY(-50%) scale(1.2);
  }
}

@media (min-width: 760px) {
  .phone-page {
    margin-top: 0;
    margin-bottom: 18px;
  }
}

@media (max-width: 560px) {
  .breadcrumb,
  .article-head,
  .article-body,
  .meta-strip,
  .likes-strip,
  .comments,
  .site-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .forum-head h1 {
    font-size: 24px;
  }

  .author-row {
    padding-left: 8px;
    padding-right: 8px;
  }

  .report-card {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .forum-head h1 {
    font-size: 22px;
  }

  .article-body > p,
  .program-section p {
    font-size: 15px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta strong {
    font-size: 14px;
  }

  .sticky-cta small {
    font-size: 12px;
  }

  .sticky-cta b {
    min-width: 72px;
  }
}
