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


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

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

.method-name {
  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;
  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;
}

.placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  background: #f5f5f5;
  border: 2px dashed #bbb;
  border-radius: 10px;
  color: #888;
  font-size: 1rem;
}

.results-carousel .item .placeholder-box {
  min-height: 250px;
  border: none;
}

.publication-venue-line {
  font-family: 'Google Sans', sans-serif;
  color: #666;
  margin-top: 0.25rem;
}

.figure-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 0.75rem;
  border-radius: 6px;
}

.figure-caption {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.section-alt {
  background: #fafafa;
}

.carousel-caption {
  font-size: 0.95rem;
  padding: 0.35rem 0;
  text-align: center;
  background: #fff;
}

.carousel-note {
  margin-top: 0.75rem;
  color: #555;
}

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

/* Real-world comparison viewer */
.task-tabs {
  margin-top: 1rem;
}

.task-description {
  margin-bottom: 1rem;
}

.compare-video {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.compare-video.is-ours {
  border: 3px solid hsl(204, 86%, 53%);
}

.compare-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.compare-video figcaption {
  background: #fff;
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
  text-align: center;
}

.compare-video.is-ours figcaption {
  font-weight: bold;
}

.highlight-stats {
  margin: 0.5rem 0 1.5rem;
}

.highlight-stats .stat {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: hsl(204, 86%, 45%);
  margin-bottom: 0.25rem;
}

.result-notes {
  margin-top: 0.5rem;
}

.result-note-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

#restart-videos {
  margin-top: 1rem;
}

/* Per-clip result shown when a comparison video finishes */
.video-wrap {
  position: relative;
  overflow: hidden;
}

.video-wrap video {
  transition: filter 0.4s ease, transform 0.4s ease;
}

.compare-video.is-done .video-wrap video {
  filter: blur(3px) brightness(0.8);
  /* Slight zoom hides the dark fringe blur leaves at the edges. */
  transform: scale(1.05);
}

.outcome-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: outcome-in 0.35s ease-out;
  pointer-events: none;
}

.outcome-overlay svg {
  width: 22%;
  max-width: 88px;
  min-width: 40px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.outcome-overlay svg circle {
  stroke: none;
}

.outcome-overlay svg path {
  fill: none;
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outcome-overlay.is-success svg circle {
  fill: #23a55a;
}

.outcome-overlay.is-fail svg circle {
  fill: #e03b3b;
}

.outcome-label {
  font-family: 'Google Sans', sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
}

@keyframes outcome-in {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .outcome-overlay { animation: none; }
  .video-wrap video { transition: none; }
}
