.ml-report {
  max-width: 450px;
  margin: auto;
  padding: 2px 2px 18px;
  display: grid;
  gap: 10px;
  color: var(--test-ink);
}

.ml-report * {
  box-sizing: border-box;
}

/* 美化后的第一张卡片：星芒紫玫瑰金渐变 + 磨砂圆环总分 */
.ml-hero {
  --hero-accent: #7a4be0;
  position: relative;
  padding: 16px 15px 14px;
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 114, 182, 0.36), transparent 44%),
    radial-gradient(circle at 10% 90%, rgba(99, 102, 241, 0.35), transparent 48%),
    linear-gradient(138deg, #6f42c1 0%, #8b5cf6 52%, #d9468f 100%);
  box-shadow: 0 12px 28px rgba(111, 66, 193, 0.24);
  overflow: hidden;
}

.ml-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 10px;
  align-items: center;
}

.ml-hero__kicker {
  display: inline-block;
  padding: 2.5px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ml-hero__name {
  margin: 7px 0 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  font-family: "Songti SC", "STSong", serif;
}

.ml-hero__tagline {
  margin: 5px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
}

.ml-hero__ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ml-hero__ring strong {
  font-size: 27px;
  font-weight: 900;
  font-family: Georgia, serif;
  line-height: 1;
}

.ml-hero__ring span {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 700;
  opacity: 0.92;
}

.ml-hero__copy {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.96);
}

.ml-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.ml-hero__pills span {
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 10.5px;
  font-weight: 700;
}

/* 通用卡片 */
.ml-card {
  padding: 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #eae3f4;
  box-shadow: 0 7px 18px rgba(122, 75, 224, 0.07);
}

.ml-sec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.ml-sec h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--test-ink);
}

.ml-muted {
  color: #84789a;
  font-size: 10.5px;
  font-weight: 700;
}

.ml-radar-svg {
  display: block;
  width: 100%;
  max-width: 286px;
  margin: 0 auto;
}

/* 初见与反差 */
.ml-contrast-grid {
  display: grid;
  gap: 8px;
}

.ml-contrast-box {
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid #eae3f4;
}

.ml-contrast-box--first {
  background: linear-gradient(155deg, #faf7ff, #f4eefe);
}

.ml-contrast-box--after {
  background: linear-gradient(155deg, #fff8fb, #fdf0f6);
}

.ml-contrast-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  margin-bottom: 5px;
}

.ml-contrast-box--first .ml-contrast-badge {
  color: #6a3cc9;
  background: #ebe3fc;
}

.ml-contrast-box--after .ml-contrast-badge {
  color: #c2357b;
  background: #fbe2ee;
}

.ml-contrast-box p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #3e3252;
}

/* 吸引与消耗 */
.ml-rel-stack {
  display: grid;
  gap: 8px;
}

.ml-rel-item {
  padding: 10px 11px;
  border-radius: 10px;
  background: #faf8fd;
  border: 1px solid #eae3f4;
}

.ml-rel-item--good {
  border-left: 3px solid #7a4be0;
}

.ml-rel-item--warn {
  border-left: 3px solid #d9468f;
}

.ml-rel-item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--test-ink);
  margin-bottom: 3px;
}

.ml-rel-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: #54466b;
}

.ml-rel-note {
  margin: 2px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #7c6f91;
}

/* 维度条与配方 */
.ml-dim-list,
.ml-scene-list,
.ml-tip-list {
  display: grid;
  gap: 8px;
}

.ml-dim-row,
.ml-scene-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 26px;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
}

.ml-scene-row {
  grid-template-columns: 88px minmax(0, 1fr) 26px;
}

.ml-dim-name,
.ml-scene-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--test-ink);
}

.ml-dim-name i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.ml-track {
  height: 7px;
  border-radius: 99px;
  background: #efeaf7;
  overflow: hidden;
}

.ml-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.ml-score {
  color: #6a3cc9;
  font-weight: 900;
  text-align: right;
}

.ml-dna {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ml-dna-item {
  --dna-color: #7a4be0;
  padding: 8px 9px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--dna-color) 8%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--dna-color) 22%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--test-ink);
}

.ml-dna-item strong {
  color: var(--dna-color);
}

/* 十维逐项解读 */
.ml-dim-details {
  display: grid;
  gap: 8px;
}

.ml-dim-card {
  --dim-color: #7a4be0;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fcfafd;
  border: 1px solid #eae3f4;
  border-left: 3px solid var(--dim-color);
}

.ml-dim-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ml-dim-card__left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ml-dim-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim-color);
}

.ml-dim-card__left strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--test-ink);
}

.ml-dim-card__right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ml-dim-card__score {
  font-size: 12px;
  font-weight: 800;
  color: var(--dim-color);
}

.ml-dim-card__lvl {
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 99px;
  color: var(--dim-color);
  background: color-mix(in srgb, var(--dim-color) 12%, #ffffff);
}

.ml-dim-card__text {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #54466b;
}

.ml-tip {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.ml-tip-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.ml-tip p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #46385e;
}

.ml-quote {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 8px;
  background: #fdf2f8;
  border-left: 3px solid #ec4899;
  color: #7e224e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
}

.ml-note {
  margin: 2px 0 0;
  text-align: center;
  color: #84789a;
  font-size: 11px;
  line-height: 1.6;
}
