/* Result screen: the PASS or FAIL banner, the score, the review of wrong questions. */

.result {
  border-radius: var(--radius);
  padding: calc(var(--gutter) * 1.5) var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
}

.result-pass {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}

.result-fail {
  background: var(--error-bg);
  border-color: var(--error);
  color: var(--error);
}

.result-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.result-score {
  font-size: var(--fs-big);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.result-sub {
  font-weight: 600;
}

.result-meta,
.result-note {
  color: var(--muted);
  font-size: var(--fs-small);
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.review {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.share {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.made-by {
  font-size: var(--fs-small);
  color: var(--muted);
  text-align: center;
}

.made-by a {
  color: var(--accent);
  font-weight: 600;
}

.share-btn {
  background: var(--clay);
  color: var(--action-text);
}

.share-btn:hover {
  background: var(--clay-dark);
}
