/* 荣格八维结果页样式 */
.jung-report {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 12px;
}

/* 1. 极简首屏主卡（居中排版） */
.jung-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 22px;
  padding: 22px 18px 20px;
  background:
    radial-gradient(circle at 90% 14%, rgba(96, 165, 250, 0.24), transparent 46%),
    radial-gradient(circle at 12% 92%, rgba(167, 139, 250, 0.2), transparent 48%),
    linear-gradient(140deg, #1d2a64 0%, #2b44a8 56%, #3c5ce5 100%);
  color: #ffffff;
  box-shadow: 0 16px 34px -16px rgba(29, 42, 100, 0.56);
}

.jung-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.jung-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
}

.jung-pill--soft {
  background: rgba(253, 230, 138, 0.18);
  border-color: rgba(253, 230, 138, 0.34);
  color: #fef3c7;
}

.jung-hero__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.jung-hero__code {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.jung-hero__name {
  font-size: 17px;
  font-weight: 600;
  color: #dbeafe;
}

.jung-hero__focus {
  margin: 0 auto;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

/* 通用卡片容器 */
.jung-card {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dce4f5;
  box-shadow: 0 8px 22px -16px rgba(30, 38, 64, 0.18);
}

.jung-card__head {
  margin-bottom: 12px;
}

.jung-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e2640;
}

.jung-card__sub {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #64708c;
}

/* 2. Top 5 候选原型 */
.jung-candidates {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jung-candidate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f8ff;
  border: 1px solid #e4ebf9;
}

.jung-candidate.is-top {
  background: linear-gradient(135deg, #eef3ff, #f3f0ff);
  border-color: #b7c9fa;
}

.jung-candidate__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jung-candidate__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #e1e8f8;
  color: #355ce6;
  font-size: 12px;
  font-weight: 700;
}

.jung-candidate.is-top .jung-candidate__rank {
  background: #355ce6;
  color: #ffffff;
}

.jung-candidate__name {
  font-size: 13.5px;
  color: #1e2640;
}

.jung-candidate__stack {
  font-size: 11.5px;
  color: #64708c;
  margin-top: 2px;
}

.jung-candidate__score {
  font-size: 14px;
  font-weight: 700;
  color: #355ce6;
}

/* 3. 雷达图与能量条 */
.jung-radar-wrap {
  display: flex;
  justify-content: center;
  padding: 4px 0 10px;
}

.jung-radar-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: visible;
}

.jung-bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 8px;
}

.jung-bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f6f8fe;
  border: 1px solid #e4ebf9;
}

.jung-bar-row__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.jung-bar-row__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
}

.jung-bar-row__name {
  font-weight: 700;
  color: #1e2640;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jung-bar-row__pct {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 800;
  color: #355ce6;
  font-variant-numeric: tabular-nums;
}

.jung-bar-row__track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #e6ecf8;
  overflow: hidden;
}

.jung-bar-row__fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.jung-insights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #dce4f5;
}

.jung-insight {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f8fe;
}

.jung-insight__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #2f4fc7;
  margin-bottom: 3px;
}

.jung-insight__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #44506d;
}

/* 4. 四重功能栈 */
.jung-stack-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jung-stack-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: #f8faff;
  border: 1px solid #e4ebf9;
}

.jung-stack-item__badge {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.jung-stack-item__body {
  flex: 1;
  min-width: 0;
}

.jung-stack-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  color: #1e2640;
}

.jung-stack-item__pct {
  font-size: 12.5px;
  font-weight: 700;
  color: #355ce6;
}

.jung-stack-item__desc {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #5b6682;
}

/* 5. 四组张力对照 */
.jung-tensions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jung-tension {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8faff;
  border: 1px solid #e4ebf9;
}

.jung-tension__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.jung-tension__label {
  font-size: 13px;
  font-weight: 700;
  color: #1e2640;
}

.jung-tension__lean {
  font-size: 12px;
  font-weight: 600;
  color: #355ce6;
}

.jung-tension__poles {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #525f7c;
  margin-bottom: 6px;
}

.jung-tension__track {
  display: flex;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  gap: 2px;
  background: #e9effb;
}

.jung-tension__left,
.jung-tension__right {
  height: 100%;
  transition: width 0.35s ease;
}

/* 6. 画像与建议 */
.jung-profile-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jung-profile-item {
  padding: 11px 12px;
  border-radius: 12px;
  background: #f7f9ff;
  border-left: 3px solid #355ce6;
}

.jung-profile-item__label {
  font-size: 12.5px;
  font-weight: 700;
  color: #273a8f;
  margin-bottom: 4px;
}

.jung-profile-item__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #3e4964;
}

.jung-advice-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jung-advice-item {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f6f8fe;
  border: 1px solid #e4ebf9;
}

.jung-advice-item__num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  color: #355ce6;
  padding-top: 1px;
}

.jung-advice-item__title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1e2640;
  margin-bottom: 3px;
}

.jung-advice-item__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4b5775;
}

.jung-rank-group + .jung-rank-group {
  margin-top: 10px;
}
.jung-rank-group__title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}
.jung-rank-group__title.is-strong { color: #2748b8; }
.jung-rank-group__title.is-weak { color: #9a5b13; }
.jung-rank-group__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
