/* 恋爱脑测试结果页样式（纯中文界面，第一张卡片居中排版） */
.lb-hero,
.lb-card {
  background: #ffffff;
  border: 1px solid #eadfeb;
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 10px 28px rgba(37, 29, 46, 0.06);
}

/* ---------- 01 头卡：居中排版 ---------- */
.lb-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 79, 102, 0.12), transparent 54%),
    radial-gradient(circle at 12% 94%, rgba(109, 59, 142, 0.08), transparent 46%),
    radial-gradient(circle at 88% 92%, rgba(230, 123, 84, 0.09), transparent 46%),
    linear-gradient(170deg, #fffafd 0%, #ffffff 56%, #fff8f5 100%);
}

.lb-hero::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px solid rgba(217, 79, 102, 0.12);
  pointer-events: none;
}

.lb-hero__eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fdf1f4;
  border: 1px solid rgba(217, 79, 102, 0.26);
  color: #b83b52;
  font-size: 12px;
  font-weight: 700;
}

.lb-hero__score-wrap {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: 12px;
}

.lb-hero__num {
  font-size: 48px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #6d3b8e 0%, #d94f66 60%, #e67b54 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lb-hero__unit {
  font-size: 15px;
  font-weight: 800;
  color: #6d3b8e;
}

.lb-hero__tier {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6d3b8e, #c84b68);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(200, 75, 104, 0.22);
}

.lb-hero__meter {
  position: relative;
  width: 100%;
  max-width: 220px;
  height: 8px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: #f2e8f0;
  overflow: hidden;
}

.lb-hero__meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d3b8e 0%, #d94f66 58%, #e67b54 100%);
}

.lb-hero__pair {
  position: relative;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: #4f3d5d;
}

.lb-hero__quote {
  position: relative;
  margin: 8px auto 0;
  max-width: 280px;
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 700;
  color: #5b4f66;
}

/* ---------- 通用卡片头 ---------- */
.lb-card {
  margin-top: 14px;
}

.lb-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.lb-card__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #251d2e;
}

.lb-card__chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: #fdf1f4;
  border: 1px solid rgba(217, 79, 102, 0.24);
  color: #b83b52;
  font-size: 12px;
  font-weight: 800;
}

.lb-card__sub {
  font-size: 12px;
  font-weight: 600;
  color: #776b82;
}

/* ---------- 02 花瓣雷达图与条形图 ---------- */
.lb-petal-svg {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 10px;
}

.lb-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}

.lb-bar {
  padding: 8px 10px;
  border-radius: 12px;
  background: #fcf9fc;
  border: 1px solid #efe5f0;
}

.lb-bar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 5px;
}

.lb-bar__name {
  font-weight: 700;
  color: #2e2438;
}

.lb-bar__val {
  font-weight: 800;
  color: var(--bar-color);
  font-variant-numeric: tabular-nums;
}

.lb-bar__track {
  height: 7px;
  border-radius: 999px;
  background: #efe6f0;
  overflow: hidden;
}

.lb-bar__track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--bar-color);
}

/* ---------- 03 前三特征 ---------- */
.lb-top3-list,
.lb-scenes,
.lb-tip-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lb-top3-card {
  padding: 11px 12px;
  border-radius: 14px;
  background: #fcf9fc;
  border: 1px solid #efe5f0;
  border-left: 3.5px solid var(--item-color);
}

.lb-top3-card__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.lb-top3-card__rank {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--item-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.lb-top3-card__head strong {
  font-size: 14.5px;
  color: #251d2e;
}

.lb-top3-card__tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e6d7ea;
  font-size: 11px;
  color: #70647a;
  font-weight: 600;
}

.lb-top3-card__pct {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--item-color);
  font-variant-numeric: tabular-nums;
}

.lb-top3-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5b4f66;
}

/* ---------- 04 名场面 ---------- */
.lb-scene-card {
  padding: 11px 12px;
  border-radius: 14px;
  background: #fcf9fc;
  border: 1px solid #efe5f0;
}

.lb-scene-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.lb-scene-card__num {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(217, 79, 102, 0.12);
  color: #b83b52;
  font-size: 11px;
  font-weight: 800;
}

.lb-scene-card h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #251d2e;
}

.lb-scene-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #5b4f66;
}

/* ---------- 05 反差 ---------- */
.lb-contrast {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lb-contrast__box {
  padding: 12px;
  border-radius: 14px;
}

.lb-contrast__box--outer {
  background: #f6f3fa;
  border: 1px solid #e1d7ec;
}

.lb-contrast__box--inner {
  background: #fdf3f5;
  border: 1px solid #f2d4dc;
}

.lb-contrast__badge {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 800;
}

.lb-contrast__box--outer .lb-contrast__badge {
  color: #5f317d;
}

.lb-contrast__box--inner .lb-contrast__badge {
  color: #b83b52;
}

.lb-contrast__box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #31263c;
}

/* ---------- 06 锦囊 ---------- */
.lb-summary__lead p {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.68;
  color: #362b42;
}

.lb-summary__status {
  padding: 9px 11px;
  border-radius: 12px;
  background: #faf5fa;
  border: 1px solid #e7dae9;
  font-size: 13px;
  color: #4f3d5d;
}

.lb-tip-list {
  margin-top: 10px;
}

.lb-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fcf9fc;
  border: 1px solid #efe5f0;
}

.lb-tip-item__num {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #6d3b8e, #c84b68);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.lb-tip-item h4 {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 800;
  color: #251d2e;
}

.lb-tip-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #5b4f66;
}

@media (max-width: 360px) {
  .lb-bars,
  .lb-contrast {
    grid-template-columns: 1fr;
  }
}
