/* ==========================================================================
   强调色增强样式 - Enhanced Accent Color Styles
   ========================================================================== */

/* 为主要元素添加强调色装饰 */
.main-content {
  position: relative;
}

/* 增强的页面装饰条 */
.accent-border-top {
  position: relative;
}

.accent-border-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #012F63 0%, #FE667B 50%, #1a4f8a 100%);
  z-index: 10;
}

/* 强调色按钮样式 */
.btn-accent {
  background: #FE667B;
  color: white !important;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(254, 102, 123, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-accent::after {
  display: none;
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 102, 123, 0.4);
  color: white !important;
}

.btn-accent:hover::before {
  left: 100%;
}

/* 强调色悬浮卡片 */
.floating-card {
  background: #ffffff !important; /* 强制使用白色背景 */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(1, 47, 99, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(1, 47, 99, 0.06);
  position: relative;
  overflow: hidden;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FE667B 0%, #ff8599 50%, #a29bfe 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(1, 47, 99, 0.15);
  border-color: rgba(254, 102, 123, 0.2);
}

.floating-card:hover::before {
  opacity: 1;
}

/* 强调色文字效果 */
.accent-text {
  background: linear-gradient(135deg, #012F63 0%, #1a4f8a 55%, #2E6EA6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.news-panel {
  position: relative;
  max-height: 17rem;
  margin: 0.8rem 0 1.7rem;
  padding: 1rem 1.25rem 1rem 1.45rem;
  overflow-y: auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(1, 47, 99, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(1, 47, 99, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(254, 102, 123, 0.65) rgba(1, 47, 99, 0.06);
}

.news-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #FE667B 0%, #ff8599 50%, #a29bfe 100%);
}

.news-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.news-panel li {
  margin-bottom: 0.35rem;
  padding: 0.35rem 0;
  line-height: 1.45;
}

.news-panel li:hover {
  transform: none !important;
}

.news-paper-link {
  color: #012F63;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(254, 102, 123, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.news-paper-link:hover {
  color: #FE667B;
  border-bottom-color: #FE667B;
}

.news-highlight-oral {
  color: #C7355A;
  font-weight: 800;
  background: rgba(254, 102, 123, 0.12);
  border: 1px solid rgba(254, 102, 123, 0.28);
  border-radius: 999px;
  padding: 0.08rem 0.42rem;
  white-space: nowrap;
}

.news-panel::-webkit-scrollbar {
  width: 8px;
}

.news-panel::-webkit-scrollbar-track {
  background: rgba(1, 47, 99, 0.06);
  border-radius: 999px;
}

.news-panel::-webkit-scrollbar-thumb {
  background: rgba(254, 102, 123, 0.65);
  border-radius: 999px;
}

.primary-gradient-text {
  background: linear-gradient(135deg, #012F63 0%, #1a4f8a 50%, #FE667B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.author-highlight {
  color: #C7355A !important;
  font-weight: 800;
  background: linear-gradient(180deg, transparent 58%, rgba(254, 102, 123, 0.24) 58%);
  padding: 0 0.08em;
}

/* 图标样式 - 使用主色而不是强调色 */
.fas, .fab, .far {
  color: #012F63; /* 主色 */
  transition: all 0.3s ease;
}

.fas:hover, .fab:hover, .far:hover {
  color: #1a4f8a; /* 主色的浅色变体 */
  transform: scale(1.05);
}

.profile-summary-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.65rem 0 2.1rem;
}

.profile-summary-stack .highlight-block {
  margin-bottom: 0;
}

.quick-jump-nav {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1200;
  font-family: inherit;
}

.quick-jump-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-width: 4.6rem;
  height: 2.55rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(26, 79, 138, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1a4f8a;
  box-shadow: 0 12px 30px rgba(16, 31, 56, 0.16);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  backdrop-filter: blur(10px);
}

.quick-jump-nav summary::-webkit-details-marker {
  display: none;
}

.quick-jump-nav summary:hover {
  border-color: rgba(26, 79, 138, 0.42);
  color: #0f3157;
  transform: translateY(-1px);
}

.quick-jump-nav[open] summary {
  background: #1a4f8a;
  color: #ffffff;
}

.quick-jump-nav nav {
  position: absolute;
  right: 0;
  bottom: 3.05rem;
  display: grid;
  gap: 0.32rem;
  min-width: 10.6rem;
  padding: 0.55rem;
  border: 1px solid rgba(26, 79, 138, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(16, 31, 56, 0.18);
  backdrop-filter: blur(12px);
}

.quick-jump-nav nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.62rem;
  border-radius: 0.55rem;
  color: #26384f;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
}

.quick-jump-nav nav a:hover {
  background: rgba(26, 79, 138, 0.085);
  color: #1a4f8a;
}

.quick-jump-nav nav i {
  width: 1.05rem;
  color: #1a4f8a;
  text-align: center;
}

.research-profile-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0.38rem 0 0.15rem 1.05rem;
}

.profile-evidence-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.52rem;
  border: 1px solid rgba(26, 79, 138, 0.18);
  border-radius: 999px;
  background: rgba(26, 79, 138, 0.055);
  color: #1a4f8a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

.profile-evidence-links a:hover {
  border-color: rgba(26, 79, 138, 0.36);
  background: rgba(26, 79, 138, 0.095);
  color: #0f3157;
}

.profile-evidence-links span {
  color: #7a2434;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.scholar-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.15rem;
  text-decoration: none !important;
}

.scholar-badge img {
  display: block;
  max-width: 100%;
  height: 24px;
}

.generalization-figure {
  max-width: 980px;
  margin: 0.45rem auto 0;
  text-align: center;
}

.generalization-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(1, 47, 99, 0.1);
  box-shadow: 0 4px 16px rgba(1, 47, 99, 0.08);
}

@media (max-width: 768px) {
  .generalization-figure img {
    border-radius: 8px;
  }
}

/* Sidebar图标保持主色 */
.sidebar .fas, .sidebar .fab, .sidebar .far,
.author__urls .fas, .author__urls .fab, .author__urls .far {
  color: #012F63 !important;
}

.sidebar .fas:hover, .sidebar .fab:hover, .sidebar .far:hover,
.author__urls .fas:hover, .author__urls .fab:hover, .author__urls .far:hover {
  color: #FE667B !important; /* 悬停时使用强调色 */
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1rem 0 1.4rem;
}

.contact-strip span,
.contact-strip a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(1, 47, 99, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #012F63 !important;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(1, 47, 99, 0.06);
}

.contact-strip a:hover {
  border-color: rgba(254, 102, 123, 0.45);
  color: #C7355A !important;
  transform: translateY(-1px);
}

.contact-strip .fas,
.contact-strip .fab {
  color: #FE667B !important;
}

/* 强调色分割线 */
.divider-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FE667B 50%, transparent 100%);
  margin: 2rem 0;
  border: none;
}

