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


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


/* ── section spacing ── */
.comparison-section {
  padding: 3rem 1.5rem;
}
 
.comparison-section .section-heading {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.5rem;
}
.comparison-section .section-subheading {
  font-size: 0.95rem;
  color: #000000;
  max-width: 680px;
  line-height: 1.7;
  margin: 0 auto 2rem;
}
 
/* ── legend ── */
.legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #7a7a7a;
}
.legend-pip {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid;
  flex-shrink: 0;
}
.legend-pip.success { background: #eaf3de; border-color: #639922; }
.legend-pip.partial { background: #faeeda; border-color: #ba7517; }
.legend-pip.fail    { background: #fcebeb; border-color: #e24b4a; }
.legend-pip.empty   { background: #111;    border-color: #b5b5b5; border-style: dashed; }
 
/* ── scene block ── */
.scene-block {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.scene-block-header {
  background: #ffffff;
  padding: 0.6rem 1.25rem;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.scene-block-header .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #b5b5b5;
}
.scene-block-header .scene-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
 
/* ── query row ── */
.query-row {
  padding: 1.25rem 1.25rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}
.query-row:last-child { border-bottom: none; }
 
.query-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.query-chip {
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  margin-top: 2px;
  flex-shrink: 0;
}
.query-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  color: #000;
  line-height: 1.4;
}
.query-note {
  font-size: 0.78rem;
  color: #b5b5b5;
  margin-top: 2px;
}
 
/* ── methods grid ── */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.method-cell {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.method-name {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  color: #7a7a7a;
}
.method-name.ours { color: #3b6d11; }
 
/* ── result box ── */
.result-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #ffffff;
}
.result-box.success { border: 2px solid #639922; }
.result-box.partial { border: 2px solid #ba7517; }
.result-box.fail    { border: 2px solid #e24b4a; }
.result-box.empty   { border: 1px solid #e24b4a; background: #111; }
 

.result-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 

 
/* placeholder — remove once you add your videos */
.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  height: 100%;
  color: #cdcdcd;
  position: absolute;
  top: 0; left: 0;
}
.result-placeholder .fa-film { font-size: 1.4rem; }
.result-placeholder span { font-size: 0.68rem; }
 
/* ── status badge ── */
.status-badge {
  position: absolute;
  bottom: 6px; right: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  line-height: 1.5;
  z-index: 1;
}
.status-badge.success { background: #363636; color: #fff; }
.status-badge.partial { background: #f5f5f5; color: #4a4a4a; }
.status-badge.fail    { background: #f5f5f5; color: #7a7a7a; }
.status-badge.empty   { background: #2a2a2a; color: #9a9a9a; }
 
/* ── responsive ── */
@media (max-width: 560px) {
  .methods-grid { gap: 0.4rem; }
  .method-name  { font-size: 0.68rem; }
  .query-label  { font-size: 0.85rem; }
}
 
/* ── 2-col grid for disambiguation scenes ── */
.methods-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}
 
/* ── 3-col grid (explicit alias) ── */
.methods-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
 
/* ── context note inside scene block ── */
.scene-context {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.82rem;
  font-style: italic;
  color: #7a7a7a;
  background: #fafafa;
}
 
/* ── method sub-label (e.g. "voxel activation map") ── */
.method-name-sub {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  text-align: center;
  color: #b5b5b5;
  margin-top: -2px;
}
 
/* ── RelationField screenshot (image not video) ── */
.result-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
/* ── scene panel layout (fixed left scene + queries on right) ── */
.scene-body {
  display: grid;
  grid-template-columns: 240px 1fr;
}
.scene-panel {
  border-right: 1px solid #f0f0f0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
}
.scene-panel-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b5b5b5;
  text-align: center;
}
.scene-panel-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-panel-video video,
.scene-panel-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scene-queries {
  display: flex;
  flex-direction: column;
}
.scene-queries .query-row {
  flex: 1;
}
 
/* responsive: stack panel above queries on small screens */
@media (max-width: 640px) {
  .scene-body {
    grid-template-columns: 1fr;
  }
  .scene-panel {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .scene-panel-video {
    width: 120px;
    flex-shrink: 0;
  }
  .methods-grid-2col,
  .methods-grid-3col {
    max-width: 100%;
  }
}


/* ── two stacked viewpoint videos in one panel ── */
.scene-panel-split {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.scene-panel-split .scene-panel-video-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c0c0c0;
  text-align: center;
}
 


/* ── original scene row — always on top ── */
.scene-original-row {
  padding: 1rem 1.25rem 0.9rem;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.scene-original-row .scene-panel-label {
  margin-bottom: 0.55rem;
}
.scene-original-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-original-video video,
.scene-original-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
/* ══════════════════════════════
   RESULTS TAB UI
══════════════════════════════ */

.cat-hidden   { display: none !important; }
.scene-hidden { display: none !important; }

.results-category-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cat-btn {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  border: 2px solid #d0d0d0;
  background: #fff;
  color: #7a7a7a;
  cursor: pointer;
  transition: all 0.18s ease;
}
.cat-btn:hover { border-color: #3b6d11; color: #3b6d11; }
.cat-btn.active { background: #3b6d11; border-color: #3b6d11; color: #fff; }

.scene-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.scene-btn {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid #d0d0d0;
  background: #fff;
  color: #7a7a7a;
  cursor: pointer;
  transition: all 0.15s ease;
}
.scene-btn:hover  { border-color: #639922; color: #639922; }
.scene-btn.active { background: #639922; border-color: #639922; color: #fff; }

/* ══════════════════════════════
   RUNTIME COMPARISON SECTION
══════════════════════════════ */

.runtime-layout {
  display: grid;
  grid-template-columns: 6fr 2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1rem;
}

.runtime-chart-wrap {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem 1.25rem 1rem;
  min-height: 320px;
}

/* ── stat cards ── */
.runtime-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.runtime-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.runtime-card-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.runtime-card-label {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a7a7a;
  margin-bottom: 0.25rem;
}
.runtime-card-values {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.runtime-val {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}
.runtime-val.ours     { background: #eaf3de; color: #3b6d11; }
.runtime-val.baseline { background: #fcebeb; color: #c0392b; }
.runtime-card-note {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.4;
}

.runtime-footnote {
  font-size: 0.75rem;
  color: #b5b5b5;
  text-align: center;
  font-style: italic;
  margin-top: 1.5rem;
}

@media (max-width: 680px) {
  .runtime-layout {
    grid-template-columns: 1fr;
  }
}
