/* Shared quiz shell */
.test-page {
  min-height: 100svh;
  background:
  radial-gradient(circle at 50% 0, var(--color-mint-soft), transparent 34rem),
  var(--color-background);
  min-height: 100svh;
}

.quiz-wrap {
  width: min(calc(100% - 32px), 820px);
  margin: 0 auto;
}

.quiz-wrap .top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.screen-quiz {
  padding:30px 0 90px;
  align-items: flex-start;
  padding: 20px 0 56px;
}

.progress-count {
  color: var(--color-cyan-pale, #c9f7ff);
  font-size: 13px;
  margin-bottom: 10px;

  line-height: 1.2;
  letter-spacing: 0.16em;

  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.quiz-wrap .progress-line {
  height: 2px;
  margin: 16px 0 28px;
  background: rgba(255, 255, 255, .16);
}

.quiz-wrap .progress-line-fill {
  height: 100%;
  width: 0;
  background: var(--color-cyan, #22d9f5);
  transition: width .24s ease;
}

.quiz-wrap .question-title {
  margin: 28px 0 30px;
}

.question-title {
  min-height: 2.06em;
  font: 500 clamp(20px, 3vw, 30px)/1 "Cormorant Garamond", serif;
  letter-spacing: -.05em;
  color: var(--color-white);
}

.screen.active
{
  display: flex;
  flex: 1;
}

.question-block-badge
{
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:var(--color-cyan);
  font:700 11px/1.2 Inter,sans-serif;
  letter-spacing:.13em;
  text-transform:uppercase
}

.question-block-badge.is-changing-out
{
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.question-block-badge.is-changing-in
{
  animation: blockBadgeIn 0.2s ease;
}

.quiz-wrap .test-answers {
  display: grid;
  gap: 12px;
}

@media (max-width: 700px) {
  .quiz-wrap { width: min(calc(100% - 28px), 820px); }
  .quiz-wrap .progress-line { margin-bottom: 36px; }
  .quiz-wrap .question-title { margin-bottom: 40px; }
  .screen-quiz
  {
    padding: 72px 0 32px;
  }
}
