/* SparkleMoon — styles.css */
:root {
  --ink: #0a0c16;
  --ink-2: #10142a;
  --ink-3: #171c38;
  --line: rgba(232, 228, 216, 0.12);
  --line-strong: rgba(232, 228, 216, 0.24);
  --moon: #ece7da;
  --moon-dim: #b9b4a6;
  --muted: #8e93ad;
  --gold: #f2c66d;
  --gold-soft: rgba(242, 198, 109, 0.14);
  --blue: #8fb4ff;
  --rose: #f29b9b;
  --green: #8fd6b0;
  --radius: 14px;
  --maxw: 1180px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--moon);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% -10%, #1b2250 0%, var(--ink) 55%);
}

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe0a1; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 22, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--moon); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
.brand svg { width: 30px; height: 30px; }
.brand span em { font-style: italic; color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--moon); border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 0.95rem; cursor: pointer; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { color: var(--moon-dim); text-decoration: none; font-size: 0.95rem; padding: 8px 11px; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--ink); background: var(--moon); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; background: rgba(10, 12, 22, 0.97); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 16px 18px; }
  .site-nav a { display: block; padding: 12px 14px; font-size: 1.05rem; }
}

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 400; }
.hero h1 em { color: var(--gold); font-style: italic; }
.lede { font-size: 1.2rem; color: var(--moon-dim); max-width: 36em; }
.tonight {
  background: linear-gradient(160deg, rgba(23, 28, 56, 0.85), rgba(10, 12, 22, 0.6));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
}
.moon-figure { width: min(320px, 72vw); margin: 0 auto 12px; filter: drop-shadow(0 0 48px rgba(236, 231, 218, 0.18)); }
.moon-figure svg { width: 100%; height: auto; display: block; }
.tonight h2 { font-size: 1.6rem; margin-bottom: 2px; }
.tonight .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; text-align: left; }
.stat { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.stat dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat dd { margin: 2px 0 0; font-size: 1.02rem; }
.hemi { margin-top: 14px; background: none; border: 1px solid var(--line-strong); color: var(--moon-dim); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.85rem; cursor: pointer; }
.hemi:hover { color: var(--moon); border-color: var(--moon-dim); }

@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- sections ---------- */
section.block { padding: 84px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 400; }
.section-head p { color: var(--moon-dim); font-size: 1.1rem; }
.note { font-size: 0.9rem; color: var(--muted); border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; margin: 18px 0 0; }

/* facts grid */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 44px; }
.fact { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; background: rgba(255, 255, 255, 0.025); }
.fact .num { font-family: var(--serif); font-size: 2rem; line-height: 1.1; color: var(--moon); }
.fact .num small { font-size: 1rem; color: var(--moon-dim); }
.fact .lbl { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col h3 { font-size: 1.45rem; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 10px; } }

.calc { margin-top: 32px; border: 1px solid var(--line-strong); border-radius: 18px; padding: 24px; background: linear-gradient(135deg, var(--gold-soft), transparent 60%); display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.calc label { display: block; font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px; }
.calc .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.calc input { width: 120px; font: inherit; font-size: 1.1rem; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--moon); }
.calc output { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); text-align: right; line-height: 1.1; }
.calc output small { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }
@media (max-width: 640px) { .calc { grid-template-columns: 1fr; } .calc output { text-align: left; } }

/* filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: inherit; font-size: 0.9rem; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--moon-dim); cursor: pointer; }
.chip:hover { color: var(--moon); border-color: var(--moon-dim); }
.chip[aria-pressed="true"] { background: var(--moon); color: var(--ink); border-color: var(--moon); }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 28px; padding: 0 0 26px; position: relative; }
.timeline li[hidden] { display: none; }
.timeline li::before { content: ""; position: absolute; left: 87px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--moon-dim); }
.timeline li.milestone::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(242, 198, 109, 0.6); }
.timeline li.failed::before { border-color: var(--rose); }
.t-year { font-family: var(--mono); font-size: 0.95rem; color: var(--gold); text-align: right; padding-top: 2px; }
.t-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.t-body p { margin: 0; color: var(--moon-dim); font-size: 0.98rem; }
.tag { display: inline-block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); margin-left: 8px; vertical-align: 2px; white-space: nowrap; }
.tag.ok { color: var(--green); border-color: rgba(143, 214, 176, 0.4); }
.tag.fail { color: var(--rose); border-color: rgba(242, 155, 155, 0.4); }
.tag.part { color: var(--gold); border-color: rgba(242, 198, 109, 0.4); }
.tag.plan { color: var(--blue); border-color: rgba(143, 180, 255, 0.4); }
.empty { color: var(--muted); font-style: italic; }
@media (max-width: 600px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; padding-left: 28px; }
  .timeline li::before { left: 1px; }
  .t-year { text-align: left; }
}

/* future cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: rgba(23, 28, 56, 0.45); display: flex; flex-direction: column; }
.card .when { font-family: var(--mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.card h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.card .who { font-size: 0.88rem; color: var(--muted); margin-bottom: 10px; }
.card p { color: var(--moon-dim); font-size: 0.97rem; margin: 0; }
.card .flag { margin-top: auto; padding-top: 12px; }
.subhead { font-size: 1.6rem; margin: 56px 0 18px; }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.project { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.project h4 { font-size: 1.15rem; margin-bottom: 6px; }
.project p { color: var(--moon-dim); font-size: 0.97rem; margin: 0; }
.project .k { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); display: block; margin-bottom: 6px; }

/* folklore */
.lore { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.tale { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: linear-gradient(180deg, rgba(23, 28, 56, 0.6), rgba(10, 12, 22, 0.3)); }
.tale[hidden] { display: none; }
.tale .region { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
.tale h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.tale p { color: var(--moon-dim); font-size: 0.98rem; }
.tale p:last-child { margin-bottom: 0; }
.tale .seen { font-size: 0.9rem; color: var(--moon); border-top: 1px dashed var(--line-strong); padding-top: 10px; margin-top: 12px; }

/* festivals + moons table */
.fest { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.fest div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fest strong { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; display: block; }
.fest span { color: var(--muted); font-size: 0.92rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.97rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); }
th { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 400; background: rgba(255, 255, 255, 0.03); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-family: var(--mono); color: var(--gold); font-size: 0.88rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.art { margin: 0; }
.art button { all: unset; cursor: zoom-in; display: block; width: 100%; border-radius: 10px; overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 3; position: relative; }
.art button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.art button:hover img { transform: scale(1.04); }
.art .fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 20px; }
.art figcaption { padding-top: 12px; }
.art h3 { font-size: 1.2rem; margin: 0 0 2px; }
.art .meta { font-size: 0.88rem; color: var(--gold); font-family: var(--mono); }
.art p { font-size: 0.95rem; color: var(--moon-dim); margin: 6px 0 0; }

dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 94vh; color: var(--moon); }
dialog#lightbox::backdrop { background: rgba(5, 6, 12, 0.92); }
dialog#lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
dialog#lightbox .lb-cap { text-align: center; padding: 12px; font-size: 0.95rem; color: var(--moon-dim); }
dialog#lightbox .lb-close { position: fixed; top: 14px; right: 18px; background: var(--moon); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 16px; font: inherit; cursor: pointer; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 70px; color: var(--muted); font-size: 0.92rem; }
footer h2 { font-size: 1.3rem; color: var(--moon); }
footer ol { padding-left: 20px; columns: 2 320px; column-gap: 40px; }
footer li { margin-bottom: 6px; break-inside: avoid; }
footer .colophon { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.lost h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 400; }
.lost p { color: var(--moon-dim); max-width: 32em; margin: 0 auto 1.4em; }
.btn { display: inline-block; background: var(--moon); color: var(--ink); text-decoration: none; padding: 11px 22px; border-radius: 999px; }
.btn:hover { background: var(--gold); color: var(--ink); }

/* phases */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 44px; }
.phase { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; background: rgba(255, 255, 255, 0.02); }
.phase .pic { width: 84px; height: 84px; margin: 0 auto 12px; }
.phase .pic svg { width: 100%; height: 100%; }
.phase h3 { font-size: 1.15rem; margin-bottom: 6px; }
.phase p { font-size: 0.93rem; color: var(--moon-dim); margin: 0; text-align: left; }
@media (max-width: 900px) { .phase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .phase-grid { grid-template-columns: 1fr; } .phase { display: grid; grid-template-columns: 64px 1fr; gap: 0 14px; text-align: left; } .phase .pic { width: 64px; height: 64px; grid-row: span 2; margin: 0; } }

/* sayings */
.sayings { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.saying { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: rgba(23, 28, 56, 0.4); }
.saying q { font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; display: block; color: var(--moon); quotes: "“" "”"; }
.saying .lang { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 8px 0 6px; }
.saying p { margin: 0; color: var(--moon-dim); font-size: 0.95rem; }

.art img.tall { object-fit: contain; background: #12152a; }

/* full stories */
.lore { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); align-items: start; }
.tale details { margin-top: 4px; }
.tale summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--gold); padding: 6px 14px; border: 1px solid rgba(242, 198, 109, 0.4); border-radius: 999px; }
.tale summary::-webkit-details-marker { display: none; }
.tale summary::after { content: "+"; font-family: var(--mono); }
.tale details[open] summary { margin-bottom: 14px; }
.tale details[open] summary::after { content: "−"; }
.tale details[open] summary span { display: none; }
.tale summary:hover { background: var(--gold-soft); }
.tale details p { font-size: 1rem; line-height: 1.7; }
table.moons { min-width: 860px; }
table.moons td:nth-child(n+4) { white-space: nowrap; }

