/* ============================================================
   PAGE 5 — LET'S PRACTICE + quiz
   ============================================================ */
.page--practice { background: var(--yellow); }
.page--practice .pg-title { top: 4%; }
.spark--p5-tl { top: 16%; left: 4%; fill: var(--white); width: 66px; height: 66px; }
.spark--p5-br { bottom: 4%; right: 4%; fill: var(--pink); width: 70px; height: 70px; }

.quiz {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 24%;
  bottom: 6%;
  z-index: 5;
  display: flex;
  flex-direction: column;
}
.quiz__card {
  position: relative;
  flex: 1;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 14px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.quiz__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.quiz__count { font-family: var(--f-anton); font-size: 13px; letter-spacing: 1px; }
.quiz__progress { flex: 1; height: 8px; background: rgba(0,0,0,.12); border-radius: 999px; overflow: hidden; }
.quiz__progress-fill { display: block; height: 100%; width: 0; background: var(--pink); transition: width 0.35s ease; }

.quiz__prompt {
  margin: 0 0 14px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: clamp(14px, 4.4cqw, 17px);
  line-height: 1.3;
}
.quiz__options { display: flex; flex-direction: column; gap: 8px; }
.quiz__opt {
  min-height: 44px;
  text-align: left;
  font-family: var(--f-body);
  font-size: clamp(13px, 4cqw, 15px);
  padding: 10px 12px;
  border: 2px solid var(--black);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease;
}
.quiz__opt:hover:not(:disabled) { background: #fff3fb; }
.quiz__opt:active:not(:disabled) { transform: translateY(1px); }
.quiz__opt:disabled { cursor: default; }
.quiz__opt:disabled:not(.is-correct):not(.is-wrong) { opacity: 0.7; }
.quiz__opt.is-correct { background: #b6f5c1; border-color: #1b9e46; color: #0d4a20; font-weight: 700; }
.quiz__opt.is-wrong { background: #ffc2cc; border-color: #e0243c; color: #7a0b1c; font-weight: 700; }
.quiz__opt.is-correct::before { content: "✓ "; }
.quiz__opt.is-wrong::before { content: "✗ "; }

.quiz__feedback {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: clamp(12px, 3.6cqw, 14px);
  line-height: 1.3;
}
.quiz__feedback.is-correct { color: #1b7a38; font-weight: 700; }
.quiz__feedback.is-wrong { color: #c1246f; font-weight: 700; }

.quiz__next {
  margin-top: auto;
  align-self: flex-end;
  min-height: 44px;
  padding: 10px 18px;
  font-family: var(--f-anton);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--pink);
  border: 2.5px solid var(--black);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0,0,0,.25);
}
.quiz__next:active { transform: translateY(1px); }

.quiz__card--score { align-items: center; justify-content: center; text-align: center; gap: 6px; }
.quiz__scoreline { margin: 0; font-family: var(--f-anton); letter-spacing: 2px; font-size: 16px; }
.quiz__scorebig { margin: 4px 0; font-family: var(--f-display); color: var(--pink); -webkit-text-stroke: 1.5px var(--black); paint-order: stroke fill; font-size: clamp(40px, 16cqw, 60px); }
.quiz__scoremsg { margin: 0 0 14px; font-size: 14px; }

/* confetti stars */
.confetti {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 22px;
  height: 22px;
  fill: var(--pink);
  z-index: 9;
  pointer-events: none;
  animation: confetti 1s ease-out forwards;
}
.confetti:nth-child(3n) { fill: var(--yellow); }
.confetti:nth-child(3n+1) { fill: #6ad0ff; }
