.celestial-entry{position:fixed;z-index:5;right:24px;bottom:max(168px,calc(env(safe-area-inset-bottom) + 150px));display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 17px;border:1px solid #b8c9cf40;border-radius:99px;background:#101a25d9;backdrop-filter:blur(16px);color:#e7ece8;font-size:12px;letter-spacing:.04em}.celestial-entry svg{width:20px;height:20px}.arriving .celestial-entry,.distant-view .celestial-entry,.share-card .celestial-entry,.ship-flying .celestial-entry,body:has(dialog[open]) .celestial-entry{display:none}

.celestial-inspector{position:fixed;z-index:8;left:28px;top:max(105px,calc(env(safe-area-inset-top) + 86px));width:260px;max-width:calc(100vw - 32px);padding:15px 16px 7px;border:1px solid #cfdfdf22;border-radius:19px;background:linear-gradient(145deg,#111b27ed,#09111bed);backdrop-filter:blur(24px);color:#e6edea;box-shadow:0 12px 42px #0003;pointer-events:auto}.celestial-inspector[hidden]{display:none}.celestial-inspector *{box-sizing:border-box}.celestial-eyebrow{margin:0 0 5px;color:#91a6b1;letter-spacing:.12em;font-size:9px}.celestial-heading{position:relative;min-width:0}.celestial-heading select{display:block;appearance:none;-webkit-appearance:none;width:100%;min-width:0;min-height:44px;padding:3px 30px 3px 0;border:0;border-radius:9px;background:transparent;color:#f0f2ea;font:500 22px/1.3 -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;letter-spacing:-.025em;text-overflow:ellipsis;cursor:pointer}.celestial-heading select option{background:#101b26;color:#f0f2ea;font-size:15px}.celestial-select-icon{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#b5c6c7;pointer-events:none}.celestial-inspector svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.celestial-select-icon svg{width:16px;height:16px}.celestial-kind{margin:0 0 12px;font-size:11px;line-height:1.5;color:#94aab4}.celestial-controls{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px}.celestial-tools{display:flex;align-items:center;gap:3px;min-width:0;border:1px solid #c7d8d91c;border-radius:13px;background:#c5d8dc05}.celestial-tools[hidden]{display:none}.celestial-tools button,.celestial-home{display:flex;align-items:center;justify-content:center;flex:1;min-width:44px;width:44px;height:44px;padding:0;border:0;border-radius:11px;background:transparent;color:#d8e5e0;cursor:pointer}.celestial-tools button:hover,.celestial-home:hover{background:#d1e3e814;color:#fff}.celestial-home{border:1px solid #c7d8d91c;border-radius:13px;background:#c5d8dc05}.celestial-details{grid-column:1/-1;min-width:0}.celestial-details>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px;padding:0;font-size:11px;line-height:1.4;color:#aebfc6;list-style:none;cursor:pointer}.celestial-details>summary::-webkit-details-marker{display:none}.celestial-details>summary>i{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;transition:transform .18s}.celestial-details>summary svg{width:14px;height:14px}.celestial-details[open]>summary>i{transform:rotate(180deg)}.celestial-content{max-height:calc(100dvh - 360px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:10px 0 12px;border-top:1px solid #c7d8d91c}.celestial-description{font-size:12px;line-height:1.85;margin:0 0 16px;color:#d6e0e2}.celestial-facts{margin:0 0 17px}.celestial-facts>div{display:flex;gap:16px;align-items:baseline;justify-content:space-between;padding:9px 0;border-bottom:1px solid #b9cbd515}.celestial-facts dt{font-size:10px;color:#9fb5c0}.celestial-facts dd{margin:0;text-align:right;font-size:12px;font-variant-numeric:tabular-nums;color:#e6edea;line-height:1.55}.celestial-prompt-title{font-size:10px;letter-spacing:.04em;color:#b6d5ce;margin:0 0 6px}.celestial-prompt{font-size:12px;line-height:1.8;color:#c6d6dc;margin:0 0 15px}.celestial-representation{color:#93a8b5;font-size:10px;line-height:1.8;margin:0 0 12px}.celestial-source{display:block;padding:8px 0;color:#b6cbd4;font-size:10px;line-height:1.7;text-underline-offset:3px}.celestial-phase{display:block;width:100%;min-height:44px;margin:4px 0 2px;padding:8px 10px;border:0;border-top:1px solid #c7d8d91c;border-radius:0;background:transparent;color:#b7c9cd;font-size:11px;line-height:1.6;cursor:pointer}.celestial-phase[hidden]{display:none}.celestial-inspector :is(button,select,summary,a):focus-visible{outline:2px solid #d4e6b6;outline-offset:3px;border-radius:8px}.share-card .celestial-inspector,.arriving .celestial-inspector,body:has(dialog[open]) .celestial-inspector{visibility:hidden}.celestial-observing .bottom-area{visibility:hidden;pointer-events:none}.celestial-observing .context-actions{top:auto;bottom:max(48px,calc(env(safe-area-inset-bottom) + 36px));max-height:20dvh}.portrait-mode .celestial-inspector{visibility:hidden}.portrait-mode .celestial-entry{display:none}

.mercury-symbol{background:radial-gradient(circle at 35% 30%,#c1b9ae,#746e66 65%,#373330)}.venus-symbol{background:linear-gradient(25deg,#a78751,#edddb2,#c6a777)}.jupiter-symbol{background:repeating-linear-gradient(170deg,#d7cbb6 0 5px,#a5795d 6px 9px,#ebe0cb 10px 15px)}.uranus-symbol{background:radial-gradient(circle at 35% 30%,#d0efeb,#7bb5b8 65%,#426c74)}

@media(max-width:680px){
 .celestial-entry{right:16px;bottom:max(152px,calc(env(safe-area-inset-bottom) + 135px));font-size:11px}
 .celestial-inspector{left:16px;right:16px;top:auto;bottom:max(42px,calc(env(safe-area-inset-bottom) + 34px));width:auto;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 138px 44px;gap:2px 7px;padding:7px 10px 5px;border-radius:18px}
 .celestial-eyebrow,.celestial-kind{display:none}.celestial-heading{grid-column:1;grid-row:1;align-self:center}.celestial-heading select{min-height:44px;padding-right:22px;font-size:18px}.celestial-select-icon{right:2px;width:14px;height:14px}.celestial-select-icon svg{width:14px;height:14px}
 .celestial-controls{display:contents}.celestial-tools{grid-column:2;grid-row:1;border:0;background:transparent;gap:3px}.celestial-home{grid-column:3;grid-row:1;border:0;background:#d0e0e60a}.celestial-details{grid-column:1/-1;grid-row:2;border-top:1px solid #c7d8d916}.celestial-details>summary{justify-content:flex-end;min-height:32px;gap:5px;color:#acbdc6}.celestial-details>summary>i{width:16px;height:16px}
 .celestial-content{position:absolute;left:0;right:0;bottom:calc(100% + 10px);max-height:min(390px,50dvh);padding:18px 19px;border:1px solid #c7d8d926;border-radius:18px;background:#0b1520f5;backdrop-filter:blur(24px);box-shadow:0 12px 42px #0005}.celestial-phase{grid-column:1/-1;grid-row:3;margin:0;min-height:44px;padding:7px 2px;font-size:11px}
 .celestial-inspector[data-telescope=true]{left:auto;right:16px;bottom:max(156px,calc(env(safe-area-inset-bottom) + 148px));display:block;min-width:0;padding:1px 12px;border-radius:20px}.celestial-inspector[data-telescope=true] .celestial-heading,.celestial-inspector[data-telescope=true] .celestial-home{display:none}.celestial-inspector[data-telescope=true] .celestial-details{display:block;border:0}.celestial-inspector[data-telescope=true] .celestial-details>summary{min-height:40px}.celestial-inspector[data-telescope=true] .celestial-content{left:auto;width:min(358px,calc(100vw - 32px));max-height:38dvh}
 .celestial-observing .context-actions{bottom:max(148px,calc(env(safe-area-inset-bottom) + 140px));max-height:14dvh}.celestial-observing:has(.celestial-phase:not([hidden])) .context-actions{bottom:max(194px,calc(env(safe-area-inset-bottom) + 186px))}.telescope-observing .context-actions{bottom:max(212px,calc(env(safe-area-inset-bottom) + 204px))}.celestial-observing:has(.celestial-details[open]) .context-actions .context-feedback{visibility:hidden}
}
@media(max-width:350px){.celestial-inspector{left:12px;right:12px;grid-template-columns:minmax(0,1fr) 132px 44px;column-gap:4px;padding-left:8px;padding-right:8px}.celestial-heading select{font-size:17px}.celestial-tools{gap:0}.celestial-inspector[data-telescope=true]{bottom:max(204px,calc(env(safe-area-inset-bottom) + 196px))}.telescope-observing .context-actions{bottom:max(260px,calc(env(safe-area-inset-bottom) + 252px))}}
@media(max-height:560px) and (min-width:681px){.celestial-inspector{top:80px;width:246px;padding:10px 14px 5px}.celestial-eyebrow{margin:0}.celestial-content{max-height:calc(100dvh - 270px)}}
@media(prefers-reduced-motion:reduce){.celestial-details>summary>i{transition:none}}
