/* 分手人格测试报告样式：Lovei 极简杂志风 + 居中紧凑首屏 */

.lovei-hero {
  padding: 13px 14px 12px;
  border: 1px solid #e5e3df;
  border-top: 3.5px solid var(--type-accent, #e05a6d);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px -22px rgba(28, 28, 30, 0.16);
  text-align: center;
}

.lovei-hero__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #8a8a8e;
}

.lovei-hero__brand i {
  font-style: normal;
  color: #e05a6d;
}

.lovei-hero__title {
  margin: 7px 0 0;
  color: #1c1c1e;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.lovei-hero__subtitle {
  margin: 4px 0 0;
  color: #727278;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.lovei-hero__quote {
  display: inline-block;
  margin: 7px auto 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: #fdf2f4;
  color: #b83f52;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}

.lovei-hero__desc {
  margin: 7px 0 0;
  padding-top: 7px;
  border-top: 1px solid #efede9;
  color: #2c2c2e;
  font-size: 11.5px;
  line-height: 1.56;
  text-align: left;
}

.lovei-card {
  margin-top: 10px;
  padding: 13px 14px;
  border: 1px solid #e5e3df;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px -22px rgba(28, 28, 30, 0.14);
}

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

.lovei-card__head h3 {
  margin: 0;
  color: #1c1c1e;
  font-size: 15px;
  font-weight: 800;
}

.lovei-card__chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fdf2f4;
  color: #c94659;
  font-size: 11px;
  font-weight: 700;
}

.lovei-card__sub {
  color: #8a8a8e;
  font-size: 11px;
  font-weight: 600;
}

.lovei-radar-svg {
  display: block;
  width: 100%;
  max-width: 310px;
  height: auto;
  margin: 0 auto;
}

.lovei-scores {
  display: grid;
  gap: 7px;
}

.lovei-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lovei-score-row__name {
  width: 4.5em;
  flex: none;
  color: #1c1c1e;
  font-size: 12px;
  font-weight: 600;
}

.lovei-score-row__bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #efede9;
  overflow: hidden;
}

.lovei-score-row__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1c1c1e 0%, #e05a6d 100%);
}

.lovei-score-row__val {
  width: 38px;
  flex: none;
  text-align: right;
  color: #1c1c1e;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lovei-contrast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lovei-contrast-item {
  padding: 10px 11px;
  border: 1px solid #eceae6;
  border-radius: 12px;
  background: #faf9f7;
}

.lovei-contrast-item.is-rose {
  border-color: #f3dce0;
  background: #fdf6f7;
}

.lovei-contrast-item__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.lovei-contrast-item__top span {
  color: #525258;
  font-size: 11.5px;
  font-weight: 700;
}

.lovei-contrast-item__top strong {
  color: #1c1c1e;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lovei-contrast-item.is-rose .lovei-contrast-item__top strong {
  color: #e05a6d;
}

.lovei-contrast-bar {
  height: 6px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.08);
  overflow: hidden;
}

.lovei-contrast-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #1c1c1e;
}

.lovei-contrast-item.is-rose .lovei-contrast-bar i {
  background: #e05a6d;
}

.lovei-contrast-summary {
  margin: 9px 0 0;
  color: #3a3a3c;
  font-size: 12px;
  line-height: 1.68;
}

.lovei-moments {
  display: grid;
  gap: 8px;
}

.lovei-moment-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid #eceae6;
  border-radius: 11px;
  background: #faf9f7;
}

.lovei-moment-row__num {
  flex: none;
  padding: 2px 6px;
  border-radius: 6px;
  background: #fdf2f4;
  color: #c94659;
  font-size: 10.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.lovei-moment-row p {
  margin: 0;
  color: #2c2c2e;
  font-size: 12px;
  line-height: 1.65;
}

.lovei-partner-box {
  padding: 13px 14px;
  border: 1px solid #eedee1;
  border-left: 4px solid var(--partner-color, #e05a6d);
  border-radius: 14px;
  background: linear-gradient(155deg, #ffffff 0%, #fdf7f8 100%);
}

.lovei-partner-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lovei-partner-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #1c1c1e;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
}

.lovei-partner-pair {
  color: #727278;
  font-size: 11px;
  font-weight: 700;
}

.lovei-partner-box__title {
  margin: 10px 0 0;
  color: #1c1c1e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.lovei-partner-subtitle {
  margin: 3px 0 0;
  color: #727278;
  font-size: 11.5px;
  font-weight: 600;
}

.lovei-partner-quote {
  margin: 6px 0 0;
  color: #c94659;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

.lovei-partner-reason {
  margin: 9px 0 0;
  padding-top: 9px;
  border-top: 1px solid #f0e4e6;
  color: #3a3a3c;
  font-size: 12.5px;
  line-height: 1.75;
}

/* 全部 8 种类型弹窗 */
.lovei-dialog {
  width: min(410px, calc(100% - 28px));
}

.lovei-others-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.lovei-other-item {
  padding: 11px 12px;
  border: 1px solid #e5e3df;
  border-left: 4px solid var(--item-color, #e05a6d);
  border-radius: 12px;
  background: #faf9f7;
}

.lovei-other-item.is-current {
  background: #fdf4f5;
  border-color: #f0ccd2;
}

.lovei-other-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lovei-other-item__head h4 {
  margin: 0;
  color: #1c1c1e;
  font-size: 13.5px;
  font-weight: 800;
}

.lovei-other-item__tag {
  flex: none;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e05a6d;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.lovei-other-item__subtitle {
  margin: 3px 0 0;
  color: #727278;
  font-size: 11px;
  font-weight: 600;
}

.lovei-other-item__quote {
  margin: 4px 0 0;
  color: #b83f52;
  font-size: 11.5px;
  font-weight: 600;
}

.lovei-other-item__desc {
  margin: 5px 0 0;
  color: #3a3a3c;
  font-size: 11.5px;
  line-height: 1.65;
  white-space: pre-line;
}
