:root {
  color-scheme: dark;
  --bg: #05060a;
  --text: #f8fbff;
  --muted: #aeb7c9;
  --line: rgba(154, 233, 255, 0.5);
  --cyan: #7ee7ff;
  --rose: #ff76b7;
  --gold: #ffd36a;
  --panel: rgba(8, 10, 18, 0.86);
  --panel-border: rgba(255, 255, 255, 0.14);
  --node-size: 94px;
  --center-size: 142px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(14, 164, 184, 0.2), transparent 30%),
    linear-gradient(215deg, rgba(229, 64, 143, 0.16), transparent 36%),
    linear-gradient(15deg, rgba(231, 185, 85, 0.1), transparent 44%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 78%, transparent);
}

button {
  font: inherit;
}

button:focus-visible {
  outline: 2px solid rgba(126, 231, 255, 0.72);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#dream-field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.app-shell,
.graph-shell {
  position: fixed;
  inset: 0;
}

.graph-shell {
  transition: none;
}

.edge-layer,
.node-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.edge-layer {
  overflow: visible;
}

.graph-zoom-surface {
  fill: transparent;
  cursor: grab;
  pointer-events: all;
  touch-action: none;
}

.graph-zoom-surface.is-zooming {
  cursor: grabbing;
}

.node-layer {
  pointer-events: none;
}

.edge-line {
  stroke: var(--line);
  stroke-linecap: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(126, 231, 255, 0.42));
  pointer-events: stroke;
}

.edge-hit-line {
  cursor: default;
  stroke: transparent;
  stroke-linecap: round;
  stroke-width: 28;
  pointer-events: stroke;
}

.edge-line.is-dragging {
  stroke: rgba(255, 211, 106, 0.72);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 14px rgba(255, 211, 106, 0.36));
}

.edge-line.is-selected {
  stroke: rgba(255, 211, 106, 0.94);
  stroke-width: 2.6;
  filter:
    drop-shadow(0 0 12px rgba(255, 211, 106, 0.5))
    drop-shadow(0 0 26px rgba(126, 231, 255, 0.22));
}

.edge-label {
  cursor: default;
  touch-action: none;
  outline: none;
}

.edge-label.is-dragging {
  cursor: default;
}

