:root {
  --tp-primary: #0A2E5E;
  --tp-primary-light: #163D7A;
  --tp-primary-dark: #061B3A;
  --tp-red: #C8102E;
  --tp-red-light: #E8324A;
  --tp-red-dark: #830617;
  --tp-red-cxh: #B01F24;
  --tp-blue: #1B4F91;
  --tp-white: #FFFFFF;
  --tp-off-white: #F5F7FA;
  --tp-gray-100: #E8ECF1;
  --tp-gray-200: #CDD5DF;
  --tp-gray-500: #7A8A9E;
  --tp-gray-700: #3A4A5E;
  --tp-gray-900: #0F1A2E;
  --tp-gold: #C4A962;
  --tp-gold-light: #D4BC7A;
  --tp-serif: 'Noto Serif SC', 'Playfair Display', 'Georgia', serif;
  --tp-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --tp-section-pad: clamp(60px, 8vw, 100px);
  --tp-container: 1400px;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.tp {
  font-family: var(--tp-sans);
  color: var(--tp-gray-900);
  background: var(--tp-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.tp *,
.tp *::before,
.tp *::after {
  box-sizing: border-box;
}

.tp a {
  text-decoration: none;
  color: inherit;
}

.tp img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.tp-container {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* ---------- Section Headers ---------- */
.tp-section__num {
  display: inline-block;
  font-family: var(--tp-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-gray-500);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.tp-section__num--light {
  color: var(--tp-gold);
}

.tp-section__title {
  font-family: var(--tp-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--tp-white);
}

.tp-section__title--dark {
  font-family: var(--tp-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--tp-primary);
}

.tp-section__title--light {
  font-family: var(--tp-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  color: var(--tp-white);
}

.tp-section__en {
  display: block;
  font-family: var(--tp-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tp-red);
  margin-bottom: 8px;
}

.tp-section__en--gold {
  color: var(--tp-gold);
}

.tp-section__divider {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--tp-gold);
  border-radius: 2px;
  margin-top: 12px;
}

.tp-section__divider--center {
  margin-left: auto;
  margin-right: auto;
}

.tp-section__sub {
  display: block;
  font-family: var(--tp-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--tp-gray-500);
  margin-top: 10px;
  line-height: 1.6;
}

.tp-section__sub--light {
  color: rgba(255, 255, 255, 0.5);
}

.tp-section__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.tp-section__right {
  text-align: right;
  flex-shrink: 0;
}

.tp-section__right-en {
  display: block;
  font-family: var(--tp-serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 900;
  color: var(--tp-primary);
  opacity: 0.06;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tp-section__right-desc {
  display: block;
  font-family: var(--tp-sans);
  font-size: 13px;
  color: var(--tp-gray-500);
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 4px;
  font-family: var(--tp-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.tp-btn--gold {
  background: linear-gradient(135deg, var(--tp-gold) 0%, var(--tp-gold-light) 100%);
  color: var(--tp-primary-dark);
  border: none;
}

.tp-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 169, 98, 0.4);
}

@keyframes tp-gold-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 169, 98, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(196, 169, 98, 0);
  }
}

.tp-starmap .tp-btn--gold {
  animation: tp-gold-pulse 2.5s ease-in-out infinite;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.tp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 40px 0;
  transition: all 0.4s ease;
}

.tp-nav.scrolled {
  background: rgba(10, 46, 94, 0.95);
  backdrop-filter: blur(16px);
  padding: 22px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.tp-nav__inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-nav__logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 70px;
  color: var(--tp-white);
}

/* 左侧叠加双 logo（彩图 + 白色单色）的定位锚点：保持原有 93×70 同位叠加。 */
.tp-nav__logo-stack {
  position: relative;
  width: 120px;
  height: 70px;
  flex-shrink: 0;
}

/* 彩图 logo 与白色单色 logo 同比例叠放，按滚动状态用 opacity 切换。
   选择器带 .tp-nav 前缀（特异性 0,2,0），避免被全局 `.tp img { height:auto }` (0,1,1) 覆盖高度。 */
.tp-nav .tp-nav__logo-img,
.tp-nav .tp-nav__logo-img2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.35s ease;
}

/* 右侧补充的 logo3：始终显示，不随滚动切换（故无 .scrolled 规则）。
   带 .tp-nav 前缀以保持特异性，避免被全局 `.tp img { height:auto }` 覆盖高度。 */
.tp-nav .tp-nav__logo-img3 {
  height: 70px;
  width: auto;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

/* 首屏（透明导航叠在 Hero 上）：显示彩图 logo，保留沉浸感 */
.tp-nav .tp-nav__logo-img {
  opacity: 1;
}

.tp-nav .tp-nav__logo-img2 {
  opacity: 0;
}

/* 滚动后（蓝色导航背景）：切换为白色单色 logo，保证对比度 */
.tp-nav.scrolled .tp-nav__logo-img {
  opacity: 0;
}

.tp-nav.scrolled .tp-nav__logo-img2 {
  opacity: 1;
}

/* news / stories 页（.tp-nav--news，导航为实色背景、无 Hero 透明叠加）：
   左侧 logo 固定显示白色 logo2，不随滚动切换。
   特异性 .tp-nav.tp-nav--news = (0,3,0) 压过默认 (0,2,0)；
   .tp-nav.tp-nav--news.scrolled = (0,4,0) 压过 .scrolled (0,3,0)。mimo 无此类，不受影响。 */
.tp-nav.tp-nav--news .tp-nav__logo-img,
.tp-nav.tp-nav--news.scrolled .tp-nav__logo-img {
  opacity: 0;
}

.tp-nav.tp-nav--news .tp-nav__logo-img2,
.tp-nav.tp-nav--news.scrolled .tp-nav__logo-img2 {
  opacity: 1;
}

/* news/stories 导航恒为深色背景（无 .scrolled 类）：语言切换需显式置白。
   否则 .tp a{color:inherit}（特异性 0,1,1）会压过 .tp-nav__lang-option（0,1,0），
   使其继承 .tp 的 --tp-gray-900 深色，叠在深色导航上不可见。
   此处 (0,3,0) 压过 .tp a；active/hover (0,4,0) 保持纯白，与主页 lang 视觉一致。 */
.tp-nav.tp-nav--news .tp-nav__lang-option {
  color: rgba(255, 255, 255, 0.68);
}
.tp-nav.tp-nav--news .tp-nav__lang-option:hover,
.tp-nav.tp-nav--news .tp-nav__lang-option.active {
  color: var(--tp-white);
}

.tp-nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.tp-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  min-height: 50px;
  padding: 8px 13px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tp-nav__label,
.tp-nav__note {
  display: block;
  white-space: nowrap;
  text-transform: uppercase;
}

.tp-nav__note {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: inherit;
  opacity: 0.85;
}

.tp-nav.scrolled .tp-nav__link {
  color: rgba(255, 255, 255, 0.9);
}

.tp-nav.scrolled .tp-nav__note {
  color: inherit;
  opacity: 0.7;
}

.tp-nav.scrolled .tp-nav__logo {
  color: var(--tp-white);
}

.tp-nav__link:hover,
.tp-nav__link.active {
  color: var(--tp-white);
  background: rgba(196, 169, 98, 0.2);
}

.tp-nav__lang {
  display: flex;
  align-items: center;
  min-height: 50px;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.tp-nav__lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.68);
  transition: background 0.25s ease, color 0.25s ease;
}

.tp-nav__lang-option:hover,
.tp-nav__lang-option.active {
  color: var(--tp-white);
  background: rgba(196, 169, 98, 0.22);
}

.tp-nav.scrolled .tp-nav__lang-option {
  color: rgba(255, 255, 255, 0.78);
}

.tp-nav.scrolled .tp-nav__lang-option:hover,
.tp-nav.scrolled .tp-nav__lang-option.active {
  color: var(--tp-white);
}

.tp-nav__lang-sep {
  width: 1px;
  height: 14px;
  margin: 0 3px;
  background: rgba(255, 255, 255, 0.24);
}

.tp-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.tp-nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--tp-white);
  transition: all 0.3s ease;
}

/* ============================================================
   HERO — 完美复刻设计图：大号10水印 + 标题
   ============================================================ */
.tp-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--tp-primary);
  padding-bottom: 12vh;
}

.tp-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(180px, 26vh, 300px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(6, 27, 58, 0) 0%,
      rgba(6, 27, 58, 0.2) 48%,
      rgba(6, 27, 58, 0.7) 100%);
}

.tp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tp-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

/* 覆盖 .tp img { height: auto } */
.tp-hero .tp-hero__bg .tp-hero__bg-img {
  height: 100%;
}

.tp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 46, 94, 0.25) 0%, rgba(10, 46, 94, 0.15) 40%, rgba(10, 46, 94, 0.35) 100%);
}

/* 大号10水印 — 设计图核心元素 */
.tp-hero__watermark {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--tp-serif);
  font-size: clamp(240px, 38vw, 550px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.13);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 100px rgba(255, 255, 255, 0.08);
}

.tp-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0 clamp(24px, 8vw, 120px);
  max-width: 900px;
}

.tp-hero__title {
  margin: 0 0 24px;
}

