.quiz-card-number {
  position: absolute;
  right: 9%;
  bottom: 4.8%;
  z-index: 25;
  margin: 0;
  color: #e5b04b;
  font-family: "Playfair Display", serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.quiz-answers-overlay {
  --quiz-answers-top: 52%;
  --quiz-answers-left: 18%;
  --quiz-answers-width: 64%;
  --quiz-answers-gap: 7%;
  --quiz-answers-font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  position: absolute;
  top: var(--quiz-answers-top, 52%);
  left: var(--quiz-answers-left, 18%);
  width: var(--quiz-answers-width, 64%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  pointer-events: none;
}

.quiz-answer-option {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  max-width: 100%;
  padding: 0;
  background-color: transparent;
  color: #e5b04b;
  border: none;
  border-radius: 0;
  font-family: "Playfair Display", serif;
  font-size: var(--quiz-answers-font-size, clamp(1.35rem, 2.5vw, 1.75rem));
  font-weight: 400;
  line-height: 1.18;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: none;
  text-align: center;
  width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 0;
  flex-shrink: 0;
  pointer-events: auto;
}

.quiz-multi-answer-indicator {
  width: 100%;
  margin: 0 0 18px;
  color: #e5b04b;
  font-family: "Playfair Display", serif;
  font-size: clamp(0.82rem, 1.7vw, 1rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
}

.quiz-answer-option + .quiz-answer-option {
  margin-top: var(--quiz-answers-gap, 7%);
}

.quiz-answer-option.is-selected {
  font-weight: 600;
}

.quiz-answer-option.is-correct {
  color: #7ee081;
  text-shadow: 0 0 8px rgba(126, 224, 129, 0.28), 1px 1px 3px rgba(0, 0, 0, 0.45);
}

.quiz-answer-option.is-wrong {
  color: #ff7c7c;
  text-shadow: 0 0 8px rgba(255, 124, 124, 0.28), 1px 1px 3px rgba(0, 0, 0, 0.45);
}

.quiz-answer-option:disabled {
  opacity: 1;
  cursor: default;
}

.quiz-answer-option:hover {
  opacity: 0.8;
  transform: none;
  box-shadow: none;
  background-color: transparent;
}

.quiz-answer-option:active {
  opacity: 0.9;
}

.quiz-answer-option:focus-visible {
  outline: none;
  opacity: 0.9;
}

.game-prev-button {
  margin-left: 12px;
  background-color: #6c7a89;
}

.game-prev-button:hover,
.game-prev-button:focus-visible {
  background-color: #57636f;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.quiz-stats-panel {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #d6e0ea;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  text-align: left;
}

.quiz-stats-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c3e50;
}

.quiz-stats-line {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #2c3e50;
}

.quiz-personalized-message {
  margin: 8px 0 0;
  font-weight: 500;
  line-height: 1.5;
}

#jouer .quiz-game-card {
  --card-max-width: 490px;
  --cover-height: 410px;
  --cover-fit: contain;
  --cover-position: center center;
  --cover-padding: 0;
  --cover-scale: 1;
}

#jouer .quiz-game-card .game-card-content {
  padding-top: 42px;
}

@media only screen and (max-width: 768px) {
  #jouer .quiz-game-card {
    --card-max-width: 360px;
    --cover-height: 295px;
  }

  #jouer .quiz-game-card .game-card-content {
    padding-top: 30px;
  }

  .quiz-card-number {
    right: 10%;
    bottom: 3.4%;
    font-size: clamp(0.84rem, 3.2vw, 0.96rem);
  }

  .quiz-answers-overlay {
    --quiz-answers-top: 54%;
    --quiz-answers-left: 16%;
    --quiz-answers-width: 68%;
    --quiz-answers-gap: 5.5%;
    --quiz-answers-font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  }
}