/* 深层恐惧测试结果页样式（紧凑丰富 + 矢量图标） */
.fear-report {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 8px;
}

/* 1. 极简首屏主卡 */
.fear-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 16px 16px 14px;
  background:
    radial-gradient(circle at 90% 14%, rgba(92, 225, 230, 0.2), transparent 46%),
    radial-gradient(circle at 12% 92%, rgba(201, 168, 255, 0.16), transparent 48%),
    linear-gradient(142deg, #162138 0%, #1c2c4a 58%, #1a3246 100%);
  border: 1px solid rgba(92, 225, 230, 0.28);
  color: #eef3ff;
  box-shadow: 0 14px 30px -16px rgba(2, 6, 18, 0.7);
}

.fear-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
}

.fear-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(92, 225, 230, 0.16);
  border: 1px solid rgba(92, 225, 230, 0.3);
  font-size: 11.5px;
  font-weight: 600;
  color: #8bf3f6;
}

.fear-hero__identity {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}

.fear-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(92, 225, 230, 0.12);
  border: 1px solid rgba(92, 225, 230, 0.28);
}

.fear-hero__icon svg {
  width: 24px;
  height: 24px;
}

.fear-hero__name {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: #ffffff;
}

.fear-hero__score {
  margin-left: auto;
  font-size: 22px;
  font-weight: 800;
  color: #5ce1e6;
}

.fear-hero__line {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(238, 243, 255, 0.9);
}

/* 通用暗夜卡片 */
.fear-card {
  border-radius: 16px;
  padding: 13px 14px;
  background: rgba(23, 33, 54, 0.92);
  border: 1px solid rgba(148, 173, 218, 0.18);
  box-shadow: 0 8px 20px -16px rgba(2, 6, 18, 0.65);
}

.fear-card__head {
  margin-bottom: 10px;
}

.fear-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #eef3ff;
}

/* 2. 两行五列十维竖状图 */
.fear-columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 10px 8px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  background: rgba(14, 21, 37, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.14);
}

.fear-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 7px 3px 6px;
  border-radius: 11px;
  border: 1px solid transparent;
}

.fear-col.is-peak {
  background: rgba(92, 225, 230, 0.11);
  border-color: rgba(92, 225, 230, 0.36);
}

.fear-col__pct {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #b8c7e2;
  margin-bottom: 5px;
}

.fear-col.is-peak .fear-col__pct {
  color: var(--col-color);
}

.fear-col__track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 22px;
  height: 78px;
  padding: 2px;
  border-radius: 7px;
  background: rgba(148, 173, 218, 0.14);
  overflow: hidden;
}

.fear-col__fill {
  width: 100%;
  border-radius: 5px;
  transition: height 0.35s ease;
}

.fear-col__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 7px;
  border-radius: 7px;
  background: rgba(148, 173, 218, 0.1);
  color: var(--col-color);
}

.fear-col__icon svg {
  width: 15px;
  height: 15px;
}

.fear-col__name {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #d6e0f5;
  white-space: nowrap;
}

.fear-col.is-peak .fear-col__name {
  color: #ffffff;
  font-weight: 700;
}

/* 3. 日常表现与真实需要 */
.fear-traits {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
}

.fear-trait {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(16, 24, 41, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.12);
}

.fear-trait span {
  font-size: 11.5px;
  font-weight: 700;
  color: #5ce1e6;
}

.fear-trait p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #dce6f9;
}

.fear-protect {
  padding: 10px 11px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(92, 225, 230, 0.11), rgba(138, 180, 255, 0.11));
  border-left: 3px solid #5ce1e6;
}

.fear-protect strong {
  display: block;
  font-size: 12px;
  color: #8bf3f6;
  margin-bottom: 3px;
}

.fear-protect p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #e4f5f7;
}

/* 4. 2×2 触发场景 */
.fear-triggers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fear-trigger {
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(16, 24, 41, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.14);
}

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

.fear-trigger__name {
  font-weight: 700;
  color: #eef3ff;
}

.fear-trigger__score {
  font-size: 11.5px;
  font-weight: 700;
}

.fear-trigger__track {
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 173, 218, 0.14);
  overflow: hidden;
  margin-bottom: 5px;
}

.fear-trigger__fill {
  height: 100%;
  border-radius: 999px;
}

.fear-trigger__note {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: #aebfdc;
}

/* 5. 防御路径、行为细节与情绪状态 */
.fear-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 9px;
}

.fear-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 7px 5px;
  border-radius: 10px;
  background: rgba(92, 225, 230, 0.1);
  border: 1px solid rgba(92, 225, 230, 0.22);
}

.fear-flow-step__num {
  font-size: 10.5px;
  font-weight: 700;
  color: #5ce1e6;
}

.fear-flow-step__text {
  font-size: 11.5px;
  font-weight: 600;
  color: #eef3ff;
}

.fear-flow-arrow {
  font-size: 14px;
  color: #8ab4ff;
  font-weight: 700;
}

.fear-defense-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
}

.fear-defense-item {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(16, 24, 41, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.12);
}

.fear-defense-item__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #8ab4ff;
  margin-bottom: 2px;
}

.fear-defense-item__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #c2d0ea;
}

.fear-thermos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fear-thermo {
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(16, 24, 41, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.14);
}

.fear-thermo__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5px;
}

.fear-thermo__head strong {
  font-size: 12px;
  color: #eef3ff;
}

.fear-thermo__head b {
  font-size: 12px;
}

.fear-thermo__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 173, 218, 0.14);
  overflow: hidden;
}

.fear-thermo__fill {
  height: 100%;
  border-radius: 999px;
}

/* 6. 关系与选择影响（2列） */
.fear-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fear-impact-item {
  padding: 10px;
  border-radius: 11px;
  background: rgba(16, 24, 41, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.14);
}

.fear-impact-item__label {
  font-size: 12px;
  font-weight: 700;
  color: #c9a8ff;
  margin-bottom: 4px;
}

.fear-impact-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #cad6ed;
}

/* 7. 调整建议 */
.fear-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fear-tip {
  display: flex;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(16, 24, 41, 0.72);
  border: 1px solid rgba(148, 173, 218, 0.14);
}

.fear-tip__num {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 800;
  color: #5ce1e6;
}

.fear-tip__title {
  font-size: 13px;
  font-weight: 700;
  color: #eef3ff;
  margin-bottom: 2px;
}

.fear-tip__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #b9c8e4;
}