.edge-label circle {
  fill: rgba(5, 7, 14, 0.88);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

.edge-label text {
  fill: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: central;
}

.graph-node {
  --node-ring-color: rgba(255, 255, 255, 0.3);
  --node-center-ring-color: rgba(255, 255, 255, 0.48);
  --node-ring-hover-color: rgba(255, 211, 106, 0.88);
  cursor: pointer;
  touch-action: none;
  outline: none;
}

.graph-node.domestic-artist-node {
  --node-ring-color: rgba(126, 231, 255, 0.62);
  --node-center-ring-color: rgba(126, 231, 255, 0.78);
  --node-shared-ring-color: rgba(126, 231, 255, 0.7);
  --node-ring-hover-color: rgba(126, 231, 255, 0.94);
}

.graph-node.foreign-artist-node {
  --node-ring-color: rgba(255, 211, 106, 0.58);
  --node-center-ring-color: rgba(255, 211, 106, 0.76);
  --node-shared-ring-color: rgba(255, 211, 106, 0.68);
  --node-ring-hover-color: rgba(255, 211, 106, 0.9);
}

.graph-node-occluder {
  fill: rgba(5, 7, 14, 0.96);
  pointer-events: none;
}

.graph-node-halo {
  fill: rgba(126, 231, 255, 0.07);
  filter: drop-shadow(0 0 22px rgba(126, 231, 255, 0.22));
}

.graph-node-pulse {
  fill: transparent;
  stroke: rgba(126, 231, 255, 0.58);
  stroke-width: 3;
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
  animation: center-node-pulse 2.7s ease-out infinite;
}

.graph-node-fill {
  fill: rgba(11, 13, 22, 0.92);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.graph-node-image {
  pointer-events: none;
}

.graph-node-image.group-logo {
  filter: brightness(0) invert(1);
}

.graph-node-ring {
  fill: transparent;
  stroke: var(--node-ring-color);
  stroke-width: 1.3;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}

.graph-node.center .graph-node-ring {
  stroke: var(--node-center-ring-color);
  stroke-width: 3;
  filter:
    drop-shadow(0 0 26px rgba(126, 231, 255, 0.26))
    drop-shadow(0 0 44px rgba(255, 118, 183, 0.18));
}

.graph-node.secondary-graph-node.center .graph-node-pulse {
  animation-delay: 0.45s;
  stroke: rgba(255, 211, 106, 0.5);
}

.graph-node.shared-graph-node .graph-node-ring {
  stroke: var(--node-shared-ring-color, rgba(126, 231, 255, 0.62));
  stroke-width: 1.7;
  filter:
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 16px rgba(255, 211, 106, 0.24));
}

.edge-line.secondary-edge {
  stroke: rgba(255, 211, 106, 0.38);
  filter: drop-shadow(0 0 7px rgba(255, 211, 106, 0.25));
}

.edge-line.bridge-edge {
  stroke: rgba(255, 211, 106, 0.72);
  stroke-width: 2.4;
  filter:
    drop-shadow(0 0 12px rgba(255, 211, 106, 0.38))
    drop-shadow(0 0 22px rgba(126, 231, 255, 0.18));
}

.edge-line.fallback-bridge-edge {
  stroke: rgba(255, 211, 106, 0.54);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  filter:
    drop-shadow(0 0 10px rgba(255, 211, 106, 0.26))
    drop-shadow(0 0 18px rgba(126, 231, 255, 0.16));
}

.graph-node-initials {
  fill: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  font-weight: 850;
  text-anchor: middle;
  pointer-events: none;
}

.graph-node-initials.is-hidden {
  display: none;
}

.graph-node.center .graph-node-initials {
  font-size: 38px;
}

.graph-node-label {
  fill: rgba(248, 251, 255, 0.9);
  font-size: 13px;
  font-weight: 750;
  text-anchor: middle;
  dominant-baseline: hanging;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.node-label-count {
  fill: var(--gold);
  font-weight: 900;
}

.node-label-qualifier {
  fill: rgba(174, 183, 201, 0.82);
  font-size: 0.34em;
  font-weight: 750;
}

.graph-node:hover .graph-node-ring,
.graph-node:focus-visible .graph-node-ring,
.graph-node.is-dragging .graph-node-ring {
  stroke: var(--node-ring-hover-color);
  stroke-width: 2;
}

.graph-node.is-dragging .graph-node-halo {
  fill: rgba(255, 211, 106, 0.12);
  filter:
    drop-shadow(0 0 26px rgba(255, 211, 106, 0.26))
    drop-shadow(0 0 42px rgba(126, 231, 255, 0.2));
}

@keyframes center-node-pulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
    stroke-width: 3;
  }

  78%,
  100% {
    opacity: 0;
    transform: scale(1.28);
    stroke-width: 0.7;
  }
}

.node-button {
  position: absolute;
  display: grid;
  width: var(--node-size);
  min-height: calc(var(--node-size) + 34px);
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  place-items: start center;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.node-avatar {
  position: relative;
  display: grid;
  width: var(--node-size);
  height: var(--node-size);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(126, 231, 255, 0.32), rgba(255, 118, 183, 0.22)),
    rgba(11, 13, 22, 0.92);
  box-shadow:
    0 0 0 5px rgba(126, 231, 255, 0.06),
    0 18px 46px rgba(0, 0, 0, 0.5),
    inset 0 0 28px rgba(255, 255, 255, 0.08);
  place-items: center;
}

.node-avatar::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%);
  pointer-events: none;
}

.node-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.node-initials {
  color: rgba(255, 255, 255, 0.92);
  font-size: 24px;
  font-weight: 800;
}

.node-name {
  width: 128px;
  margin-top: 10px;
  color: rgba(248, 251, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75);
}

.node-button:hover .node-avatar,
.node-button:focus-visible .node-avatar {
  border-color: rgba(255, 211, 106, 0.85);
  box-shadow:
    0 0 0 7px rgba(255, 211, 106, 0.1),
    0 0 34px rgba(255, 118, 183, 0.34),
    0 24px 54px rgba(0, 0, 0, 0.55);
}

