/* Text controls use the same rem scale as their surrounding panels. */
html body[data-page] .workspace .tag-option,
html body[data-page] .workspace .difficulty-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  height: 1.75rem;
  padding: 0 .25rem;
  font-size: 1.125rem;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
}

html body[data-page] .workspace .card-rarity-options .tag-option {
  font-size: 1.125rem;
}

html body[data-page] .workspace .card-source-options .tag-option {
  width: 100%;
  padding-inline: .1875rem;
  font-size: 1.125rem;
}

html body[data-page="songs"] .workspace .difficulty-option {
  padding-inline: .125rem;
  font-size: .75rem;
  line-height: 1;
}

html body[data-page] .workspace .month-selects {
  align-items: center;
  white-space: nowrap;
}

html body[data-page] .workspace .month-selects select {
  box-sizing: border-box;
  height: 1.75rem;
  padding-block: 0;
  padding-left: .125rem;
  font-size: 1.125rem;
  line-height: 1.25;
}

html body[data-page] .workspace .month-selects select[data-period$="Month"] option:disabled {
  color: #c7c7c7;
}

body[data-page="character"] .character-action {
  padding: .25rem;
  font-size: 1.125rem;
  line-height: 1.25;
  text-align: center;
}

body[data-page="character-voice"] .voice-category {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .25rem;
  font-size: 1.25rem;
  line-height: 1.25;
  white-space: nowrap;
}

body:is([data-page="member"], [data-page="support"]) .member-stages button {
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
}

html body[data-page] .workspace .filter-body .tag-option {
  background: #e6e6e6;
  color: #888;
}
html body[data-page] .workspace .filter-body .tag-option:is(.active,[aria-pressed="true"]) {
  background: var(--purple);
  color: #fff;
}