.tp-hero__title-zh {
  display: block;
  font-family: var(--tp-serif);
  font-size: clamp(28px, 4.8vw, 56px);
  font-weight: 900;
  color: var(--tp-white);
  line-height: 1.2;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 40px rgba(0, 0, 0, 0.3);
}

.tp-hero__subtitle {
  font-family: var(--tp-sans);
  font-size: clamp(12px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  margin: 0 0 16px;
  font-weight: 400;
}

.tp-hero__desc {
  font-size: clamp(12px, 1.4vw, 15px);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HERO BOTTOM — 倒计时 + 播放按钮
   ============================================================ */
.tp-hero__bottom {
  position: absolute;
  bottom: clamp(24px, 4vh, 60px);
  right: clamp(24px, 5vw, 80px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  background: rgba(10, 46, 94, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: clamp(18px, 2vw, 28px) clamp(24px, 3vw, 40px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.tp-hero__countdown {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  color: var(--tp-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.tp-hero__countdown-days {
  text-align: center;
}

.tp-hero__countdown-num {
  display: block;
  font-family: var(--tp-serif);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  line-height: 1;
}

.tp-hero__countdown-label {
  display: block;
  max-width: 18em;
  font-size: clamp(11px, 1vw, 13px);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
  margin-top: 6px;
  text-wrap: balance;
}

.tp-hero__countdown-units {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.tp-hero__countdown-unit {
  text-align: center;
  min-width: clamp(28px, 3vw, 40px);
}

.tp-hero__countdown-digits {
  display: block;
  font-family: var(--tp-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1;
}

.tp-hero__countdown-tag {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.tp-hero__countdown-sep {
  font-family: var(--tp-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 300;
  color: var(--tp-gold);
  opacity: 0.8;
  padding-top: 2px;
}

.tp-hero__play {
  width: clamp(56px, 6vw, 76px);
  height: clamp(56px, 6vw, 76px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--tp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
  animation: tp-play-pulse 2.5s ease-in-out infinite;
}

@keyframes tp-play-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.25);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }
}

.tp-hero__play:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  animation: none;
}

.tp-hero__play svg {
  margin-left: 4px;
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.tp-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.tp-video-modal.open {
  display: flex;
}

.tp-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.tp-video-modal__content {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.tp-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  color: var(--tp-white);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  padding: 4px;
}

.tp-video-modal__close:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .tp-video-modal {
    padding: 12px;
    align-items: center;
  }

  .tp-video-modal__content {
    max-width: 100%;
  }

  .tp-video-modal__close {
    top: -40px;
  }
}

.tp-video-modal__player {
  width: 100%;
  height: 100%;
}

.tp-video-modal__player iframe,
.tp-video-modal__player video {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   寄语区
   ============================================================ */
.tp-countdown {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 0;
  padding: clamp(48px, 5vw, 72px) 0 clamp(54px, 5vw, 72px);
  color: var(--tp-gray-900);
  background: transparent;
}

.tp-countdown__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tp-countdown__bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.tp-countdown .tp-container {
  position: relative;
  z-index: 1;
}

.tp-countdown__inner {
  display: flex;
  justify-content: center;
}

.tp-countdown__left {
  text-align: left;
}

.tp-countdown__left .tp-section__title {
  font-size: clamp(24px, 3vw, 36px);
}

.tp-countdown__right {
  text-align: left;
}

.tp-leaders__item {
  max-width: min(860px, 80vw);
}

.tp-leaders {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
}

.tp-leaders__item {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  align-items: flex-start;
  padding: clamp(22px, 3vw, 36px);
}

.tp-leaders__avatar {
  flex: 0 0 clamp(64px, 7vw, 90px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.tp-leaders__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-leaders__body {
  flex: 1;
  border-left: 4px solid var(--tp-red);
  padding-left: clamp(16px, 2vw, 28px);
}

.tp-leaders__heading {
  font-family: var(--tp-sans);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  color: var(--tp-primary);
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}

.tp-leaders__text {
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.9;
  color: var(--tp-gray-700);
  margin: 0;
}

/* ============================================================
   HISTORY TIMELINE — 连廊式全宽设计
   ============================================================ */
.tp-history {
  background: var(--tp-white);
  padding-top: var(--tp-section-pad);
  padding-bottom: 0;
}

.tp-history__header {
  margin-bottom: 32px;
}

/* 时间线进度条 */
.tp-history__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px) 20px;
}

.tp-history__bar-track {
  flex: 1;
  height: 3px;
  background: var(--tp-gray-100);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.tp-history__bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--tp-red);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tp-history__bar-years {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.tp-history__bar-year {
  font-size: 16px;
  font-weight: 500;
  color: var(--tp-gray-500);
  padding: 0 clamp(6px, 1.2vw, 14px);
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tp-history__bar-year:hover,
.tp-history__bar-year.active {
  color: var(--tp-primary);
  font-weight: 700;
}

.tp-history__bar-nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.tp-history__bar-btn {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--tp-primary) !important;
  color: var(--tp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tp-history__bar-btn:hover {
  background: var(--tp-red);
}

/* 连廊图片视口 — 左右露出相邻图片 */
.tp-history__viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0 clamp(40px, 5vw, 80px);
}

.tp-history__track {
  display: flex;
  gap: clamp(8px, 1.5vw, 16px);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  align-items: center;
}

.tp-history__slide {
  flex: 0 0 calc(100% - clamp(200px, 28vw, 380px));
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 4px solid var(--tp-white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: opacity 0.4s ease;
}

.tp-history__slide:not(.active) {
  opacity: 0.5;
}

.tp-history__subtrack {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tp-history__subslide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.tp-history__slide-img {
  width: 100%;
  height: 100%;
  /* 完整显示不裁剪；竖向贴底（宽图留白在上），方图因比例居中会左右留白。 */
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.tp-history__sub-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 6px 14px;
  z-index: 5;
}

.tp-history__sub-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--tp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.tp-history__sub-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.tp-history__sub-counter {
  font-size: 13px;
  color: var(--tp-white);
  font-weight: 500;
  letter-spacing: 0.05em;
  min-width: 32px;
  text-align: center;
}

/* 固定白块 — 覆盖在视口右侧，不跟随图片移动 */
.tp-history__card {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--tp-white);
  padding: clamp(36px, 4.5vw, 60px) clamp(32px, 4vw, 52px);
  width: clamp(320px, 35vw, 440px);
  height: auto;
  min-height: clamp(320px, 42vw, 440px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.tp-history__card-year {
  display: block;
  font-family: var(--tp-serif);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 900;
  color: var(--tp-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.tp-history__card-title {
  font-family: var(--tp-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--tp-primary);
  margin: 0 0 14px;
  line-height: 1.4;
}

.tp-history__card-desc {
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--tp-gray-700);
  line-height: 1.9;
  margin: 0;
}

/* ============================================================
   IMPACT / STATS — 设计图：数字卡片网格
   ============================================================ */
.tp-impact {
  position: relative;
  padding: var(--tp-section-pad) 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #edf7ff 14%, #dceeff 50%, #eef7ff 78%, #f5f7fa 100%);
  scroll-margin-top: 112px;
  overflow: hidden;
}

.tp-impact::before,
.tp-impact::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.tp-impact::before {
  top: 132px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: repeating-linear-gradient(90deg,
      transparent 0,
      transparent 18px,
      rgba(22, 61, 122, 0.16) 18px,
      rgba(22, 61, 122, 0.16) 20px,
      transparent 20px,
      transparent 34px);
  clip-path: polygon(0 40%,
      10% 34%,
      20% 22%,
      32% 31%,
      42% 43%,
      52% 30%,
      60% 24%,
      68% 31%,
      76% 18%,
      88% 25%,
      100% 36%,
      100% 100%,
      0 100%);
  opacity: 0.54;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 54%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 54%, transparent 100%);
}

.tp-impact::after {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(146deg, transparent 0 62%, rgba(10, 46, 94, 0.026) 62% 72%, transparent 72%),
    radial-gradient(circle at 74% 14%, rgba(10, 46, 94, 0.05) 0, rgba(10, 46, 94, 0.05) 12%, transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.16) 38%, rgba(255, 255, 255, 0.36) 100%);
}

.tp-impact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.38;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.tp-impact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.12) contrast(1.03);
}

.tp-impact>.tp-container {
  position: relative;
  z-index: 2;
}

.tp-impact__header {
  margin-bottom: 40px;
}

.tp-impact__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 24px;
  margin-bottom: 0;
}

.tp-impact__stat {
  min-width: 0;
  min-height: 156px;
  text-align: center;
  padding: 30px 24px;
  border: 1px solid rgba(205, 213, 223, 0.7);
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(10, 46, 94, 0.055);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.tp-impact__stat:hover {
  box-shadow: 0 14px 28px rgba(10, 46, 94, 0.09);
  transform: translateY(-3px);
}

.tp-impact__stat--highlight {
  background: linear-gradient(135deg, var(--tp-primary) 0%, var(--tp-primary-light) 100%);
  border-color: transparent;
}

.tp-impact__stat--highlight .tp-impact__desc {
  color: rgba(255, 255, 255, 0.8);
}

.tp-impact__num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.tp-impact__number {
  font-family: var(--tp-serif);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 900;
  color: var(--tp-primary);
  line-height: 1;
}

.tp-impact__number--large {
  font-size: clamp(28px, 3.5vw, 40px);
}

.tp-impact__stat--highlight .tp-impact__number {
  color: var(--tp-white);
}

.tp-impact__suffix {
  font-family: var(--tp-sans);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  color: var(--tp-red-light);
}

.tp-impact__stat--highlight .tp-impact__suffix {
  color: var(--tp-gold);
}

.tp-impact__desc {
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-gray-700);
  margin-top: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Panel: Compare + Highlights */
.tp-impact__panel {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid rgba(205, 213, 223, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(10, 46, 94, 0.06);
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.tp-impact__compare {
  flex: 1.45;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tp-impact__compare>.tp-compare-group {
  flex: 1;
  min-height: 0;
}

.tp-impact__compare>.tp-compare-group>.tp-compare {
  aspect-ratio: auto;
}

.tp-impact__compare>.tp-compare-group>.tp-compare>img:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tp-impact__highlights {
  flex: 0.85;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tp-impact__compare-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.tp-impact__compare-title {
  font-family: var(--tp-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--tp-primary);
  margin: 0 0 8px;
}

.tp-impact__compare-desc {
  font-size: 15px;
  color: var(--tp-gray-600);
  margin: 0;
}

.tp-impact__highlight {
  flex: 1;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--tp-gray-100);
  background: var(--tp-white);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tp-impact__highlight:hover {
  box-shadow: 0 12px 24px rgba(10, 46, 94, 0.08);
  transform: translateY(-5px);
}

.tp-impact__highlight .tp-impact__num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.tp-impact__highlight-num {
  font-family: var(--tp-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--tp-primary);
  line-height: 1;
}

.tp-impact__highlight-suffix {
  font-family: var(--tp-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--tp-red-light);
}

.tp-impact__highlight-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--tp-gray-700);
  line-height: 1.6;
}

/* 拖动对比组件 */
.tp-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 698;
  overflow: hidden;
  border-radius: 18px;
  background: var(--tp-gray-100);
  cursor: ew-resize;
}

.tp-compare-group {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.tp-compare-group>.tp-compare {
  flex: 1;
}

.tp-compare--hidden {
  display: none;
}

.tp-compare__sub-nav {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 6px 14px;
  z-index: 5;
}

.tp-compare__sub-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--tp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.tp-compare__sub-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.tp-compare__sub-counter {
  font-size: 13px;
  color: var(--tp-white);
  font-weight: 500;
  letter-spacing: 0.05em;
  min-width: 32px;
  text-align: center;
}

.tp-compare__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.tp-compare__overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.tp-compare__label {
  position: absolute;
  top: 16px;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: var(--tp-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-white);
  pointer-events: none;
}

.tp-compare__label--before {
  left: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.tp-compare__label--after {
  right: 16px;
  background: var(--tp-red);
}

.tp-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--tp-white);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
  transform: translateX(-1px);
  pointer-events: none;
}

.tp-compare__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tp-white);
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tp-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* ============================================================
   NEWS — 设计图：左大图 + 右侧3小卡片
   ============================================================ */
.tp-news {
  position: relative;
  padding: var(--tp-section-pad) 0;
  background: var(--tp-off-white);
  overflow: hidden;
}

.tp-news__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
}

.tp-news__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-news>.tp-container {
  position: relative;
  z-index: 1;
}

.tp-news__header {
  margin-bottom: 40px;
}

.tp-news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.tp-news__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tp-news__card {
  background: var(--tp-white);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  border: 1px solid var(--tp-gray-100);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.tp-news__card:hover {
  box-shadow: 0 12px 24px rgba(10, 46, 94, 0.08);
  transform: translateY(-5px);
  border-color: var(--tp-red);
}

.tp-news__card--featured {
  flex-direction: column;
}

.tp-news__card--featured .tp-news__card-img {
  flex: 1;
  min-height: 400px;
}

.tp-news__card--featured .tp-news__card-body {
  margin-top: auto;
  /* 摘要隐藏后改为按内容收缩并贴底，避免日期下方留白 */
  flex: 0 1 auto;
}

.tp-news__card-img {
  flex-shrink: 0;
  width: 140px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tp-blue), var(--tp-primary));
}

.tp-news__card--featured .tp-news__card-img {
  width: 100%;
}

.tp-news__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tp-news__card:hover .tp-news__card-img img {
  transform: scale(1.05);
}

.tp-news__card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tp-news__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tp-news__card h4 {
  font-family: var(--tp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--tp-primary);
  margin: 0 0 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-news__card--featured h4 {
  font-size: 22px;
}

.tp-news__card p {
  font-size: 14px;
  color: var(--tp-gray-700);
  line-height: 1.7;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-news__date {
  font-size: 13px;
  color: var(--tp-gray-500);
  font-weight: 300;
  margin-top: 10px;
}

.tp-news__more {
  text-align: center;
  margin-top: 40px;
}

/* 人物故事区块的"查看更多"按钮：swiper 下方额外下移 */
.tp-stories .tp-news__more {
  margin-top: 64px;
}

.tp-news__more-btn {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid var(--tp-primary);
  border-radius: 4px;
  font-family: var(--tp-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--tp-primary);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.tp-news__more-btn:hover {
  background: var(--tp-primary);
  color: var(--tp-white);
}

/* ============================================================
   EVENTS — 左侧月份导航 + 右侧卡片网格
   ============================================================ */
.tp-events {
  position: relative;
  padding: var(--tp-section-pad) 0;
  background: linear-gradient(180deg, #6F96BF 0%, #1F4878 30%, #0A2E5E 65%, #061B3A 100%);
  scroll-margin-top: 112px;
  overflow: hidden;
}

.tp-events::before,
.tp-events::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tp-events::before {
  top: 132px;
  background: repeating-linear-gradient(90deg,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, 0.14) 18px,
      rgba(255, 255, 255, 0.14) 20px,
      transparent 20px,
      transparent 34px);
  clip-path: polygon(0 40%,
      10% 34%,
      20% 22%,
      32% 31%,
      42% 43%,
      52% 30%,
      60% 24%,
      68% 31%,
      76% 18%,
      88% 25%,
      100% 36%,
      100% 100%,
      0 100%);
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 54%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.82) 54%, transparent 100%);
}

.tp-events::after {
  background:
    linear-gradient(146deg, transparent 0 62%, rgba(255, 255, 255, 0.04) 62% 72%, transparent 72%),
    radial-gradient(circle at 74% 14%, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 12%, transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 38%, rgba(255, 255, 255, 0.04) 100%);
}

.tp-events__bg {
  display: none;
}

.tp-events__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.2) brightness(1.12);
}

.tp-events>.tp-container,
.tp-events>.tp-events__layout {
  position: relative;
  z-index: 1;
}

.tp-events__header {
  margin-bottom: 32px;
}

.tp-events .tp-section__right-en {
  opacity: 0.18;
}

.tp-events .tp-section__right-desc {
  color: rgba(255, 255, 255, 0.72);
}

.tp-events .tp-section__title--dark {
  color: var(--tp-white);
}

/* 布局容器 — 顶部 Tab + 全宽卡片 */
.tp-events__layout {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* 顶部横向月份导航 */
.tp-events__nav {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.tp-events__nav-title {
  display: none;
}

.tp-events__nav-list {
  list-style: none;
  padding: 4px;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  width: auto;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.tp-events__nav-item {
  position: relative;
  margin-bottom: 0;
}

.tp-events__nav-item+.tp-events__nav-item::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.tp .tp-events__nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp-white);
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0;
}

.tp .tp-events__nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--tp-white);
}

.tp .tp-events__nav-link.active {
  background: var(--tp-primary);
  color: var(--tp-white);
  border-color: var(--tp-primary);
  box-shadow: 0 8px 18px rgba(10, 46, 94, 0.16);
  font-weight: 700;
}

.tp .tp-events__nav-link.active::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  background: var(--tp-gold);
  border-radius: 2px;
}

.tp .tp-events__nav-link.has-events::before {
  display: none;
}

.tp .tp-events__nav-link.active.has-events::before {
  display: none;
}

.tp .tp-events__nav-link--highlight {
  color: var(--tp-white);
}

.tp .tp-events__nav-link--highlight.active {
  background: var(--tp-primary);
  color: var(--tp-white);
  border-color: var(--tp-primary);
}

/* 内容区 */
.tp-events__content {
  min-width: 0;
}

/* 月份区块 */
.tp-events__month-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
  display: none;
  animation: tp-tab-fade 0.4s ease;
}

.tp-events__month-section--active {
  display: block;
}

@keyframes tp-tab-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tp-events__month-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.32);
}

.tp-events__month-title {
  font-family: var(--tp-serif);
  font-size: 28px;
  font-weight: 900;
  color: var(--tp-white);
  margin: 0;
}

.tp-events__month-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

/* 卡片网格 */
.tp-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* 活动卡片 */
.tp-events__card {
  background: transparent;
  border-radius: 8px;
  overflow: visible;
  border: 0;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
  position: relative;
}

.tp-events__card a {
  display: block;
  height: 100%;
}

.tp-events__card:hover {
  transform: translateY(-5px);
}

/* 卡片图片 */
.tp-events__card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(135deg, var(--tp-blue), var(--tp-primary));
  box-shadow: 0 12px 24px rgba(10, 46, 94, 0.14);
}

.tp-events__card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.tp-events__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tp-events__card:hover .tp-events__card-img img {
  transform: scale(1.05);
}

/* 日期标签 - 右上角 */
.tp-events__card-date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--tp-primary);
  color: var(--tp-white);
  box-shadow: 0 6px 14px rgba(10, 46, 94, 0.18);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--tp-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* 状态标签 */
.tp-events__card-status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tp-events__card-status--ongoing {
  background: #22C55E;
  color: var(--tp-white);
}

.tp-events__card-status--upcoming {
  background: var(--tp-primary);
  color: var(--tp-white);
}

.tp-events__card-status--ended {
  background: var(--tp-gray-500);
  color: var(--tp-white);
}

/* 卡片内容 */
.tp-events__card-body {
  margin: 0 12px;
  padding: 16px 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tp-events__card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(10, 46, 94, 0.66);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.tp-events__card-tag--main {
  color: var(--tp-primary);
}

.tp-events__card-title {
  font-family: var(--tp-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--tp-primary);
  margin: 0 0 10px;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 装饰线 */
.tp-events__card-divider {
  width: 40px;
  height: 3px;
  background: var(--tp-gold);
  border-radius: 2px;
  margin-bottom: 8px;
}

.tp-events__card--main .tp-events__card-divider {
  background: var(--tp-gold);
}

.tp-events__card-desc {
  font-size: 14px;
  color: var(--tp-gray-700);
  line-height: 1.6;
  margin: 0;
  min-height: 3.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 主体活动卡片 */
.tp-events__card--main {
  border-color: transparent;
}

/* 空月份提示 */
.tp-events__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--tp-gray-500);
  font-style: italic;
}

/* 响应式 */
@media (max-width: 1024px) {
  .tp-events__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tp-events {
    scroll-margin-top: 124px;
  }

  .tp-events .tp-section__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tp-events .tp-section__right {
    flex-shrink: 1;
    text-align: left;
  }

  .tp-events .tp-section__right-en {
    display: none;
  }

  .tp-events .tp-section__right-desc {
    margin-top: 0;
  }

  .tp-events__nav-list {
    flex-wrap: wrap;
    border-radius: 8px;
    width: 100%;
  }

  .tp .tp-events__nav-link {
    padding: 9px 16px;
    font-size: 13px;
    border-radius: 6px;
    margin-bottom: 0;
  }

  .tp .tp-events__nav-link.active::after {
    left: 14px;
    right: 14px;
    bottom: 5px;
  }

  .tp .tp-events__nav-link.active {
    background: var(--tp-primary);
    color: var(--tp-white);
    border-color: var(--tp-primary);
  }

  .tp-events__grid {
    grid-template-columns: 1fr;
  }

  .tp-events__card-img {
    aspect-ratio: 16 / 10;
  }
}

.tp-events__card--highlight h4 {
  color: var(--tp-white);
}

.tp-events__card-note {
  display: inline-block;
  font-size: 11px;
  color: var(--tp-red);
  margin-top: 6px;
  font-weight: 500;
}

.tp-events__card--highlight .tp-events__card-note {
  color: var(--tp-gold);
}

/* 空月份提示 */
.tp-events__empty {
  font-size: 13px;
  color: var(--tp-gray-500);
  font-style: italic;
  padding: 8px 0;
}

/* 折叠空月份 */
.tp-events__month-group--empty {
  margin-bottom: 8px;
}

.tp-events__month-group--empty .tp-events__month-content {
  display: none;
}

.tp-events__month-group--empty .tp-events__month-label {
  opacity: 0.5;
}

.tp-events__month-group--empty .tp-events__month-dot {
  width: 12px;
  height: 12px;
  left: 74px;
  top: 10px;
  border-width: 2px;
}

/* 折叠组的月份名称样式 */
.tp-events__month-group--empty .tp-events__month-name {
  font-size: 18px;
  color: var(--tp-gray-500);
}

/* 折叠时的月份间距 */
.tp-events__month-group--empty+.tp-events__month-group--empty {
  margin-top: -8px;
}

/* 响应式 */
@media (max-width: 768px) {
  .tp-events__timeline::before {
    left: 60px;
  }

  .tp-events__month-group {
    padding-left: 90px;
  }

  .tp-events__month-label {
    width: 60px;
  }

  .tp-events__month-name {
    font-size: 20px;
  }

  .tp-events__month-dot {
    left: 52px;
    width: 16px;
    height: 16px;
  }

  .tp-events__month-group--highlight .tp-events__month-dot {
    width: 20px;
    height: 20px;
    left: 50px;
    top: 6px;
  }

  .tp-events__card {
    padding: 12px 16px;
  }

  .tp-events__card h4 {
    font-size: 14px;
  }
}

/* ============================================================
   STORIES — Dialogue@ZJU Swiper 自动滚动
   ============================================================ */
.tp-stories {
  padding: var(--tp-section-pad) 0 clamp(60px, 8vw, 100px);
  background: var(--tp-white);
}

.tp-stories__header {
  margin-bottom: 40px;
}

.tp-stories__swiper {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.tp-stories__track {
  display: flex;
  gap: clamp(20px, 2.5vw, 40px);
  animation: stories-scroll 48s linear infinite;
  width: max-content;
}

.tp-stories__track:hover {
  animation-play-state: paused;
}

@keyframes stories-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tp-stories__slide {
  flex: 0 0 clamp(460px, 40vw, 580px);
  /* 防止内部 nowrap 标题反向撑开卡片宽度，使固定宽度与 text-overflow:ellipsis 真正生效 */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4vw, 60px);
  color: var(--tp-white);
}

.tp-stories__slide-top,
.tp-stories__slide-bottom {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 1.2vw, 20px);
}

.tp-stories__slide-bottom {
  margin-top: 0;
  transform: translateX(30%);
}

.tp-stories__slide-photo {
  flex: 0 0 clamp(100px, 12vw, 175px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(196, 169, 98, 0.4);
}

.tp-stories__slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tp-stories__slide-infos {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(8px, 1vw, 14px) clamp(14px, 1.5vw, 24px);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  color: var(--tp-white);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.tp-stories__slide-infos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--tp-primary);
  z-index: -1;
}

.tp-stories__slide-infos::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 110%;
  height: 80px;
  border-radius: 50%;
  background: var(--tp-white);
  opacity: 0;
  transform-origin: 50% 100%;
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.9, 1), opacity 0.3s;
  z-index: -1;
}

