*{box-sizing:border-box}html,body{margin:0;height:100%;background:#04060d;color:#dfe6f3;font:15px system-ui,sans-serif}
header{position:fixed;top:0;left:0;right:0;z-index:3;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 14px;background:linear-gradient(#04060dee,#04060d00)}
header h1{font-size:18px;margin:0 10px 0 0;letter-spacing:.06em}header a{color:#8fd3ff}
#q{flex:1;min-width:180px;max-width:360px;padding:10px 12px;border-radius:10px;border:1px solid #2a3550;background:#0d1426;color:#fff;font-size:15px}
button{background:#121b31;color:#dfe6f3;border:1px solid #2a3550;border-radius:10px;padding:9px 13px;font-size:14px;cursor:pointer}button.on{background:#2b4a7a;border-color:#8fd3ff}
#sky{position:fixed;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}
.stat{font-size:12px;opacity:.75}#results{position:fixed;top:62px;left:14px;z-index:3;display:flex;flex-direction:column;gap:4px;max-height:60vh;overflow:auto}
#results button{text-align:left}#results small{opacity:.6}
.zoom{position:fixed;right:14px;bottom:14px;z-index:3;display:flex;flex-direction:column;gap:6px}.zoom button{width:46px;height:46px;font-size:20px}
.legend{position:fixed;left:14px;bottom:14px;z-index:3;font-size:12px;opacity:.85}.legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin:0 4px 0 10px}
#panel{position:fixed;top:70px;right:14px;z-index:4;width:min(440px,92vw);max-height:calc(100vh - 90px);overflow:auto;background:#0b1222f2;border:1px solid #2a3550;border-radius:16px;padding:14px}
#panel img{width:100%;border-radius:10px}#panel h2{margin:10px 0 4px}#panel .meta,#panel .small{font-size:13px;opacity:.75}#panel a{color:#8fd3ff}
#panel .x{position:absolute;right:10px;top:10px;padding:4px 10px}.pend{height:180px;border-radius:10px;display:grid;place-items:center;background:radial-gradient(#1b2744,#070b16);opacity:.8}
.q{margin-top:8px;padding:10px;border-radius:10px;background:#16233f;font-size:13px}