.node-button:focus-visible,
.edge-label:focus-visible {
  outline: none;
}

.node-button.center {
  width: var(--center-size);
  min-height: var(--center-size);
  cursor: default;
}

.node-button.center .node-avatar {
  width: var(--center-size);
  height: var(--center-size);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 0 0 8px rgba(126, 231, 255, 0.08),
    0 0 42px rgba(126, 231, 255, 0.24),
    0 0 74px rgba(255, 118, 183, 0.2),
    0 30px 70px rgba(0, 0, 0, 0.58);
}

.node-button.center .node-initials {
  font-size: 38px;
}

.node-button.center .node-name {
  display: none;
}

.finder-overlay {
  position: fixed;
  z-index: 20;
  top: 22px;
  left: 24px;
  width: min(330px, calc(100vw - 48px));
  pointer-events: none;
}

.finder-brand-row {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  pointer-events: auto;
}

.finder-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  color: rgba(248, 251, 255, 0.96);
  background: transparent;
  cursor: pointer;
  filter: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.72),
    0 0 8px rgba(126, 231, 255, 0.22);
  pointer-events: auto;
}

.finder-brand-refresh-icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  stroke-width: 2.25;
  transform: translateY(0.5px);
  transition: transform 180ms ease;
  opacity: 1;
  filter:
    drop-shadow(0 1px 1px rgba(0, 0, 0, 0.64))
    drop-shadow(0 0 5px rgba(126, 231, 255, 0.2));
}

.finder-brand:hover,
.finder-brand:focus-visible {
  color: rgba(255, 255, 255, 1);
}

.finder-brand:hover .finder-brand-refresh-icon,
.finder-brand:focus-visible .finder-brand-refresh-icon {
  transform: translateY(0.5px) rotate(48deg);
  opacity: 1;
}

.finder-brand:active .finder-brand-refresh-icon {
  transform: translateY(0.5px) rotate(130deg);
}

.finder-brand:focus-visible {
  outline: 1px solid rgba(126, 231, 255, 0.52);
  outline-offset: 4px;
}

.finder-help-button {
  display: inline-grid;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(248, 251, 255, 0.38);
  border-radius: 50%;
  padding: 0;
  color: rgba(248, 251, 255, 0.66);
  background: rgba(8, 10, 18, 0.26);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  pointer-events: auto;
}

.finder-help-button:hover,
.finder-help-button.is-open {
  border-color: rgba(126, 231, 255, 0.72);
  color: rgba(248, 251, 255, 0.94);
  background: rgba(126, 231, 255, 0.11);
}

.finder-help-popover {
  width: min(306px, calc(100vw - 48px));
  margin-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 11px 12px;
  color: rgba(248, 251, 255, 0.88);
  background: rgba(7, 9, 17, 0.84);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  pointer-events: auto;
  white-space: pre-line;
}

.finder-help-popover[hidden] {
  display: none;
}

.artist-search {
  position: relative;
  margin-top: 12px;
  pointer-events: auto;
}

