body {
  font-family: 'Noto Sans', sans-serif;
  color: #111827;
  /* 改回极简白底，更耐看 */
  background: #ffffff;
}

/* Navbar：简单白底+底部细线 */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.navbar-item,
.navbar-link {
  color: #111827;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
}

.navbar-item:hover,
.navbar-link:hover {
  background: #f3f4f6;
  color: #111827;
}

.navbar-burger span {
  background-color: #4b5563;
}

/* Hero：与整体背景一致，只调文字 */
.hero {
  background: transparent;
  color: #111827;
}

/* 让标题所在的 hero 容器稍微更宽一点，减少断行 */
.hero .container.is-max-desktop {
  max-width: 1100px;
}

.hero .title {
  color: #111827;
}

.hero .subtitle,
.hero .publication-authors {
  color: #4b5563;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  letter-spacing: 0.01em;
  /* 略微减小字号，尽量保持在两行内（桌面端） */
  font-size: 2.1rem;
  line-height: 1.15;
}

.publication-authors {
  font-family: 'Google Sans', sans-serif;
}

/* Venue badge: CVPR 2026 */
.pub-venue-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.9rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  /* CVPR 风格：蓝色主色调 */
  background: linear-gradient(135deg, #003f7f, #2563eb);
  color: #f9fafb;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.publication-authors a {
  color: #2563eb !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
  margin: 0 0.25rem;
}

/* Teaser：跟 Hero 一样用统一背景 */
.teaser {
  background: transparent;
}

.teaser .hero-body {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.teaser-image {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: 960px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hero.teaser .subtitle {
  max-width: 920px;
  margin: 0 auto;
  color: #4b5563;
}

/* Section：基础间距 */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section .title {
  font-family: 'Google Sans', sans-serif;
}

.section p {
  color: #4b5563;
}

/* Figures */
.pipeline,
.instance_seg {
  display: block;
  margin: 1.5rem auto 1rem;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* 图片悬浮“浮动”效果 */
.lightbox-image {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lightbox-image:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

/* 点击放大弹出：更“高级”的 lightbox 动画 */
.figure-lightbox .modal-background {
  background: rgba(17, 24, 39, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.figure-lightbox .modal-content {
  width: min(1100px, 92vw);
  max-height: 88vh;
}

.figure-lightbox-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

#figure-lightbox-img {
  max-height: calc(88vh - 2.5rem);
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
}


/* 标题下面的按钮行（统一浅色、高级感） */
.publication-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.publication-links .button {
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2933;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  padding: 0.7rem 1.8rem;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.publication-links .button:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.publication-links .button .icon {
  margin-right: 0.3rem;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* BibTeX block：简洁代码卡片 */
#BibTeX pre {
  background: #f8fafc;
  color: #111827;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  border-left: 3px solid #cbd5f5;
  overflow-x: auto;
}

#BibTeX code {
  font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
}

/* Footer：用同一背景，只改变文字颜色 */
.footer {
  background: transparent;
  color: #6b7280;
}

.footer a {
  color: #111827;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .icon-link {
  font-size: 25px;
  color: #111827;
}