body {
  font-family: 'Inter', 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: 'Inter', 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: 'Inter', sans-serif;
}

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

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.logo {
  width: 35%;
}


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

/* Tab Styles */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tab-button {
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: hsl(204, 86%, 53%) !important;
  color: white !important;
}

.tab-button:not(.active):hover {
  background-color: hsl(204, 86%, 90%) !important;
}

.tab-content {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

* {box-sizing: border-box;}

.img-comp-container {
  position: relative;
  width: 100%;
  /* 使用 aspect-ratio 保持图片比例，根据实际图片比例调整 */
  aspect-ratio: 3 / 2;
}

.img-comp-img {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.img-comp-img img {
  display: block;
  vertical-align: middle;
  /* 覆盖 Bulma 的 max-width，让图片填满容器 */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay 内的图片需要固定宽度（由 JS 设置），防止随 overlay 容器缩放 */
.img-comp-overlay img {
  width: auto !important;
  max-width: none !important;
}

.img-comp-slider {
  position: absolute;
  z-index: 9;
  cursor: ew-resize;
  /*set the appearance of the slider: a vertical line*/
  width: 2px;
  height: 100%;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  top: 0 !important;
}

.divider-soft{
  height:2px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.03)
  );
  opacity: 0.9;
}

.line{
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);  /* 灰色线 */
  margin: 24px 0;
}

.mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  vertical-align: middle;
}

.mark .icon{
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark.ok{ color: #22c55e; }  /* green */
.mark.no{ color: #ef4444; }  /* red */

  .table-wrap {
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    background: #fff;
  }

  table.clean-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
  }

  table.clean-table thead th {
    background: #f6f7f9;
    color: #111827;
    font-weight: 600;
    padding: 12px 12px;
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
    white-space: nowrap;
  }

  table.clean-table tbody td {
    padding: 12px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
  }

  table.clean-table tbody tr:nth-child(even) {
    background: #fbfbfc;
  }

  table.clean-table tbody tr:hover {
    background: #f7fafc;
  }

  table.clean-table th,
  table.clean-table td {
    border-right: 1px solid #f0f0f0;
  }

  table.clean-table th:last-child,
  table.clean-table td:last-child {
    border-right: none;
  }

  /* Center the 4 middle icon columns */
  .clean-table th:nth-child(3),
  .clean-table th:nth-child(4),
  .clean-table th:nth-child(5),
  .clean-table th:nth-child(6),
  .clean-table td:nth-child(3),
  .clean-table td:nth-child(4),
  .clean-table td:nth-child(5),
  .clean-table td:nth-child(6) {
    text-align: center;
    vertical-align: middle;
  }

  /* Mark badge */
  .mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    line-height: 0; /* IMPORTANT: remove baseline offset */
  }

  .mark.ok {
    background: rgba(34, 197, 94, 0.18);
    color: #16a34a;
  }

  .mark.no {
    background: rgba(239, 68, 68, 0.18);
    color: #dc2626;
  }

  .mark svg {
    display: block; /* IMPORTANT: avoids top-left alignment bugs */
    width: 14px;
    height: 14px;
  }

  .leaderboard-col {
    word-break: break-word;
    line-height: 1.35;
  }