#report-body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  color: var(--dere-ink, #22182a);
}

/* ---------- 通用卡片骨架 ---------- */
#report-body .dere-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 17px 15px;
  border: 1px solid #eedbe7;
  background: linear-gradient(180deg, #ffffff 0%, #fffcfe 100%);
  box-shadow: 0 16px 38px -26px rgba(68, 24, 54, 0.22), 0 1px 0 rgba(255, 255, 255, 0.96) inset;
}

#report-body .dere-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 13px;
  padding-bottom: 9px;
  border-bottom: 1px solid #f5e9f1;
}

#report-body .dere-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--dere-muted, #6c5b78);
}

#report-body .dere-title {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--dere-ink, #22182a);
}

#report-body .dere-pill-badge {
  flex-shrink: 0;
  padding: 3.5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

#report-body .dere-pill-badge--violet {
  color: #6d28d9;
  background: #f5f3ff;
  border-color: #ddd6fe;
}

#report-body .dere-pill-badge--blue {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

/* ---------- 00. 主导萌属性 SSR 档案主卡 ---------- */
#report-body .dere-hero {
  padding: 22px 17px 19px;
  text-align: center;
  border-color: var(--dere-border, #fecdd3);
  background:
    radial-gradient(circle at 50% -6%, color-mix(in srgb, var(--dere-accent) 16%, transparent), transparent 62%),
    radial-gradient(circle at 92% 14%, color-mix(in srgb, var(--dere-accent) 9%, transparent), transparent 46%),
    linear-gradient(180deg, #ffffff 0%, #fffbfd 100%);
}

#report-body .dere-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dere-accent), color-mix(in srgb, var(--dere-accent) 60%, #7c3aed));
}

#report-body .dere-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--dere-soft, #fff1f2);
  border: 1px solid var(--dere-border, #fecdd3);
  color: var(--dere-accent, #e11d48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

#report-body .dere-hero__main {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#report-body .dere-hero__name {
  margin: 0;
  font-size: clamp(36px, 10vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--dere-ink, #22182a);
}

#report-body .dere-hero__roman {
  margin: 4px 0 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dere-muted, #6c5b78);
}

#report-body .dere-hero__score-row {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

#report-body .dere-hero__meter {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--dere-accent, #e11d48);
  color: #ffffff;
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--dere-accent) 68%, transparent);
}

#report-body .dere-hero__meter span {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.92;
}

#report-body .dere-hero__meter strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

#report-body .dere-hero__combo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
  border: 1px solid #f5d0fe;
  color: #86198f;
  font-size: 11.5px;
  font-weight: 800;
}

#report-body .dere-hero__tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

#report-body .dere-hero__tag {
  padding: 3.5px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--dere-border, #fecdd3);
  color: var(--dere-accent, #e11d48);
  font-size: 11px;
  font-weight: 700;
}

#report-body .dere-hero__quote {
  position: relative;
  margin: 14px 0 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--dere-soft, #fff1f2);
  border: 1px solid var(--dere-border, #fecdd3);
  color: var(--dere-ink, #22182a);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.55;
}

#report-body .dere-hero__detail {
  margin: 0;
  color: #4a3b56;
  font-size: 13px;
  line-height: 1.72;
  text-align: left;
}

/* ---------- 01. 同属性代表动漫角色卡 ---------- */
#report-body .dere-portraits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#report-body .dere-portrait {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--dere-border, #eedbe7);
  box-shadow: 0 8px 18px -14px rgba(34, 24, 42, 0.25);
}

#report-body .dere-portrait__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--dere-soft, #fdf1f6);
}

#report-body .dere-portrait__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

#report-body .dere-portrait__meta {
  padding: 7px 5px 8px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #fffafd 100%);
}

#report-body .dere-portrait__meta strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--dere-ink, #22182a);
  overflow-wrap: anywhere;
}

#report-body .dere-portrait__meta span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.25;
  color: var(--dere-muted, #6c5b78);
  overflow-wrap: anywhere;
}

/* 双属性副系角色条 */
#report-body .dere-sub-chara {
  margin-top: 11px;
  padding: 10px 11px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdf4ff 0%, #f5f3ff 100%);
  border: 1px solid #e9d5ff;
}

#report-body .dere-sub-chara__label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  color: #7e22ce;
}

#report-body .dere-sub-chara__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#report-body .dere-sub-chara__item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #ede9fe;
}

#report-body .dere-sub-chara__item img {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
}

#report-body .dere-sub-chara__item span {
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  color: #3b2854;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 02. 七维雷达图 & 排行明细 ---------- */
#report-body .dere-radar-wrap {
  padding: 8px 4px 4px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffafd 0%, #faf5fc 100%);
  border: 1px solid #f1e3ee;
  margin-bottom: 13px;
}

#report-body .dere-radar {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

#report-body .dere-radar__label {
  font-size: 11.5px;
  font-weight: 800;
  fill: #372944;
}

#report-body .dere-radar__label.is-top {
  fill: var(--dere-accent, #e11d48);
  font-weight: 900;
}

#report-body .dere-radar__pct {
  font-size: 10.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  fill: #7b6988;
}

#report-body .dere-radar__pct.is-top {
  fill: var(--dere-accent, #e11d48);
  font-weight: 900;
}

