/* SpaceSick — Sun additions
   Purely additive. No existing rule is modified; these extend the time-tag
   system, the orbit halo, and the surface prose for the new Sun entry. */

/* ---------- STELLAR TIME pill — warm gold/white, matching the time-tag family ---------- */
#time-tag[data-kind="stellar"] {
  color: #ffe9bf;
  background: rgba(255, 214, 140, 0.13);
  border: 1px solid rgba(255, 214, 140, 0.34);
}
#time-tag[data-kind="stellar"]:hover,
#time-tag[data-kind="stellar"]:focus-visible {
  background: rgba(255, 214, 140, 0.24);
  border-color: rgba(255, 230, 175, 0.75);
  box-shadow: 0 0 26px rgba(255, 210, 130, 0.32);
  color: #fff3da;
}

/* STELLAR TIME modal — same card, gold accent */
.tag-modal[data-kind="stellar"] .tag-card h3,
.tag-modal[data-kind="stellar"] .tag-card-head .tt-icon { color: #ffe6b3; }
.tag-modal[data-kind="stellar"] .tag-card { border-color: rgba(255, 214, 140, 0.34); }

/* ---------- Sun orbit halo — a slow ~6s breathing pulse ---------- */
@media (prefers-reduced-motion: no-preference) {
  .planet-stage.sun-stage .planet-glow {
    transform-origin: center;
    animation: sunHalo 6s ease-in-out infinite;
  }
}
@keyframes sunHalo {
  0%, 100% { transform: scale(0.95); opacity: 0.82; }
  50%      { transform: scale(1.05); opacity: 1; }
}

/* ---------- Sun's discovery line reads as prose, not the uppercase label ---------- */
/* Kept compact so the Sun's orbit view is no taller than other planets' — this
   keeps the CONTINUE THE TOUR / action row at the same on-screen height. */
#discovered.discovery-prose {
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 3.1vw, 16px);
  line-height: 1.5;
  max-width: 460px;
  margin-top: clamp(13px, 2.2vh, 20px);
  color: #f0cf9e;
  text-wrap: pretty;
}

/* Recover the rest of the Sun's extra height around the wow-fact and the action
   row, so the orbit buttons land in the same place as every other planet. */
.orbit-sun #wow { margin-top: clamp(18px, 3vh, 28px); }
.orbit-sun #planet-actions { margin-top: clamp(22px, 3.6vh, 34px); }

/* ---------- Sun surface copy spans several short paragraphs ---------- */
.surface-sun .surface-info p.desc { white-space: pre-line; }
