/* The Moon, phase labels and interpretation form one observation column. */
#nebo .sky-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  grid-template-areas: "intro phase" "day lines";
  gap: 28px clamp(32px, 4vw, 56px);
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
#nebo .sky-overview { display: contents; }
#nebo .sky-head { grid-area: intro; align-self: center; min-width: 0; max-width: 48rem; margin-bottom: 0; }
#nebo .sky-observation { display: contents; }
#nebo .sky-phase-summary {
  grid-area: phase;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-align: center;
}
#nebo .sky-moon { width: clamp(144px, 15vw, 180px); }
#nebo .sky-ticker {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  max-width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; font: 14px/1.5 var(--font-body); letter-spacing: 0;
}
#nebo .sky-ticker-item { justify-content: center; white-space: normal; }
#nebo .sky-ticker-note { font-size: 13px; letter-spacing: 0; }
#nebo .sky-lines {
  grid-area: lines; align-self: stretch;
  width: 100%; margin: 0; padding-top: 22px;
  border-top: 1px solid var(--border);
  font: 400 clamp(24px, 2vw, 28px)/1.3 var(--font-display);
  color: var(--fg); text-align: center; text-wrap: balance;
}
#nebo .sky-lines em { color: var(--accent); font-style: italic; }
#nebo .sky-card {
  grid-area: day; align-self: stretch; display: block; margin: 0; padding: 22px 0 0;
  border: 0; border-top: 1px solid var(--border); border-radius: 0;
  background: none; box-shadow: none; overflow: visible; text-align: left;
}
#nebo .sky-card-body { display: grid; gap: 10px; }
#nebo .sky-date { margin: 0; letter-spacing: .1em; line-height: 1.6; }
#nebo .sky-mood { margin: 0; }
#nebo .sky-auto { margin-top: 4px; letter-spacing: .06em; }
@media (max-width: 900px) {
  #nebo .sky-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "phase" "lines" "day"; gap: 28px; }
  #nebo .sky-phase-summary, #nebo .sky-lines { width: min(100%, 360px); justify-self: center; }
  #nebo .sky-moon { width: 140px; }
}
@media (max-width: 720px) {
  #nebo .sky-panel { padding: 24px 18px; }
}

/* Quiet surface detail stays below the astronomical phase shadow. */
#nebo .sky-moon {
  background: radial-gradient(circle at 36% 30%, #eee4cc 0%, #d6c8a9 42%, #aa997b 75%, #76664e 100%);
  box-shadow: 0 0 8px 2px #ead8b32b, 0 0 38px 8px #dfbf8733, 0 0 78px 16px #dfbf8714, inset -6px -4px 18px #11171960;
}
#nebo .sky-moon::before {
  opacity: .45;
  background:
    radial-gradient(ellipse 13% 10% at 28% 31%, #4b4b4138 35%, transparent 75%),
    radial-gradient(ellipse 20% 16% at 42% 36%, #53534945 30%, transparent 74%),
    radial-gradient(ellipse 13% 21% at 34% 48%, #4f514746 20%, transparent 76%),
    radial-gradient(ellipse 17% 13% at 57% 27%, #5b5a4c40 30%, transparent 75%),
    radial-gradient(ellipse 15% 18% at 63% 42%, #51524638 24%, transparent 76%),
    radial-gradient(ellipse 22% 12% at 49% 58%, #61605230 20%, transparent 76%),
    radial-gradient(circle at 29% 67%, #514e4018 0%, #fff0ce18 2.6%, transparent 4.5%),
    radial-gradient(circle at 43% 78%, #514e4020 0%, #fff0ce22 3.1%, transparent 5%),
    radial-gradient(circle at 71% 61%, #514e4018 0%, #fff0ce18 2.4%, transparent 4%),
    radial-gradient(circle at 24% 48%, #514e4018 0%, #fff0ce18 1.7%, transparent 3%),
    radial-gradient(circle at 63% 73%, #514e4018 0%, #fff0ce18 1.8%, transparent 3%);
}
#nebo .sky-moon-shadow { filter: blur(3px); }
#nebo .sky-moon::after { box-shadow: inset 0 0 6px #f5e7cb28, inset 0 0 18px #dfbf871c; }
