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


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

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

.coolname {
  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: #4A1FB4 !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;
}

.interpolation-image-wrapper-uncoco img {
  margin-top: 50px ;
  margin-bottom: 80px;
}
.interpolation-image-wrapper-tabletop img {
  margin-top: 70px ;
  margin-bottom: 100px;
}
.interpolation-image-wrapper-fine-grained img {
  /* margin-top: 50px ; */
  margin-bottom: 20px;
}
.interpolation-image-wrapper-zero-shot img {
  margin-top: 25px ;
  /* margin-bottom: 100px; */
}

.legend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  font-family: system-ui, sans-serif;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid #333;
  flex-shrink: 0;
}

.legend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.legend-title {
  font-weight: 600;
  color: #333;
}

.legend-toggle {
  font-family: 'Google Sans', system-ui, sans-serif;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  color: #333;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.legend-toggle:hover {
  background: #eeeeee;
  border-color: #aaa;
}

.legend-toggle:active {
  background: #e5e5e5;
}

.legend-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 31, 180, 0.15);
}

/* Wrapper acts as the scrollable viewport */
.scrollable-table-wrapper {
  overflow-x: auto;          /* horizontal scroll */
  max-width: 900px;          /* maximum visible width */
  width: 100%;               /* shrink on smaller windows */
  padding-bottom: 8px;
  margin: 1rem auto;         /* center the wrapper */
  box-sizing: border-box;    /* include padding in width */
  scroll-behavior: smooth;
}

/* Table is as wide as its content (columns fixed) */
.scrollable-table {
  border-collapse: collapse;
  width: max-content;        /* allows table to overflow wrapper */
  table-layout: auto;
}

/* Sticky first column */
.scrollable-table th:first-child,
.scrollable-table td:first-child {
  position: sticky;
  left: 0;
  text-align: right;
  font-weight: 600;
  background: #fff;
  z-index: 1;
  padding-right: 12px;
}

/* Sticky header row */
.scrollable-table th {
  position: sticky;
  top: 0;
  font-weight: 600;
  background: #fff;
  text-align: center;
}

/* Scene headers (all except first column) */
.scrollable-table th:not(:first-child) {
  text-align: center;
}

/* cells (all except first column) */
.scrollable-table td:not(:first-child) {
  text-align: center;
}

/* Image sizing and centering */
.scrollable-table td img {
  /* height: 250px;        */
  /* width: 250px;         */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Uncomment to override image sizing   */
/* .content .scrollable-table td img {
  max-width: none !important;
  height: 250px !important;
  width: 250px !important;
} */

/* Scene columns spacing */ 
.scrollable-table td:not(:first-child),
.scrollable-table th:not(:first-child) {
  padding: 4px 4px;
  min-width: 180px;     /* matches image width */
}

/* Make each cell a positioning context */
.scrollable-table td:not(:first-child) {
  position: relative;  /* needed for absolute positioning of tick/cross */
}

/* Status mark using pseudo-element */
.scrollable-table td[data-success="true"]::after,
.scrollable-table td[data-success="false"]::after {
  content: ''; /* will be replaced by symbol */
  position: absolute;
  top: 6px;   /* small offset from top */
  right: 6px; /* small offset from right */
  font-size: 20px; /* size of tick/cross */
  font-weight: bold;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8); /* subtle background for visibility */
  text-align: center;
  pointer-events: none; /* allow clicking the image without interference */
}

/* Tick mark for success */
.scrollable-table td[data-success="true"]::after {
  content: '✓';
  color: green;
}

/* Cross mark for failure */
.scrollable-table td[data-success="false"]::after {
  content: '✗';
  color: red;
}