/* v535: make selected quiz choices and every back control clearly visible. */
dialog button:is(.selected,.active,[aria-pressed="true"],[aria-selected="true"]):not(.correct):not(.wrong) {
  border-color: #496b8b !important;
  background: #496b8b !important;
  background-image: none !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(73,107,139,.18) !important;
}
dialog button:is(.selected,.active,[aria-pressed="true"],[aria-selected="true"]):not(.correct):not(.wrong) :is(span,strong,small,label) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

dialog button[id*="Back"],
dialog button[id*="back"],
dialog button[id*="HomeButton"],
dialog :is(.sports-quiz-top,.irregular-top,.tables-top,.orthography-top,.reading-top,.quiz-top) button {
  border-color: #dce3ea !important;
  background: #f7f9fb !important;
  color: #40566d !important;
  -webkit-text-fill-color: #40566d !important;
  box-shadow: none !important;
}
dialog button[id*="Back"] :is(span,strong,small),
dialog button[id*="back"] :is(span,strong,small),
dialog button[id*="HomeButton"] :is(span,strong,small),
dialog :is(.sports-quiz-top,.irregular-top,.tables-top,.orthography-top,.reading-top,.quiz-top) button :is(span,strong,small) {
  color: #40566d !important;
  -webkit-text-fill-color: #40566d !important;
}

#menuCloseButton {
  border-color: #dce3ea !important;
  background: #f7f9fb !important;
  color: #40566d !important;
}

@media (max-width: 600px) {
  dialog :is(.sports-quiz-content,.culture-quiz-content) {
    padding-top: 64px !important;
  }
}
