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

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

/* 第一张卡片：紧凑星光指数主卡 */
.star-hero {
  --star-accent: #6c4ce0;
  padding: 12px 13px 11px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--star-accent) 26%, #e3dcf5);
  border-top: 3.5px solid var(--star-accent);
  background:
    radial-gradient(ellipse at 18% 0%, color-mix(in srgb, var(--star-accent) 14%, #ffffff) 0%, transparent 56%),
    radial-gradient(ellipse at 86% 14%, rgba(217, 107, 152, 0.12) 0%, transparent 52%),
    linear-gradient(166deg, #ffffff 0%, #f9f6ff 100%);
  box-shadow: 0 10px 26px rgba(36, 30, 56, 0.07);
}

.star-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.star-hero__kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--test-muted);
}

.star-hero__stage-pill {
  padding: 2.5px 10px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--star-accent), #d96b98);
  box-shadow: 0 3px 9px color-mix(in srgb, var(--star-accent) 26%, transparent);
}

.star-hero__main {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.star-hero__ring {
  width: 104px;
  height: 104px;
}

.star-hero__ring svg {
  width: 100%;
  height: 100%;
}

.star-hero__stage-name {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--test-ink);
}

.star-hero__stage-sub {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--star-accent);
}

.star-hero__stage-line {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--test-muted);
}

.star-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.star-track span {
  height: 5px;
  border-radius: 99px;
  background: #eae4f7;
}

.star-track span.on {
  background: linear-gradient(90deg, var(--star-accent), #d96b98);
}

.star-track-ends {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 4px;
  font-size: 9.5px;
  text-align: center;
  color: var(--test-muted);
}

/* 通用卡片 */
.star-card {
  padding: 13px;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaff 100%);
  border: 1px solid #e6dff5;
  box-shadow: 0 7px 20px rgba(36, 30, 56, 0.05);
}

.star-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

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

.star-card__sub {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--test-muted);
}

.star-card__badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  color: #6c4ce0;
  background: #f3effe;
  border: 1px solid #dfd5fb;
}

.star-card__badge--rose {
  color: #c24b7f;
  background: #fdf0f6;
  border-color: #f4d3e3;
}

/* 心境卡片 */
.star-persona-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.star-persona-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.star-persona-icon svg {
  width: 100%;
  height: 100%;
}

.star-persona-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--test-muted);
}

.star-persona-name {
  margin: 1px 0 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
  color: var(--test-ink);
}

.star-persona-sub {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 700;
  color: #6c4ce0;
}

.star-persona-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.star-persona-tags span {
  padding: 2.5px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #6c4ce0;
  background: #f5f1fe;
  border: 1px solid #dfd5fb;
}

.star-persona-quote {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f8f5ff 0%, #fef4f8 100%);
  border: 1px solid #e8dff8;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--test-ink);
}

.star-persona-body,
.star-persona-detail {
  margin: 9px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--test-ink);
}

.star-persona-detail {
  color: var(--test-muted);
}

.star-persona-secondary {
  margin: 9px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #e6dff5;
  font-size: 11px;
  font-weight: 700;
  color: #6c4ce0;
}

/* 八维雷达与明细 */
.star-radar {
  margin: 9px auto 4px;
  padding: 4px;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, #fcfaff 0%, #f5f1fc 100%);
  border: 1px solid #eae3f7;
}

.star-radar svg {
  display: block;
  width: 100%;
  height: auto;
}

.star-dim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.star-dim-item {
  padding: 7px 9px;
  border-radius: 9px;
  background: #faf8ff;
  border: 1px solid #ebe4f8;
}

.star-dim-item.is-on {
  background: #f5f1fe;
  border-color: #d8cdf8;
}

.star-dim-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  margin-bottom: 4px;
}

.star-dim-top span {
  font-weight: 700;
  color: var(--test-ink);
}

.star-dim-top strong {
  font-size: 11px;
  font-weight: 800;
  color: var(--test-muted);
}

.star-dim-item.is-on .star-dim-top strong {
  color: #6c4ce0;
}

.star-dim-bar {
  height: 5px;
  border-radius: 99px;
  background: #eae4f7;
  overflow: hidden;
}

.star-dim-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
}

/* 微光时刻与回响 */
.star-lights,
.star-echoes {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.star-light-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #f9f6ff;
  border: 1px solid #eae2f8;
}

.star-light-ico {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #6c4ce0;
  flex-shrink: 0;
}

.star-light-ico svg {
  width: 100%;
  height: 100%;
}

.star-light-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: var(--test-ink);
}

.star-echo-item {
  padding: 9px 11px;
  border-radius: 10px;
  background: #fef7fa;
  border: 1px solid #f4dce8;
  border-left: 3px solid #d96b98;
}

.star-echo-item strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #a93f6e;
  margin-bottom: 3px;
}

.star-echo-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: var(--test-muted);
}

.star-disclaimer {
  margin: 2px 0 0;
  font-size: 11px;
  text-align: center;
  color: var(--test-muted);
}
