.feature-card {
  color: #202925;
  background: #fbfcfa;
  font-family: "IBM Plex Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.feature-card__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 800px;
  height: 500px;
  transform: scale(var(--card-scale, 1));
  transform-origin: top left;
}

.feature-card h2,
.feature-card h3,
.feature-card p,
.feature-card dl,
.feature-card figure { margin: 0; }

.feature-card h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.feature-card p {
  color: #5f6d68;
  font-size: 12px;
  line-height: 1.68;
}

.feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #285c53;
  font-size: 10px;
  font-weight: 600;
}

.feature-meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.feature-meta svg { width: 15px; height: 15px; stroke-width: 1.8; }

.confidence-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: #d9ebe7;
  color: #285c53;
  white-space: nowrap;
}

.feature-card--overview {
  display: grid;
  grid-template-columns: 44% 56%;
  padding: 18px;
  gap: 18px;
  background: #f6f9f7;
}

.overview-portrait-well {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.portrait-rail {
  display: grid;
  align-content: start;
  gap: 8px;
}

.portrait-rail span {
  display: grid;
  gap: 3px;
  color: #5f6d68;
  font-size: 8px;
  text-align: center;
}

.portrait-rail img {
  width: 46px;
  height: 58px;
  border-radius: 11px;
  object-fit: cover;
  object-position: 50% 28%;
}

.overview-main-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 20px;
  object-fit: cover;
  object-position: 50% 28%;
}

.overview-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px 12px 10px 4px;
}

.overview-copy h2 { max-width: 14ch; margin-top: auto; }
.overview-copy > p { max-width: 38ch; margin-top: 14px; }

.overview-relation {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(40, 92, 83, 0.13);
}

.overview-relation strong {
  display: block;
  margin-bottom: 5px;
  color: #285c53;
  font-size: 10px;
}

.feature-card--direction {
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  padding: 18px;
  gap: 20px;
  background: #f6f9f7;
}

.direction-evidence {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.vector-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 18px;
  background: #e9ece9;
}

.vector-photo > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.vector-photo__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.evidence-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #5f6d68;
  font-size: 9px;
}

.evidence-caption strong { color: #285c53; font-weight: 600; }

.direction-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 8px 8px 7px 0;
}

.direction-summary {
  margin: auto 0;
  padding: 18px 0 15px;
}

.direction-summary h2 { max-width: 10ch; }
.direction-summary p { max-width: 31ch; margin-top: 11px; }

.feature-card--primary .direction-summary {
  margin: 7px 0 0;
  padding: 8px 0 9px;
}

.direction-reason {
  padding: 10px 12px;
  border-radius: 12px;
  background: #eaf2ef;
}

.direction-reason strong,
.direction-boundary span {
  display: block;
  color: #285c53;
  font-size: 8px;
  font-weight: 600;
}

.direction-reason p {
  margin-top: 4px;
  color: #4f5f59;
  font-size: 8px;
  line-height: 1.5;
}

.direction-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 18px;
  padding: 13px 0 1px;
  border-top: 1px solid rgba(40, 92, 83, 0.14);
}

.direction-facts div { min-width: 0; }
.direction-facts dt { color: #788580; font-size: 8px; line-height: 1.3; }
.direction-facts dd { margin: 4px 0 0; color: #202925; font-size: 9px; font-weight: 600; line-height: 1.35; }

.feature-card--primary .direction-facts {
  gap: 6px 14px;
  padding-top: 9px;
}

.direction-boundary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(40, 92, 83, 0.1);
}

.direction-boundary strong {
  color: #202925;
  font-size: 8px;
  font-weight: 500;
  text-align: right;
}

.feature-card--profile {
  display: flex;
  flex-direction: column;
  padding: 20px 26px 16px;
  background: #fbfcfa;
}

.profile-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(40, 92, 83, 0.13);
}

.profile-heading h2 { font-size: 29px; }
.profile-heading p { max-width: 35ch; margin-top: 8px; }
.profile-heading strong { color: #285c53; font-size: 12px; white-space: nowrap; }

.profile-metrics {
  display: grid;
  flex: 1;
  align-content: center;
}

.profile-metric {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 22px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(40, 92, 83, 0.1);
}

.profile-metric strong { display: block; font-size: 11px; }
.profile-metric small { color: #788580; font-size: 8px; }

.qualitative-scale {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.scale-copy {
  display: flex;
  justify-content: space-between;
  color: #788580;
  font-size: 9px;
}

.scale-track {
  position: relative;
  height: 2px;
  margin-top: 7px;
  background: #b8d8d1;
}

.scale-track::before {
  content: "";
  position: absolute;
  inset: -2px 0;
  background: radial-gradient(circle, #afc7c1 0 2px, transparent 2.5px) 0 50% / 25% 100% repeat-x;
}

.scale-track i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: var(--position);
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 4px;
  background: #285c53;
  box-shadow: 0 5px 13px rgba(40, 92, 83, 0.22);
  transform: translate(-50%, -50%);
}

.qualitative-scale > b { color: #285c53; font-size: 9px; font-weight: 600; }

.feature-card--analysis {
  display: grid;
  grid-template-columns: 55% 45%;
  padding: 16px;
  gap: 16px;
  background: #eaf2ef;
}

.analysis-vector-well {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #eef4f1;
}

.analysis-vector-well > img { width: 100%; height: 100%; object-fit: cover; }

.analysis-vector-well--frozen > img,
.landmark-inline {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landmark-model-motion {
  transform-box: view-box;
  transform-origin: 50% 52%;
  animation: landmark-model-pose 7.2s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.landmark-scan-points {
  animation: landmark-point-energy 1.15s ease-in-out infinite alternate;
}

.landmark-scan-line { opacity: 0.9; }
.report-page[aria-hidden="true"] .landmark-model-motion,
.report-page[aria-hidden="true"] .landmark-scan-points { animation-play-state: paused; }

@keyframes landmark-model-pose {
  0%, 100% { transform: perspective(900px) rotateY(-2.4deg) scale(1.002); }
  50% { transform: perspective(900px) rotateY(2.4deg) scale(1.008); }
}

@keyframes landmark-point-energy {
  from { opacity: 0.72; }
  to { opacity: 1; }
}

.analysis-vector-well span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  border-radius: 10px;
  color: #285c53;
  background: rgba(255, 255, 255, 0.8);
  font-size: 8px;
  font-weight: 600;
}

.analysis-status {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 15px 12px 12px 2px;
}

.analysis-status h2 { max-width: 11ch; margin-top: auto; }
.analysis-status > p { margin-top: 10px; }

.analysis-progress-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 16px;
  color: #285c53;
  font-size: 10px;
  font-weight: 600;
}

.analysis-progress-row b { font-size: 20px; }
.analysis-progress-track { height: 4px; margin-top: 8px; overflow: hidden; border-radius: 2px; background: #d5e3df; }
.analysis-progress-track i { display: block; width: 42%; height: 100%; background: #285c53; }

.analysis-steps {
  display: grid;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  color: #5f6d68;
  font-size: 9px;
}

.analysis-steps li { display: flex; align-items: center; gap: 7px; }
.analysis-steps i { width: 7px; height: 7px; border-radius: 50%; background: #b8d8d1; }
.analysis-steps .is-done i,
.analysis-steps .is-active i { background: #285c53; }
.analysis-steps .is-active { color: #202925; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .landmark-model-motion,
  .landmark-scan-points { animation: none; }
}