.tp-stories__slide-infos:hover {
  border-color: var(--tp-primary);
  color: var(--tp-primary);
}

.tp-stories__slide-infos:hover::after {
  opacity: 1;
  transform: scale3d(1.5, 5, 1);
}

.tp-stories__slide-text {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 8px;
}

.tp-stories__slide-text h3 {
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
  /* 最多两行，超出省略；两行容量约 600px，可让多数中文标题、约一半英文标题完整显示 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-stories__slide-date {
  display: block;
  font-size: 12px;
  opacity: 0.6;
}

.tp-stories__slide-arrow {
  flex: 0 0 auto;
}

.tp-stories__slide-arrow svg {
  fill: currentColor;
  display: block;
}

/* ============================================================
   STAR MAP
   ============================================================ */
.tp-starmap {
  position: relative;
  padding: var(--tp-section-pad) 0 clamp(40px, 6vw, 80px);
  background: linear-gradient(170deg, #040E1F 0%, var(--tp-primary-dark) 30%, var(--tp-primary) 70%, #040E1F 100%);
  color: var(--tp-white);
  min-height: 80vh;
  overflow: hidden;
}

.tp-starmap__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.tp-starmap__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tp-starmap__lines line {
  stroke: rgba(196, 169, 98, 0.25);
  stroke-width: 1;
  stroke-dasharray: 8 4;
  animation: tp-dash 20s linear infinite;
}

@keyframes tp-dash {
  to {
    stroke-dashoffset: -100;
  }
}

.tp-starmap__pulse {
  animation: tp-ring-pulse 3s ease-out infinite;
}

@keyframes tp-ring-pulse {
  0% {
    r: 16;
    opacity: 0.6;
  }

  100% {
    r: 30;
    opacity: 0;
  }
}

.tp-starmap__header {
  margin-bottom: 40px;
}

.tp-starmap__content {
  position: relative;
  z-index: 2;
}

.tp-starmap__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tp-starmap__stat {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(196, 169, 98, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.tp-starmap__stat-num {
  font-family: var(--tp-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--tp-white);
  line-height: 1;
}

.tp-starmap__stat-suffix {
  font-family: var(--tp-sans);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  color: var(--tp-gold);
}

.tp-starmap__stat-desc {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.tp-starmap__cta {
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.tp-footer {
  background: var(--tp-primary-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 36px 0 20px;
}

.tp-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 20px;
}

.tp-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-footer__logo {
  width: 40px;
  height: 40px;
  border: 2px solid var(--tp-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tp-serif);
  font-weight: 900;
  font-size: 14px;
  color: var(--tp-white);
  background: rgba(200, 16, 46, 0.15);
}

.tp-footer__brand h4 {
  font-family: var(--tp-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--tp-white);
  margin: 0;
}

.tp-footer__brand p {
  font-size: 11px;
  margin: 2px 0 0;
}

.tp-footer__info p {
  font-size: 12px;
  margin: 2px 0;
}

.tp-footer__links {
  display: flex;
  gap: 20px;
}

.tp-footer__links a {
  font-size: 12px;
  color: var(--tp-red-light);
  transition: color 0.3s ease;
}

.tp-footer__links a:hover {
  color: var(--tp-white);
}

.tp-footer__bottom {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

.tp-footer__bottom p {
  margin: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-down"] {
  transform: translateY(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root {
    --tp-container: 1200px;
  }

  .tp-stories__slide {
    flex: 0 0 clamp(420px, 45vw, 540px);
  }

  .tp-starmap__overlay {
    transform: scale(0.9);
    transform-origin: center;
  }
}

@media (max-width: 1024px) {
  .tp-impact__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tp-impact__panel {
    flex-direction: column;
  }

  .tp-stories__slide {
    flex: 0 0 clamp(380px, 55vw, 500px);
  }

  .tp-history__viewport {
    padding: 0 16px 24px;
  }

  .tp-history__slide {
    flex: 0 0 calc(100% - 32px);
  }

  .tp-history__sub-nav {
    bottom: 10px;
    padding: 4px 10px;
    gap: 8px;
  }

  .tp-history__sub-btn {
    width: 24px;
    height: 24px;
  }

  .tp-history__sub-counter {
    font-size: 11px;
  }

  /* 卡片改为图片下方正常流，避免文字多时覆盖图片 */
  .tp-history__card {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    bottom: auto;
    transform: none;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 16px 16px 0;
    padding: 20px 24px;
  }
}

/* 中等宽度（≤1024px）切换为汉堡菜单：7 个导航项 + 语言切换横向排列会溢出视口，改用抽屉式 */
@media (max-width: 1024px) {
  .tp-nav__toggle {
    display: flex;
  }

  .tp-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 46, 94, 0.98);
    padding: 12px 16px;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(16px);
  }

  .tp-nav__menu.open {
    display: flex;
  }

  .tp-nav__menu.open .tp-nav__link {
    color: rgba(255, 255, 255, 0.9);
  }

  .tp-nav__menu.open .tp-nav__note {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
  }

  .tp-nav__link {
    align-items: flex-start;
    padding: 10px 12px;
    width: 100%;
    text-align: left;
  }

  .tp-nav__lang {
    min-height: 0;
    margin: 8px 0 0;
    padding: 12px 0 0;
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 768px) {
  .tp-nav__toggle {
    display: flex;
  }

  .tp-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 46, 94, 0.98);
    padding: 12px 16px;
    flex-direction: column;
    gap: 2px;
    backdrop-filter: blur(16px);
  }

  .tp-nav__menu.open {
    display: flex;
  }

  .tp-nav__menu.open .tp-nav__link {
    color: rgba(255, 255, 255, 0.9);
  }

  .tp-nav__menu.open .tp-nav__note {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
  }

  .tp-nav__link {
    align-items: flex-start;
    padding: 10px 12px;
    width: 100%;
    text-align: left;
  }

  .tp-nav__lang {
    min-height: 0;
    margin: 8px 0 0;
    padding: 12px 0 0;
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .tp-nav__lang-option {
    min-width: 46px;
    height: 36px;
    font-size: 13px;
  }

  .tp-nav__lang-sep {
    margin: 0 6px;
  }

  .tp-hero {
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .tp-hero__watermark {
    top: 50%;
    font-size: clamp(160px, 42vw, 240px);
    color: rgba(255, 255, 255, 0.15);
  }

  .tp-hero__content {
    text-align: center;
    padding: 0 24px;
  }

  .tp-countdown__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .tp-countdown {
    margin-top: 0;
    padding-top: 76px;
  }

  .tp-countdown__left {
    text-align: center;
  }

  .tp-countdown__right {
    text-align: center;
  }

  .tp-leaders__item {
    max-width: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .tp-leaders__avatar {
    flex: 0 0 72px;
  }

  .tp-history__bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .tp-history__bar-years {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 4px 0;
    padding: 8px 0;
  }

  .tp-history__bar-year {
    padding: 4px 10px;
    font-size: 14px;
  }

  .tp-history__viewport {
    padding: 0 12px 20px;
  }

  .tp-history__slide {
    flex: 0 0 calc(100% - 24px);
  }

  .tp-history__card {
    margin-left: 12px;
    margin-right: 12px;
  }

  .tp-impact {
    scroll-margin-top: 124px;
  }

  .tp-impact .tp-section__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tp-impact .tp-section__right {
    flex-shrink: 1;
    text-align: left;
  }

  .tp-impact .tp-section__right-en {
    display: none;
  }

  .tp-impact .tp-section__right-desc {
    margin-top: 0;
  }

  /* 大事记 header：手机端左右两列改为上下排列，避免右列(2016-2026/十载春秋)溢出被遮挡 */
  .tp-history .tp-section__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tp-history .tp-section__right {
    flex-shrink: 1;
    text-align: left;
  }

  .tp-impact__header {
    margin-bottom: 28px;
  }

  .tp-impact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 14px;
  }

  .tp-impact__stat {
    min-height: 132px;
    padding: 20px 10px;
    border-radius: 10px;
  }

  .tp-impact__number {
    font-size: clamp(34px, 10vw, 40px);
  }

  .tp-impact__suffix {
    font-size: 16px;
  }

  .tp-impact__desc {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.06em;
  }

  .tp-stories__slide {
    flex: 0 0 clamp(300px, 75vw, 400px);
  }

  .tp-stories__slide-top,
  .tp-stories__slide-bottom {
    height: 120px;
  }

  .tp-stories__slide-bottom {
    transform: translateX(15%);
  }

  .tp-stories__slide-photo {
    flex: 0 0 80px;
  }

  .tp-stories__slide-text h3 {
    white-space: normal;
  }

  .tp-news__grid {
    grid-template-columns: 1fr;
  }

  .tp-news__side {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tp-news__side .tp-news__card {
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
  }

  .tp-news__card--featured .tp-news__card-img {
    min-height: 200px;
    flex: none;
  }

  .tp-impact__compare {
    flex-direction: column;
    flex: none;
  }

  .tp-impact__panel {
    flex-direction: column;
    padding: 20px;
    gap: 24px;
  }

  .tp-impact__compare-header {
    flex-direction: column;
    gap: 12px;
  }

  .tp-impact__compare>.tp-compare-group>.tp-compare {
    flex: none;
    min-height: 200px;
    aspect-ratio: 1600 / 698;
  }

  .tp-impact__highlight-num {
    font-size: 28px;
  }

  .tp-events__list::before {
    left: 60px;
  }

  .tp-events__date {
    width: 48px;
  }

  .tp-events__month {
    font-size: 10px;
  }

  .tp-events__day {
    font-size: 18px;
  }

  .tp-events__content {
    padding: 10px 12px;
  }

  .tp-starmap__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tp-starmap__stat {
    border-left: 3px solid var(--tp-red);
    padding-left: 16px;
    text-align: left;
  }

  .tp-footer__top {
    flex-direction: column;
    text-align: center;
  }

  .tp-footer__brand {
    flex-direction: column;
  }

  .tp-footer__links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --tp-section-pad: 48px;
  }

  .tp-hero__watermark {
    font-size: 140px;
  }

  .tp-countdown__days-num {
    font-size: 56px;
  }

  .tp-history__item {
    flex: 0 0 240px;
  }

  /* 卡片已改为流式(图下方)，viewport 高度由内容撑开，不再固定 min-height */
}

/* ============================================================
   FOOTER — 站点通用 footer 样式覆盖
   ============================================================ */
.site-footer {
  background: #122d4c !important;
  color: #fff;
  padding: 60px 0 40px;
}

.site-footer .zju-footer {
  color: #fff;
}

.site-footer .menus h4,
.site-footer .menus .title {
  color: #fff !important;
}

.site-footer .menus .item a {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer .menus .item a:hover {
  color: #fff;
}

.site-footer .color999 {
  color: rgba(255, 255, 255, 0.45) !important;
}

.site-footer .share-item {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer .share-item:hover {
  color: #fff;
}

/* ================================================================
   校区十周年·点亮全球 — 星图样式
   ================================================================ */

/* ────────────────────────────────────────────────────────────────
   1. 主容器与布局
   ──────────────────────────────────────────────────────────────── */

/* 主容器：深蓝渐变背景，底部过渡到 footer 颜色 #122d4c */
.tp-star-map {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--tp-primary-light) 0%, var(--tp-primary-light) 75%, #0D2540 92%, #122d4c 100%);
  color: var(--tp-white);
  font-family: var(--tp-sans);
  min-height: 100vh;
}

/* 粒子背景 canvas：全屏覆盖，不阻挡鼠标事件 */
.tp-star-map>#particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* 大气层光效：多层径向渐变，营造太空氛围 */
.tp-star-map>.atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(0, 212, 170, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(255, 215, 0, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 42, 92, 0.8) 0%, transparent 60%);
}

/* 应用主体：相对定位，z-index 1 在粒子层之上 */
.tp-star-map>#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ────────────────────────────────────────────────────────────────
   2. 主区域（标题、徽章、按钮）
   ──────────────────────────────────────────────────────────────── */

.tp-star-map .hero-section {
  text-align: center;
  padding: 3rem 20px 1rem;
}

.tp-star-map .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.25);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.7rem;
  color: var(--tp-red-cxh);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.tp-star-map .hero-badge i {
  font-size: 0.6rem;
}

.tp-star-map .hero-title {
  font-family: var(--tp-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.tp-star-map .hero-title .highlight {
  color: #f3b616;
  font-weight: 900;
}

.tp-star-map .decorative-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tp-red-cxh), transparent);
  margin: 12px auto;
}

.tp-star-map .hero-subtitle {
  font-size: 0.88rem;
  color: var(--tp-gray-500);
  font-weight: 300;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

/* "点亮全球" 按钮：渐变背景 + 光泽动画 + 悬停缩放 */
.tp-star-map .btn-light-up {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-dark) 100%);
  color: var(--tp-white);
  border: none;
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 28px rgba(200, 16, 46, 0.35), 0 0 60px rgba(200, 16, 46, 0.12);
  transition: all 0.3s ease;
  font-family: var(--tp-sans);
  position: relative;
  overflow: hidden;
}

.tp-star-map .btn-light-up::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: tp-btn-shine 4s ease-in-out infinite;
}

/* 光泽扫过动画：4 秒循环，85% 时移到右侧 */
@keyframes tp-btn-shine {

  0%,
  70%,
  100% {
    left: -100%;
  }

  85% {
    left: 150%;
  }
}

.tp-star-map .btn-light-up:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 36px rgba(200, 16, 46, 0.5);
}

/* ────────────────────────────────────────────────────────────────
   3. 地图区域
   ──────────────────────────────────────────────────────────────── */

/* 地图容器：弹性填充剩余空间，最小高度 240px */
.tp-star-map .map-section {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  min-height: 240px;
  overflow: visible;
}

.tp-star-map #map-svg {
  width: 100%;
  max-width: 1050px;
  height: auto;
}

/* 国家轮廓：半透明青绿色填充，悬停时变亮 */
.tp-star-map .land {
  fill: rgba(0, 212, 170, 0.22);
  stroke: none;
  stroke-width: 0;
  transition: fill 0.3s;
}

/* 经纬网格：极细白色辅助线 */
.tp-star-map .graticule {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 0.3;
}

/* 九段线和南海诸岛（已隐藏） */
.tp-star-map .scs-nine-dash-line {
  display: none;
}

.tp-star-map .scs-island-dot {
  display: none;
}

.tp-star-map .scs-island-label {
  display: none;
}

.tp-star-map .scs-islet {
  display: none;
}

/* 地球外圈轮廓线 */
.tp-star-map .sphere-outline {
  fill: none;
  stroke: rgba(0, 212, 170, 0.12);
  stroke-width: 0.6;
}

/* 地图图例 */
.tp-star-map .map-legend {
  position: absolute;
  bottom: 12px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--tp-gray-500);
  z-index: 5;
}

