/* The quiz and its result. */

.qz-ask { margin: 2px 0 12px; text-align: center; color: var(--muted); font-weight: 600; }
.qz-prompt {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 132px; padding: 20px;
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
  animation: rise .25s ease;
}
.qz-es { font-size: 30px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.qz-listen { flex-direction: column; gap: 12px; }
.qz-big-spk {
  width: 92px; height: 92px; border: none; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px var(--accent-glow);
  font-size: 38px; cursor: pointer;
}
.qz-hebrew { flex-direction: column; gap: 8px; }
.qz-he-big { font-size: 24px; font-weight: 600; text-align: center; }

.qz-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.qz-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--ink);
  font: 500 18px/1.3 var(--font); text-align: start; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.qz-opt:disabled { cursor: default; }
.qz-opt.is-right { border-color: var(--good); background: var(--good-soft); }
.qz-opt.is-wrong { border-color: var(--bad); background: var(--bad-soft); }
.qz-key {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; background: var(--surface-2); color: var(--muted);
  font-size: 14px; font-weight: 600;
}
.qz-opt.is-right .qz-key { background: var(--good); color: var(--surface); }
.qz-opt.is-wrong .qz-key { background: var(--bad); color: var(--surface); }
.qz-opts-es .es { font-size: 19px; }
.qz-num { font-size: 22px; font-weight: 700; direction: ltr; }

.qz-fb { min-height: 30px; margin: 14px 0 10px; text-align: center; font-size: 18px; font-weight: 600; }
.qz-fb.is-good { color: var(--good); }
.qz-fb.is-bad { padding: 12px 14px; border-radius: 14px; background: var(--bad-soft); font-weight: 500; }
.qz-fb-label { color: var(--muted); }
.qz-fb .es { font-weight: 700; }
.qz-fb-eq { color: var(--muted); }
.qz-next { width: 100%; }

/* ---------- the result ---------- */

.rs-card { margin-top: 8px; padding: 24px 20px 30px; text-align: center; animation: rise .3s ease; }
.rs-topic { margin: 0 0 14px; color: var(--muted); font-weight: 600; }
.rs-score { margin: 0; color: var(--tc); font-size: 64px; font-weight: 700; line-height: 1; direction: ltr; }
.rs-of { color: var(--muted); font-size: 30px; }
.rs-msg { margin: 14px 0 0; font-size: 19px; font-weight: 600; }
.rs-ups { margin: 6px 0 0; color: var(--muted); }

.rs-h { margin: 24px 2px 10px; font-size: 18px; }
.rs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rs-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border: none; border-radius: 14px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  text-align: start; cursor: pointer;
}
.rs-es { font-size: 18px; font-weight: 600; }
.rs-he { flex: 1; color: var(--muted); }
.rs-spk { opacity: .6; }
.rs-actions { display: grid; gap: 10px; margin-top: 22px; }