/* 强调色引用块 */
.quote-accent {
  background: #f8f9fa !important; /* 强制使用浅色背景 */
  border-left: 4px solid #FE667B;
  padding: 1.25rem 1.65rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(1, 47, 99, 0.08);
  position: relative;
  margin: 1.4rem 0 1.2rem;
  color: #012F63 !important; /* 确保文字颜色 */
}

.quote-accent::before {
  content: '"';
  font-size: 4rem;
  color: #FE667B;
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 15px;
  font-family: serif;
}

/* 强调色进度条 */
.progress-accent {
  height: 8px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-accent-bar {
  height: 100%;
  background: linear-gradient(90deg, #FE667B 0%, #ff8599 100%);
  border-radius: 10px;
  transition: width 1s ease;
  position: relative;
}

.progress-accent-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 强调色标签 */
.tag-accent {
  background: linear-gradient(135deg, #FE667B 0%, #ff8599 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin: 0.25rem;
  box-shadow: 0 2px 8px rgba(254, 102, 123, 0.3);
  transition: all 0.3s ease;
}

.tag-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 102, 123, 0.4);
}

/* 强调色链接装饰 */
.link-accent {
  color: #012F63;
  text-decoration: none;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
}

.link-accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FE667B 0%, #ff8599 100%);
  transition: width 0.3s ease;
}

.link-accent:hover {
  color: #FE667B;
}

.link-accent:hover::after {
  width: 100%;
}

/* 强调色悬浮动画 */
.hover-float {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-float:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(1, 47, 99, 0.12);
}

/* 强调色脉冲动画 */
.pulse-accent {
  animation: pulse-accent 2s infinite;
}

@keyframes pulse-accent {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 102, 123, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(254, 102, 123, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 102, 123, 0);
  }
}