.tp-star-map .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tp-star-map .legend-dot.campus-legend {
  background: var(--tp-red-light);
  box-shadow: 0 0 6px var(--tp-red);
}

.tp-star-map .legend-dot.city-legend {
  background: var(--tp-red);
  box-shadow: 0 0 4px rgba(200, 16, 46, 0.4);
}

/* ────────────────────────────────────────────────────────────────
   4. 城市光点与动画
   ──────────────────────────────────────────────────────────────── */

/* 城市光点动画：脉冲扩散环（2.5 秒循环）+ 实心点呼吸闪烁（3 秒循环） */
@keyframes tp-pulse-ring {
  0% {
    r: 2.5;
    opacity: 0.7;
    stroke-width: 1.5;
  }

  100% {
    r: 14;
    opacity: 0;
    stroke-width: 0.3;
  }
}

@keyframes tp-dot-glow {

  0%,
  100% {
    opacity: 0.75;
    r: 2.5;
  }

  50% {
    opacity: 1;
    r: 3.2;
  }
}

.tp-star-map .city-dot {
  animation: tp-dot-glow 3s ease-in-out infinite;
  cursor: pointer;
}

.tp-star-map .city-pulse {
  animation: tp-pulse-ring 2.5s ease-out infinite;
}

/* ────────────────────────────────────────────────────────────────
   5. 统计数据区
   ──────────────────────────────────────────────────────────────── */

