.constellation-embed {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  background: #050505;
  color: #f5f5f5;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: none;
  isolation: isolate;
}

.constellation-embed canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: none;
}

.constellation-view-toggle {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  user-select: none;
  cursor: pointer;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1.25, 0.36, 1);
}

.constellation-view-toggle:hover {
  color: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) scale(1.025);
}

.constellation-embed.is-selected .constellation-view-toggle {
  opacity: 0.12;
  pointer-events: none;
}

.constellation-info {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 9;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.constellation-info-name {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
}

.constellation-info-meta {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.constellation-embed.is-selected .constellation-info {
  opacity: 0 !important;
}

.constellation-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.18s ease, width 0.18s ease, height 0.18s ease, background 0.18s ease;
  will-change: transform, opacity, width, height;
}

