.skyfinder-view { padding: 0 !important; min-height: calc(100vh - 72px); display: none !important; }
.skyfinder-view.active { display: block !important; }
.sky-viewport { position: relative; width: 100%; height: calc(100vh - 72px); min-height: 620px; overflow: hidden; background: #05090e; cursor: grab; touch-action: none; }
.sky-viewport.dragging { cursor: grabbing; }
#skyCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-topline { position: absolute; z-index: 4; top: 28px; left: 32px; right: 32px; display: flex; justify-content: space-between; pointer-events: none; }
.sky-topline > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.sky-topline > div:first-child > b { font: 8px var(--mono); font-weight: 400; letter-spacing: .12em; color: #66747e; }
.sky-readout { display: flex; gap: 1px; }
.sky-readout span { height: 38px; min-width: 78px; padding: 0 12px; border: 1px solid #27343d; background: #091117cc; display: flex; align-items: center; justify-content: center; font: 8px var(--mono); letter-spacing: .12em; color: #66747e; }
.sky-readout b { font-weight: 400; color: #dce7e8; margin-left: 8px; }
.sky-readout span:last-child { color: var(--cyan); }
.sky-reticle { position: absolute; z-index: 3; left: 50%; top: 50%; width: 48px; height: 48px; border: 1px solid #76e3d755; border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.sky-reticle::before,.sky-reticle::after { content: ""; position: absolute; background: #76e3d755; }
.sky-reticle::before { height: 1px; width: 68px; left: -11px; top: 23px; }
.sky-reticle::after { width: 1px; height: 68px; left: 23px; top: -11px; }
.sky-reticle i { position: absolute; width: 3px; height: 3px; left: 22px; top: 22px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.sky-toolbar { position: absolute; z-index: 5; left: 32px; bottom: 28px; display: flex; border: 1px solid #283740; background: #091117df; backdrop-filter: blur(14px); }
.sky-toolbar button { height: 44px; border: 0; border-right: 1px solid #283740; background: none; color: #77848d; padding: 0 16px; font-size: 12px; cursor: pointer; }
.sky-toolbar button:last-child { border: 0; }
.sky-toolbar button span { font-size: 9px; margin-left: 7px; }
.sky-toolbar button.active { color: var(--cyan); background: #122321; }
.sky-nearby { position: absolute; z-index: 5; right: 28px; bottom: 28px; width: 290px; max-height: 48%; background: #091117e8; border: 1px solid #283740; backdrop-filter: blur(16px); overflow: hidden; }
.sky-nearby header { height: 58px; padding: 12px 14px; border-bottom: 1px solid #233039; display: flex; align-items: center; }
.sky-nearby header div { display: flex; flex-direction: column; gap: 5px; }
.sky-nearby header span { font: 7px var(--mono); letter-spacing: .15em; color: var(--cyan); }
.sky-nearby header b { font-size: 11px; font-weight: 500; }
.sky-nearby header i { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #42515a; }
.sky-nearby header i.live { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
#skyObjectList { max-height: 270px; overflow: auto; }
#skyObjectList > p { font-size: 10px; line-height: 1.6; color: #6f7d86; padding: 14px; margin: 0; }
.sky-object-row { width: 100%; border: 0; border-bottom: 1px solid #1c2831; background: none; color: white; display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; text-align: left; padding: 11px 13px; cursor: pointer; }
.sky-object-row:hover,.sky-object-row.active { background: #122029; }
.sky-object-row > i { width: 6px; height: 6px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 7px #78e7da88; }
.sky-object-row.possible > i { background: #89979e; box-shadow: none; }
.sky-object-row.not-visible { opacity: .48; }
.sky-object-row.not-visible > i { background: transparent; border: 1px solid #78868d; box-shadow: none; }
.sky-object-row > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sky-object-row b { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sky-object-row small { font: 7px var(--mono); color: #67757e; }
.sky-object-row > em { font: 9px var(--mono); font-style: normal; color: var(--cyan); }
.sky-target-card { position: absolute; z-index: 5; left: 32px; top: 112px; width: 220px; border-left: 2px solid var(--orange); background: #091117e8; padding: 13px 14px; backdrop-filter: blur(12px); }
.sky-target-card span { display: block; font: 7px var(--mono); letter-spacing: .14em; color: var(--orange); }
.sky-target-card b { display: block; font-size: 11px; margin-top: 7px; }
.sky-target-card small { display: block; font: 8px var(--mono); color: #77858e; margin: 6px 0 10px; }
.sky-target-card button { border: 0; background: none; color: var(--cyan); font-size: 8px; padding: 0; cursor: pointer; }
.sky-guide { position: absolute; z-index: 5; top: 50%; left: 18px; transform: translateY(-50%); color: var(--orange); display: flex; align-items: center; gap: 8px; }
.sky-guide span { font-size: 30px; }
.sky-guide b { font: 7px var(--mono); letter-spacing: .12em; }
.sky-setup { position: absolute; z-index: 8; inset: 0; background: radial-gradient(circle at 70% 40%,#183033bb 0,#070c12eb 45%,#05090ef7 75%); display: flex; flex-direction: column; justify-content: center; padding-left: 9%; transition: .5s; }
.sky-setup.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.sky-setup h2 { font-size: clamp(45px,6vw,82px); margin: 18px 0; }
.sky-setup > p { max-width: 420px; color: #829099; font-size: 12px; line-height: 1.7; }
.sky-permissions { display: grid; grid-template-columns: 20px 75px 260px; gap: 8px 10px; align-items: center; margin: 20px 0; color: #80909a; }
.sky-permissions > span,.sky-permissions > i { font-style: normal; color: #5e6c75; }
.sky-permissions b { font-size: 10px; color: #d8e0e2; }
.sky-permissions small { font-size: 9px; }
.sky-setup .primary-button { width: 220px; display: flex; justify-content: space-between; }
.sky-setup > small { font: 7px var(--mono); color: #52616a; margin-top: 12px; }
@media(max-width:680px){
  .skyfinder-view { min-height: calc(100vh - 60px); }
  .sky-viewport { height: calc(100vh - 60px); min-height: 540px; }
  .sky-topline { top: 16px; left: 15px; right: 15px; }
  .sky-topline > div:first-child > b { display: none; }
  .sky-readout span { min-width: 62px; padding: 0 7px; }
  .sky-readout span:last-child { display: none; }
  .sky-nearby { right: 12px; left: 12px; bottom: 76px; width: auto; max-height: 31%; }
  #skyObjectList { max-height: 155px; }
  .sky-toolbar { left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; }
  .sky-toolbar button { padding: 0 11px; }
  .sky-target-card { left: 14px; top: 72px; }
  .sky-setup { padding: 35px 24px; }
  .sky-setup h2 { font-size: 48px; }
  .sky-permissions { grid-template-columns: 18px 60px 1fr; }
  .sky-reticle { top: 41%; }
}
