/* Artist navigation disclosure and role filtering. */
.header nav .artist-nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}
.header nav #artist-nav-trigger {
  gap: 6px;
}
.artist-nav-trigger svg,
#artist-nav-trigger > svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}
.artist-nav-panel {
  position: absolute;
  left: -25px;
  top: calc(100% + 12px);
  width: 330px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 18px 0 0;
  box-shadow: 0 14px 35px #0005;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity 0.14s,
    transform 0.14s,
    visibility 0.14s;
  z-index: 30;
}
.artist-nav-panel:before {
  content: '';
  position: absolute;
  top: -7px;
  left: 53px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.artist-nav-panel:after {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.artist-nav.is-open .artist-nav-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.artist-nav-caption {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--muted);
  padding: 0 24px 12px;
  font-weight: 600;
}
.header nav .artist-nav-panel > a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: auto;
  padding: 13px 24px;
  color: var(--text);
  font-size: 15px;
}
.artist-nav-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
}
.artist-nav-icon svg {
  width: 25px;
  height: 25px;
}
.artist-nav-panel strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.artist-nav-panel small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 4px;
}
.header nav .artist-nav-panel > a:hover,
.header nav .artist-nav-panel > a:focus-visible {
  background: var(--hover);
  color: var(--lime);
}
.artist-nav-panel > a:hover .artist-nav-icon {
  color: var(--lime);
}
.artist-nav-footer {
  background: var(--panel2);
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding: 0 24px;
  border-radius: 0 0 9px 9px;
}
.header nav .artist-nav-footer > a {
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  color: var(--muted);
  font-size: 12px;
}
.header nav .artist-nav-footer > a:hover {
  color: var(--lime);
}
.artist-filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 6px 0 26px;
}
.artist-role-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.artist-role-filters .pill {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  padding: 8px 18px;
}
.artist-role-filters .pill > span {
  font-size: 11px;
  opacity: 0.65;
  font-weight: 400;
}
.artist-filter-heading > p {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.artist-role-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}
.artist-role-tags > span {
  font-size: 10px;
  line-height: 1.8;
  padding: 1px 9px;
  border-radius: 4px;
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--border);
}
.artists-page .artist-tile > p {
  font-size: 13px;
}
.artists-page .artist-tile .tiny {
  margin-top: 11px;
}
.artists-page .artist-directory > .empty {
  grid-column: 1/-1;
}
.artists-page .toolbar {
  margin-bottom: 22px;
}
html[data-theme='light'] .artist-nav-panel {
  box-shadow: 0 12px 30px #20304526;
}
html[data-theme='light'] .artist-nav-footer > a {
  color: var(--muted);
}
/* A violet navigation band stays distinct from both page themes. */
:root {
  --header: #28283f;
}
html[data-theme='light'] {
  --header: #e5e3f2;
}
.header {
  border-bottom: 1px solid #9f9db922;
  box-shadow: 0 3px 18px #0000000b;
}
.header nav > a,
.header nav #artist-nav-trigger {
  color: #b4b5c9;
}
.header nav > a.active,
.header nav #artist-nav-trigger.active {
  color: #fff;
}
.header .demo-label {
  color: #b4b5c9;
}
html[data-theme='light'] .header nav > a,
html[data-theme='light'] .header nav #artist-nav-trigger {
  color: #65617c;
}
html[data-theme='light'] .header nav > a.active,
html[data-theme='light'] .header nav #artist-nav-trigger.active {
  color: #27233e;
}
html[data-theme='light'] .header .demo-label {
  color: #77718c;
}
.artist-nav-panel strong {
  font-size: 16px;
}
.header nav .artist-nav-panel > a {
  padding-top: 12px;
  padding-bottom: 12px;
}
.artist-nav-panel {
  padding-top: 17px;
}
.artist-nav-footer {
  margin-top: 11px;
}
.theme-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  width: 78px;
  height: 38px;
  padding: 3px;
  border: 1px solid #c4c3e32b;
  border-radius: 9px;
  background: #17172870;
  isolation: isolate;
  flex-shrink: 0;
}
.theme-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 34px;
  height: 30px;
  background: #50506e;
  border: 1px solid #a19ec74d;
  box-sizing: border-box;
  border-radius: 6px;
  box-shadow: 0 1px 5px #0002;
  transition: transform 0.2s ease;
  z-index: -1;
}
.theme-switch[data-selected='dark']:before {
  transform: translateX(36px);
}
.theme-switch button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: #9291af;
  flex-shrink: 0;
}
.theme-switch button[aria-pressed='true'] {
  color: #f0efff;
}
.theme-switch button:hover {
  color: #fff;
}
.theme-switch svg {
  width: 17px;
  height: 17px;
}
.theme-switch button:focus-visible {
  outline-offset: 1px;
}
html[data-theme='light'] .theme-switch {
  border-color: #c1bad7;
  background: #d3cde5;
}
html[data-theme='light'] .theme-switch:before {
  background: #fff;
  border-color: #f8f7ff;
  box-shadow: 0 1px 5px #3d315f20;
}
html[data-theme='light'] .theme-switch button {
  color: #827993;
}
html[data-theme='light'] .theme-switch button[aria-pressed='true'],
html[data-theme='light'] .theme-switch button:hover {
  color: #3c3158;
}
@media (prefers-reduced-motion: reduce) {
  .theme-switch:before {
    transition: none;
  }
}