/* 强调色渐变背景动画 */
.bg-gradient-animate {
  background: linear-gradient(-45deg, #012F63, #1a4f8a, #FE667B, #ff8599);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 移动端优化 */
@media (max-width: 768px) {
  .highlight-blocks {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .floating-card {
    margin: 1rem 0;
  }
  
  .btn-accent {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* 深色主题由 assets/css/dark-mode.css 显式接管（html[data-theme="dark"]），
   不再依赖 prefers-color-scheme 强制浅色 */

/* 滚动触发动画 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 强调色加载动画 */
.loading-accent {
  width: 40px;
  height: 40px;
  border: 3px solid #e9ecef;
  border-top: 3px solid #FE667B;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 确保所有重要元素的背景和文字颜色 */
body {
  background-color: #ffffff !important;
  color: #012F63 !important;
}

.highlight-block, .paper-box, .floating-card, blockquote, .quote-accent {
  background: #ffffff !important;
  color: #012F63 !important;
}

.highlight-block *, .paper-box *, .floating-card *, blockquote *, .quote-accent * {
  color: #012F63 !important;
}

/* 但保持按钮和标签的颜色 */
.btn-accent, .tag-accent, .badge {
  color: white !important;
}

/* Sidebar layout fixes */
.sidebar {
  max-width: 220px !important;
}

.profile_box {
  flex-wrap: wrap;
}

.sidebar.sticky {
  position: sticky;
  top: 2em;
}

.author__avatar img {
  max-width: 160px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
}

.author__content {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.profile-intro {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.72rem 0.78rem;
  border-left: 3px solid #FE667B;
  border-radius: 8px;
  background: rgba(1, 47, 99, 0.035);
  color: #344154;
  font-size: 0.78rem;
  font-weight: 520;
  line-height: 1.45;
  text-align: left;
}

.profile-contact-grid {
  display: grid;
  flex: 1 0 100%;
  grid-template-columns: repeat(auto-fit, minmax(7.8rem, 1fr));
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.85rem;
}

.profile-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-width: 0;
  min-height: 2.25rem;
  padding: 0.42rem 0.36rem;
  border: 1px solid rgba(1, 47, 99, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #012F63 !important;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(1, 47, 99, 0.05);
}

.profile-contact-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-contact-item .fas,
.profile-contact-item .fab {
  flex: 0 0 auto;
  color: #FE667B !important;
  font-size: 0.9rem;
}

a.profile-contact-item:hover {
  border-color: rgba(254, 102, 123, 0.45);
  color: #C7355A !important;
  transform: translateY(-1px);
}

.profile-contact-cv {
  border-color: rgba(254, 102, 123, 0.42);
  background: rgba(254, 102, 123, 0.07);
}

.author__urls-wrapper {
  width: 100%;
}

.author__urls li {
  white-space: normal !important;
  word-wrap: break-word;
}

.credential-list,
.experience-list {
  display: grid;
  gap: 0.92rem;
  margin: 0.8rem 0 1.55rem;
}

.credential-card,
.experience-card {
  display: grid;
  grid-template-columns: minmax(8.4rem, 9.5rem) 3.3rem minmax(0, 1fr);
  column-gap: 0.95rem;
  align-items: start;
  padding: 1rem 1.1rem;
  overflow: visible;
}

.credential-card {
  grid-template-columns: minmax(8.4rem, 9.5rem) 4.15rem minmax(0, 1fr);
}

.credential-period,
.experience-period {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #526173;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.credential-period i,
.experience-period i,
.credential-line i {
  color: #FE667B !important;
  flex: 0 0 1.08rem;
  width: 1.08rem;
  text-align: center;
}

.credential-logo {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: contain;
  align-self: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  padding: 0.08rem;
  filter: drop-shadow(0 2px 4px rgba(1, 47, 99, 0.12));
}

.experience-logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(1, 47, 99, 0.08);
  box-shadow: 0 4px 12px rgba(1, 47, 99, 0.07);
  padding: 0.34rem;
}

.credential-content h3,
.experience-content h3 {
  margin: 0 0 0.42rem;
  color: #012F63;
  font-size: 1.02rem;
  line-height: 1.25;
}

.credential-line {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  column-gap: 0.38rem;
  align-items: baseline;
  margin-top: 0.23rem;
  color: #2d3748;
  font-size: 0.94rem;
  line-height: 1.45;
}

.credential-line span {
  min-width: 0;
}

.cn-name {
  color: #667085;
  font-size: 0.9em;
  font-weight: 600;
}

.media-link {
  background: #ffffff !important;
  color: #012F63 !important;
  border: 1px solid rgba(1, 47, 99, 0.14) !important;
  box-shadow: 0 4px 12px rgba(1, 47, 99, 0.08) !important;
}

.media-link i {
  color: #FE667B !important;
}

.media-link:hover {
  color: #C7355A !important;
  border-color: rgba(254, 102, 123, 0.5) !important;
  background: rgba(254, 102, 123, 0.06) !important;
}

@media (max-width: 720px) {
  .credential-card,
  .experience-card {
    grid-template-columns: 3rem minmax(0, 1fr);
    row-gap: 0.45rem;
  }

  .credential-period,
  .experience-period {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .credential-logo {
    width: 3rem;
    height: 3rem;
  }

  .experience-logo {
    width: 2.85rem;
    height: 2.85rem;
  }
}


/* 移动端：sidebar 不 sticky，避免覆盖正文 */
@media (max-width: 924px) {
  .sidebar.sticky {
    position: relative;
    top: 0;
    max-width: 100% !important;
  }

  .profile-contact-grid {
    max-width: 30rem;
  }
}

.hidden { display: none !important; }

/* Research trajectory timeline */
.research-trajectory {
  margin: 1.2rem 0 1.7rem;
  padding: 1.05rem 1.15rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(1, 47, 99, 0.028), rgba(254, 102, 123, 0.026)),
    #fff;
  border: 1px solid rgba(1, 47, 99, 0.075);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(1, 47, 99, 0.065), 0 2px 6px rgba(1, 47, 99, 0.035);
}

.trajectory-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.trajectory-heading h2 {
  margin: 0 0 0.18rem;
  color: #12345A;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.trajectory-heading p {
  margin: 0;
  color: #53687f;
  font-size: 0.80rem;
  line-height: 1.4;
}

.trajectory-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #4d6077;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  padding-top: 0.14rem;
}

.trajectory-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
}

.trajectory-legend .dot {
  width: 0.56rem;
  height: 0.56rem;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid #2E6EA6;
  box-sizing: border-box;
}

.trajectory-legend .dot-accepted {
  background: #2E6EA6;
}

.trajectory-legend .dot-highlight {
  background: #FE667B;
  border-color: #FE667B;
}

.trajectory-axis {
  position: relative;
  height: 1.15rem;
  margin: 0.25rem 0 0.35rem 8.7rem;
  border-top: 1px solid rgba(1, 47, 99, 0.14);
}

.trajectory-axis span {
  position: absolute;
  top: -0.13rem;
  transform: translateX(-50%);
  padding-top: 0.32rem;
  color: #6a7d91;
  font-size: 0.68rem;
  font-weight: 650;
}

.trajectory-axis span::before {
  content: "";
  position: absolute;
  top: -0.1rem;
  left: 50%;
  width: 1px;
  height: 0.36rem;
  background: rgba(1, 47, 99, 0.20);
}

.trajectory-axis .axis-tick {
  position: absolute;
  top: -0.08rem;
  width: 1px;
  height: 0.24rem;
  transform: translateX(-50%);
  background: rgba(1, 47, 99, 0.16);
}

.trajectory-lanes {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.trajectory-lane {
  display: grid;
  grid-template-columns: 8.7rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.lane-label {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: #12345A;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.25;
}

.lane-label i {
  width: 1.05rem;
  color: #FE667B;
  text-align: center;
}

.lane-track {
  position: relative;
  min-height: 4.45rem;
  border-radius: 12px;
  background:
    linear-gradient(to right, rgba(1, 47, 99, 0.055) 1px, transparent 1px) 0 0 / 33.333% 100%,
    linear-gradient(to right, rgba(1, 47, 99, 0.12), rgba(1, 47, 99, 0.12)) center / 100% 1px no-repeat,
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(1, 47, 99, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.trajectory-lane-compact .lane-track {
  min-height: 3.65rem;
}

.trajectory-link {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--y);
  height: 0;
  color: inherit !important;
  text-decoration: none !important;
}

.trajectory-link:hover .timeline-label {
  color: #C7355A;
}

.trajectory-link:hover .label-above {
  transform: translate(-50%, -1.75rem);
}

.trajectory-link:hover .label-below {
  transform: translate(-50%, 0.78rem);
}

.trajectory-link:hover .span-line {
  background: rgba(254, 102, 123, 0.45);
}

.span-line {
  position: absolute;
  left: min(var(--start), var(--end));
  width: max(calc(var(--end) - var(--start)), calc(var(--start) - var(--end)));
  top: 0;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(46, 110, 166, 0.34), rgba(46, 110, 166, 0.64));
  border-radius: 99px;
  transition: background 0.2s;
  z-index: 1;
}

.trajectory-link.same-month .span-line {
  left: var(--start);
  width: 1.2rem;
  transform: translate(-0.6rem, -50%);
}

.trajectory-link.same-month .arxiv-dot {
  transform: translate(calc(-50% - 0.42rem), -50%);
}

.trajectory-link.same-month .accepted-dot {
  transform: translate(calc(-50% + 0.42rem), -50%);
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-sizing: border-box;
  box-shadow: 0 1px 5px rgba(1, 47, 99, 0.18), 0 0 0 3px rgba(255, 255, 255, 0.86);
}

.arxiv-dot {
  background: #fff;
  border: 2px solid #2E6EA6;
}

.accepted-dot {
  background: #2E6EA6;
  border: 2px solid #2E6EA6;
}

.highlight-dot {
  background: #FE667B;
  border-color: #FE667B;
}

.timeline-label {
  position: absolute;
  top: 0;
  transform: translate(-50%, -1.62rem);
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #233d58;
  border: 1px solid rgba(1, 47, 99, 0.12);
  box-shadow: 0 2px 8px rgba(1, 47, 99, 0.08);
  font-size: 0.66rem;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s, transform 0.2s;
  z-index: 3;
  pointer-events: none;
}

.timeline-venue {
  color: #5D7188;
  font-size: 0.60rem;
  font-weight: 680;
}

.timeline-label::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 0.54rem;
  background: rgba(1, 47, 99, 0.16);
  transform: translateX(-50%);
}

.label-above {
  transform: translate(-50%, -1.62rem);
}

.label-above::after {
  top: 100%;
}

.label-below {
  transform: translate(-50%, 0.66rem);
}

.label-below::after {
  bottom: 100%;
}

@media (max-width: 820px) {
  .trajectory-heading {
    flex-direction: column;
  }

  .trajectory-axis {
    margin-left: 0;
  }

  .trajectory-lane {
    grid-template-columns: 1fr;
    gap: 0.32rem;
  }
}

/* Publications filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid rgba(1, 47, 99, 0.06);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 140px;
  flex: 1 1 140px;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #012F63;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.filter-group select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #012F63;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-group select:hover,
.filter-group select:focus {
  border-color: #FE667B;
  box-shadow: 0 0 0 3px rgba(254, 102, 123, 0.1);
  outline: none;
}

.filter-reset-btn {
  padding: 0.5rem 1.2rem;
  border: 1px solid #FE667B;
  border-radius: 8px;
  background: #fff;
  color: #FE667B;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  height: fit-content;
}

.filter-reset-btn:hover {
  background: #FE667B;
  color: #fff;
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    min-width: 100%;
  }
}

/* 现代化的 paper-box 样式 - 优雅的学术论文展示 */
.paper-box {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap !important;
  background: #ffffff !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(1, 47, 99, 0.06), 0 2px 6px rgba(1, 47, 99, 0.04);
  border: 1px solid rgba(1, 47, 99, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-bottom: 1.1rem;
  align-items: center;
  backdrop-filter: blur(10px);
  scroll-margin-top: 2.5rem;
}

.paper-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(1, 47, 99, 0.1), 0 4px 15px rgba(254, 102, 123, 0.08);
  border-color: rgba(254, 102, 123, 0.12);
}

.paper-box .paper-box-image {
  position: relative;
  width: 390px !important;
  min-width: 390px !important;
  max-width: 390px !important;
  overflow: visible;
  background: transparent;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 390px !important;
  align-self: center !important;
  padding: 1.15rem 0 1.15rem 1.15rem !important;
  box-sizing: border-box;
}

.paper-box-image::before {
  display: none;
}

.paper-image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  text-decoration: none !important;
  position: relative;
  z-index: 2;
  background: transparent;
}

.paper-box-image-duo {
  gap: 0.26rem;
}

.paper-box-image-duo .paper-image-link {
  width: 100%;
}

.paper-box-image-duo .paper-image-link img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 170px;
}

.paper-image-caption {
  align-self: stretch;
  margin: 0 0 0.18rem;
  color: #53687f !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  flex-wrap: wrap;
  font-size: 0.70rem;
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: 0;
  text-align: center;
}

.paper-image-kind,
.paper-image-caption span {
  display: inline-block;
  margin-right: 0;
  padding: 0.08rem 0.48rem 0.09rem;
  border-radius: 999px;
  background: #e9edf2;
  color: #173b59;
  border: 1px solid rgba(1, 47, 99, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 1px 2px rgba(1, 47, 99, 0.05);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.paper-image-kind {
  align-self: center;
  margin: 0.08rem 0 0;
}

.paper-box-image:not(.paper-box-image-duo) .paper-image-caption {
  margin-top: 0.22rem;
  margin-bottom: 0;
}

.paper-box-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(1, 47, 99, 0.12);
  position: relative;
  background: transparent;
}

.paper-box:hover .paper-box-image img {
  transform: none;
  box-shadow: 0 8px 25px rgba(1, 47, 99, 0.12);
}

.paper-box-image .badge {
  display: none;
}

.paper-box .paper-box-text {
  padding: 1.15rem 1.35rem !important;
  flex: 1 1 auto !important;
  min-width: 0;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  position: relative;
}

.paper-box.paper-box-single-figure {
  flex-direction: column !important;
  align-items: stretch !important;
}

.paper-box.paper-box-single-figure .paper-box-image {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  align-self: stretch !important;
  padding: 1.15rem 1.15rem 0.2rem !important;
}

.paper-box.paper-box-single-figure .paper-image-link img {
  width: auto;
  max-width: 100%;
  max-height: 310px;
}

.paper-box.paper-box-single-figure .paper-box-text {
  padding: 1.1rem 1.55rem 1.55rem !important;
}

.paper-box-text h3 {
  margin: 0 0 0.68rem 0;
  font-size: 1.08rem;
  font-weight: 650;
  color: #12345A;
  line-height: 1.48;
  letter-spacing: 0;
}

.paper-box-text p {
  margin: 0.5rem 0;
  color: #495057;
  line-height: 1.6;
  font-size: 0.92rem;
}

.paper-box-text .authors {
  font-weight: 500;
  color: #2F3D4C;
  margin-bottom: 0.5rem;
  font-size: 0.90rem;
  line-height: 1.5;
}

.paper-box-text .authors strong {
  color: #FE667B;
  font-weight: 700;
}

.paper-box-text .venue {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  width: fit-content;
  margin: 0.08rem 0 0.62rem;
  padding: 0.28rem 0.58rem;
  border: 1px solid rgba(55, 113, 158, 0.24);
  border-radius: 8px;
  background: #DDEFFA;
  color: #23577E;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.42;
  letter-spacing: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 12px rgba(35, 87, 126, 0.11);
}

.paper-box-text .venue::before {
  display: none;
}

.paper-box-text .paper-tldr {
  margin: 0.48rem 0 0.2rem;
  padding: 0.48rem 0.62rem;
  border-left: 3px solid rgba(254, 102, 123, 0.55);
  border-radius: 6px;
  background: rgba(1, 47, 99, 0.035);
  color: #40546A;
  font-size: 0.84rem;
  line-height: 1.48;
}

.paper-box-text .paper-tldr span {
  color: #12345A;
  font-weight: 700;
}

.paper-box-text .paper-short-name {
  color: #4F6680;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.52rem;
  letter-spacing: 0.02em;
}

.paper-box-text .paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.30rem;
  margin: 0.08rem 0 0.58rem;
}

.paper-box-text .paper-timeline {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  margin: -0.16rem 0 0.48rem;
  color: #5D7188;
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1.42;
}

.paper-box-text .paper-timeline i {
  color: #2E6EA6;
  font-size: 0.74rem;
}

.paper-box-text .paper-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.16rem 0.46rem;
  border-radius: 999px;
  background: rgba(1, 47, 99, 0.06);
  color: #33536f !important;
  border: 1px solid rgba(1, 47, 99, 0.08);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.paper-box-text .paper-tag[data-tag="CCF-A"],
.paper-box-text .paper-tag[data-tag="CCF-B"] {
  background: rgba(254, 102, 123, 0.08);
  color: #ad3f50 !important;
  border-color: rgba(254, 102, 123, 0.14);
}

.paper-box-text .paper-tag[data-tag="First Author"],
.paper-box-text .paper-tag[data-tag="Co-First Author"],
.paper-box-text .paper-tag[data-tag="Oral"] {
  background: rgba(1, 47, 99, 0.09);
  color: #012F63 !important;
  border-color: rgba(1, 47, 99, 0.14);
}

.paper-box-text .links {
  display: flex;
  gap: 0.36rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

@media (min-width: 769px) {
  .paper-box-text .links {
    flex-wrap: nowrap;
  }
}

/* 响应式设计 - 移动端改为上下布局 */
@media (max-width: 768px) {
  .paper-box {
    flex-direction: column !important;
    margin-bottom: 1.8rem;
    border-radius: 12px;
  }
  
  .paper-box .paper-box-image {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    height: auto;
    min-height: 0;
    padding: 1rem 1rem 0 !important;
    order: 1;
  }

  .paper-box-image-duo {
    gap: 0.32rem;
  }

  .paper-image-caption {
    margin-bottom: 0.18rem;
    font-size: 0.72rem;
  }

  .paper-box-image-duo .paper-image-link img {
    width: 100%;
    max-height: none;
  }
  
  .paper-box-image::before {
    display: none;
  }
  
  .paper-box:hover .paper-box-image img {
    transform: none;
  }
  
  .paper-box .paper-box-text {
    padding: 1.2rem !important;
    order: 2;
  }
  
  .paper-box-text h3 {
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
  }

  .paper-box-text .paper-tags {
    gap: 0.3rem;
  }

  .paper-box-text .paper-tag {
    white-space: normal;
  }
  
  .paper-box-text .links {
    gap: 0.6rem;
    margin-top: 0.8rem;
  }
}

/* 增强的按钮样式 */
.paper-box-text .btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  background: #ffffff;
  color: #C7355A !important;
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(254, 102, 123, 0.24);
  box-shadow: 0 2px 5px rgba(1, 47, 99, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

@media (max-width: 480px) {
  .contact-strip {
    gap: 0.5rem;
  }

  .contact-strip span,
  .contact-strip a {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    padding: 0.5rem 0.45rem;
    font-size: 0.85rem;
  }

  .paper-box-text .btn-accent {
    flex: 1 1 calc(50% - 0.6rem);
    min-width: 0;
    padding: 0.5rem 0.65rem;
  }
}

.paper-box-text .btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.paper-box-text .btn-accent:hover::before {
  left: 100%;
}

.paper-box-text .btn-accent:hover {
  transform: translateY(-2px);
  background: #FE667B;
  border-color: #FE667B;
  box-shadow: 0 6px 15px rgba(254, 102, 123, 0.20);
  color: white !important;
}

.paper-box-text .btn-accent:active {
  transform: translateY(0);
}

/* 脉动效果的徽章 */
.pulse-accent {
  animation: pulse-accent 2s infinite;
}

@keyframes pulse-accent {
  0% {
    box-shadow: 0 4px 12px rgba(254, 102, 123, 0.25);
  }
  50% {
    box-shadow: 0 4px 20px rgba(254, 102, 123, 0.4);
  }
  100% {
    box-shadow: 0 4px 12px rgba(254, 102, 123, 0.25);
  }
}

/* 小红书风格的网格布局 */
.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 2rem 0 !important;
}

.blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(1, 47, 99, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(1, 47, 99, 0.15);
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-image:hover img {
  transform: none;
}

.blog-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #FE667B;
  color: white;
  padding: 0.4em 0.8em;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(254, 102, 123, 0.3);
  z-index: 10;
}

.blog-card-content {
  padding: 1.2rem;
}

.blog-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #012F63;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* 统一的blog按钮样式 - 与publication按钮保持一致 */
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #FE667B;
  color: white !important;
  text-decoration: none !important;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(254, 102, 123, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
}

/* 完全禁用全局链接的下划线效果 */
.blog-link::after {
  display: none !important;
}

.blog-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.blog-link:hover::before {
  left: 100%;
}

.blog-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(254, 102, 123, 0.3);
  color: white !important;
  text-decoration: none !important;
}

.blog-link:active {
  transform: translateY(0);
}

.blog-link i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: scale(1.1);
}



/* 响应式设计 */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
  }
  
  .blog-card-image {
    height: 180px;
  }
  
  .blog-card-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
  
  .blog-description {
    font-size: 0.85rem;
  }
  
  .blog-links {
    gap: 0.5rem;
    flex-direction: column;
  }
  
  .blog-link {
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
    border-radius: 20px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  
  .blog-link i {
    font-size: 0.85em;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
} 


/* ==========================================================================
   2026-07-18 刷新：masthead 站点名 / 导航激活态 / 主题切换 / Awards / Services / Footer
   ========================================================================== */

/* --- Masthead：wordmark + 主题切换按钮 --- */
.masthead__menu-home-item {
  display: block !important;
}

.masthead__menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.masthead__menu .greedy-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.masthead__wordmark {
  font-weight: 800 !important;
  font-size: 1.08rem;
  letter-spacing: 0.015em;
  color: #012F63;
}

.greedy-nav .masthead__menu-item a.active {
  color: #FE667B !important;
  font-weight: 800;
  position: relative;
}

.greedy-nav .masthead__menu-item a.active::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.28rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #FE667B, #ff8599);
}

.theme-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(1, 47, 99, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #012F63;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(1, 47, 99, 0.06);
}

.theme-toggle:hover {
  border-color: rgba(254, 102, 123, 0.5);
  color: #FE667B;
  transform: translateY(-1px);
}

.theme-toggle i {
  font-size: 0.95rem;
  color: inherit !important;
}

/* --- Awards 卡片 --- */
.award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.8rem 0 1.55rem;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
}

.award-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(1, 47, 99, 0.08), rgba(254, 102, 123, 0.1));
  color: #012F63;
  font-size: 1.05rem;
}