.artist-search-input {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  background: rgba(8, 10, 18, 0.58);
  color: rgba(248, 251, 255, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  backdrop-filter: blur(16px);
}

.artist-search-input::placeholder {
  color: rgba(174, 183, 201, 0.58);
}

.artist-search-input:focus {
  border-color: rgba(126, 231, 255, 0.56);
  box-shadow:
    0 0 0 3px rgba(126, 231, 255, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.26);
}

.artist-search-results {
  position: absolute;
  z-index: 21;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: min(320px, calc(100vh - 116px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(7, 9, 17, 0.88);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
}

.recent-search-heading {
  padding: 11px 13px 7px;
  color: rgba(174, 183, 201, 0.76);
  font-size: 12px;
  font-weight: 850;
}

.artist-suggestion + .recent-search-heading {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.artist-suggestion {
  display: flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  gap: 0;
  border: 0;
  padding: 10px 13px;
  color: rgba(248, 251, 255, 0.86);
  background: transparent;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  touch-action: manipulation;
}

.artist-suggestion:hover,
.artist-suggestion.is-active {
  background: rgba(126, 231, 255, 0.1);
  color: var(--text);
}

.suggestion-field {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-kind {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.suggestion-name {
  flex: 0 1 auto;
  font-size: 13px;
  font-weight: 650;
}

.suggestion-divider {
  flex: 0 0 auto;
  margin: 0 10px;
  color: rgba(174, 183, 201, 0.38);
  font-size: 12px;
}

.artist-suggestion strong {
  color: #ffffff;
  font-weight: 900;
}

.center-info {
  position: absolute;
  z-index: 4;
  min-width: 230px;
  max-width: min(360px, 34vw);
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 9, 17, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
  cursor: grab;
  opacity: 0.8;
  touch-action: none;
  user-select: none;
}

.center-info:empty {
  display: none;
}

.center-info.is-dragging {
  cursor: grabbing;
}

.center-info-section + .center-info-section {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.center-section-content {
  display: grid;
  gap: 5px;
}

.center-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.center-meta .country-flag.flag-icon {
  width: 16px;
  line-height: 11px;
}

.center-meta .flag-unknown {
  width: 16px;
  height: 11px;
  font-size: 7px;
}

.center-wikipedia-link {
  display: inline-grid;
  width: 16px;
  height: 13px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(248, 251, 255, 0.42);
  border-radius: 2px;
  color: rgba(248, 251, 255, 0.9);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.12), rgba(248, 251, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.12);
  line-height: 1;
  text-decoration: none;
}

.center-youtube-link {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  color: #ff4f5a;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0;
  appearance: none;
  vertical-align: middle;
  line-height: 1;
  text-decoration: none;
  filter: none !important;
}

.center-wikipedia-icon {
  display: block;
  width: 12px;
  height: 12px;
  color: inherit;
}

.center-wikipedia-link:hover,
.center-wikipedia-link:focus-visible {
  border-color: rgba(126, 231, 255, 0.78);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(126, 231, 255, 0.2), rgba(126, 231, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 2px rgba(126, 231, 255, 0.1);
}

.center-name-block {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.year-chart {
  width: 100%;
  min-width: 0;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.year-chart[hidden] {
  display: none;
}

.year-chart-title {
  margin: 0 0 8px;
  color: rgba(174, 183, 201, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.year-bars {
  display: grid;
  height: 90px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8px, 1fr);
  align-items: end;
  gap: 4px;
}

.year-bar {
  display: grid;
  min-width: 0;
  height: 100%;
  grid-template-rows: auto minmax(42px, 1fr) auto;
  gap: 3px;
  align-items: end;
}

.year-bar-count {
  overflow: hidden;
  color: rgba(248, 251, 255, 0.76);
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.year-bar-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 42px;
  align-items: flex-end;
}

.year-bar-fill {
  display: block;
  width: 100%;
  height: var(--bar-height, 4%);
  min-height: 4px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(255, 118, 183, 0.76));
  box-shadow: 0 0 14px rgba(126, 231, 255, 0.22);
}

.year-bar.is-outside-range .year-bar-fill {
  opacity: 0.22;
  filter: grayscale(0.8);
}

.year-bar-label {
  overflow: hidden;
  color: rgba(174, 183, 201, 0.72);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.center-eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.center-name {
  display: flex;
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 1px;
  align-items: baseline;
  margin: 0;
  color: var(--text);
  font-size: 27px;
  font-weight: 850;
  line-height: 1.02;
}

.center-name-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.center-life-meta {
  flex: 0 0 auto;
  color: rgba(174, 183, 201, 0.72);
  font-size: 0.4em;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.center-info-section-secondary .center-name {
  font-size: 22px;
}

.center-name-qualifier {
  margin: 0;
  color: rgba(174, 183, 201, 0.86);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.center-en {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.15;
}

.center-details {
  display: grid;
  gap: 4px;
  padding-top: 1px;
}

.center-active-line,
.center-affiliation-line {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: 0;
  color: rgba(248, 251, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.center-youtube-link {
  color: #ff4f5a;
}

.center-youtube-link:hover,
.center-youtube-link:focus-visible {
  color: #ff6b73;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0;
  filter: none !important;
}

.center-youtube-icon {
  display: block;
  width: 16px;
  height: 16px;
  transform: translateY(1.5px);
}

.country-flag {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px;
  box-shadow: none;
}

.country-flag.flag-icon {
  width: 21px;
  line-height: 14px;
  background-size: cover;
}

.flag-unknown {
  display: inline-grid;
  width: 21px;
  height: 14px;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(248, 251, 255, 0.74);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.center-affiliation-label {
  flex: 0 0 auto;
  color: rgba(174, 183, 201, 0.82);
  font-weight: 800;
}

.center-affiliation-name {
  min-width: 0;
}

.center-affiliation-link {
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 0;
  color: rgba(248, 251, 255, 0.94);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(126, 231, 255, 0.34);
  text-underline-offset: 3px;
}

.center-affiliation-link:hover {
  color: var(--cyan);
  text-decoration-color: rgba(126, 231, 255, 0.82);
}

.center-affiliation-separator {
  color: rgba(174, 183, 201, 0.42);
}

.explore-range {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.explore-range-heading {
  margin: 0;
  color: rgba(174, 183, 201, 0.86);
  font-size: 12px;
  font-weight: 850;
}

.explore-range-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
}

.explore-year-input {
  width: 100%;
  min-width: 0;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.explore-year-input:focus {
  border-color: rgba(126, 231, 255, 0.58);
  outline: 0;
  box-shadow: 0 0 0 2px rgba(126, 231, 255, 0.16);
}

.explore-year-input:disabled {
  color: rgba(248, 251, 255, 0.74);
  opacity: 1;
}

.explore-range-separator {
  color: rgba(174, 183, 201, 0.68);
  font-size: 12px;
  font-weight: 850;
}

.explore-range-slider {
  position: relative;
  height: 30px;
  touch-action: none;
  cursor: ew-resize;
}

.explore-range-track,
.explore-range-fill {
  position: absolute;
  top: 13px;
  height: 4px;
  border-radius: 999px;
}

.explore-range-track {
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.13);
}

.explore-range-fill {
  left: var(--range-start, 0%);
  right: calc(100% - var(--range-end, 100%));
  background: linear-gradient(90deg, var(--cyan), var(--rose));
  box-shadow: 0 0 16px rgba(126, 231, 255, 0.2);
}

.explore-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 30px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
}

.explore-range-input:focus {
  outline: 0;
}

.explore-range-input::-webkit-slider-runnable-track {
  height: 30px;
  background: transparent;
}

.explore-range-input::-moz-range-track {
  height: 30px;
  background: transparent;
  border: 0;
}

.explore-range-input::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  margin-top: 7px;
  border: 2px solid rgba(5, 6, 10, 0.86);
  border-radius: 50%;
  background: #f8fbff;
  box-shadow: 0 0 0 2px rgba(126, 231, 255, 0.42);
  cursor: ew-resize;
  pointer-events: auto;
  -webkit-appearance: none;
}

.explore-range-input::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(5, 6, 10, 0.86);
  border-radius: 50%;
  background: #f8fbff;
  box-shadow: 0 0 0 2px rgba(126, 231, 255, 0.42);
  cursor: ew-resize;
  pointer-events: auto;
}

.explore-range-input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(126, 231, 255, 0.64);
}

.explore-range-input:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(126, 231, 255, 0.64);
}

.relation-panel {
  position: fixed;
  z-index: 8;
  top: 0;
  right: 0;
  width: 30vw;
  min-width: 360px;
  height: 100vh;
  padding: 28px;
  border-left: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

body.panel-open .relation-panel {
  transform: translateX(0);
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  place-items: center;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(255, 211, 106, 0.72);
}

.close-panel {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 24px;
  line-height: 1;
}

.panel-heading {
  padding-right: 42px;
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-title {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.18;
}

.relation-list {
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding-right: 4px;
}

.work-item {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.work-item:hover,
.work-item:focus-visible,
.work-item.is-open {
  border-color: rgba(135, 231, 255, 0.42);
  background: rgba(255, 255, 255, 0.078);
  outline: none;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 3px 9px;
  color: rgba(248, 251, 255, 0.88);
  background: rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 750;
}

.work-title {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.work-album {
  margin: 8px 0 0;
  color: rgba(248, 251, 255, 0.68);
  font-size: 13px;
  line-height: 1.35;
}

.work-embed {
  margin-top: 14px;
}

.work-embed[hidden] {
  display: none;
}

.work-embed-label {
  margin: 0 0 8px;
  color: rgba(135, 231, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.work-embed-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
}

.work-embed-link {
  display: inline-flex;
  margin-top: 8px;
  color: rgba(255, 211, 106, 0.92);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.work-embed-link:hover,
.work-embed-link:focus-visible {
  text-decoration: underline;
}

.status-message {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 6;
  width: min(460px, 86vw);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 9, 17, 0.72);
  color: rgba(248, 251, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.status-message.compact {
  top: 68%;
  width: min(320px, 74vw);
  padding: 13px 15px;
}

.status-message.no-collaborations-status {
  top: auto;
  bottom: max(28px, env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 40px));
  transform: translateX(-50%);
}

.status-message p {
  margin: 0;
}

.status-message p + p {
  margin-top: 4px;
  color: rgba(174, 183, 201, 0.88);
  font-size: 13px;
}

.random-artist-button {
  min-width: 62px;
  height: 30px;
  margin-top: 11px;
  border: 1px solid rgba(126, 231, 255, 0.46);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(248, 251, 255, 0.94);
  background: rgba(126, 231, 255, 0.12);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.random-artist-button:hover,
.random-artist-button:focus-visible {
  border-color: rgba(255, 211, 106, 0.72);
  background: rgba(255, 211, 106, 0.15);
}

.sparse-graph-random {
  position: absolute;
  bottom: max(26px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 7;
  transform: translateX(-50%);
  pointer-events: auto;
}

.sparse-graph-random-button {
  min-height: 34px;
  border: 1px solid rgba(126, 231, 255, 0.32);
  border-radius: 999px;
  padding: 0 18px;
  color: rgba(248, 251, 255, 0.78);
  background: rgba(7, 9, 17, 0.42);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  opacity: 0.78;
}

.sparse-graph-random-button:hover,
.sparse-graph-random-button:focus-visible {
  border-color: rgba(255, 211, 106, 0.66);
  color: rgba(248, 251, 255, 0.94);
  background: rgba(255, 211, 106, 0.13);
  opacity: 0.96;
}

@media (max-width: 860px) {
  :root {
    --node-size: 76px;
    --center-size: 116px;
  }

  .center-info {
    max-width: calc(100vw - 32px);
    padding: 14px 16px;
  }

  .finder-overlay {
    top: 18px;
    left: 16px;
    width: min(310px, calc(100vw - 32px));
  }

  .year-bars {
    height: 64px;
    gap: 3px;
  }

  .center-name {
    font-size: 25px;
  }

  .node-name {
    width: 102px;
    font-size: 12px;
  }

  .relation-panel {
    width: min(100vw, 440px);
    min-width: 0;
    padding: 24px 18px;
  }

  .panel-title {
    font-size: 22px;
  }
}

@media (max-width: 1024px),
  (hover: none) and (pointer: coarse) and (max-height: 640px),
  (max-width: 960px) and (max-height: 640px) and (orientation: landscape) {
  :root {
    --node-size: 72px;
    --center-size: 110px;
  }

  html,
  body {
    min-height: 100%;
  }

  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .app-shell {
    position: relative;
    inset: auto;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .finder-overlay {
    position: relative;
    z-index: 20;
    top: auto;
    left: auto;
    order: 1;
    width: 100%;
    pointer-events: auto;
  }

  .finder-brand-row {
    width: 100%;
  }

  .finder-brand {
    color: rgba(248, 251, 255, 0.98);
    filter: none;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.78),
      0 0 7px rgba(126, 231, 255, 0.22);
  }

  .finder-brand-refresh-icon {
    width: 13px;
    height: 13px;
  }

  .artist-search {
    margin-top: 10px;
  }

  .artist-search-results {
    max-height: min(340px, 62vh);
  }

  .center-info {
    position: relative;
    z-index: 5;
    left: auto !important;
    top: auto !important;
    order: 2;
    width: 100%;
    min-width: 0;
    max-width: none;
    transform: none !important;
    visibility: visible !important;
    cursor: default;
    opacity: 0.82;
    touch-action: auto;
  }

  .center-info.has-secondary-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .center-info.has-secondary-center .center-info-section {
    min-width: 0;
  }

  .center-info.has-secondary-center .center-info-section + .center-info-section {
    margin-top: 0;
    padding-top: 0;
    padding-left: 10px;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .center-info.has-secondary-center .center-section-content {
    height: 100%;
    align-content: start;
  }

  .center-info.has-secondary-center .center-name {
    overflow-wrap: anywhere;
    font-size: 19px;
    line-height: 1.06;
  }

  .center-info.has-secondary-center .center-info-section-secondary .center-name {
    font-size: 18px;
  }

  .center-info.has-secondary-center .center-name-qualifier,
  .center-info.has-secondary-center .center-en,
  .center-info.has-secondary-center .center-affiliation-line {
    font-size: 10px;
  }

  .center-info.has-secondary-center .center-eyebrow {
    font-size: 10px;
  }

  .center-info.has-secondary-center .center-meta {
    gap: 4px;
  }

  .center-info.is-dragging {
    cursor: default;
  }

  .graph-zoom-surface,
  .graph-node,
  .edge-label {
    touch-action: pan-y;
  }

  .graph-zoom-surface {
    cursor: default;
  }

  .graph-node-initials {
    font-size: 18px;
  }

  .graph-node.center .graph-node-initials {
    font-size: 28px;
  }

  .graph-node-label {
    font-size: 11px;
  }

  .graph-shell {
    position: relative;
    inset: auto;
    order: 3;
    width: calc(100% + 32px);
    height: clamp(660px, 92svh, 900px);
    min-height: 660px;
    margin-right: -16px;
    margin-left: -16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(5, 7, 14, 0.18);
  }

  .relation-panel {
    position: relative;
    z-index: 6;
    top: auto;
    right: auto;
    display: none;
    order: 4;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 22px 16px 18px;
    border-top: 1px solid var(--panel-border);
    border-left: 0;
    border-radius: 8px;
    box-shadow: none;
    transform: none;
  }

  body.panel-open .relation-panel {
    display: block;
    transform: none;
  }

  .close-panel {
    display: none;
  }

  .panel-heading {
    padding-right: 0;
  }

  .panel-title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .relation-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 640px),
  (hover: none) and (pointer: coarse) and (max-height: 640px),
  (max-width: 960px) and (max-height: 640px) and (orientation: landscape) {
  :root {
    --node-size: 60px;
    --center-size: 94px;
  }
}

@media (hover: none) and (pointer: coarse) and (max-height: 640px) and (orientation: landscape),
  (max-width: 960px) and (max-height: 640px) and (orientation: landscape) {
  .app-shell {
    width: min(100vw, 430px);
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 560px),
  (hover: none) and (pointer: coarse) and (max-height: 640px),
  (max-width: 960px) and (max-height: 640px) and (orientation: landscape) {
  :root {
    --node-size: 54px;
    --center-size: 86px;
  }

  .center-info {
    min-width: 0;
  }

  .graph-shell {
    height: clamp(680px, 98svh, 920px);
    min-height: 680px;
  }

  .graph-node-initials {
    font-size: 16px;
  }

  .graph-node.center .graph-node-initials {
    font-size: 26px;
  }

  .graph-node-label {
    font-size: 10px;
  }

  .center-details {
    gap: 6px;
  }

  .center-info.has-secondary-center {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .center-info.has-secondary-center .center-info-section + .center-info-section {
    padding-left: 8px;
  }

  .center-info.has-secondary-center .center-name {
    font-size: 17px;
  }

  .center-info.has-secondary-center .center-info-section-secondary .center-name {
    font-size: 16px;
  }

  .center-active-line,
  .center-affiliation-line {
    font-size: 12px;
  }
}
