/* Is this voice clone OK? Phone first: the article frame is 311 px on a phone and 700 px on a computer. */

h1 { font-size: 1.25rem; }
.cases { margin-top: 14px; }
.case { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.case-text { margin: 0 0 10px; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; margin-right: 2px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700; vertical-align: 1px;
}
.answers { display: flex; flex-wrap: wrap; gap: 6px; }
.answer {
  min-height: 38px; padding: 6px 12px; font: inherit; font-size: 0.875rem;
  color: var(--text); background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer;
}
.answer:hover:not(:disabled) { border-color: var(--accent); }
.answer:disabled { cursor: default; opacity: 0.55; }
.answer.correct { opacity: 1; border-color: #2e8b57; background: #e9f7ef; color: #1f5f3a; font-weight: 600; }
.answer.chosen:not(.correct) { opacity: 1; border-color: #c46a00; background: #fff4e5; color: #7a4100; font-weight: 600; text-decoration: line-through; }
.feedback { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 0.875rem; line-height: 1.45; }
.feedback p { margin: 0; }
.feedback p + p { margin-top: 6px; }
.feedback.ok { background: #e9f7ef; color: #1f5f3a; }
.feedback.no { background: #fff4e5; color: #5c3200; }
.verdict { font-weight: 700; }
.mark { font-size: 1rem; }
.pointer { font-style: italic; }
.result { margin-top: 4px; padding: 14px; border-radius: var(--radius); background: var(--accent-soft); }
.score { margin: 0 0 4px; font-size: 1.125rem; font-weight: 700; }
.score-line { margin: 0 0 12px; }
.result-actions { margin: 0; }
.again {
  min-height: 40px; padding: 8px 16px; font: inherit; font-size: 0.9375rem; font-weight: 600;
  color: var(--accent); background: #fff; border: 1px solid var(--accent); border-radius: 8px; cursor: pointer;
}
.bottom-line { margin: 16px 0 0; font-weight: 600; font-size: 0.9375rem; }
[hidden] { display: none !important; }

/* In the 311 px phone frame the three answers fit on one line. */
@media (max-width: 420px) {
  .case { padding: 12px; }
  .answers { gap: 5px; }
  .answer { padding: 6px 8px; font-size: 0.8125rem; white-space: nowrap; }
}

@media (min-width: 600px) {
  h1 { font-size: 1.375rem; }
}
