@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

.timeline-shell {
  max-width: 1300px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  margin-bottom: 50px;
}

.timeline-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #ff4000;
  font-weight: 600;
}

.timeline-title {
  font-size: 44px;
  font-weight: 800;
  margin: 16px 0 10px;
  color: #1a1a1a;
}

.timeline-subtitle {
  font-size: 15px;
  color: #777777;
}

.orbit-stage {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 32px;
  min-height: 480px;
  outline: none;
}

.timeline-body {
  position: relative;
  background: #f8f8f8;
  border-radius: 24px;
  padding: 44px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.event-object {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.event-object.is-changing {
  animation: slideIn 0.45s ease;
}

.event-media {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.event-media img {
  width: 100%;
  height: 100%;
}

.reserved-object {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  background: #f1f1f1;
  border-radius: 16px;
}

.reserved-object span {
  font-size: 34px;
  font-weight: bold;
  color: #ff4000;
}

.reserved-object small {
  margin-top: 10px;
  letter-spacing: 0.18em;
}

.object-label {
  margin-top: 16px;
  font-size: 13px;
  color: #777777;
  letter-spacing: 0.08em;
}

.story-copy {
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.story-copy.is-changing {
  animation: slideIn 0.45s ease;
}

.story-tag {
  display: inline-block;
  padding: 7px 12px;
  background: rgba(255, 64, 0, 0.12);
  color: #ff4000;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
}

.story-year {
  font-size: 40px;
  font-weight: 800;
  margin: 12px 0;
  color: #1a1a1a;
}

.story-title {
  font-size: 28px;
  margin-bottom: 16px;
  color: #111;
}

.story-body {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
}

/* 右侧控制面板 */
.timeline-side {
  background: #1f1f1f;
  color: #ffffff;
  border-radius: 20px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.progress-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
}

.progress-info .progress-current {
  font-size: 38px;
  font-weight: 800;
  color: #ff4000;
}

.progress-info span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.disc-progress {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 26px;
}

.disc-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
}

.disc-progress i span {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(90deg, #ff6622, #ff4000);
  transition: height 0.45s ease;
  border-radius: 999px;
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.previous-year, .next-year {
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
}

.previous-year:hover, .next-year:hover {
  background: #ff4000;
  border-color: #ff4000;
  box-shadow: 0 0 16px rgba(255, 64, 0, 0.22);
}

.previous-year:disabled, .next-year:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.side-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.timeline-footer {
  display: block;
  text-align: center;
  margin-top: 44px;
  font-size: 13px;
  color: #777777;
  letter-spacing: 0.1em;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式适配 */
@media (max-width: 1100px) {
  .orbit-stage {
    grid-template-columns: 1fr;
  }
  .timeline-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .progress-info,
  .disc-progress {
    grid-column: 1 / -1;
  }
  .btn-group {
    flex-direction: row;
  }
  .previous-year, .next-year {
    flex: 1;
  }
}

@media (max-width: 760px) {
  .timeline-shell {
    padding: 40px 16px;
  }
  .timeline-title {
    font-size: 34px;
  }
  .timeline-body {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  .timeline-side {
    grid-template-columns: 1fr;
  }
}