/* 统计区：四个卡片横向排列，毛玻璃背景 */
/* .tp-star-map .stats-section {
  padding: 28px 40px 44px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
} */

/* 统计卡片：深色半透明背景 + 毛玻璃模糊，悬停上浮 */
/* .tp-star-map .stat-card {
  background: var(--tp-gray-900);
  backdrop-filter: blur(16px);
  border: 1px solid var(--tp-gray-700);
  border-radius: 16px;
  padding: 24px 36px;
  text-align: center;
  min-width: 180px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
} */

/* 统计卡片顶部红线：悬停时渐显 */
/* .tp-star-map .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tp-red-light), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.tp-star-map .stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 16, 46, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.tp-star-map .stat-card:hover::before {
  opacity: 1;
}

.tp-star-map .stat-icon {
  font-size: 1.4rem;
  color: var(--tp-red-light);
  margin-bottom: 12px;
  opacity: 0.85;
} */

/* 统计数字：大号粗体，等宽数字排列 */
/* .tp-star-map .stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--tp-red-light);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
} */

/* 统计标签：小号灰色文字，宽字距 */
/* .tp-star-map .stat-label {
  font-size: 0.82rem;
  color: var(--tp-gray-500);
  letter-spacing: 3px;
} */

/* ────────────────────────────────────────────────────────────────
   6. Tooltip 浮层
   ──────────────────────────────────────────────────────────────── */