#report-body .dere-scores {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#report-body .dere-score-row {
  display: grid;
  grid-template-columns: 22px 58px 1fr 40px;
  align-items: center;
  gap: 8px;
}

#report-body .dere-score-rank {
  display: inline-grid;
  place-items: center;
  height: 19px;
  border-radius: 6px;
  background: #f5eef7;
  color: #7c6a8a;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#report-body .dere-score-row.is-top .dere-score-rank {
  background: var(--row-soft);
  color: var(--row-color);
  border: 1px solid var(--row-border);
}

#report-body .dere-score-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--dere-ink, #22182a);
  white-space: nowrap;
}

#report-body .dere-score-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--row-color);
}

#report-body .dere-meter {
  height: 9px;
  border-radius: 999px;
  background: #f3eaf2;
  overflow: hidden;
  padding: 1px;
}

#report-body .dere-meter > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--row-color) 68%, #ffffff), var(--row-color));
}

#report-body .dere-score-val {
  text-align: right;
  font-size: 12.5px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--row-color);
}

/* ---------- 03. 心动日常切片 & 最佳拍档 ---------- */
#report-body .dere-scene-list {
  list-style: none;
  margin: 0 0 11px;
  padding: 0;
  display: grid;
  gap: 7px;
}

#report-body .dere-scene-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9.5px 11px;
  border-radius: 13px;
  background: #fcf8fb;
  border: 1px solid #f1e3ee;
}

#report-body .dere-scene-num {
  flex: none;
  padding: 1.5px 6px;
  border-radius: 6px;
  background: var(--dere-soft, #fff1f2);
  border: 1px solid var(--dere-border, #fecdd3);
  color: var(--dere-accent, #e11d48);
  font-size: 10.5px;
  font-weight: 900;
}

#report-body .dere-scene-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #3d2f49;
}

#report-body .dere-style-box {
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f8 0%, #f8f4ff 100%);
  border: 1px solid #f4d6e5;
  margin-bottom: 10px;
}

#report-body .dere-style-box__tag {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: #be123c;
}

#report-body .dere-style-box__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: #362842;
}

#report-body .dere-match-box {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(155deg, #ffffff 0%, var(--match-soft, #fff7ed) 100%);
  border: 1px solid var(--match-border, #fed7aa);
}

#report-body .dere-match-box__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  object-fit: cover;
  object-position: 50% 22%;
  border: 1.5px solid var(--match-border, #fed7aa);
}

#report-body .dere-match-box__body {
  min-width: 0;
  flex: 1;
}

#report-body .dere-match-box__tag {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--match-color, #ea580c);
}

#report-body .dere-match-box__title {
  display: block;
  margin: 1px 0 3px;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--dere-ink, #22182a);
}

#report-body .dere-match-box__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #4b3c58;
}

/* ---------- 04. 七大萌属性百科交互图鉴 ---------- */
#report-body .dere-atlas-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 11px;
}

#report-body .dere-atlas-pill {
  appearance: none;
  padding: 5px 10.5px;
  border-radius: 999px;
  border: 1px solid #eadbe6;
  background: #fcf8fb;
  color: #5b4b68;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

#report-body .dere-atlas-pill.is-main {
  border-color: #fbcfe8;
  background: #fff1f2;
  color: #be123c;
  font-weight: 800;
}

#report-body .dere-atlas-pill.is-active {
  background: var(--pill-color, #22182a);
  border-color: var(--pill-color, #22182a);
  color: #ffffff;
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--pill-color, #22182a) 65%, transparent);
}

#report-body .dere-atlas-panel {
  padding: 12px;
  border-radius: 15px;
  background: linear-gradient(180deg, var(--panel-soft, #fff1f2) 0%, #ffffff 78%);
  border: 1px solid var(--panel-border, #fecdd3);
}

#report-body .dere-atlas-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

#report-body .dere-atlas-panel__title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

#report-body .dere-atlas-panel__title strong {
  font-size: 16px;
  font-weight: 900;
  color: var(--panel-color, #e11d48);
}

#report-body .dere-atlas-panel__title span {
  font-size: 11px;
  font-weight: 700;
  color: var(--dere-muted, #6c5b78);
}

#report-body .dere-atlas-panel__score {
  flex: none;
  font-size: 12px;
  font-weight: 900;
  color: var(--panel-color, #e11d48);
  font-variant-numeric: tabular-nums;
}

#report-body .dere-atlas-panel__quote {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--dere-ink, #22182a);
}

#report-body .dere-atlas-panel__desc {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.6;
  color: #4b3c58;
}

#report-body .dere-atlas-panel__chars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

#report-body .dere-atlas-char {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 6px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #efe2ec;
}

#report-body .dere-atlas-char img {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 22%;
}

#report-body .dere-atlas-char div {
  min-width: 0;
}

#report-body .dere-atlas-char strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--dere-ink, #22182a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#report-body .dere-atlas-char span {
  display: block;
  font-size: 9.5px;
  color: var(--dere-muted, #6c5b78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 360px) {
  #report-body .dere-sub-chara__list,
  #report-body .dere-atlas-panel__chars {
    grid-template-columns: 1fr;
  }
}
