/* ── flagship star (fixed bearing, not clickable) ── */
#star-canvas {
  position: fixed; z-index: 3;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
#star-label {
  position: fixed; z-index: 3;
  transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 5px; padding-left: 5px;   /* re-centre after the trailing letter-space */
  color: rgba(235, 242, 255, 0.92);
  text-shadow: 0 0 8px rgba(150, 190, 255, 0.85), 0 0 18px rgba(255, 150, 120, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: text-shadow 0.4s ease, letter-spacing 0.4s ease;
}
#star-label.lit {
  text-shadow: 0 0 12px rgba(190, 220, 255, 1), 0 0 26px rgba(255, 170, 140, 0.6);
}
body.warping #star-label { opacity: 0 !important; transition: opacity 0.4s ease; }

/* DRIFT preview: the star becomes the way in */
#star-canvas.clickable { pointer-events: auto; outline: none; }
#warp-canvas {
  position: fixed; inset: 0; z-index: 95;
  width: 100%; height: 100%;
  pointer-events: none;
}
#warp-black {
  position: fixed; inset: 0; z-index: 101;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
#warp-black.on { opacity: 1; pointer-events: auto; }
body.warping .stage, body.warping .contact-bar, body.warping #radar-target, body.warping #pause-btn {
  opacity: 0 !important;
  transition: opacity 0.5s ease;
}

/* ── radar target ── */
#radar-target {
  position: fixed; z-index: 4;
  display: none; pointer-events: none;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  align-items: center; justify-content: center;
}

/* blip: drawn on canvas, no DOM dot needed */
#blip { display: none; }

/* planet button */
.planet-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
}
.enter-link {
  text-decoration: none;
  display: block;
  width: 68px; height: 68px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 16px rgba(140,80,220,0.35), inset 0 0 24px rgba(40,10,80,0.7);
}
.enter-link:hover {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(160,80,255,0.6), inset 0 0 30px rgba(40,10,80,0.7);
}
/* planet canvas drawn by JS */
#planet-canvas {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: block;
}
.planet-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 3px; color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(180,120,255,0.9);
}

/* sweep-lit flicker handled by JS */

