.quiz-order, .quiz-solution-order, .quiz-votes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.quiz-order[hidden], #quizRevealVisual[hidden], #rvAnswer[hidden] { display: none; }
.quiz-order > *, .quiz-solution-order li, .quiz-votes > div {
  padding: .65em .85em;
  border: 1px solid #8272bf;
  border-radius: 14px;
  background: #20183d;
  color: #fff;
  font: inherit;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.host .quiz-order { font-size: clamp(18px, 2.5vw, 34px); }
.play .quiz-order { grid-template-columns: 1fr; }
.play .quiz-order button { min-height: 48px; text-align: left; cursor: pointer; }
.quiz-order button[aria-pressed="true"] { background: #343064; border-color: #8deafa; }
.quiz-order b, .quiz-solution-order b { color: #ffdc6a; margin-right: .45em; }
.quiz-own-order { display: block; margin-top: 8px; font-size: .8em; }
.quiz-solution-order { margin: 0; padding: 0; list-style: none; text-align: left; }
.quiz-solution-order li { background: #153c36; border-color: #63e9b8; }
.quiz-solution-order li, .quiz-score-chip {
  animation: quiz-result-in .38s ease-out var(--reveal-delay, 0ms) both;
}
.quiz-votes > div { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; text-align: left; }
.quiz-votes > div::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share);
  z-index: -1;
  background: #443579;
  transform-origin: left;
  animation: quiz-bar-in .55s ease-out both;
}
.quiz-votes .is-correct { border-color: #63e9b8; }
.quiz-votes .is-correct::before { background: #205e50; }
.quiz-guess-scale {
  position: relative;
  margin: 18px 12px 0;
  height: 8px;
  border-radius: 10px;
  background: linear-gradient(90deg, #7c55e9, #58d5ff);
}
.quiz-guess-scale i, .quiz-guess-scale b {
  position: absolute;
  top: 50%;
  left: var(--position);
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #262042;
}
.quiz-guess-scale i.is-closest { background: #ffd45e; }
.quiz-guess-scale b { width: 5px; height: 25px; border: 0; border-radius: 3px; background: #71ffc3; }
.quiz-scale-labels { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 8px; }
@keyframes quiz-result-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes quiz-bar-in { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .quiz-solution-order li, .quiz-score-chip, .quiz-votes > div::before { animation: none; }
}