/* Tooltip 浮层：绝对定位，毛玻璃背景，通过 JS 控制 visible 类切换显隐 */
/* .tp-star-map .city-tooltip {
  position: absolute;
  background: rgba(0, 42, 92, 0.6);
  backdrop-filter: blur(14px);
  max-width: 300px;
  pointer-events: none;
  word-wrap: break-word;
  border: 1px solid rgba(0, 212, 170, 0.3);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--tp-white);
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.15s;
  white-space: nowrap;
  line-height: 1.6;
  background: transparent;
}

.tp-star-map .city-tooltip.visible {
  opacity: 1;
}

.tp-star-map .city-tooltip .tt-name {
  color: var(--tp-red-light);
  font-weight: 700;
  font-size: 0.88rem;
}

.tp-star-map .city-tooltip .tt-meta {
  color: var(--tp-gray-500);
  font-size: 0.72rem;
}

.tp-star-map .city-tooltip .tt-campus {
  color: var(--tp-red-light);
  font-weight: 700;
  font-size: 0.88rem;
} */

/* Tooltip 顶部金色渐变装饰条 */
/* #city-tooltip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd966, #ffb347, #ff8c42);
  border-radius: 28px 28px 0 0;
}

.tt-name {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tt-meta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 2px solid #ffb347;
  padding-left: 10px;
}

.tp-star-map .city-tooltip .tt-meta span.highlight {
  background: #ffb347;
  color: #1e2f5e;
  padding: 2px 8px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 12px;
}*/

/* Tooltip 校友寄语滚动区 */
/* #city-tooltip .tt-blessings {
  margin-top: 18px;
  background: rgba(0, 36, 163, 0.1);
  border-radius: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: normal;
  background: transparent;
}

#city-tooltip .tt-blessings strong {
  color: #ffdf9c;
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
} */

/* 寄语滚动容器：隐藏滚动条，悬停暂停动画 */
/* .tt-blessings-wrapper {
  max-height: 100px;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tt-blessings-wrapper::-webkit-scrollbar {
  display: none;
}

.tt-scroll-inner {
  display: flex;
  flex-direction: column;
  will-change: transform;
  animation: scrollUp 10s linear infinite;
}

.tt-blessings-wrapper:hover .tt-scroll-inner {
  animation-play-state: paused;
}

.tt-scroll-content {
  flex-shrink: 0;
  padding: 0 0 0 6px;
  line-height: 2;
  font-size: 14px;
  color: #fef9e8;
  font-weight: 500;
  word-break: break-word;
} */

/* 寄语滚动动画：从上到下循环 */
/* @keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}  */

/* ────────────────────────────────────────────────────────────────
   7. Toast 提示
   ──────────────────────────────────────────────────────────────── */

/* .tp-star-map .toast {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: rgba(0, 212, 170, 0.12);
  border: 1px solid rgba(0, 212, 170, 0.35);
  backdrop-filter: blur(14px);
  padding: 12px 26px;
  border-radius: 12px;
  color: #00d4aa;
  font-size: 0.88rem;
  z-index: 1000;
  opacity: 0;
  transition: all 0.35s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-star-map .toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
} */

/* ────────────────────────────────────────────────────────────────
   8. 模态框（点亮表单）
   ──────────────────────────────────────────────────────────────── */