.award-icon i {
  color: #C7355A !important;
}

.award-content {
  flex: 1 1 auto;
  min-width: 0;
}

.award-title {
  color: #012F63;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.3;
}

.award-org {
  color: #667085;
  font-size: 0.8rem;
  font-weight: 550;
  margin-top: 0.12rem;
}

.award-year {
  flex: 0 0 auto;
  color: #526173;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .award-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Services 卡片 --- */
.service-card {
  padding: 1rem 1.15rem;
  margin: 0.8rem 0 1.55rem;
}

.service-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.service-line i {
  color: #FE667B !important;
}

.service-role {
  color: #012F63;
  font-size: 0.98rem;
  font-weight: 750;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.62rem;
  border: 1px solid rgba(1, 47, 99, 0.12);
  border-radius: 999px;
  background: rgba(1, 47, 99, 0.045);
  color: #23577E;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
}

/* --- Footer --- */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(1, 47, 99, 0.1);
  background: linear-gradient(180deg, rgba(1, 47, 99, 0.025), rgba(1, 47, 99, 0.05));
  color: #344154;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.9rem 1.5rem 1.4rem;
}

.footer-name {
  color: #012F63;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-name-cn {
  color: #667085;
  font-size: 0.85rem;
  font-weight: 650;
  margin-left: 0.3rem;
}

