.atlas {
  position: relative;
  margin: 0 clamp(12px, 4vw, 48px) clamp(32px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 38%, rgba(217, 162, 59, 0.1), transparent 26%),
    radial-gradient(circle at 76% 48%, rgba(67, 178, 184, 0.12), transparent 32%),
    #070909;
  min-height: min(78vh, 760px);
}

.atlas-stage {
  display: block;
  width: 100%;
  height: min(78vh, 760px);
  cursor: crosshair;
  touch-action: manipulation;
}

.atlas-hint {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.atlas-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  max-width: min(42ch, 70%);
  pointer-events: none;
  text-align: right;
}

.atlas-kicker {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.atlas-name {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.atlas-where {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.atlas-edge {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.atlas-edge.is-path {
  stroke-opacity: 0.92;
}

.atlas-edge.is-dim {
  stroke-opacity: 0.12;
}

.atlas-node {
  cursor: pointer;
}

.atlas-node circle {
  transition: filter 180ms ease;
}

.atlas-node.is-hot circle {
  filter: drop-shadow(0 0 10px currentColor);
  animation: atlas-pulse 2.4s ease-in-out infinite;
}

@keyframes atlas-pulse {
  0%, 100% { filter: drop-shadow(0 0 8px currentColor); }
  50% { filter: drop-shadow(0 0 16px currentColor); }
}

.atlas-node.is-dim {
  opacity: 0.22;
}

.atlas-label {
  fill: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
  pointer-events: none;
}

.atlas-orbit {
  fill: none;
  stroke: rgba(255, 243, 223, 0.08);
  pointer-events: none;
}

@media (max-width: 720px) {
  .atlas {
    margin-left: 0;
    margin-right: 0;
    border-left: 0;
    border-right: 0;
  }

  .atlas-hint,
  .atlas-caption {
    left: 16px;
    right: 16px;
    text-align: left;
  }

  .atlas-caption {
    bottom: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-node circle {
    transition: none;
  }

  .atlas-node.is-hot circle {
    animation: none;
  }
}
