.quiz-panel {
  width: min(560px, 92vw);
}

.progress-bar {
  height: 8px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.quiz-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.55rem;
  margin-bottom: 16px;
}

.question-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.6;
  color: var(--text);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option {
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.option:hover:not(:disabled) {
  background: var(--card-hover);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.35);
}

.option.correct {
  background: rgba(47, 245, 192, 0.16);
  border-color: var(--accent-3);
  box-shadow: 0 0 12px rgba(47, 245, 192, 0.4);
}

.option.wrong {
  background: rgba(255, 77, 141, 0.16);
  border-color: var(--accent-2);
  box-shadow: 0 0 12px rgba(255, 77, 141, 0.4);
}

.option:disabled {
  cursor: default;
}

.result {
  text-align: center;
}

.result-emoji {
  font-size: 3.4rem;
}

.result h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 12px 0;
  color: var(--accent-3);
  text-shadow: 0 0 10px rgba(47, 245, 192, 0.6);
}

.result p {
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.hidden {
  display: none;
}