/* 模态框遮罩层 */
.tp-star-map .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  background: rgba(0, 15, 40, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.tp-star-map .modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 模态框卡片：渐变背景，弹出动画 */
.tp-star-map .modal-card {
  background: linear-gradient(170deg, rgba(0, 52, 110, 0.97) 0%, rgba(0, 32, 70, 0.99) 100%);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 20px;
  width: 92%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s ease;
  position: relative;
}

.tp-star-map .modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

/* 关闭按钮 */
.tp-star-map .modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--tp-gray-500);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  z-index: 2;
}

.tp-star-map .modal-close:hover {
  color: var(--tp-white);
  transform: rotate(90deg);
}

/* 模态框头部 */
.tp-star-map .modal-header {
  padding: 24px 32px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: flex-start;
}

.tp-star-map .modal-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--tp-white);
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.3);
}

.tp-star-map .modal-header h2 {
  font-family: var(--tp-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 3px;
  margin: 0 0 6px;
  line-height: 1.2;
  white-space: nowrap;
}

.tp-star-map .modal-header p {
  font-size: 0.7rem;
  color: var(--tp-gray-500);
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

/* 模态框表单 */
.tp-star-map .modal-body {
  padding: 24px 32px 32px;
}

.tp-star-map .form-group {
  margin-bottom: 20px;
}

.tp-star-map .form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.tp-star-map .form-group label .required {
  color: var(--tp-red-light);
  margin-left: 2px;
}

.tp-star-map .form-input,
.tp-star-map .form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--tp-white);
  font-family: var(--tp-sans);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.tp-star-map .form-input:focus,
.tp-star-map .form-textarea:focus {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}

.tp-star-map .form-textarea {
  resize: vertical;
  min-height: 72px;
}

/* 表单验证错误状态：红色边框 + 红色光晕 */
.tp-star-map .form-input.error,
.tp-star-map .form-textarea.error {
  border-color: rgba(255, 94, 94, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 94, 94, 0.1);
}

/* 表单错误提示文字 */
.tp-star-map .field-error {
  font-size: 0.72rem;
  color: var(--tp-red-light);
  margin-top: 4px;
}

/* 定位按钮 */
.tp-star-map .location-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.tp-star-map .btn-locate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(196, 169, 98, 0.18), rgba(196, 169, 98, 0.10));
  border: 1px solid rgba(196, 169, 98, 0.45);
  border-radius: 10px;
  padding: 0 16px;
  color: var(--tp-gold);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--tp-sans);
  transition: all 0.3s;
  flex-shrink: 0;
  min-height: 42px;
  letter-spacing: 0.5px;
}

.tp-star-map .btn-locate:hover {
  background: linear-gradient(135deg, rgba(196, 169, 98, 0.28), rgba(196, 169, 98, 0.18));
  border-color: var(--tp-gold);
  box-shadow: 0 2px 12px rgba(196, 169, 98, 0.15);
}

.tp-star-map .btn-locate.loading {
  opacity: 0.7;
  cursor: wait;
  animation: tp-locate-pulse 1.5s ease-in-out infinite;
}

@keyframes tp-locate-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(196, 169, 98, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(196, 169, 98, 0);
  }
}

.tp-star-map .btn-locate i {
  font-size: 0.85rem;
}

.tp-star-map .btn-locate span {
  font-size: 0.78rem;
}

.tp-star-map .location-status {
  font-size: 0.72rem;
  margin-top: 6px;
  min-height: 16px;
  transition: all 0.3s;
}

.tp-star-map .location-status.success {
  color: var(--tp-blue);
}

.tp-star-map .location-status.error {
  color: var(--tp-red-light);
}

/* 提交按钮 */
.tp-star-map .btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-dark) 100%);
  color: var(--tp-white);
  border: none;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  font-family: var(--tp-sans);
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
  transition: all 0.3s;
  margin-top: 8px;
}

/* ────────────────────────────────────────────────────────────────
   9. 提交成功页
   ──────────────────────────────────────────────────────────────── */

.tp-star-map .modal-success {
  text-align: center;
  padding: 48px 32px 24px;
}

@keyframes tp-check-bounce {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

.tp-star-map .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tp-red), var(--tp-red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 24px rgba(200, 16, 46, 0.35);
  animation: tp-check-bounce 0.6s ease-out;
}

.tp-star-map .success-title {
  font-family: var(--tp-serif);
  font-size: 1.5rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.tp-star-map .success-subtitle {
  font-size: 0.85rem;
  color: var(--tp-gray-500);
  margin-bottom: 24px;
}

.tp-star-map .success-info {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--tp-gray-700);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.tp-star-map .success-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.tp-star-map .success-info-row i {
  color: var(--tp-red-light);
  margin-top: 2px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* 成功页：统一单页布局 */
.tp-star-map .success-unified {
  text-align: center;
  padding: 28px 20px 24px;
}

/* 十周年徽章 */
.tp-star-map .success-unified__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--tp-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: var(--tp-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--tp-gold);
  letter-spacing: 2px;
  background: rgba(196, 169, 98, 0.08);
  box-shadow: 0 0 30px rgba(196, 169, 98, 0.12);
  animation: tp-check-bounce 0.6s ease-out;
}

/* 标题 */
.tp-star-map .success-unified__title {
  font-family: var(--tp-serif);
  font-size: 1.3rem;
  color: var(--tp-white);
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.tp-star-map .success-unified__subtitle {
  font-size: 0.8rem;
  color: var(--tp-gray-500);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

/* 小地图容器 */
.tp-star-map .success-unified__map-wrap {
  position: relative;
  background: rgba(0, 18, 45, 0.7);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: 12px;
  overflow: visible;
  margin-bottom: 18px;
  padding: 0;
}

.tp-star-map #success-mini-map {
  width: 100%;
  height: 240px;
  display: block;
  border-radius: 12px;
}

/* 排名 */
.tp-star-map .success-unified__rank {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tp-star-map .success-unified__rank-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--tp-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tp-star-map .success-unified__rank-label {
  font-size: 0.78rem;
  color: var(--tp-gray-500);
  letter-spacing: 2px;
}

/* 分割线 */
.tp-star-map .success-unified__divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tp-red), transparent);
  margin: 0 auto 14px;
}

/* 寄语 */
.tp-star-map .success-unified__quote {
  font-family: var(--tp-serif);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 2px;
  font-style: italic;
  margin-bottom: 6px;
}

.tp-star-map .success-unified__year {
  font-size: 0.72rem;
  color: var(--tp-gold);
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* 关闭按钮 */
.tp-star-map .success-unified .btn-close-success {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tp-red) 0%, var(--tp-red-dark) 100%);
  color: var(--tp-white);
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  font-family: var(--tp-sans);
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
  transition: all 0.3s;
}

.tp-star-map .success-unified .btn-close-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200, 16, 46, 0.45);
}

/* ────────────────────────────────────────────────────────────────
   10. 成功页小地图动画
   ──────────────────────────────────────────────────────────────── */

/* 城市光点出现 + 脉冲扩散 */
@keyframes tp-map-dot-appear {
  0% {
    r: 0;
    opacity: 0;
  }

  60% {
    r: 8;
    opacity: 1;
  }

  100% {
    r: 5;
    opacity: 1;
  }
}

@keyframes tp-map-pulse {
  0% {
    r: 5;
    opacity: 0.8;
  }

  50% {
    r: 12;
    opacity: 0;
  }

  100% {
    r: 5;
    opacity: 0;
  }
}

/* 城市脉冲环动画（红色，2.5 秒循环） */
@keyframes sm-city-pulse-ring {
  0% {
    r: 2;
    opacity: 0.6;
    stroke-width: 1;
  }

  100% {
    r: 8;
    opacity: 0;
    stroke-width: 0.2;
  }
}

/* 城市光点呼吸闪烁（橙色，3 秒循环） */
@keyframes sm-city-dot-glow {

  0%,
  100% {
    opacity: 0.7;
    r: 2;
  }

  50% {
    opacity: 1;
    r: 2.6;
  }
}

/* 当前位置脉冲扩散环（红色，2 秒循环） */
@keyframes sm-pulse-ring-anim {
  0% {
    r: 3;
    opacity: 0.8;
    stroke-width: 1.2;
  }

  100% {
    r: 14;
    opacity: 0;
    stroke-width: 0.2;
  }
}

/* 星标旋转动画（6 秒一圈，含轻微缩放呼吸） */
@keyframes sm-star-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.15);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* 应用动画 */
.tp-star-map .sm-city-pulse {
  animation: sm-city-pulse-ring 2.5s ease-out infinite;
}

.tp-star-map .sm-city-dot {
  animation: sm-city-dot-glow 3s ease-in-out infinite;
}

.tp-star-map .sm-pulse-ring {
  animation: sm-pulse-ring-anim 2s ease-out infinite;
}

.tp-star-map .sm-star {
  transform-origin: center;
  animation: sm-star-spin 6s linear infinite;
}

.tp-star-map .sm-label-group rect {
  rx: 10;
}

.tp-star-map .sm-label-group text {
  font-family: var(--tp-sans);
}

/* ────────────────────────────────────────────────────────────────
   11. 3D 椭圆轨道寄语卡片
   ──────────────────────────────────────────────────────────────── */

/* 轨道卡片容器：全屏覆盖，z-index 50 在地图之上 */
.orbit-cards {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  transform: translateZ(0);
}

