/* Dedicated subject presentation. Colors come from subject-scale.js. */

:root body :is(.problem-subject.subject-badge, .subject-text) {
  border: 1.5px solid color-mix(in srgb, var(--subject-color, #9da3af) 48%, #000);
  color: var(--subject-text-color, #171019);
  background-color: var(--subject-color, #9da3af);
  border-radius: 5px;
  padding: .17rem .4rem;
  box-shadow: 0 0 0 1px #ffffff20;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

:root body :is(.problem-subject.subject-badge, .subject-text)::before {
  content: none;
}

:root body .subject-filter-button:not([data-subject="all"])::before {
  content: none;
}
