/* 恋爱人格测试结果页样式（纯中文界面，第一张卡片简洁居中，翡翠青绿 × 莓果暮紫对比） */
.lp-hero,
.lp-card {
  background: #ffffff;
  border: 1px solid #e2e7e6;
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 10px 28px rgba(30, 40, 41, 0.06);
}

/* ---------- 01 头卡：简洁优缺点对比 ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px 18px;
  background:
    radial-gradient(circle at 18% 12%, rgba(13, 148, 120, 0.11), transparent 46%),
    radial-gradient(circle at 84% 14%, rgba(140, 68, 212, 0.11), transparent 46%),
    linear-gradient(170deg, #f5fbf9 0%, #ffffff 55%, #faf6fe 100%);
}

.lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eefaf5;
  border: 1px solid rgba(13, 148, 120, 0.24);
  color: #0b7a63;
  font-size: 12px;
  font-weight: 700;
}

.lp-hero__duel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.lp-hero__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  border-radius: 16px;
}

.lp-hero__box--pos {
  background: linear-gradient(160deg, #f3fcf8, #e3f7ef);
  border: 1px solid #c2ebd9;
}

.lp-hero__box--neg {
  background: linear-gradient(160deg, #f9f4fe, #efe3fc);
  border: 1px solid #dec6f8;
}

.lp-hero__box-tag {
  font-size: 11.5px;
  font-weight: 700;
}

.lp-hero__box--pos .lp-hero__box-tag {
  color: #0b7a63;
}

.lp-hero__box--neg .lp-hero__box-tag {
  color: #7434b5;
}

.lp-hero__box-name {
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.lp-hero__box--pos .lp-hero__box-name {
  color: #0a7a63;
}

.lp-hero__box--neg .lp-hero__box-name {
  color: #7434b5;
}

.lp-hero__vs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dce2e1;
  color: #626c6e;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(30, 40, 41, 0.06);
}

.lp-hero__hint {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #424d4e;
}

.lp-hero__score-pill {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f3f5f5;
  border: 1px solid #dfe5e4;
}

.lp-hero__score-label {
  font-size: 12px;
  font-weight: 700;
  color: #626c6e;
}

.lp-hero__score-val {
  font-size: 16px;
  font-weight: 900;
  color: #1e2829;
  font-variant-numeric: tabular-nums;
}

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

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

.lp-card__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1e2829;
}

.lp-card__sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #697375;
}

/* ---------- 02 十维对比雷达与能量条 ---------- */
.lp-radar-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 4px;
}

.lp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.lp-legend-item i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.lp-legend-item--pos {
  color: #0a7a63;
}

.lp-legend-item--pos i {
  background: #0d9478;
}

.lp-legend-item--neg {
  color: #7434b5;
}

.lp-legend-item--neg i {
  background: #8c44d4;
}

.lp-radar-svg {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 8px;
}

.lp-balance {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f9fbfa;
  border: 1px solid #e6ecea;
}

.lp-balance__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.lp-balance__pos {
  color: #0a7a63;
}

.lp-balance__neg {
  color: #7434b5;
}