.footer-tag {
  margin-top: 0.35rem;
  color: #526173;
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-heading {
  color: #012F63;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.footer-links a {
  display: block;
  color: #344154;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.14rem 0;
  text-decoration: none !important;
}

.footer-links a:hover {
  color: #C7355A;
}

.footer-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(1, 47, 99, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #012F63 !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 3px 10px rgba(1, 47, 99, 0.05);
}

.footer-icons a:hover {
  border-color: rgba(254, 102, 123, 0.5);
  color: #C7355A !important;
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem 1.1rem;
  border-top: 1px solid rgba(1, 47, 99, 0.08);
  color: #667085;
  font-size: 0.76rem;
  line-height: 1.5;
}

.footer-bottom a {
  color: #23577E;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

/* --- 移动端：快捷导航改小圆钮，减少遮挡 --- */
@media (max-width: 768px) {
  .quick-jump-nav {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .quick-jump-nav summary {
    min-width: 2.55rem;
    width: 2.55rem;
    padding: 0;
    opacity: 0.94;
  }

  .quick-jump-nav summary span {
    display: none;
  }
}


/* --- Interests 卡片 --- */
.interest-card {
  padding: 1.15rem 1.35rem;
  margin: 0.8rem 0 1.55rem;
}

.interest-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.interest-hero {
  flex: 0 0 auto;
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(1, 47, 99, 0.16);
}

.interest-intro {
  flex: 1 1 auto;
  min-width: 0;
}

.interest-title {
  color: #012F63;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.interest-text {
  color: #40546A;
  font-size: 0.9rem;
  line-height: 1.6;
}

.interest-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.05rem;
}

.interest-photo {
  margin: 0;
}

.interest-photo img {
  display: block;
  width: 100%;
  height: 15rem;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(1, 47, 99, 0.12);
  transition: transform 0.3s ease;
}

.interest-photo img:hover {
  transform: scale(1.015);
}

.interest-photo figcaption {
  margin-top: 0.4rem;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 720px) {
  .interest-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .interest-photos {
    grid-template-columns: 1fr;
  }

  .interest-photo img {
    height: 12rem;
  }
}


.interest-card + .interest-card {
  margin-top: -0.2rem;
}

.interest-photo-wide {
  margin-top: 0.85rem;
}

.interest-photo-wide img {
  height: auto;
  max-height: 27rem;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 720px) {
  .interest-photo-wide img {
    max-height: 17rem;
  }
}


/* 女友卡片：竖版人像更高的 hero */
.interest-hero-tall {
  width: 11rem;
  height: 14.6rem;
  object-position: center 22%;
}

/* Travel 分区内标题 */
.travel-group + .travel-group {
  margin-top: 1.05rem;
}

.travel-group-title {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: #012F63;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.travel-group-title i {
  color: #FE667B !important;
  font-size: 0.86rem;
}

/* 会议卡片：四图横排 */
.interest-photos-quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.55rem;
}

.interest-photos-quad .interest-photo img {
  height: 9rem;
  object-position: center;
}

@media (max-width: 720px) {
  .interest-photos-quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interest-photos-quad .interest-photo img {
    height: 8rem;
  }

  .interest-hero-tall {
    width: 9rem;
    height: 12rem;
  }
}


/* --- Awards 分组卡片（同校奖项合并） --- */
.award-card-group {
  display: block;
  padding: 1rem 1.35rem 0.7rem;
  margin: 0.8rem 0 1.55rem;
}

.award-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(1, 47, 99, 0.09);
}

