/* Original 62px band circles already contain their color and white rim. */
:root { --band-circle-size: 1.875rem; }
html body :is(.band-option, .card-band-mark, .song-band-mark, .thumb-band-mark, .related-band-mark, .home-band, .detail-circle[class*="band-"]) {
  box-sizing: border-box;
  width: var(--band-circle-size) !important;
  height: var(--band-circle-size) !important;
  min-width: var(--band-circle-size) !important;
  min-height: var(--band-circle-size) !important;
  flex-shrink: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  opacity: 1;
  filter: none;
}
html body :is(.band-option, .card-band-mark, .song-band-mark, .thumb-band-mark, .related-band-mark, .home-band, .detail-circle[class*="band-"]) > img {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  transform: none;
}
html body .band-option::after { content: none !important; }
html body .event-band > img {
  width: var(--band-circle-size);
  height: var(--band-circle-size);
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
}
/* Keep attribute and band circles equal in detail facts. */
html body[data-page="songs"] .detail-facts .detail-circle {
  width: var(--band-circle-size);
  height: var(--band-circle-size);
  min-width: var(--band-circle-size);
}

/* Match other circles in the same context rather than forcing one band-only size. */
html body[data-page] .workspace .filter-body {
  --band-circle-size: var(--filter-icon-size, 1.625rem);
}
html body[data-page] .workspace .filter-body :is(.band-option, .character-option, .attribute-option) {
  box-sizing: border-box;
  width: var(--filter-icon-size, 1.625rem) !important;
  height: var(--filter-icon-size, 1.625rem) !important;
  min-width: var(--filter-icon-size, 1.625rem) !important;
  min-height: var(--filter-icon-size, 1.625rem) !important;
  padding: 0;
  border: 0;
}
html body :is(.card-visual, .art-tile, .tile.song, .card-thumb, .character-related-art) {
  --band-circle-size: var(--art-badge-size, 1.75rem);
}
html body .detail-tags { --band-circle-size: 1.625rem; }
/* Attribute assets have a 1px transparent gutter on their 64px canvas.
   The band's 62px circle has none; compensate only in presentation. */
html body :is(.attribute-option, .corner-attribute, .thumb-attribute, .home-attribute, .detail-circle) > img[src*="assets/attribute-"],
html body .related-attribute {
  transform: scale(1.032258064516129);
  transform-origin: center;
}

/* Image filters preserve their original colors under a selection overlay. */
html body[data-page] .workspace .filter-body :is(.character-option,.band-option,.attribute-option) {
  position: relative;
  overflow: hidden;
  filter: none;
  opacity: 1;
  box-shadow: none;
  outline: none;
}
html body[data-page] .workspace .filter-body :is(.character-option,.band-option,.attribute-option):where(:not(.other-character):not(.band-other))::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #000;
  opacity: .6;
  pointer-events: none;
  transition: opacity .12s;
}
html body[data-page] .workspace .filter-body :is(.character-option,.band-option,.attribute-option).active::after {
  opacity: 0;
}
html body[data-page] .workspace .filter-body :is(.band-other,.other-character) {
  background: #e6e6e6 !important;
  color: #888;
}
html body[data-page] .workspace .filter-body :is(.band-other,.other-character)::after {
  content: none !important;
}
html body[data-page] .workspace .filter-body :is(.band-other,.other-character):is(.active,[aria-pressed="true"]) {
  background: var(--purple) !important;
  color: #fff;
}
html body[data-page] .workspace .filter-body :is(.character-option,.band-option,.attribute-option):is(.active,.partial,[aria-pressed="true"],[aria-pressed="mixed"]) {
  outline: none;
  box-shadow: none;
}
html body[data-page] .workspace .filter-body :is(.character-option,.band-option,.attribute-option):focus-visible {
  outline: .125rem solid var(--purple);
  outline-offset: .125rem;
}
@media (prefers-reduced-motion: reduce) {
  html body[data-page] .filter-body :is(.character-option,.band-option,.attribute-option)::after { transition: none; }
}
