.result {
  display: none;
  margin: 18px 0 30px;
}

.result.visible {
  display: block;
}

.result-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 55px var(--shadow);
}

.result-head {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px;
  background: var(--blue-soft);
}

.result-image {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  border-radius: 6px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.result-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 500;
}

.result-code {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
}

.result-name {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 21px;
}

.result-intro {
  margin: 0;
  color: var(--body);
  font-family: Georgia, "Songti SC", serif;
  font-size: 18px;
  line-height: 1.7;
}

.result-score {
  display: inline-flex;
  margin-top: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--blue-deep);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
}

.result-body {
  padding: 28px;
}

.result-body h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
}

.result-body p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

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

.dimension {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.dimension-name {
  font-size: 12px;
  font-weight: 500;
}

.dimension-level {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
}

.dimension-level.H {
  color: #126a43;
  background: #d9f1df;
}

.dimension-level.M {
  color: #76570d;
  background: #fff0c9;
}

.dimension-level.L {
  color: #4f5b61;
  background: #e7ecee;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 4px 0 40px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.footer a {
  color: var(--blue-deep);
}

.hidden {
  display: none !important;
}
