/* Shared modern quiz viewer styles for scroll-quiz page + quiz overlays (chat / scroll-block). */

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) {
  --quiz-surface: rgba(255, 255, 255, 0.985);
  --quiz-surface-subtle: rgba(244, 247, 250, 0.96);
  --quiz-surface-raised: #ffffff;
  --quiz-line: #cfd8e3;
  --quiz-line-strong: #9aa9bb;
  --quiz-ink: #111827;
  --quiz-muted: #475569;
  --quiz-accent: #c65f0b;
  --quiz-accent-soft: #fff4e8;
  font-family: "Noto Sans", system-ui, sans-serif;
}

#quizViewerOverlay .quiz-viewer-card,
#quizViewerOverlay .scroll-viewer-card,
.scroll-viewer-overlay--page .scroll-viewer-card {
  padding: 1.5rem 1.5rem 1rem;
  background: var(--quiz-surface);
  border: 1px solid var(--quiz-line);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.08);
}

.scroll-viewer-overlay--page .scroll-viewer-card {
  backdrop-filter: blur(4px);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .scroll-viewer-head {
  margin-bottom: 1rem;
  align-items: flex-start;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .scroll-viewer-head-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .scroll-viewer-head-meta {
  margin: 0;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 500;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .scroll-viewer-head-meta:empty {
  display: none;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .scroll-viewer-head-title {
  margin: 0;
  color: var(--quiz-ink);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-layout {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
  gap: 1.25rem;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-main-col {
  gap: 1rem;
  padding-right: 0.35rem;
  scrollbar-color: rgba(100, 116, 139, 0.34) transparent;
  scrollbar-width: thin;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-description {
  max-width: 72ch;
  color: #243247;
  font-size: 1.125rem;
  line-height: 1.6;
}

#quizBlockViewerOverlay #quizBlockDescription {
  max-width: none;
  width: 100%;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-questions {
  gap: 0.75rem;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question {
  min-height: 52px;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--quiz-surface-subtle);
  border: 1px solid var(--quiz-line);
  border-radius: 14px;
  color: var(--quiz-ink);
  font-size: 1.1rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question:hover {
  background: var(--quiz-surface-raised);
  border-color: var(--quiz-line-strong);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question-text {
  font-style: normal;
  font-weight: 500;
  color: inherit;
  letter-spacing: 0;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question.is-current {
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--quiz-accent-soft);
  border: 1px solid #e4a15c;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(123, 67, 5, 0.08);
  color: var(--quiz-ink);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question.is-current .quiz-question-text {
  font-size: 1.06em;
  font-weight: 700;
  font-style: normal;
  color: inherit;
  letter-spacing: 0;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question-choices {
  gap: 0.5rem;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice {
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--quiz-line-strong);
  border-radius: 11px;
  background: var(--quiz-surface-raised);
  color: #243247;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  box-shadow: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.07);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice.is-selected {
  border-color: var(--quiz-accent);
  background: var(--quiz-accent-soft);
  color: #6b3100;
  box-shadow: 0 0 0 3px rgba(198, 95, 11, 0.14);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice-neutral {
  width: 4rem;
  min-width: 4rem;
  padding-inline: 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-actions {
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-color: var(--quiz-line);
  background: transparent;
  overflow: visible;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizFinishBtn,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizBlockCombineBtn,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-publish-btn,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay) #quizShareBtn {
  min-height: 44px;
  border-radius: 12px;
  font-family: inherit;
  line-height: 1.2;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizFinishBtn,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizBlockCombineBtn {
  padding: 0.65rem 1.1rem;
  border: 1px solid #1d4ed8;
  background: #2563eb;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizFinishBtn:hover,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizBlockCombineBtn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.28);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizFinishBtn:disabled,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizBlockCombineBtn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizFinishBtn:disabled:hover,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizBlockCombineBtn:disabled:hover {
  background: #2563eb;
  border-color: #1d4ed8;
  transform: none;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.12);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) #quizFinishBtn.is-current {
  font-size: 0.92rem;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.18),
    0 4px 10px rgba(37, 99, 235, 0.22);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-publish-btn,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay) #quizShareBtn {
  padding: 0.65rem 1.15rem;
  border: 2px solid #2563eb;
  background: transparent;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: none;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-publish-btn:hover,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay) #quizShareBtn:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
  transform: none;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-publish-btn.is-pressed {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
  box-shadow: none;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-share-group {
  gap: 0.65rem;
  padding: 0.3rem 0.4rem;
  background: rgba(255, 248, 239, 0.72);
  border-color: rgba(198, 95, 11, 0.28);
  border-radius: 12px;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-login-hint {
  margin-top: 0.5rem;
  color: var(--quiz-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-like-btn {
  min-width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0 0.6rem;
  justify-content: center;
  border: 1px solid rgba(20, 20, 30, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-like-btn:hover {
  background: #fff;
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(20, 20, 30, 0.08);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-like-btn .like-icon {
  font-size: 1.3rem;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-side-col {
  padding: 1rem;
  background: var(--quiz-surface-subtle);
  border: 1px solid var(--quiz-line);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  scrollbar-color: rgba(100, 116, 139, 0.34) transparent;
  scrollbar-width: thin;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-side-col h3 {
  margin: 0 0 0.75rem;
  color: var(--quiz-ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-results-list {
  gap: 0.5rem;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item {
  padding: 0.65rem 0.7rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item:hover {
  background: #fff;
  border-color: var(--quiz-line-strong);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05);
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item.is-active {
  background: var(--quiz-accent-soft);
  border-color: #e4a15c;
  color: #6b3100;
}

:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item.is-stats,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item.is-stats:hover,
:is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item.is-stats.is-active {
  background: #fff8ef;
  border-color: rgba(198, 95, 11, 0.34);
}

.quiz-stats-jump-btn {
  position: fixed;
  top: 0;
  right: 0.65rem;
  z-index: 1285;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
  text-align: right;
  text-shadow: 0 0 6px #fff, 0 0 10px #fff;
  cursor: pointer;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.quiz-stats-jump-btn.is-visible {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.quiz-stats-jump-btn.is-visible.is-blink {
  animation: quiz-stats-jump-blink 0.7s ease-in-out infinite;
}
@keyframes quiz-stats-jump-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-stats-jump-btn.is-visible.is-blink { animation: none; }
}

:is(
  .scroll-viewer-overlay--page .quiz-choice,
  #quizViewerOverlay .quiz-choice,
  .scroll-viewer-overlay--page #quizFinishBtn,
  #quizViewerOverlay #quizFinishBtn,
  #quizBlockViewerOverlay #quizBlockCombineBtn,
  .scroll-viewer-overlay--page .quiz-publish-btn,
  #quizViewerOverlay .quiz-publish-btn,
  .scroll-viewer-overlay--page #quizShareBtn,
  #quizViewerOverlay #quizShareBtn,
  .scroll-viewer-overlay--page .quiz-like-btn,
  #quizViewerOverlay .quiz-like-btn,
  .scroll-viewer-overlay--page .quiz-result-item,
  #quizViewerOverlay .quiz-result-item,
  .quiz-stats-jump-btn
):focus-visible {
  outline: 3px solid rgba(198, 95, 11, 0.34);
  outline-offset: 2px;
}

@media (max-width: 700px) {
  #quizViewerOverlay:not(.scroll-viewer-overlay--page) .scroll-viewer-panel {
    padding: 0.25rem;
    align-items: stretch;
    justify-content: stretch;
  }
  #quizViewerOverlay:not(.scroll-viewer-overlay--page) .scroll-viewer-stack {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
  }
  #quizViewerOverlay:not(.scroll-viewer-overlay--page) .scroll-viewer-card,
  #quizViewerOverlay:not(.scroll-viewer-overlay--page) .quiz-viewer-card {
    height: 100%;
    max-height: none;
    border-radius: 14px;
  }
  #quizViewerOverlay:not(.scroll-viewer-overlay--page) .scroll-viewer-head {
    margin-bottom: 1.5rem;
  }

  #quizViewerOverlay .quiz-viewer-card,
  #quizViewerOverlay .scroll-viewer-card,
  .scroll-viewer-overlay--page .scroll-viewer-card {
    padding: 1rem 0.625rem 0.75rem;
    border-radius: 18px;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-layout {
    grid-template-columns: 100% minmax(190px, 220px);
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-layout::-webkit-scrollbar {
    display: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-main-col {
    min-width: 100%;
    gap: 0.875rem;
    padding-right: 0;
    font-size: 1em;
    overflow-x: visible;
    overscroll-behavior-x: auto;
    overscroll-behavior-y: contain;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-description {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-questions {
    gap: 0.1rem;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question {
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 0;
    gap: 0.65rem 1rem;
    margin: 0;
    padding: 0.75rem 0.1rem 0.8rem;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 0;
    color: var(--quiz-muted);
    font-size: 1.12rem;
    line-height: 1.45;
    box-shadow: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question:last-child {
    border-bottom: 0;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question:hover {
    background: transparent;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: none;
    transform: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question-text {
    flex: 1 1 100%;
    width: 100%;
    font-size: 1.12rem;
    line-height: 1.45;
    font-style: italic;
    font-weight: 500;
    color: #334155;
    letter-spacing: -0.01em;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question.is-current {
    margin: 0.4rem 0 0.5rem;
    padding: 0.95rem 0.85rem 1rem 0.95rem;
    background: linear-gradient(145deg, #fffaf3 0%, #fff4e8 100%);
    border: 1px solid rgba(198, 95, 11, 0.28);
    border-left: 3px solid var(--quiz-accent);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(123, 67, 5, 0.08);
    color: var(--quiz-ink);
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question.is-current .quiz-question-text {
    font-size: 1.28rem;
    font-weight: 700;
    font-style: italic;
    color: #111827;
    letter-spacing: -0.015em;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question:not(.is-current) .quiz-choice {
    opacity: 0.78;
    transform: none;
    box-shadow: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-question-choices {
    width: 100%;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice {
    min-height: 42px;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    box-shadow: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice::before,
  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice.is-selected::before {
    content: none;
    display: none;
    width: 0;
    flex: 0;
    opacity: 0;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice:hover {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.32);
    transform: none;
    box-shadow: none;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice.is-selected {
    border-color: var(--quiz-accent);
    background: #fff;
    color: #7a3a05;
    box-shadow: inset 0 0 0 1.5px var(--quiz-accent);
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-choice-neutral {
    width: auto;
    min-width: 4.1rem;
    padding-inline: 0.55rem;
    font-size: 0.72rem;
    font-weight: 500;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-side-col {
    min-width: 190px;
    padding: 0.8rem;
    border: 1px solid rgba(20, 20, 30, 0.08);
    border-radius: 14px;
    font-size: 1em;
    overflow-x: visible;
    overscroll-behavior-x: auto;
    overscroll-behavior-y: contain;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-side-col h3 {
    font-size: 0.95rem;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-result-item {
    padding: 0.55rem 0.6rem;
    font-size: 0.8rem;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-actions {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.4rem;
    width: 100%;
    margin-top: 0.625rem;
    padding-top: 0.75rem;
    overflow: hidden;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-actions > button,
  :is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizFinishBtn,
  :is(.scroll-viewer-overlay--page, #quizViewerOverlay, #quizBlockViewerOverlay) #quizBlockCombineBtn,
  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-publish-btn,
  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) #quizShareBtn {
    flex: 0 0 auto;
    width: auto;
    min-height: 32px;
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0;
    line-height: 1.15;
    white-space: pre-line;
    text-align: center;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-actions-meta {
    margin-left: 0;
    overflow: visible;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-like-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.35rem;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-share-group {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-reveal-label {
    min-height: 0;
    font-size: 0.68rem;
    white-space: pre-line;
  }

  :is(.scroll-viewer-overlay--page, #quizViewerOverlay) .quiz-reveal-label .form-checkbox {
    width: 1rem;
    height: 1rem;
  }
}
