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 {
}

.publication-banner {
  max-height: parent;
}

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

.publication-header .hero-body {
}

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

.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 {
}

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

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

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

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.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%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.coorespond {
  font-size: smaller;
}

/* 让 QuantVSR 更显眼（任选一个效果就好） */
.publication-title .brand {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
}
.publication-title .sub {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  line-height: 1.25;
  display: inline-block;
}

/* 动态渐变 */
.rainbow {
  background: linear-gradient(
    90deg,
    #6366f1,
    #22d3ee,
    #f59e0b,
    #ef4444,
    #6366f1
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-move 6s linear infinite;
}
@keyframes rainbow-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ===== Visual Results Section ===== */

/* Thumbnail selector row */
.vr-thumb-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.vr-thumb {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #c0c0c0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  background: #e8e8e8;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vr-thumb:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.vr-thumb.active {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3), 0 6px 20px rgba(99, 102, 241, 0.3);
  transform: scale(1.15);
}

/* Divider between synthetic and real-world datasets */
.vr-thumb-divider {
  width: 2px;
  height: 70px;
  background: #d0d0d0;
  flex-shrink: 0;
  margin: 0 6px;
  align-self: center;
  border-radius: 1px;
}

.vr-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

/* Video groups */
.vr-group {
  display: none;
}

.vr-group-active {
  display: block;
}

/* 6-video grid: 3 columns x 2 rows */
.vr-grid {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.vr-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

/* 8-video grid: 4 columns x 2 rows */
.vr-grid-8 {
  grid-template-columns: repeat(4, 1fr);
}

/* 5-video grid: row1 = 2 centered, row2 = 3 */
.vr-grid-5 {
  grid-template-columns: repeat(6, 1fr);
}

.vr-grid-5 .vr-cell:nth-child(1) {
  grid-column: 2 / 4;
}

.vr-grid-5 .vr-cell:nth-child(2) {
  grid-column: 4 / 6;
}

.vr-grid-5 .vr-cell:nth-child(3) {
  grid-column: 1 / 3;
}

.vr-grid-5 .vr-cell:nth-child(4) {
  grid-column: 3 / 5;
}

.vr-grid-5 .vr-cell:nth-child(5) {
  grid-column: 5 / 7;
}

/* Individual video cell */
.vr-cell {
  text-align: center;
}

.vr-cell video {
  width: 100%;
  border-radius: 10px;
  display: block;
  background: #ddd;
}

.vr-label {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #555;
  font-family: "Google Sans", "Noto Sans", sans-serif;
}

.vr-label-ours {
  font-weight: 700;
  color: #6366f1;
}

/* Responsive: smaller thumbnails on mobile */
@media screen and (max-width: 768px) {
  .vr-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }

  .vr-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .vr-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .vr-grid-5 .vr-cell:nth-child(1),
  .vr-grid-5 .vr-cell:nth-child(2),
  .vr-grid-5 .vr-cell:nth-child(3),
  .vr-grid-5 .vr-cell:nth-child(4),
  .vr-grid-5 .vr-cell:nth-child(5) {
    grid-column: auto;
  }
}