/* 单张轨道卡片：圆角半透明背景，JS 控制 transform/opacity/z-index */
.orbit-card {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  min-width: 170px;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  will-change: transform, opacity;
  contain: layout paint;
}

/* 响应式：平板端卡片尺寸 */
.tp-star-map .orbit-card {
  min-width: 200px;
  max-width: 210px;
  padding: 12px 16px;
  border-radius: 12px;

  @media (max-width: 768px) {
    min-width: 160px;
    max-width: 180px;
    padding: 10px 14px;
  }

  @media (min-width: 769px) and (max-width: 1024px) {
    min-width: 180px;
    max-width: 200px;
    padding: 12px 16px;
  }
}

/* 轨道卡片文字：姓名（橙色粗体） */
.oc-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffb347;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 轨道卡片文字：地点（小号灰色） */
.oc-area {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oc-area i {
  font-size: 9px;
  margin-right: 2px;
  opacity: 0.7;
}

/* 轨道卡片文字：寄语（白色，最多 2 行截断） */
.oc-msg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 响应式：手机端卡片文字缩小 */
.tp-star-map .oc-name {
  font-size: 12px;
}

.tp-star-map .oc-area {
  font-size: 9px;
}

.tp-star-map .oc-msg {
  font-size: 10px;
  -webkit-line-clamp: 2;
}

/* ── 视频祝福卡：含视频的轨道卡渲染为封面卡（首帧 + 中央播放钮），
      卡身与文字寄语卡同款同体量（封面区 ≈ 地点+寄语文字区高度） ── */
.orbit-card.is-video-card .oc-name {
  margin-bottom: 2px;
}

.orbit-card.is-video-card .oc-area {
  margin-bottom: 6px;
}

.oc-cover {
  position: relative;
  aspect-ratio: 16 / 5;
  border-radius: 8px;
  overflow: hidden;
  /* 占位底色贴近视频黑场,降低首帧就绪前后的明暗跳变 */
  background: rgba(6, 14, 30, 0.6);
}

.oc-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

/* 静态封面图(字段 poster,优先于 video 首帧) */
.oc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 封面中央播放钮（红底白三角，全站视频缩略图通用直觉） */
.oc-cover-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(200, 30, 45, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.oc-cover-play svg {
  width: 12px;
  height: 12px;
  fill: #fff;
  margin-left: 2px;
}

/* ── 祝贺视频播放角标（含视频的轨道寄语卡，B 方案） ── */

/* 含视频的卡片才接收鼠标/触摸事件（容器与普通卡默认 none，不挡地图交互） */
.orbit-card.has-video {
  pointer-events: auto;
  cursor: pointer;
  /* contain: paint 会裁掉溢出边界的角标，这里只保留 layout 约束 */
  contain: layout;
}

.orbit-card.has-video:hover {
  border-color: rgba(245, 198, 106, 0.8);
}

/* 右上角红色脉冲播放角标 */
.oc-play-flag {
  position: absolute;
  top: -11px;
  right: -11px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200, 30, 45, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  animation: ocFlagPulse 2.2s ease-in-out infinite;
}

.oc-play-flag svg {
  width: 13px;
  height: 13px;
  fill: #fff;
  /* 三角形包围盒在 viewBox 内偏右（中点 x=13.5 vs 中心 12），左移补偿实现视觉居中 */
  margin-left: -1px;
}

@keyframes ocFlagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* 手机端角标缩小，避免超出卡片过多 */
@media (max-width: 768px) {
  .oc-play-flag {
    top: -9px;
    right: -9px;
    width: 26px;
    height: 26px;
  }
  .oc-play-flag svg {
    width: 11px;
    height: 11px;
  }
}

/* 尊重减少动效偏好：关闭脉冲与过渡 */
@media (prefers-reduced-motion: reduce) {
  .oc-play-flag { animation: none; }
}

/* ── 祝贺视频就地播放器（板块中央，播放时暂停轨道转动） ── */
.greeting-player {
  position: absolute;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.greeting-player.open {
  display: flex;
}

.greeting-player__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 24, 0.72);
}

.greeting-player__box {
  position: relative;
  width: min(680px, 62%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(245, 198, 106, 0.55);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.75);
}

.greeting-player__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* 标题放顶部渐变上，避开底部原生 controls */
.greeting-player__caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 48px 20px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.greeting-player__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.greeting-player__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.greeting-player__close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .greeting-player__box {
    width: 92%;
  }
  .greeting-player__caption {
    font-size: 12px;
  }
}

/* ────────────────────────────────────────────────────────────────
   12. 校友寄语弹幕（Danmaku）
   ──────────────────────────────────────────────────────────────── */

/* 弹幕容器：不阻挡鼠标事件，z-index 100 在最上层 */
.alumni-danmaku {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: visible;
  z-index: 100;
  padding: 12px 0;
  pointer-events: none;
}

/* 弹幕轨道：relative 定位，overflow visible 允许弹幕溢出 */
.alumni-danmaku__track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 单条弹幕 — 由 JS 控制 left 位置，实现有序无缝滚动 */
.alumni-danmaku__item {
  position: absolute;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  will-change: left;
  cursor: default;
  opacity: 0;
  animation: danmaku-fade-in 0.5s ease-out forwards;
}

/* 弹幕淡入动画：从下方 8px 淡入 */
@keyframes danmaku-fade-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 弹幕悬停：背景变亮 */
.alumni-danmaku__item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 寄语文字：斜体，白色半透明 */
.alumni-danmaku__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* 作者信息 */
.alumni-danmaku__author {
  font-size: 12px;
  color: var(--tp-gold);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
  opacity: 0.8;
}

/* 弹幕分隔符（竖线） */
.alumni-danmaku__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  flex-shrink: 0;
}

/* 弹幕两行位置：第一行 20%，第二行 60% */
.alumni-danmaku__item--row-1 {
  top: 20%;
}

.alumni-danmaku__item--row-2 {
  top: 60%;
}

/* ────────────────────────────────────────────────────────────────
   13. 响应式适配（手机端 ≤ 768px）
   ──────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .tp-star-map {
    min-height: 80dvh;
  }

  .tp-star-map>#app {
    min-height: 80dvh;
    display: flex;
    flex-direction: column;
  }

  .tp-star-map>#particles-bg {
    height: 100%;
    max-height: none;
  }

  /* 英雄区 */
  .tp-star-map .hero-section {
    padding: 48px 10px 50px;
  }

  /* 地图区域 */
  .tp-star-map .map-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    min-height: 0;
  }

  /* 模态框 */
  .tp-star-map .modal-overlay {
    position: fixed;
  }

  .tp-star-map .modal-header,
  .tp-star-map .modal-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* 定位按钮 */
  .tp-star-map .btn-locate {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .tp-star-map .location-row {
    flex-direction: column;
  }

  /* 统计区 */
  .tp-star-map .stats-section {
    gap: 10px;
    padding: 20px 16px 32px;
  }

  .tp-star-map .stat-card {
    padding: 18px 20px;
    min-width: 130px;
  }

  .tp-star-map .stat-number {
    font-size: 1.8rem;
  }

  /* 成功页 */
  .tp-star-map .success-map-view {
    padding: 16px 12px;
  }

  .tp-star-map #success-mini-map {
    height: 180px;
  }

  .tp-star-map .success-thanks {
    padding: 36px 16px;
  }

  .tp-star-map .success-thanks-badge {
    width: 64px;
    height: 64px;
    font-size: 1.6rem;
  }

  .tp-star-map .success-thanks-title {
    font-size: 1.2rem;
  }

  /* 弹幕 */
  .alumni-danmaku {
    height: 100px;
  }

  .alumni-danmaku__text {
    font-size: 13px;
  }

  .alumni-danmaku__author {
    font-size: 11px;
  }

  /* 校友 ticker */
  .alumni-ticker__card {
    padding: 10px 24px;
    max-width: 240px;
  }

  .alumni-ticker__quote {
    font-size: 0.78rem;
  }
}

/* ============================================================
   英文 HERO 标语:逗号处断成两句(全断点),<1500px 居中 / ≥1500px 左下角
   - <br class="tp-hero__title-break"> 在逗号后强制换行,所有英文断点均为两行。
   - 视口 <1500px(笔记本/PAD/手机)整体居中,避开右下倒计时;
     ≥1500px(大屏)保持默认左下角,并下移标语使第一行顶部与右下倒计时顶部平齐。
   - 中文版完全不受影响(html[lang="en"] 不匹配中文页)。
   ============================================================ */
@media (max-width: 1499.98px) {
  html[lang="en"] .tp-hero {
    align-items: center;
    justify-content: center;
  }

  html[lang="en"] .tp-hero__content {
    text-align: center;
  }
}

/* ≥1500px 大屏左下角:英文标语下移,第一行顶部对齐右下倒计时顶部。
   padding-bottom = 倒计时 bottom + (倒计时高 165 - 标题高 134) - 标题 margin-bottom 24
                  = clamp(24px,4vh,60px) + 7px(与倒计时 bottom 同基准,随视口高度响应)。 */
@media (min-width: 1500px) {
  html[lang="en"] .tp-hero {
    padding-bottom: calc(clamp(24px, 4vh, 60px) + 7px);
  }
}

