@font-face {
  font-family: "sat-jinyun";
  src: url("./fonts/JinShanTech.ttf") format("truetype");
}

@font-face {
  font-family: "sat-harmony-bold";
  src: url("./fonts/HarmonyOSSansSCBold.ttf") format("truetype");
}

@font-face {
  font-family: "sat-harmony";
  src: url("./fonts/HarmonyOSSansSCMedium.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.satellite-body {
  margin: 0;
  background: #05070d;
  color: #fff;
  font: 14px/1.5 "sat-harmony", "Microsoft YaHei", sans-serif;
}

a,
button {
  transition: all 0.25s ease;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.satellite-page {
  position: relative;
  overflow: hidden;
}

.satellite-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.satellite-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 106, 255, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.2), rgba(5, 7, 13, 0.7) 40%, rgba(5, 7, 13, 0.98));
}

.satellite-bg img {
  display: block;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.satellite-header,
.satellite-main,
.satellite-sidebar {
  position: relative;
  z-index: 1;
}

.satellite-header,
.satellite-main,
.satellite-footer {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
}

.satellite-header {
  min-height: 110px;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.satellite-logo img {
  display: block;
  max-height: 60px;
  width: auto;
}

.satellite-back,
.satellite-entry {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.satellite-back {
  margin-left: -120px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.satellite-back:hover,
.satellite-entry:hover {
  color: #fff;
}

.satellite-main {
  padding: 40px 0 80px;
}

.satellite-hero {
  margin-top: 40px;
  margin-bottom: 88px;
}

.satellite-hero h1 {
  margin: 0 0 72px;
  font: 50px/1.2 "sat-jinyun", "Microsoft YaHei", sans-serif;
  letter-spacing: 2px;
}

.satellite-topnav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border-bottom: 1px solid #4a5880;
  padding-bottom: 1px;
}

.satellite-topnav a {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.satellite-topnav a.active,
.satellite-topnav a:hover {
  background: #006aff;
}

.satellite-topnav img {
  display: block;
}

.satellite-section {
  margin-bottom: 96px;
}

.section-head {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2,
.mission-block h3 {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid #006aff;
  font: 30px/1.2 "sat-harmony-bold", "Microsoft YaHei", sans-serif;
}

.section-head-simple h2 {
  font-size: 32px;
}

.section-tabs,
.section-meta,
.mission-days,
.mission-days-list,
.summary-grid,
.footer-title,
.footer-contact {
  display: flex;
  align-items: center;
}

.section-tabs {
  gap: 10px;
}

.section-tabs button {
  min-width: 125px;
  height: 40px;
  background: #161b27;
  color: #888;
}

.section-tabs button.active {
  background: #006aff;
  color: #fff;
}

.section-meta {
  gap: 24px;
  margin-left: auto;
  color: #888;
}

.meta-item strong {
  color: #fff;
  font-weight: 400;
}

.satellite-panel-wrap {
  display: grid;
}

.satellite-panel {
  display: none;
  grid-template-columns: minmax(0, 980px) minmax(0, 615px);
  gap: 20px;
}

.satellite-panel.active {
  display: grid;
}

.satellite-chart,
.satellite-table-card,
.summary-card,
.data-table,
.satellite-sidebar,
.mission-days .day-arrow {
  background: rgba(19, 22, 32, 0.92);
  backdrop-filter: blur(6px);
}

.satellite-chart {
  min-height: 540px;
}

.satellite-chart img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.satellite-table-head,
.satellite-row,
.data-row {
  display: grid;
  align-items: center;
}

.satellite-table-head,
.satellite-row {
  grid-template-columns: 80px 80px 80px 1fr 1fr;
  gap: 16px;
  padding: 0 16px;
}

.satellite-table-head {
  position: relative;
  min-height: 60px;
  color: #888;
}

.satellite-table-body {
  max-height: 480px;
  overflow: auto;
}

.satellite-row {
  min-height: 60px;
  color: #fff;
}

.satellite-row:nth-child(odd) {
  background: #0b0d13;
}

.col-time {
  min-width: 0;
}

.satellite-filter {
  position: absolute;
  right: 16px;
  top: 15px;
}

.satellite-filter-btn {
  min-width: 74px;
  height: 30px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #2f3750;
}

.satellite-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #212638;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
}

.satellite-filter.open .satellite-filter-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.satellite-filter-menu button {
  width: 100%;
  padding: 8px 12px;
  text-align: left;
}

.satellite-filter-menu button:hover {
  background: #0b0d13;
}

.mission-days {
  gap: 24px;
}

.mission-days-list {
  gap: 12px;
  overflow-x: auto;
}

.mission-days-list button {
  padding: 6px 0;
  color: #888;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.mission-days-list button.active {
  color: #fff;
  border-color: #006aff;
}

.day-arrow {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mission-block {
  margin-bottom: 72px;
}

.mission-block h3 {
  margin-bottom: 30px;
  padding-bottom: 35px;
  border-left: 0;
  border-bottom: 1px solid #4a5880;
  padding-left: 0;
}

.summary-grid {
  gap: 18px;
  margin-bottom: 24px;
}

.summary-card {
  flex: 1 1 0;
  min-height: 80px;
  padding: 0 30px;
  justify-content: space-between;
}

.summary-card span {
  color: #888;
  font-size: 24px;
}

.summary-card strong {
  font-size: 24px;
  font-weight: 400;
}

.data-block {
  margin-bottom: 40px;
}

.data-block h4 {
  margin: 0 0 24px;
  font: 24px/1.3 "sat-harmony-bold", "Microsoft YaHei", sans-serif;
}

.data-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 60px;
  text-align: center;
}

.data-row:nth-child(2n) {
  background: #0b0d13;
}

.data-row.data-head {
  color: #888;
}

.satellite-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-copy {
  flex: 1 1 auto;
}

.footer-title {
  gap: 20px;
  margin-bottom: 36px;
}

.footer-title strong {
  font: 45px/1.1 "sat-jinyun", "Microsoft YaHei", sans-serif;
}

.footer-title span {
  color: #585858;
  font: 30px/1.1 "sat-jinyun", "Microsoft YaHei", sans-serif;
}

.footer-contact {
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-contact p {
  margin: 0;
  font-size: 20px;
}

.footer-meta p,
.footer-qrcode p {
  margin: 0;
  color: #7f8490;
}

.footer-qrcode {
  text-align: center;
}

.footer-qrcode img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 12px;
  background: #fff;
  padding: 6px;
}

.satellite-sidebar {
  position: fixed;
  left: 0;
  top: 40%;
  width: 130px;
  z-index: 10;
}

.satellite-sidebar a {
  min-height: 60px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 4px solid transparent;
  color: #888;
  text-align: center;
  text-decoration: none;
}

.satellite-sidebar a.active,
.satellite-sidebar a:hover {
  background: #242a3d;
  border-right-color: #4a5880;
  color: #fff;
}

@media (max-width: 1680px) {
  .satellite-panel {
    grid-template-columns: 1fr 580px;
  }

  .satellite-sidebar {
    left: 12px;
  }
}

@media (max-width: 1366px) {
  .satellite-header,
  .satellite-main,
  .satellite-footer {
    width: min(1600px, calc(100% - 32px));
  }

  .satellite-back {
    margin-left: 0;
  }

  .section-head {
    flex-wrap: wrap;
  }

  .section-meta {
    width: 100%;
    margin-left: 0;
  }

  .satellite-panel {
    grid-template-columns: 1fr;
  }

  .satellite-chart {
    min-height: auto;
  }
}

@media (max-width: 1024px) {
  .satellite-header {
    flex-wrap: wrap;
    gap: 16px;
  }

  .satellite-back {
    padding-left: 16px;
  }

  .satellite-hero h1 {
    margin-bottom: 40px;
    font-size: 36px;
  }

  .satellite-topnav {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary-grid {
    flex-wrap: wrap;
  }

  .summary-card {
    min-width: calc(50% - 9px);
  }

  .satellite-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .satellite-sidebar {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    width: auto;
    display: flex;
    overflow-x: auto;
  }

  .satellite-sidebar a {
    min-width: 140px;
    border-right: 0;
    border-bottom: 3px solid transparent;
  }

  .satellite-sidebar a.active,
  .satellite-sidebar a:hover {
    border-bottom-color: #4a5880;
  }
}

@media (max-width: 768px) {
  .satellite-header,
  .satellite-main,
  .satellite-footer {
    width: calc(100% - 24px);
  }

  .satellite-main {
    padding-top: 12px;
  }

  .satellite-hero {
    margin-bottom: 56px;
  }

  .satellite-hero h1 {
    font-size: 28px;
  }

  .satellite-topnav,
  .satellite-table-head,
  .satellite-row,
  .data-row {
    grid-template-columns: 1fr;
  }

  .satellite-topnav a {
    justify-content: flex-start;
    padding: 18px 16px;
  }

  .satellite-table-head {
    padding: 14px 16px 64px;
    gap: 8px;
  }

  .satellite-row,
  .data-row {
    gap: 8px;
    padding: 14px 16px;
    text-align: left;
  }

  .satellite-filter {
    left: 16px;
    right: auto;
    top: auto;
    bottom: 16px;
  }

  .section-tabs,
  .section-meta,
  .mission-days,
  .footer-contact {
    flex-wrap: wrap;
  }

  .section-tabs button,
  .summary-card {
    width: 100%;
  }

  .summary-card {
    min-width: 100%;
    padding: 18px 20px;
  }

  .summary-card span,
  .summary-card strong {
    font-size: 20px;
  }

  .footer-title strong {
    font-size: 32px;
  }

  .footer-title span {
    font-size: 20px;
  }

  .footer-contact p {
    font-size: 16px;
  }
}
