.tf-report {
  max-width: 450px;
  margin: auto;
  padding: 2px 2px 16px;
  color: var(--test-ink);
}

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

.tf-hero {
  --talent-accent: #4f7be8;
  padding: 11px 13px 10px;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--talent-accent) 13%, #ffffff) 0%, transparent 64%),
    linear-gradient(165deg, #ffffff 0%, #f8f9fc 100%);
  border: 1px solid color-mix(in srgb, var(--talent-accent) 24%, #dfe4ee);
  border-top: 3px solid var(--talent-accent);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(36, 48, 68, 0.06);
}

.tf-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  color: var(--test-muted);
}

.tf-hero__score {
  padding: 2px 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--talent-accent) 11%, #ffffff);
  color: var(--talent-accent);
  font-weight: 700;
}

.tf-hero__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
}

.tf-hero__icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--talent-accent) 13%, #ffffff) 0%, #ffffff 74%);
  border: 1.5px solid color-mix(in srgb, var(--talent-accent) 28%, transparent);
}

.tf-hero__icon svg {
  width: 42px;
  height: 42px;
}

.tf-hero__name {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--test-ink);
}

.tf-hero__tag {
  margin: 3px 0 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--talent-accent);
}

.tf-hero__copy {
  margin: 7px auto 7px;
  padding: 6px 11px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--talent-accent) 6%, #ffffff);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--test-ink);
}

.tf-hero__pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.tf-hero__pills span {
  --pill-color: #4f7be8;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2.5px 9px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--pill-color) 11%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--pill-color) 24%, transparent);
  color: var(--pill-color);
}

.tf-card {
  margin-top: 10px;
  padding: 13px;
  background: #ffffff;
  border: 1px solid #dfe4ee;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(36, 48, 68, 0.04);
}

.tf-bars-card {
  margin-top: 8px;
  padding: 10px 10px 9px;
}

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

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

.tf-card__sub {
  font-size: 11px;
  color: var(--test-muted);
}

/* 十种天赋紧凑柱状图：每行 5 个，分两行显示 */
.tf-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 6px;
  margin-top: 10px;
  align-items: end;
}

.tf-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tf-bar__pct {
  font-size: 10px;
  font-weight: 700;
  color: var(--test-ink);
  margin-bottom: 3px;
}

.tf-bar__track {
  width: 100%;
  max-width: 22px;
  height: 50px;
  display: flex;
  align-items: flex-end;
  border-radius: 6px;
  background: #eef1f7;
  overflow: hidden;
}

.tf-bar__fill {
  width: 100%;
  border-radius: 6px 6px 0 0;
}

.tf-bar__name {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--test-ink);
  white-space: nowrap;
}

.tf-bar__ico {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  display: grid;
  place-items: center;
}

.tf-bar__ico svg {
  width: 18px;
  height: 18px;
}

/* TOP 3 协同三角 */
.tf-combo-map {
  position: relative;
  height: 176px;
  margin-top: 8px;
}

.tf-combo-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 126px;
  height: 126px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed #d2daf0;
}

.tf-combo-core {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2f5fc;
  color: #4f7be8;
  font-size: 11px;
  font-weight: 700;
}

.tf-combo-node {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
}

.tf-combo-node__ico {
  width: 38px;
  height: 38px;
  margin: 0 auto 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1.5px solid color-mix(in srgb, var(--node-color) 45%, transparent);
  box-shadow: 0 3px 10px rgba(36, 48, 68, 0.08);
}

.tf-combo-node__ico svg {
  width: 26px;
  height: 26px;
}

.tf-combo-node strong {
  display: block;
  font-size: 11.5px;
  color: var(--test-ink);
}

.tf-combo-node span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
}

.tf-summary {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--test-muted);
}

/* 盲区平衡 */
.tf-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f9fc;
}

.tf-balance__side {
  flex: 1;
  text-align: center;
}

.tf-balance__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1.5px solid #4f7be8;
}

.tf-balance__icon svg {
  width: 28px;
  height: 28px;
}

.tf-balance__side strong {
  display: block;
  font-size: 13px;
  color: var(--test-ink);
}

.tf-balance__side span {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.tf-balance__mid {
  flex: none;
  text-align: center;
}

.tf-balance__line {
  display: block;
  width: 48px;
  height: 1px;
  margin: 0 auto 4px;
  background: #cdd5e5;
}

.tf-balance__mid small {
  font-size: 10.5px;
  color: var(--test-muted);
}

/* 发挥路径 */
.tf-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.tf-path-step {
  padding: 10px 8px;
  border-radius: 9px;
  background: #f7f9fc;
  border: 1px solid #e6ebf4;
  text-align: center;
}

.tf-path-step__ico {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--step-color) 35%, transparent);
}

.tf-path-step__ico svg {
  width: 24px;
  height: 24px;
}

.tf-path-step__stage {
  display: block;
  font-size: 10px;
  color: var(--test-muted);
}

.tf-path-step strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--test-ink);
}

.tf-path-step p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--test-muted);
}

/* 场景地图 */
.tf-scenes {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.tf-scene-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.tf-scene-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--test-ink);
}

.tf-scene-track {
  height: 7px;
  border-radius: 99px;
  background: #eef1f7;
  overflow: hidden;
}

.tf-scene-track i {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.tf-scene-score {
  font-size: 12px;
  color: var(--test-ink);
  text-align: right;
}

/* 十项详细解读 */
#tf-dims-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.tf-dim-item {
  --dim-color: #4f7be8;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f9fafd;
  border: 1px solid #e6ebf4;
  border-left: 3px solid var(--dim-color);
}

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

.tf-dim-item__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.tf-dim-item__ico {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--dim-color) 30%, transparent);
}

.tf-dim-item__ico svg {
  width: 20px;
  height: 20px;
}

.tf-dim-item__title {
  min-width: 0;
}

.tf-dim-item__name-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.tf-dim-item__rank {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--dim-color);
}

.tf-dim-item__name-row strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--test-ink);
}

.tf-dim-item__tag {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: var(--test-muted);
}

.tf-dim-item__right {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

.tf-dim-item__pct {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--dim-color);
}

.tf-dim-item__lvl {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  color: var(--dim-color);
  background: color-mix(in srgb, var(--dim-color) 12%, #ffffff);
}

.tf-dim-item__bar {
  height: 4px;
  margin-top: 8px;
  border-radius: 99px;
  background: #e6ebf4;
  overflow: hidden;
}

.tf-dim-item__bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.tf-dim-item__text {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--test-ink);
}

.tf-dim-item__rx {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--dim-color) 6%, #ffffff);
}

.tf-dim-item__rx-label {
  flex: none;
  margin-top: 1px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--dim-color);
  background: color-mix(in srgb, var(--dim-color) 13%, #ffffff);
}

.tf-dim-item__rx p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--test-muted);
}

.tf-disclaimer {
  margin: 14px 8px 0;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
  color: var(--test-muted);
}
