/* ============================================================
   index.css - 页面基础样式（精简自 STAR 模板，去掉 carousel/
   interpolation 相关样式，新增 .compare-label / .qual-grid）
   ============================================================ */

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

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

.footer .icon-link img {
  height: 25px;
}

.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 {
  font-family: 'Google Sans', sans-serif;
}

/* ============ 渐变标题（与原模板不同的客制化配色：极光紫青色） ============
   修改 linear-gradient 括号内的颜色值即可换成你喜欢的配色，
   例如模板原配色为 #FF6EC4, #9E6BF0, #7873F5, #34E2E2（粉→紫→蓝→青）。
   修改后请同步修改 index.html 副标题中四个首字母 span 的 color。 */
.title-gradient {
  font-size: 64px;
  font-family: 'Georgia', serif;
  background: linear-gradient(to right, #10002B, #5A189A, #9D4EDD, #48BFE3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.publication-venue {
  color: #555;
  width: fit-content;
  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-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============ 视频对比 item（原 .results-carousel .item 改为通用） ============ */

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

.compare-item .desc {
  background-color: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 14px;
  padding: 3px 10px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 128;
}

.compare-item video {
  margin: 0;
}

/* 对比滑块下方的场景标签 */
.compare-label {
  text-align: center;
  font-size: 18px;
  color: #666;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* ============ 全站图片统一宽度 ============
   页面中所有插图（架构图 / 定量表 / 定性图 / 延迟图）都限制为
   最大 1000px 并居中，保证各图视觉宽度一致。
   想整体调宽/调窄，改下面这一个数值即可。 */
.method-figure img,
.quantitative-figure img,
.qualitative-figure img,
.latency-figure img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

/* ============ 定性比较静态大图 ============ */

.qualitative-figure {
  margin: 0 auto 40px;
  text-align: center;
}

.qualitative-figure img {
  border: 1px solid #ddd;
  border-radius: 6px;
}

.qualitative-caption {
  /* 与 comparison.png 下方说明段的格式保持一致：
     限宽 900px、水平居中、两端对齐（字号颜色也用页面默认值） */
  max-width: 900px;
  margin: 24px auto 0;
  text-align: justify;
}

/* ============ Method 架构图 ============ */

.method-figure img {
  border-radius: 6px;
}

/* ============ 延迟对比图 ============ */

.latency-figure img {
  border-radius: 6px;
}

.video-caption {
  font-size: 1.5em;
  color: #666;
  margin-top: 8px;
  text-align: center;
}

/* ============ 版块之间的灰色分隔线 ============
   页面主体内容由多个并列的 <section> 组成（Hero / 视频两行 / Teaser /
   Abstract / Method / Comparison with SOTA / BibTeX）。
   给「紧跟上一个 section」的 section 顶部加一条细灰线，即每个版块之间
   会出现一条分隔横线。去掉这条规则即可移除所有分隔线。 */

body > section + section {
  border-top: 1px solid #e0e0e0;
}
