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

.phygile {
  font-weight: bold;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


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

/* Author list styling */
.author-list {
  margin-top: 20px;
  margin-bottom: 15px;
}

.author-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-bottom: 8px;
}

.author-name {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #3d4f5f;
}

.author-name sup {
  font-size: 0.7rem;
  color: #5a6f7f;
  margin-left: 1px;
}

/* Affiliation list styling */
.affiliation-list {
  margin-top: 15px;
  margin-bottom: 10px;
}

.affiliation-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 25px;
  margin-bottom: 5px;
}

.affiliation {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  color: #4a5f70;
}

.affiliation sup {
  font-size: 0.65rem;
  margin-right: 2px;
}

/* Author notes styling */
.author-notes {
  margin-top: 12px;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
  color: #6b7c8a;
}

.author-notes span {
  margin: 0 10px;
}

.author-notes sup {
  font-size: 0.65rem;
}

/* Abstract section styling */
.abstract-section {
  background-color: #f5f5f5;
  padding: 3rem 0;
}

.abstract-section .title {
  margin-bottom: 1.5rem;
}

.abstract-section .content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.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;
  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-video-column {
}

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

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

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

/* ====== Results: Pipeline Comparison ====== */
.results-section {
  padding-bottom: 1rem;
}

.comparison-group {
  margin-bottom: 3rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 12px;
  border-radius: 14px;
  background: #fafafa;
  padding: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.comparison-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-left .comparison-cell {
  flex: 1;
}

.comparison-left .comparison-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.comparison-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-right .comparison-cell:last-child {
  flex: 1;
}

.comparison-right .comparison-cell:last-child video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.comparison-cell {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.comparison-cell video {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Shared sync controls */
.sync-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 8px 14px;
  background: #f0f0f0;
  border-radius: 10px;
}

.sync-play-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #4a5568;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background 0.15s;
}

.sync-play-btn:hover {
  background: #2d3748;
}

.sync-progress-wrap {
  flex: 1;
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.sync-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 3px;
  width: 0%;
  pointer-events: none;
  transition: width 0.1s linear;
}

.sync-time {
  font-family: 'Google Sans', monospace;
  font-size: 0.75rem;
  color: #718096;
  white-space: nowrap;
  flex-shrink: 0;
}

.cell-label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Google Sans', sans-serif;
  z-index: 2;
  letter-spacing: 0.3px;
}

.generated-label {
  background: rgba(102, 126, 234, 0.88);
  color: #fff;
}

.finetuned-label {
  background: rgba(118, 75, 162, 0.88);
  color: #fff;
}

.real-label {
  background: rgba(39, 174, 96, 0.88);
  color: #fff;
}

.text-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
}

.motion-text-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.motion-icon {
  font-size: 1.4rem;
  color: #cbd5e0;
  margin-bottom: 0.8rem;
}

.motion-text-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.6rem;
}

.motion-text-desc {
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ====== More Real Robot Videos ====== */
.more-videos-section {
  background: #fafbfc;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.gallery-item video {
  width: 100%;
  display: block;
}

.gallery-label {
  padding: 10px 14px;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a5568;
  text-align: center;
  background: #fff;
}

@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr;
  }
  .comparison-left {
    flex-direction: row;
  }
  .video-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
