/* ===== rem 适配：750 设计稿，1rem = 100px（与金牌分析师 H5 方案一致） ===== */
html {
  min-height: 100vh;
  /* 750 设计稿等比缩放，视口超过 750px 后锁定 100px */
  font-size: min(calc(100vw / 7.5), 100px);
}

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

body {
  margin: 0 auto;
  width: 100%;
  max-width: 750px;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; /* 苹果/安卓系统自带字体，忽略 PSD 字体 */
  background: #000;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 去除按钮点击时的灰色高亮阴影 */
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* 兼容部分 WebView 不继承该属性 */
}

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

p {
  margin: 0;
  padding: 0;
}

/* ===== 页面容器：750 宽；sec4 移除后高度重算 = 底部流式区顶 32.97rem + 区高 14.64rem ===== */
.page {
  position: relative;
  width: 7.5rem;
  height: 45.61rem;
  margin: 0 auto;
  overflow: hidden;
  color: #f9e8d4; /* PSD 正文主色 rgb(249,232,212) */
}

/* ----- 背景六段拼接：0-999 / 999-2000 / 2000-3002 / 3002-3997 / 3997-4699 / 4699-5313 ----- */
.bg {
  position: absolute;
  left: 0;
  width: 7.5rem;
  height: auto;
}
.bg1 { top: 0; }
.bg2 { top: 9.99rem; }
.bg3 { top: 19.99rem; width: 7.52rem; } /* 亚像素留缝防护 */
.bg4 { top: 30.02rem; width: 7.52rem; }
/* bg5/bg6 在 .footer 流式容器内，钉在容器顶部随内容走 */

/* ----- 顶部 LOGO：PSD (278,97,472,260) ----- */
.logo {
  position: absolute;
  top: 0.97rem;
  left: 50%;
  width: 1.94rem;
  margin-left: -0.97rem;
}

/* ----- 主标题（金色质感整图）：PSD (80,303,671,618) ----- */
.title {
  position: absolute;
  top: 3.03rem;
  left: 50%;
  width: 5.91rem;
  margin-left: -2.955rem;
}

/* ----- 下滑提示箭头：PSD (347,970,408,1016) ----- */
.arrow-tips {
  position: absolute;
  top: 9.7rem;
  left: 50%;
  width: 0.61rem;
  margin-left: -0.305rem;
}

/* ===== 章节容器：绝对锚定到 PSD 章节标题顶坐标 ===== */
.sec {
  position: absolute;
  left: 0;
  width: 7.5rem;
}
.sec1 { top: 11.42rem; } /* 01 活动背景 标题顶 1142 */
.sec2 { top: 20.79rem; } /* 02 案例征集 2079 */
.sec3 { top: 27.48rem; } /* 03 类型设置和研究原则 2748 */
.sec4 { top: 33.36rem; } /* 04 时间和流程 3336 */

/* 章节标题切图（含序号 01-04 金色渐变字，整图还原） */
.sec-title {
  display: block;
  height: auto;
}
.sec1 .sec-title { width: 2.42rem; margin-left: 0.42rem; }
.sec2 .sec-title { width: 2.42rem; margin-left: 0.42rem; }
.sec3 .sec-title { width: 5.43rem; margin-left: 0.43rem; }
.sec4 .sec-title { width: 3.03rem; margin-left: 0.43rem; }

/* ----- 圆角卡片：底图绝对铺满，文字流式排布 ----- */
.card {
  position: relative;
  width: 6.89rem;
  margin: 0.36rem 0 0 0.28rem; /* 卡片左缘 PSD x=28 */
}
.card2 { margin-top: 0.26rem; } /* 标题底 2191 → 卡顶 2217 */
.card3 { margin-top: 0.26rem; } /* 2860 → 2886 */
.card4 { margin-top: 0.27rem; } /* 3447 → 3474 */
.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 6.89rem;
  height: auto;
}
.card1 { height: 7.59rem; }
.card2 { height: 4.9rem; }
.card3 { height: 4.11rem; }
.card4 { height: 4.77rem; }

/* 正文：PSD 字号 24.6/行距 39；为防 iOS PingFang 字宽略大导致多折一行撞破固定高度卡片，字号收到 23、行距/段距收到 36，留出设备余量 */
.card-txt {
  position: relative; /* 压在卡片底图之上 */
  padding: 0.38rem 0.27rem 0 0.31rem;
  font-size: 0.23rem;
  line-height: 0.36rem;
  letter-spacing: 0;
  font-weight: 400;
  text-align: justify;
}
.card2 .card-txt { padding-top: 0.38rem; } /* 文字顶 2255 - 卡顶 2217 */
.card3 .card-txt { padding-top: 0.38rem; } /* 2924 - 2886 */
.card-txt p + p {
  margin-top: 0.36rem; /* 段间距随新行距 */
}

