* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0a0a14;
}

#cesiumContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(10, 10, 25, 0.9), rgba(10, 10, 25, 0.4));
  color: #e0e0e0;
  font-size: 14px;
}

#title {
  font-weight: 600;
  flex: 1;
}

#back-link {
  color: #8ab4ff;
  text-decoration: none;
}

#back-link:hover {
  text-decoration: underline;
}

#reset-cam {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid #3a3a5a;
  background: rgba(30, 40, 70, 0.9);
  color: #e0e0e0;
  font-size: 13px;
  cursor: pointer;
}

#reset-cam:hover {
  background: rgba(50, 65, 110, 0.9);
}

#info-panel {
  position: absolute;
  right: 12px;
  top: 60px;
  z-index: 10;
  width: 280px;
  max-height: 60vh;
  overflow-y: auto;
  background: rgba(15, 20, 40, 0.85);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  padding: 12px;
  color: #d0d0d0;
  font-size: 13px;
}

#info-loading {
  color: #888;
  text-align: center;
  padding: 10px 0;
}

.info-peak {
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: rgba(30, 40, 70, 0.6);
  border-left: 3px solid #ffa940;
}

.info-peak .name {
  font-weight: 700;
  color: #fff;
}

.info-peak .times {
  color: #ffa940;
  margin-top: 2px;
}

.info-peak .meta {
  color: #999;
  font-size: 12px;
  margin-top: 2px;
}

.hint {
  color: #777;
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.5;
}

#time-buttons {
  display: flex;
  gap: 8px;
}

#time-buttons button {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #3a3a5a;
  background: rgba(30, 40, 70, 0.9);
  color: #e0e0e0;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

#time-buttons button:hover {
  background: rgba(50, 65, 110, 0.9);
  border-color: #ffa940;
}

/* 地形夸张按钮 */
#exag-buttons {
  display: flex;
  gap: 4px;
}

#exag-buttons button {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #3a3a5a;
  background: rgba(30, 40, 70, 0.9);
  color: #aaa;
  font-size: 11px;
  cursor: pointer;
}

#exag-buttons button.active {
  border-color: #ffa940;
  color: #ffa940;
}
