/* 국내 위성 추적 페이지 전용 보충 스타일 (공통 스타일은 style.css) */
.navlink { display: inline-block; color: var(--accent); font-size: 12px; text-decoration: none; margin: -6px 0 4px; }
.navlink:hover { text-decoration: underline; }
input[type=search] { width: 100%; background: #0f1a30; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 7px; font: inherit; }
.seg span { padding: 6px 0; font-size: 12px; }

.infocard { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: #0d1527; }
.infocard h3 { margin: 0 0 2px; font-size: 15px; color: var(--accent); }
.infocard .en { color: var(--dim); font-size: 11.5px; margin-bottom: 6px; }
.infocard table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.infocard td { padding: 3px 0; vertical-align: top; line-height: 1.45; }
.infocard td:first-child { color: var(--dim); width: 74px; white-space: nowrap; padding-right: 8px; }
.infocard .live td { color: #bfe3ff; }
.infocard .note { margin-top: 8px; color: var(--dim); font-size: 11.5px; line-height: 1.5; }
.infocard .btns { display: flex; gap: 6px; margin-top: 8px; }
.infocard .btns button { flex: 1; padding: 6px 4px; font-size: 12px; }

.badge.on { color: #6fe0a5; border-color: #2a6b4a; }
.badge.off { color: #aab; }
.badge.fail { color: #ff9b9b; border-color: #7a2a2a; }
.gdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
details.host > summary label { cursor: pointer; margin-left: 6px; }
details.host > summary input { accent-color: var(--accent); }
.satitem .stats b { color: var(--text); font-weight: 600; }
.label.sat { font-size: 11px; color: #d6e8ff; }
.label.sat.sel { color: var(--accent); font-weight: bold; }
.label.site { font-size: 11px; color: #ffd27a; }
.label.moonlabel { font-size: 12px; color: #e8e8e8; }
@media (max-width: 800px) {
  .infocard { padding: 8px; }
  .infocard td { font-size: 11.5px; }
  .infocard td:first-child { width: 58px; }
}

/* 위성 정보 팝업 */
.infocard.popup { position: absolute; right: 12px; top: 12px; width: 340px; max-height: calc(100% - 60px); overflow-y: auto; z-index: 4; background: rgba(11,17,32,.96);
  box-shadow: 0 6px 24px rgba(0,0,0,.6); }
.infocard.popup[hidden] { display: none; }
.infocard .closex { float: right; width: 36px; height: 36px; padding: 0; line-height: 1; font-size: 18px; margin: -6px -6px 0 6px; }
@media (max-width: 800px) { .infocard .closex { width: 42px; height: 42px; } }
.infocard .modelnote { margin-top: 6px; color: #ffc86b; font-size: 11.5px; }
@media (max-width: 800px) {
  .infocard.popup { left: 8px; right: 8px; top: auto; bottom: 62px; width: auto; max-height: 52%; }
}

/* 지구 시점 (하늘 올려다보기) */
#viewGround.on { border-color: var(--accent); color: var(--accent); }
#groundPlace { background: #0f1a30; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 5px; font: inherit; font-size: 12.5px; }
#groundSky { display: none; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(to bottom, #2a6fd6 0%, #6aa8ee 60%, #a9d1f7 100%); }
.label.compass { font-size: 13px; color: #ffe8a3; text-shadow: 0 0 4px #000; }
.label.compass.main { font-size: 17px; font-weight: 700; color: #ffd27a; }
#skyList { position: absolute; left: 12px; top: 44px; width: 300px; max-height: calc(100% - 120px); overflow-y: auto; z-index: 3; background: rgba(11,17,32,.88);
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 12px; }
#skyList[hidden] { display: none; }
#skyList .hd { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: var(--text); }
#skyList .hd span { color: var(--dim); }
#skyList .row { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; padding: 3px 0; border-top: 1px solid #1a2438; cursor: pointer; align-items: center; }
#skyList .row.dim { display: block; color: var(--dim); cursor: default; font-size: 11px; }
#skyList .row:hover .nm { color: var(--accent); }
#skyList .tag { font-size: 10.5px; color: #aab; border: 1px solid #334; border-radius: 4px; padding: 0 4px; }
#skyList .tag.eye { color: #6fe0a5; border-color: #2a6b4a; }
@media (max-width: 800px) { #skyList { left: 8px; right: 8px; width: auto; top: 40px; max-height: 34%; } }
#skyList .hd { cursor: pointer; }
#skyList .fold { font-weight: 400; font-size: 11px; color: var(--dim); margin-left: 4px; }
#skyList.folded .row { display: none; }
@media (max-width: 800px) { #skyList { top: 52px; } }
.label.geogroup { font-size: 12px; color: #ffe8a3; border: 1px solid #6b5a2a; border-radius: 4px; padding: 1px 5px; background: rgba(20,16,4,.6); }
#skyPass { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
#skyPass .hd2 { color: var(--text); font-weight: 600; margin-bottom: 4px; }
#skyPass .prow { display: flex; gap: 8px; padding: 4px 0; border-top: 1px solid #1a2438; align-items: center; }
#skyPass .prow .pl { flex: 1; min-width: 0; }
#skyPass .prow .pt { color: #bfe3ff; font-variant-numeric: tabular-nums; }
#skyPass .prow .pd { color: var(--dim); font-size: 11px; }
#skyPass .prow button { font-size: 12px; padding: 8px 10px; white-space: nowrap; }
#skyList.folded #skyPass { display: none; }
#skyList { width: 330px; }
#skyPass .prow.past { opacity: .5; }
