.quiz-section-heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 1180px;
  margin: 30px auto 18px;
  padding: 18px 24px 20px;
  overflow: hidden;
  border: 3px solid #ffd229;
  border-radius: 26px;
  background: linear-gradient(135deg,#fff8c9 0%,#fff 48%,#f1e8ff 100%);
  box-shadow: 0 8px 0 rgba(81,34,181,.12),0 14px 28px rgba(67,26,140,.12);
  text-align: center;
}
.quiz-section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 170px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: linear-gradient(90deg,#ffd229 0 42%,#5122b5 42% 100%);
}
.quiz-section-heading h2 {
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: #35127f !important;
  font: 900 40px/1.05 "Fredoka",sans-serif !important;
  letter-spacing: -1px !important;
  box-shadow: none !important;
}
.quiz-section-heading h2::after { display: none !important; }
.quiz-section-heading span {
  color: #5b28ad;
  font: 900 19px/1.2 "Trebuchet MS",Arial,sans-serif;
}
@media(max-width:760px) {
  .quiz-section-heading { gap: 6px; margin: 17px 16px 14px; padding: 15px 12px 19px; border-radius: 20px; }
  .quiz-section-heading::after { left: 50%; bottom: 9px; width: 120px; height: 4px; }
  .quiz-section-heading h2 { font-size: 29px !important; letter-spacing: -.4px !important; }
  .quiz-section-heading span { font-size: 15px; }
  .themed-spaces { min-height: calc(100svh - 78px); align-content: start; gap: 10px !important; margin-top: 10px !important; }
  .themed-spaces article,
  .themed-spaces .sports-visual-card,
  .themed-spaces .culture-visual-card { min-height: 225px !important; }
}
.sports-quiz-dialog.sports-dialog-fallback {
  position: fixed;
  inset: 10px auto auto 50%;
  z-index: 1000;
  display: block;
  max-height: calc(100dvh - 20px);
  transform: translateX(-50%);
}
