html {
  font-size: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f7fa;
  color: #1a1a1a;
  min-height: 100vh;
}

/* 进度条 */
.progress-bar {
  height: 6px;
  background: #e0e0e0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.progress-fill {
  height: 100%;
  background: #2e7d32;
  width: 0%;
  transition: width 0.3s;
}

/* 主内容区：顶部对齐，压缩上下留白 */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;   /* 关键：从 center 改成 flex-start */
  padding: 24px 20px 110px;
  text-align: center;
}

/* 图片：压低高度，去掉行高留白 */
.question-img {
  height: 56px;
  line-height: 1;
  font-size: 48px;
  margin: 8px 0 8px 0;
  display: block;
}

/* 问题文字：字号略降，行高收紧 */
.question-text {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #1a1a1a;
}

/* 选项按钮 */
.options {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.option-btn {
  width: 100%;
  min-height: 62px;
  padding: 12px 16px;
  font-size: 24px;
  font-weight: 600;
  border: 2px solid #2e7d32;
  border-radius: 14px;
  background: #fff;
  color: #2e7d32;
  cursor: pointer;
  transition: all 0.15s;
}
.option-btn:active {
  background: #2e7d32;
  color: #fff;
  transform: scale(0.98);
}

/* 底部固定栏 */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  display: flex;
  gap: 12px;
}
.replay-btn {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid #2e7d32;
  background: #fff;
  font-size: 28px;
  cursor: pointer;
}
.back-btn {
  flex: 1;
  min-height: 62px;
  font-size: 24px;
  font-weight: 600;
  border: 2px solid #999;
  border-radius: 14px;
  background: #fff;
  color: #666;
  cursor: pointer;
}

/* 结果页 */
.result-page {
  justify-content: flex-start;
  padding: 40px 20px 140px;
}
.result-block {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  color: #fff;
  margin-bottom: 28px;
}
.result-green { background: #2e7d32; }
.result-yellow { background: #f9a825; }
.result-red { background: #c62828; }
.result-icon {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 12px;
}
.result-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.result-desc {
  font-size: 24px;
  line-height: 1.5;
}
.assistant-btn {
  width: 100%;
  max-width: 360px;
  min-height: 78px;
  font-size: 28px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  background: #2e7d32;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(46,125,50,0.3);
}
.assistant-btn:active {
  transform: scale(0.98);
}
