* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #f6f6f4;
  color: #26251f;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.card {
  background: #fff;
  border: 1px solid #e6e5e0;
  border-radius: 14px;
  padding: 22px 20px;
}

h1 { font-size: 21px; font-weight: 500; margin: 0 0 8px; }
h2 { font-size: 17px; font-weight: 500; margin: 0 0 14px; line-height: 1.5; }
h3 { font-size: 15px; font-weight: 500; margin: 22px 0 10px; }

.sub { color: #6b6a64; font-size: 14px; margin: 0 0 18px; }
.hint { color: #8b8a84; font-size: 12px; margin: 14px 0 0; }
.center { text-align: center; }

button {
  font-family: inherit;
  font-size: 15px;
  border-radius: 10px;
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid #d8d7d1;
  background: #fff;
  color: #26251f;
}

button.primary {
  background: #378add;
  border-color: #378add;
  color: #fff;
  font-weight: 500;
}

button.ghost { background: #fff; }
button.link {
  border: none;
  background: none;
  color: #6b6a64;
  font-size: 13px;
  min-height: 36px;
  text-decoration: underline;
}

.intro button { width: 100%; }

/* 进度 */
.progress {
  height: 5px;
  background: #ecebe6;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 16px;
}
.progress .bar { height: 5px; background: #378add; }

.q-meta { color: #8b8a84; font-size: 12px; margin-bottom: 6px; }
.q-title { margin-bottom: 18px; }

/* 选项 */
.options { list-style: none; margin: 0; padding: 0; }
.option {
  border: 1px solid #e0dfd9;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.option:active { background: #f2f6fb; }
.option.active { border-color: #378add; background: #f2f6fb; }

.nav { display: flex; gap: 10px; margin-top: 6px; }
.nav button { flex: 1; }

/* 报告 */
.score-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ecebe6;
}
.score-num {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  color: #378add;
}
.score-label { color: #6b6a64; font-size: 13px; }
.score-level { font-size: 15px; font-weight: 500; }

.conclusion {
  font-size: 16px;
  font-weight: 500;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.dims { display: block; }
.dim { margin-bottom: 14px; }
.dim-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}
.dim-level { color: #6b6a64; }
.bar-track {
  height: 7px;
  background: #ecebe6;
  border-radius: 4px;
  overflow: hidden;
}
.bar-fill { height: 7px; background: #378add; }

.bugs { list-style: none; margin: 0; padding: 0; }
.bug {
  border-left: 3px solid #378add;
  padding: 8px 0 8px 12px;
  margin-bottom: 12px;
}
.bug-name { font-size: 15px; font-weight: 500; }
.bug-title { font-size: 13px; color: #6b6a64; }

.locked {
  background: #fbf6ea;
  border: 1px dashed #e3c98d;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 20px 0 4px;
}
.locked-title { font-size: 14px; font-weight: 500; }
.locked-desc { font-size: 13px; color: #6b6a64; margin: 4px 0 0; }

.cta { margin-top: 18px; }
.cta button { width: 100%; margin-bottom: 10px; }

/* 骨架屏 */
.sk { background: #ecebe6; border-radius: 6px; margin-bottom: 12px; }
.sk-title { height: 26px; width: 40%; }
.sk-line { height: 16px; }
.sk-line.short { width: 60%; }

.toast {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  background: #26251f;
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 8px;
  max-width: 80%;
  word-break: break-all;
}