.award-group-logo {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}

.award-group-name {
  color: #012F63;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.award-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.award-group-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.52rem 0;
  border-bottom: 1px dashed rgba(1, 47, 99, 0.08);
}

.award-group-list li:last-child {
  border-bottom: none;
}

.award-item-name {
  color: #2d3748;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
}

.award-item-year {
  flex: 0 0 auto;
  color: #526173;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}


/* 羽毛球卡：左右结构的横版 hero */
.interest-hero-figure {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.interest-hero-figure img {
  display: block;
}

.interest-hero-figure figcaption {
  margin-top: 0.35rem;
  max-width: 17rem;
  color: #667085;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}

.interest-hero-landscape {
  width: 17rem;
  height: 11.5rem;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .interest-hero-landscape {
    width: 100%;
    max-width: 22rem;
    height: 12rem;
  }

  .interest-hero-figure figcaption {
    max-width: 22rem;
  }
}

/* --- 图片点击放大 Lightbox --- */
#img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  background: rgba(9, 14, 23, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}

#img-lightbox.open {
  opacity: 1;
  visibility: visible;
}

#img-lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.interest-card .interest-hero,
.interest-card .interest-photo img,
.interest-hero-figure img {
  cursor: zoom-in;
}

.paper-image-link {
  cursor: zoom-in;
}


/* --- Academic Friends 卡片 --- */
.friends-card {
  padding: 1.15rem 1.35rem;
  margin: 0.8rem 0 1.55rem;
}

.friends-text {
  margin: 0;
  color: #2d3748;
  font-size: 0.95rem;
  line-height: 1.85;
}

.friend-link {
  color: #012F63;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(254, 102, 123, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.friend-link:hover {
  color: #FE667B;
  border-bottom-color: #FE667B;
}

.friends-note {
  margin: 0.55rem 0 0;
  color: #667085;
  font-size: 0.82rem;
  font-style: italic;
}


/* --- 非一作论文紧凑卡 + 可展开 Figures --- */
.paper-box.paper-box-compact {
  display: block !important;
}

.paper-box.paper-box-compact .paper-box-text {
  padding: 1.05rem 1.35rem !important;
}

.paper-more {
  margin-top: 0.6rem;
}

.paper-more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.78rem;
  border: 1px solid rgba(1, 47, 99, 0.14);
  border-radius: 999px;
  background: rgba(1, 47, 99, 0.04);
  color: #012F63;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: all 0.2s ease;
}

.paper-more summary::-webkit-details-marker {
  display: none;
}

.paper-more summary i {
  color: #FE667B;
  font-size: 0.82rem;
}

.paper-more summary:hover {
  border-color: rgba(254, 102, 123, 0.45);
  color: #C7355A;
}

.paper-more[open] summary {
  background: rgba(254, 102, 123, 0.08);
  border-color: rgba(254, 102, 123, 0.35);
  color: #C7355A;
}

.paper-more .paper-box-image {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0.85rem 0 0 !important;
}

.paper-more .paper-box-image-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-auto-flow: column;
  gap: 0.25rem 0.9rem;
  align-items: start;
}

.paper-more .paper-box-image-duo .paper-image-link img {
  max-height: 230px;
}

@media (max-width: 768px) {
  .paper-more .paper-box-image-duo {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
}


/* --- 非一作折叠区 --- */
.pub-group-details {
  margin: 0.2rem 0 0.8rem;
}

.pub-group-details > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.68rem 1.1rem;
  border: 1px dashed rgba(1, 47, 99, 0.22);
  border-radius: 12px;
  background: rgba(1, 47, 99, 0.03);
  color: #012F63;
  font-size: 0.92rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
  transition: all 0.25s ease;
}

.pub-group-details > summary::-webkit-details-marker {
  display: none;
}

.pub-group-details > summary::after {
  content: '▸';
  color: #FE667B;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.pub-group-details[open] > summary::after {
  transform: rotate(90deg);
}

.pub-group-details > summary i {
  color: #FE667B;
}

.pub-group-details > summary:hover {
  border-color: rgba(254, 102, 123, 0.45);
  background: rgba(254, 102, 123, 0.05);
}

.pub-group-count {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(1, 47, 99, 0.08);
  color: #526173;
  font-size: 0.76rem;
  font-weight: 800;
}

.pub-group-body {
  margin-top: 0.85rem;
}
