/* 星图页面 - 左右分栏布局 */

.starmap-layout {
  display: flex;
  height: 100vh;
  padding-top: 72px;
  overflow: hidden;
}

/* 左侧星图区 */
.starmap-left {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#starmap-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* 右侧星系介绍区 */
.starmap-right {
  width: 380px;
  min-width: 320px;
  padding: 48px 36px;
  overflow-y: auto;

  backdrop-filter: blur(12px);
  background: rgba(10, 10, 30, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.starmap-right .empty-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  opacity: 0.5;
  gap: 16px;
}

.starmap-right .empty-info p {
  font-size: 18px;
  letter-spacing: 4px;
}

/* 信息容器 */
#system-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 详情网格贴底 */
.system-info-details {
  margin-top: auto;
}

/* 星系名称标题 */
.system-name {
  font-size: 32px;
  letter-spacing: 6px;
  font-weight: normal;
  color: #FFD700;
  margin-bottom: 4px;
}

/* 星系英文名称 */
.system-name-en {
  font-size: 16px;
  letter-spacing: 4px;
  color: rgba(255, 215, 0, 0.5);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* 星系基础数据网格 */
.system-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.info-item .label {
  font-size: 12px;
  opacity: 0.5;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.info-item .value {
  font-size: 16px;
  letter-spacing: 2px;
}

/* 星系描述 */
.system-description {
  line-height: 1.8;
  opacity: 0.8;
  font-size: 15px;
}

/* 列表按钮 */
.system-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.system-list-btn {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  font-family: "Sarasa";
  font-size: 15px;
  text-align: left;
  letter-spacing: 2px;
  transition: 0.3s;
}

.system-list-btn:hover {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

.system-list-btn.active {
  background: rgba(255, 215, 0, 0.1);
  border-color: #FFD700;
  color: #FFD700;
}

/* 响应式 */
@media (max-width: 768px) {
  .starmap-layout {
    flex-direction: column;
  }
  .starmap-right {
    width: 100%;
    min-width: unset;
    height: 40vh;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}