#moon-observer{position:fixed;inset:0;z-index:80;pointer-events:none;color:#e4eff7;font-family:Segoe UI,Arial,sans-serif}#moon-observer[hidden]{display:none}.moon-head{position:absolute;left:24px;right:24px;top:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.moon-head small{font-size:10px;letter-spacing:1px;color:#9cced3}.moon-head h2{font-size:27px;margin:6px 0}.moon-systems{position:absolute;top:100px;left:24px;display:flex;gap:8px}.moon-card{position:absolute;right:24px;top:100px;bottom:165px;width:310px;overflow:auto;background:#10293bea;border:1px solid #60849280;border-radius:18px;padding:18px;pointer-events:auto}.moon-card nav{display:flex;gap:6px}.moon-card h3{font-size:25px;margin:16px 0 10px}.moon-card p{font-size:13px;line-height:1.6}.moon-card dl{margin:18px 0}.moon-card dl>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #99bfd82d;padding:8px 0}.moon-card dt{font-size:12px;color:#bdd3df}.moon-card dd{margin:0;text-align:right;font-size:13px;font-weight:700}.moon-card details{font-size:12px;line-height:1.6}.moon-card a{color:#a7dfec}#moon-observer button{pointer-events:auto;min-height:42px;background:#15394b;border:1px solid #7399a6;border-radius:10px;color:#ecf7ff;padding:8px 13px;font:600 13px Segoe UI;cursor:pointer}#moon-observer button[aria-pressed=true]{background:#b3e0d0;color:#102a35}.moon-tools{position:absolute;bottom:18px;left:24px;right:24px;background:#0d2437ed;border:1px solid #60849280;border-radius:16px;padding:12px 16px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;pointer-events:auto;font-size:12px}.moon-tools label{display:flex;align-items:center;gap:5px}.moon-tools input{accent-color:#a7e1cf}.moon-tools select{background:#173b4e;color:#ecf7ff;padding:8px;border-radius:8px;border:1px solid #7399a6}.moon-tools p{flex-basis:100%;margin:0;color:#c2d7df;font-size:11px}.natural-moon-label{position:absolute;z-index:8;transform:translate(-50%,-50%);border:1px solid #bfd6e8;border-radius:15px;background:#16394b;color:#edf5fc;padding:8px;cursor:pointer}body[data-moon-observer=active] :is(.topbar,.panel-stage,#space-ui,#planet-labels,#natural-moon-labels,#render-settings,#preview-ship-caption,.scene-caption,.scene-vignette,#solar-home,#solar-version,#pm-hud,#earth-life-labels,#cosmic-flight-labels,#flight-sky-labels,#flight-sky-canvas,#cosmic-flight-canvas,#ship-brake-cue){visibility:hidden!important}
@media(max-width:700px){.moon-head{left:12px;right:12px;top:12px;gap:10px}.moon-head h2{font-size:20px;max-width:230px}.moon-head small{font-size:8px}.moon-systems{top:90px;left:12px}.moon-card{left:12px;right:12px;top:auto;bottom:190px;width:auto;max-height:29vh;padding:12px}.moon-card nav{position:sticky;top:0;background:#10293b}.moon-card h3{font-size:20px;margin:10px 0}.moon-card dl>div{padding:5px 0}.moon-tools{left:12px;right:12px;bottom:10px;gap:7px 10px;padding:10px}.moon-tools p{font-size:10px}.moon-tools label{font-size:11px}.moon-tools select{max-width:150px}.moon-tools output{font-size:10px}#moon-observer button{min-height:40px;font-size:12px}}
@media(max-height:560px) and (min-width:701px){.moon-card{top:80px;bottom:155px}.moon-head h2{font-size:20px}.moon-systems{top:80px}.moon-tools{bottom:8px}}

/* Planet and moon choices stay inside the observer, leaving the app toolbar intact. */
.moon-selection-marker{position:fixed;z-index:1;width:0;height:0;pointer-events:none;--moon-selection-size:28px}
.moon-selection-marker[hidden]{display:none}
.moon-selection-ring{position:absolute;left:0;top:0;width:var(--moon-selection-size);height:var(--moon-selection-size);transform:translate(-50%,-50%);border:2px solid #f3dd88;border-radius:50%;box-shadow:0 0 0 3px #0a1428a6,0 0 16px #efd98366}
.moon-selection-label{position:absolute;display:flex;flex-direction:column;gap:3px;white-space:nowrap;padding:6px 10px;border:1px solid #e5d18b99;border-radius:9px;background:#12293bf0;box-shadow:0 3px 12px #0005;color:#f4e5ad;font-size:12px;line-height:1.3}
.moon-selection-label strong{font-weight:700}.moon-selection-label small{color:#c5d4e1;font-size:10px}
.moon-selection-marker[data-obscured=true] .moon-selection-ring{border-style:dashed;box-shadow:0 0 0 3px #0a14288c}
.moon-head,.moon-context,.moon-card,.moon-tools{z-index:2}
.moon-systems{right:375px;flex-wrap:wrap;max-width:800px;pointer-events:auto}
.moon-card nav{flex-wrap:wrap;gap:6px}
.moon-card nav button{flex:0 0 auto}
.moon-schematic{padding:8px 10px;border:1px solid #b5cfb544;border-radius:8px;color:#d1dfbd}
#moon-observer button:disabled{opacity:.45;cursor:default}
#moon-observer button:focus-visible,#moon-observer select:focus-visible{outline:3px solid #f0d980;outline-offset:3px}
#moon-preview-open,#moon-system-entry{font-weight:600}
.moon-flight-entry{position:absolute;z-index:9;right:24px;top:145px;width:auto;max-width:250px;margin:0;padding:12px 18px;pointer-events:auto}
body:not([data-stage=space]) .moon-flight-entry{display:none}
@media(max-width:1000px) and (min-width:701px){.moon-systems{right:365px;gap:6px}#moon-observer .moon-systems button{font-size:12px;padding:7px 10px}}
@media(max-width:700px){.moon-systems{top:94px;left:12px;right:12px;max-width:none;gap:6px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:thin}.moon-systems button{flex:0 0 auto}.moon-head h2{font-size:18px;max-width:235px}.moon-card nav{position:static}.moon-flight-entry{right:12px;top:122px;max-width:200px;font-size:11px;padding:10px 12px}.moon-tools p{line-height:1.4}}
