/* 分手原因测试报告样式：首屏同框展示 首卡 + 雷达图 + 2×6 彩色排行进度条 */

.reason-hero {
  padding: 10.5px 12.5px;
  border: 1px solid #dfe5ec;
  border-top: 3px solid #b85360;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(184, 83, 96, 0.08), transparent 46%),
    radial-gradient(circle at 12% 14%, rgba(43, 59, 78, 0.07), transparent 48%),
    #ffffff;
  box-shadow: 0 10px 24px -20px rgba(31, 42, 54, 0.2);
  text-align: center;
}

.reason-hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.reason-hero__eyebrow {
  display: inline-block;
  padding: 2.5px 9px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #2b3b4e;
  font-size: 10px;
  font-weight: 700;
}

.reason-hero__name {
  margin: 0;
  color: #1f2a36;
  font-size: 21.5px;
  font-weight: 800;
  line-height: 1.16;
}

.reason-hero__quote {
  display: inline-block;
  margin: 5px auto 0;
  padding: 2.5px 9px;
  border-radius: 999px;
  background: #f9eff0;
  color: #9e424e;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.38;
}

.reason-hero__desc {
  margin: 6.5px 0 0;
  padding-top: 6.5px;
  border-top: 1px solid #edf0f4;
  color: #2c3845;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: left;
}

.reason-card {
  margin-top: 9px;
  padding: 11px 12px;
  border: 1px solid #dfe5ec;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px -20px rgba(31, 42, 54, 0.16);
}

.reason-card--dist {
  padding: 10px 11px 11px;
}

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

.reason-card__head h3 {
  margin: 0;
  color: #1f2a36;
  font-size: 14px;
  font-weight: 800;
}

.reason-card__chip {
  flex: none;
  padding: 2.5px 8.5px;
  border-radius: 999px;
  background: #f9eff0;
  color: #9e424e;
  font-size: 10px;
  font-weight: 700;
}

.reason-card__sub {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #63707d;
  font-size: 10px;
  font-weight: 700;
}

.reason-radar-svg {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 6.5px;
}

/* 2 列 × 6 行彩色进度条 */
.reason-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 11px;
  row-gap: 7px;
  padding-top: 8px;
  border-top: 1px solid #edf0f4;
}

.reason-bar-item {
  min-width: 0;
}

.reason-bar-item__head {
  display: flex;
  align-items: center;
  gap: 5px;
}

.reason-bar-item__rank {
  display: grid;
  place-items: center;
  flex: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bar-color, #b85360);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.reason-bar-item__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--bar-color, #1f2a36);
  font-size: 11.5px;
  font-weight: 700;
}

.reason-bar-item__val {
  flex: none;
  color: var(--bar-color, #1f2a36);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.reason-bar-item__track {
  height: 5.5px;
  margin-top: 3.5px;
  border-radius: 999px;
  background: #edf0f4;
  overflow: hidden;
}

.reason-bar-item__track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--bar-color, #b85360);
}

/* 03 TOP 3 原因 */
.reason-top3 {
  display: grid;
  gap: 7px;
}

.reason-top3-item {
  padding: 9px 10px;
  border: 1px solid #e4e9ef;
  border-radius: 11px;
  background: #f8fafb;
}

.reason-top3-item:first-child {
  border-color: rgba(184, 83, 96, 0.28);
  background: linear-gradient(135deg, #fdf6f7 0%, #f9fafc 100%);
}

.reason-top3-item__head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.reason-top3-item__rank {
  padding: 2px 7px;
  border-radius: 999px;
  background: #2b3b4e;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
}

.reason-top3-item:first-child .reason-top3-item__rank {
  background: #b85360;
}

.reason-top3-item__head strong {
  flex: 1;
  color: #1f2a36;
  font-size: 13px;
  font-weight: 800;
}

.reason-top3-item__pct {
  color: #b85360;
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.reason-top3-item p {
  margin: 4px 0 0;
  color: #364350;
  font-size: 11.5px;
  line-height: 1.55;
}

/* 04 致命问题 */
.reason-behaviors {
  display: grid;
  gap: 7px;
}

.reason-behavior-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8.5px 10px;
  border: 1px solid #e4e9ef;
  border-radius: 11px;
  background: #f8fafb;
}

.reason-behavior-row__num {
  flex: none;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f9eff0;
  color: #9e424e;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.reason-behavior-row p {
  margin: 0;
  color: #2c3845;
  font-size: 11.5px;
  line-height: 1.55;
}

/* 05 你以为的自己 vs 对方感受到的你 */
.reason-vs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reason-vs__col {
  padding: 11px 11px 12px;
  border-radius: 12px;
  border: 1px solid #e4e9ef;
}

.reason-vs__col--self {
  border-color: rgba(53, 120, 229, 0.2);
  background: linear-gradient(180deg, #f4f8ff 0%, #f9fbfe 100%);
}

.reason-vs__col--partner {
  border-color: rgba(224, 90, 122, 0.22);
  background: linear-gradient(180deg, #fff4f7 0%, #fdf8f9 100%);
}

.reason-vs__badge {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2.5px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.reason-vs__col--self .reason-vs__badge {
  background: rgba(53, 120, 229, 0.12);
  color: #2b5cb8;
}

.reason-vs__col--partner .reason-vs__badge {
  background: rgba(224, 90, 122, 0.14);
  color: #b83d5b;
}

.reason-vs__col p {
  margin: 0;
  color: #2c3845;
  font-size: 11.5px;
  line-height: 1.6;
}

.reason-vs__divider {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.reason-vs__divider span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: linear-gradient(135deg, #3578e5 0%, #e05a7a 100%);
  box-shadow: 0 4px 10px -2px rgba(43, 59, 78, 0.25);
  color: #ffffff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* 06 关系崩盘的典型瞬间 */
.reason-crash-list {
  display: grid;
  gap: 9px;
}

.reason-crash-item {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.reason-crash-item__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  width: 14px;
  padding-top: 12px;
}

.reason-crash-item__rail::after {
  content: "";
  flex: 1;
  width: 1.5px;
  margin-top: 5px;
  background: linear-gradient(180deg, rgba(224, 90, 122, 0.35) 0%, rgba(133, 88, 230, 0.12) 100%);
}

.reason-crash-item:last-child .reason-crash-item__rail::after {
  display: none;
}

.reason-crash-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e05a7a;
  box-shadow: 0 0 0 3px rgba(224, 90, 122, 0.16);
}

.reason-crash-item__body {
  flex: 1;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e6ebf1;
  border-radius: 12px;
  background: linear-gradient(135deg, #fcfdff 0%, #fdf8fa 100%);
}

.reason-crash-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

.reason-crash-item__tag {
  flex: none;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f9eff0;
  color: #b83d5b;
  font-size: 9.5px;
  font-weight: 800;
}

.reason-crash-item__top h4 {
  margin: 0;
  color: #1f2a36;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.38;
}

.reason-crash-item__body p {
  margin: 0;
  color: #3e4c59;
  font-size: 11.5px;
  line-height: 1.58;
}
