body {
  font-family: 'Noto Sans', sans-serif;
}


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

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

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

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


.publication-title {
  margin-top: -20px;
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}



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

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

.publication-venue {
    color: #555;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}


.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

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

.author-block {
  display: inline-block;
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-image-half {
  width: 50;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

* {box-sizing: border-box;}

.img-magnifier-container {
  position:relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 0%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 200px;
  height: 200px;
}

.img-magnifier-glass_init {
  position: absolute;
  border: 0px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 0px;
  height: 0px;
}


/* 滚动区域容器 */
.video-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;               /* 盒子之间的间距 */
  padding: 20px 0;         /* 上下留白 */
  width: 100%;
  
  /* 隐藏滚动条 */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.video-scroll-container::-webkit-scrollbar {
  display: none;
}

/* 单个视频+标题的包裹容器 */
.video-wrapper {
  display: flex;
  flex-direction: column;  /* 让视频和文字垂直排列 */
  align-items: center;     /* 文字居中对齐 */
  flex-shrink: 0;          /* 防止容器被挤压 */
}

/* 视频样式 */
.video-item {
  height: 300px;           /* 固定高度，保证对齐 */
  width: auto;             /* 宽度自适应 */
  border-radius: 8px;
  background-color: #000;
  margin-bottom: 10px;     /* 视频和下方文字的间距 */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 可选：加点阴影更好看 */
}

/* 小标题样式 */
.video-caption {
  font-size: 1.1rem;       /* 字体大小 */
  font-weight: 600;        /* 字体加粗 */
  color: #363636;          /* 字体颜色 */
}

/* 总标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

/* --- 整体容器风格 (仿照参考图的蓝色外框) --- */
.tldr-container {
  background-color: #ecf5ff;  /* 淡蓝色背景 */
  border: 1px solid #d0e6ff;  /* 稍微深一点的边框 */
  border-radius: 20px;        /* 大圆角 */
  padding: 30px;              /* 内边距 */
  box-shadow: 0 10px 25px rgba(0, 70, 150, 0.08); /* 柔和的蓝色系投影 */
  margin: 20px auto;
  max-width: 100%;
}

/* --- 顶部大标题 --- */
.tldr-header {
  text-align: center;
  margin-bottom: 25px;
}

.tldr-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a; /* 深色字体 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tldr-desc {
  font-size: 1.1rem;
  color: #475569;
  margin-top: -20px;
}

/* --- 滚动区域 --- */
.video-scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px; /* 给滚动条留点位置 */
  
  /* 隐藏滚动条样式 */
  scrollbar-width: thin; 
  scrollbar-color: #cbd5e1 transparent;
}
/* Chrome/Safari 隐藏滚动条 */
.video-scroll-row::-webkit-scrollbar {
  height: 6px;
}
.video-scroll-row::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 10px;
}

/* --- 单个视频卡片 (仿照图中的黑头卡片) --- */
.video-card {
  flex-shrink: 0;            /* 防止压缩 */
  background: #fff;
  border-radius: 12px;       /* 卡片圆角 */
  overflow: hidden;          /* 内容溢出隐藏，保证圆角效果 */
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

/* --- Q&A 卡片头部样式优化 --- */

/* 1. 把背景改成深色，这样白色字才能看清 */
.card-header {
  background-color: #1e293b !important; /* 深蓝灰色 (Slate 800) */
  /* 如果喜欢更亮的蓝色，可以用 background-color: #2563eb; */
  border-bottom: none !important; /* 去掉底部分割线，更简洁 */
}

/* 2. 调整标题文字：白色、变大 */
.card-header-title {
  color: #ffffff !important;      /* 纯白文字 */
  font-size: 1.3rem !important;   /* 字体加大 (原版约为 1rem) */
  font-weight: 700 !important;    /* 加粗 */
  padding: 1.2rem 1.5rem !important; /* 增加一点内边距，让文字呼吸感更好 */
  line-height: 1.4;
}

/* (可选) 让卡片悬停时，头部稍微变亮一点点，增加交互感 */
.card:hover .card-header {
  background-color: #334155 !important; /* 稍微亮一点的深灰 */
  transition: background-color 0.3s ease;
}

/* 卡片顶部的黑色标题栏 */
.card-header-example {
  background-color: #000;    /* 黑色背景 */
  color: #fff;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 视频本身 */
.video-card video {
  height: 280px;            /* 固定高度，非常重要 */
  width: auto;              /* 宽度自适应 */
  display: block;           /* 消除底部空隙 */
  object-fit: contain;      /* 保持比例 */
  background-color: #000;   /* 视频加载前的背景 */
}

/* --- 底部说明文字 --- */
.tldr-footer {
  text-align: center;
  margin-top: 20px;
  color: #64748b;
  font-size: 0.9rem;
}


.tldr-container {
  background-color: #eef6ff; /* 对应截图的浅蓝背景 */
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.tldr-title {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

/* 核心滚动区域包装器 */
.scroller-wrapper {
  position: relative; /* 关键：为绝对定位的按钮提供参考 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px; /* 防止视频贴边 */
}

/* 视频滚动行 */
.video-scroll-row {
  display: flex;
  overflow-x: auto;
  gap: 20px; /* 卡片之间的间距 */
  scroll-behavior: smooth;
  padding: 10px 5px; /* 给阴影留出空间 */
  width: 100%;
  
  /* 隐藏默认滚动条 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}
.video-scroll-row::-webkit-scrollbar { 
  display: none; /* Chrome/Safari/Webkit */
}

/* 视频卡片样式 */
.video-card {
  flex: 0 0 auto; /* 防止被压缩 */
  width: 280px;   /* 固定宽度，你可以根据需要调整 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background: #fff;
  transition: transform 0.2s;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.video-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 美化按钮样式 */
.scroll-btn {
  position: absolute; /* 绝对定位，悬浮在内容上 */
  top: 50%;
  transform: translateY(-50%); /* 垂直居中 */
  z-index: 10;
  
  width: 48px;
  height: 48px;
  border-radius: 50%; /* 圆形 */
  border: none;
  background-color: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* 漂亮的阴影 */
  cursor: pointer;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-size: 24px;
  color: #333;
  transition: all 0.3s ease;
}

/* 按钮位置 */
.scroll-btn.left {
  left: 10px; /* 距离左侧的距离 */
}

.scroll-btn.right {
  right: 10px; /* 距离右侧的距离 */
}

/* 按钮 Hover 效果 */
.scroll-btn:hover {
  background-color: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  transform: translateY(-50%) scale(1.1); /* 保持居中的同时放大 */
  color: #000;
}

.scroll-btn:active {
  transform: translateY(-50%) scale(0.95); /* 点击时的微缩效果 */
}

.tldr-footer {
  margin-top: 1.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

/* 新增：视频数字标签 */
.video-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
  pointer-events: none; /* 让鼠标可以穿透标签点击视频 */
}

/* 大框 */
.tldr-container {
  background-color: #eef6ff;
  border: 1px solid #dbdbdb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* 顶部标题 */
.tldr-header {
  margin-bottom: 24px;
}
.tldr-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1c1e21;
}

/* 滚动区域的包装器，用于定位箭头 */
.scroller-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* 滚动区域 */
.video-scroll-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0;
  flex-grow: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.video-scroll-row::-webkit-scrollbar {
  display: none;
}

/* 视频卡片 */
.video-card {
  flex: 0 0 280px;
  width: 280px;
  background-color: #f7f8fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative; /* 为数字标签定位 */
}

/* 新增：视频数字标签 */
.video-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1rem;
  pointer-events: none; /* 让鼠标可以穿透标签点击视频 */
}

.video-card video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  background-color: #e9ebee;
}

/* 左右滚动箭头按钮 */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.2s, transform 0.2s;
}
.scroll-btn:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.scroll-btn.left {
  left: -20px;
}
.scroll-btn.right {
  right: -20px;
}

/* 底部注释 */
.tldr-footer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #8a8d91;
}

/* --- 新增 Answer 部分样式 --- */
  
.answer-wrapper {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.answer-toggle {
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 0.9rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.answer-toggle:hover {
  background-color: #fff;
  border-color: #94a3b8;
  color: #0f172a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 箭头动画 */
.answer-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.7rem;
}

/* 当激活时，旋转箭头 */
.answer-toggle.active .arrow {
  transform: rotate(180deg);
}

.answer-content {
  max-height: 0; /* 默认隐藏 */
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease;
  opacity: 0;
  margin-top: 0;
  text-align: center;
  font-family: monospace; /* 用等宽字体显示数字更清晰 */
  font-size: 1rem;
  color: #334155;
}

/* 激活显示状态 */
.answer-content.open {
  max-height: 100px; /* 足够显示内容的高度 */
  opacity: 1;
  margin-top: 10px;
}

/* 美化文字标签 */
.label-real {
  color: #16a34a; /* 绿色 */
  font-weight: bold;
}

.label-fake {
  color: #dc2626; /* 红色 */
  font-weight: bold;
  margin-left: 15px; /* 与前一个分开点 */
}