* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #020308;
}

#c {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  /* mobile: tragerea rotește bolta; fără scroll/zoom implicit pe canvas */
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

#c.is-hover-venus {
  cursor: pointer;
}

/* Mic reper spre Polaris / nord (nu UI mare) */
.north-compass {
  position: fixed;
  right: 0.65rem;
  bottom: 4.25rem;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 6.8rem;
  pointer-events: none;
}

.north-compass-dial {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    rgba(55, 80, 120, 0.5),
    rgba(12, 22, 42, 0.75)
  );
  border: 1px solid rgba(120, 190, 255, 0.35);
  box-shadow:
    0 0 18px rgba(80, 150, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.north-compass-dial::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(100, 160, 220, 0.2);
  pointer-events: none;
}

.north-compass-needle {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 2px;
  height: 17px;
  margin-left: -1px;
  transform-origin: 50% 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 220, 0.95),
    rgba(140, 200, 255, 0.5)
  );
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(180, 230, 255, 0.7);
  pointer-events: none;
}

.north-compass-n {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(200, 230, 255, 0.88);
  text-shadow: 0 0 10px rgba(100, 180, 255, 0.55);
  pointer-events: none;
}

.north-compass.is-behind .north-compass-needle {
  opacity: 0.28;
  box-shadow: none;
}

.sky-label {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
  width: min(92vw, 24rem);
  max-height: min(62vh, 20rem);
  overflow-y: auto;
  padding: 0.7rem 1rem 0.85rem;
  border-radius: 12px;
  pointer-events: none;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: #f2f9ff;
  text-shadow:
    0 0 14px rgba(120, 210, 255, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.9);
  background: linear-gradient(
    155deg,
    rgba(10, 22, 48, 0.94),
    rgba(18, 40, 72, 0.88)
  );
  border: 1px solid rgba(140, 215, 255, 0.55);
  box-shadow:
    0 0 36px rgba(90, 180, 255, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.sky-label .learn-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(160, 215, 255, 0.95);
  margin-bottom: 0.35rem;
}

.sky-label .learn-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #f4fbff;
}

.sky-label .learn-myth {
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(230, 244, 255, 0.92);
  margin-bottom: 0.55rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.sky-label .learn-find {
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(200, 235, 255, 0.98);
  padding-top: 0.45rem;
  border-top: 1px solid rgba(100, 170, 230, 0.25);
}

.sky-label .learn-find-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(130, 210, 255, 0.95);
  margin-bottom: 0.2rem;
}

.sky-label .learn-find-text {
  font-weight: 500;
}

.sky-label[hidden] {
  display: none !important;
}