/* ===== 04 时间和流程：时间轴 ===== */
/* 竖线：PSD (64,3520,67,3820)，卡内坐标 = 画布坐标 - 卡顶 3474 */
.tl-line {
  position: absolute;
  top: 0.46rem;
  left: 0.36rem;
  width: 0.03rem;
  height: 3rem;
}
.tl-row {
  position: absolute;
  left: 0;
  width: 6.89rem;
}
.tl-row1 { top: 0.28rem; }  /* 行顶 3502 - 卡顶 3474 */
.tl-row2 { top: 1.26rem; }  /* 3600 */
.tl-row3 { top: 2.25rem; }  /* 3699 */
.tl-row4 { top: 3.27rem; }  /* 3801 */
.tl-dot {
  position: absolute;
  top: 0.09rem; /* 点与日期条垂直居中：(40-23)/2 */
  left: 0.26rem; /* 54 - 28 */
  width: 0.24rem;
}
/* 日期胶囊：底条为纯色可拉伸 PNG（tl_pill.png，左箭头+右圆角），日期为真实文字，随时改文案不需重新切图；
   文字规格标定：PSD 墨迹宽 213/高 21 对应 Hiragino/PingFang 约 23px，黑字，行盒 40 与条等高垂直居中 */
.tl-date {
  position: absolute;
  top: 0;
  left: 0.52rem; /* 80 - 28 */
  height: 0.4rem;
  line-height: 0.4rem;
  min-width: 2.41rem; /* PSD 四枚胶囊等高定宽 241；文字更长时自动撑开 */
  padding: 0 0.1rem 0 0.2rem; /* 左让开箭头（PSD 墨迹起于 x≈19），右留 10px 气口 */
  background: transparent url(../img/tl_pill.png) no-repeat 0 0;
  background-size: 100% 100%; /* 底条随内容宽度拉伸（纯色，拉不变形） */
  -webkit-background-size: 100% 100%; /* 旧 Chromium WebView 前缀 */
  font-size: 0.23rem;
  font-weight: 700;
  color: #000; /* PSD 日期文字为黑色 */
  white-space: nowrap; /* 单行日期不折行 */
}
/* 行说明文字：PSD x=335-696，字号 21×1.171875=24.6px / 行距 39px */
.tl-txt {
  position: absolute;
  top: 0.01rem; /* 字形带顶 3510 与行顶 3502 差 8px 的行盒补偿 */
  left: 3.07rem; /* 335 - 28 */
  width: 3.61rem; /* 696 - 335 */
  font-size: 0.23rem;
  line-height: 0.36rem;
  font-weight: 400;
  text-align: justify;
}

/* ===== 底部区：sec4 移除后改相对布局，承接 sec3 底（32.97rem）自然流 ===== */
.footer {
  position: absolute;
  top: 32.97rem;
  left: 0;
  width: 7.5rem;
}
.footer .bg5, .footer .bg6 {
  position: absolute;
  top: 0;
  left: 0;
  width: 7.52rem;
  height: auto;
}
.footer .bg6 { top: 7.02rem; } /* bg5 高 702，紧接其下 */

/* ===== 申报按钮区（流式，间距按原 PSD 设计间隙） ===== */
/* 小箭头：原 PSD (358,4007,393,4032)，距 sec3 底约 110px */
.btn-arrow {
  position: relative; /* 抬到 bg5/bg6 绝对定位背景之上，否则被盖 */
  display: block;
  width: 0.35rem;
  margin: 1.1rem auto 0;
}
/* 按钮整图（含辉光），依次流式排列；按钮间原设计间隙 42px */
.btn {
  position: relative;
  width: 6.43rem;
  margin: 0.42rem auto 0;
}
/* 首个按钮距上方小箭头：原 4068-4032=36px，加箭头与 btn1 自身透明边约 25px */
.btn1 { margin-top: 0.61rem; }
/* 透明点击热区：只覆盖胶囊本体 */
.btn-hit {
  position: absolute;
  top: 0;
  left: 0;
  width: 6.43rem;
  height: 1.63rem;
}

/* ----- 联系方式：真实文字，居中流式；字号21×1.172=24.6px / 行高33.33×1.172=39px ----- */
.contact {
  position: relative;
  width: 7.5rem;
  margin-top: 1.11rem; /* 原 btn3 底 4641 → 文字顶 4803 间隙 162px，扣除 btn3 透明边约 51px */
  font-size: 0.246rem;
  line-height: 0.39rem;
  font-weight: 400;
  text-align: center;
}
/* 电话/邮箱链接：继承正文色，保持 PSD 同色；点按给轻反馈 */
.contact-link {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.contact-link:active {
  opacity: 0.7;
}

/* ----- 点击按钮申报：流式居中，距联系方式约 10px ----- */
.click-tips {
  position: relative; /* 抬到 bg6 之上 */
  display: block;
  width: 2.27rem;
  margin: 0.1rem auto 0;
}

/* ----- 底部落款：流式居中，间距收紧至 0.15rem ----- */
.bottom-logo {
  position: relative; /* 抬到 bg6 之上 */
  display: block;
  width: 5.69rem;
  margin: 0.15rem auto 0;
}