/* ---------- reading font for stories ---------- */
:root { --read: "Literata", "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tale p, .tale details p { font-family: var(--read); font-size: 1.125rem; line-height: 1.75; color: #d8d3c5; }
.tale .seen { font-family: var(--sans); font-size: 0.95rem; line-height: 1.6; color: var(--moon); }

/* ---------- story reader (JS on) ---------- */
.lore.reader { display: block; max-width: 46rem; margin: 0 auto; }
.lore.reader .tale { padding: clamp(22px, 5vw, 48px); }
.lore.reader .tale h3 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin: 8px 0 18px; }
.lore.reader .tale h3:focus { outline: none; }
.lore.reader .tale p { max-width: 62ch; text-wrap: pretty; }
.lore.reader .tale summary { display: none; }
.lore.reader .tale details { margin-top: 0; }
.reader-bar { max-width: 46rem; margin: 0 auto 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; scroll-margin-top: 84px; }
.rb, .rf { font: inherit; color: var(--moon); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; }
.rb { padding: 10px 16px; font-size: 0.95rem; white-space: nowrap; }
.rb:hover, .rf:hover { border-color: var(--gold); color: var(--gold); }
.rb:disabled, .rf:disabled { opacity: 0.35; cursor: default; }
.rb-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.rb-mid select { width: 100%; max-width: 26rem; font: inherit; font-size: 0.95rem; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--ink-2); color: var(--moon); }
.rb-count { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.reader-foot { max-width: 46rem; margin: 16px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rf { border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.rf.next { text-align: right; align-items: flex-end; }
.rf small { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.rf span { font-family: var(--serif); font-size: 1.1rem; }
@media (max-width: 560px) {
  .reader-bar { grid-template-columns: 1fr 1fr; }
  .rb-mid { grid-column: 1 / -1; grid-row: 1; }
  .rb { justify-content: center; }
  .rf span { font-size: 1rem; }
}

/* ---------- Sun–Earth–Moon diagram ---------- */
.no-js .orbit { display: none; }
.orbit { margin: 0 0 44px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr); gap: 18px 28px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: clamp(14px, 3vw, 28px); background: rgba(255, 255, 255, 0.02); }
.orbit-fig svg { width: 100%; height: auto; display: block; overflow: visible; }
.orbit text { font-family: var(--sans); }
.orbit .o-label { font-size: 15px; fill: #b9b4a6; }
.orbit .o-label.on { fill: #f2c66d; font-weight: 700; }
.orbit .o-small { font-size: 14px; }
.orbit .o-gold { fill: #f2c66d; }
.orbit .o-sun { font-size: 16px; font-weight: 700; fill: #0a0c16; letter-spacing: 0.1em; }
.orbit .o-moon, .orbit .o-view, .orbit .o-label { cursor: pointer; }
.orbit .o-moon:hover circle:nth-child(2) { stroke: #f2c66d; }
.orbit-side { text-align: center; }
.orbit-view { width: min(180px, 48vw); aspect-ratio: 1; margin: 6px auto 10px; }
.orbit-view svg { width: 100%; height: 100%; }
.orbit-side h3 { font-size: 1.6rem; margin-bottom: 4px; }
.orbit-day { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin: 0 0 10px; }
.orbit-text { color: var(--moon-dim); min-height: 4.8em; text-align: left; }
.orbit-side label { display: block; font-size: 0.9rem; color: var(--muted); margin: 10px 0 6px; text-align: left; }
.orbit-side input[type="range"] { width: 100%; accent-color: #f2c66d; }
.orbit-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.orbit-btns .hemi { margin-top: 0; }
.orbit figcaption { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.orbit .key { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; color: var(--moon-dim); }
.orbit .key i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none; }
.orbit .k-orbit { background: linear-gradient(90deg, #ece7da 50%, #1c2240 50%); border: 1px solid rgba(236, 231, 218, 0.4); }
.orbit .k-view { background: radial-gradient(circle at 40% 40%, #f7f3e8, #b8b1a1); }
.orbit .k-sight { border-radius: 0; width: 22px; height: 0; border-top: 2px dashed #f2c66d; }
.orbit figcaption p { margin: 6px 0 0; }
@media (max-width: 820px) { .orbit { grid-template-columns: 1fr; } .orbit .o-label { font-size: 17px; } }