.lp-balance__track {
  display: flex;
  gap: 3px;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.lp-balance__fill-pos {
  display: block;
  height: 100%;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, #27b999, #0d9478);
}

.lp-balance__fill-neg {
  display: block;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, #8c44d4, #ab6eeb);
}

/* ---------- 03 恋爱两面性解析 ---------- */
.lp-insights,
.lp-advice-list,
.lp-switch-list,
.lp-ledger-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-insight-card {
  padding: 12px 13px;
  border-radius: 14px;
}

.lp-insight-card--pos {
  background: #f3fcf8;
  border: 1px solid #c5ecdb;
}

.lp-insight-card--neg {
  background: #f9f4fe;
  border: 1px solid #e1cbf8;
}

.lp-insight-card--conflict {
  background: #f7f8fa;
  border: 1px solid #dfe4ea;
}

.lp-insight-card__head,
.lp-ledger-card__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.lp-insight-card__badge,
.lp-switch-card__badge,
.lp-ledger-card__badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.lp-insight-card--pos .lp-insight-card__badge,
.lp-switch-card--soothe .lp-switch-card__badge,
.lp-ledger-card--pos .lp-ledger-card__badge {
  background: #0d9478;
}

.lp-insight-card--neg .lp-insight-card__badge,
.lp-switch-card--turnoff .lp-switch-card__badge,
.lp-ledger-card--neg .lp-ledger-card__badge {
  background: #8c44d4;
}

.lp-insight-card--conflict .lp-insight-card__badge {
  background: #4b5563;
}

.lp-insight-card__head strong,
.lp-ledger-card__head strong {
  font-size: 14px;
  color: #1e2829;
}

.lp-insight-card__score {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lp-insight-card--pos .lp-insight-card__score {
  color: #0a7a63;
}

.lp-insight-card--neg .lp-insight-card__score {
  color: #7434b5;
}

.lp-insight-card p,
.lp-switch-card p,
.lp-ledger-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: #364142;
}

.lp-insight-card__scene {
  margin-top: 6px !important;
  padding-top: 6px;
  border-top: 1px dashed rgba(98, 108, 110, 0.22);
  font-size: 12.5px !important;
  color: #556062 !important;
}

/* ---------- 04 合拍对象与相处提醒 ---------- */
.lp-advice-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-partner-box {
  padding: 12px 13px;
  border-radius: 14px;
  background: linear-gradient(155deg, #f3fcf8 0%, #f9f4fe 100%);
  border: 1px solid #dbe4e2;
}

.lp-partner-box__tag {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: #0b7a63;
}

.lp-partner-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: #273233;
}

.lp-advice-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f9fbfa;
  border: 1px solid #e6ecea;
}

.lp-advice-item__num {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 8px;
  background: #1e2829;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.lp-advice-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #424d4e;
}

/* ---------- 05 情绪开关 & 06 关系账本 ---------- */
.lp-switch-card,
.lp-ledger-card {
  padding: 12px 13px;
  border-radius: 14px;
}

.lp-switch-card--soothe,
.lp-ledger-card--pos {
  background: #f3fcf8;
  border: 1px solid #c5ecdb;
}

.lp-switch-card--turnoff,
.lp-ledger-card--neg {
  background: #f9f4fe;
  border: 1px solid #e1cbf8;
}

.lp-switch-card__badge {
  margin-bottom: 6px;
}

/* ---------- 07 优点前三与缺点前三解读 ---------- */
.lp-top3-wrap,
.lp-top3-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lp-top3-wrap {
  gap: 14px;
}

.lp-top3-group__title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.lp-top3-group__title--pos {
  color: #0a7a63;
}

.lp-top3-group__title--neg {
  color: #7434b5;
}

.lp-top3-item {
  padding: 10px 12px;
  border-radius: 13px;
}

.lp-top3-item--pos {
  background: #f3fcf8;
  border: 1px solid #c5ecdb;
}

.lp-top3-item--neg {
  background: #f9f4fe;
  border: 1px solid #e1cbf8;
}

.lp-top3-item__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.lp-top3-item__rank {
  padding: 2px 7px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.lp-top3-item--pos .lp-top3-item__rank {
  background: #0d9478;
}

.lp-top3-item--neg .lp-top3-item__rank {
  background: #8c44d4;
}

.lp-top3-item__head strong {
  font-size: 14px;
  color: #1e2829;
}

.lp-top3-item__tag {
  padding: 2px 7px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e0e5e4;
  font-size: 11px;
  color: #626c6e;
  font-weight: 600;
}

.lp-top3-item__score {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lp-top3-item--pos .lp-top3-item__score {
  color: #0a7a63;
}

.lp-top3-item--neg .lp-top3-item__score {
  color: #7434b5;
}

.lp-top3-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #3b4647;
}
