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


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

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

.publication-links {
  margin-top: 1.25rem;
}

.link-block {
  display: inline-block;
}

.coming-soon-link {
  position: relative;
}

.coming-soon-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 0.35rem 0.65rem;
  background-color: #363636;
  color: #fff;
  font-size: 0.8rem;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  pointer-events: none;
  z-index: 10;
}

.coming-soon-link:hover::after {
  opacity: 1;
  visibility: visible;
}

.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-mu0 {
  font-family: 'Noto Serif', 'Castoro', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.12em;
  letter-spacing: -0.02em;
  color: #F77F00;
  margin-right: 0.1em;
}

.publication-mu0 sub {
  font-size: 0.58em;
}

.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;
  margin: 0 0.4em;
}

.publication-footnotes {
  margin-top: 0.25rem;
}

.publication-footnotes .eql-cntrb + .eql-cntrb {
  margin-left: 1.25em;
}

.publication-affiliations {
  margin-top: 0.5rem;
}

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

.tldr-box {
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background-color: #f0f4f8;
  border-left: 4px solid hsl(204, 86%, 53%);
  border-radius: 6px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.trace-extract-overview {
  align-items: flex-start;
}

.trace-extract-panel {
  display: flex;
  flex-direction: column;
}

.trace-extract-title {
  margin-bottom: 0.5rem !important;
}

.trace-extract-panel-right .trace-extract-title {
  margin-bottom: 1.6rem !important;
}

.trace-extract-media {
  flex: none;
}

.trace-extract-dataset-buttons {
  margin-bottom: 1.25em;
}

.trace-extract-caption {
  margin-top: 0.3em !important;
  line-height: 1.5;
}

.trace-extract-panel-right .trace-extract-caption {
  margin-top: 0.8em !important;
}

.trace-comparison-controls {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.trace-comparison-viewer {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.5rem;
}

.trace-comparison-card {
  background: #fafafa;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  padding: 1rem;
  height: 100%;
}

.trace-comparison-label {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.trace-comparison-figure {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ededed;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.trace-comparison-figure--input {
  max-width: 250px;
}

.trace-comparison-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.trace-comparison-description {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #363636;
  font-style: italic;
}

/* Interactive 3D trace viewer (section 1.2) */
.trace-3d-interactive {
  max-width: 980px;
  margin: 0 auto;
}

.t3d-group-buttons {
  margin-bottom: 0.75em;
}

.t3d-samples {
  margin-bottom: 1em;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.t3d-sample-btn {
  border-radius: 6px;
}

.t3d-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dbdbdb;
  background: #f5f5f7;
}

.t3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.t3d-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
}

.t3d-canvas canvas:active {
  cursor: grabbing;
}

/* Top-left stack: input image + its task description, over the canvas. */
.t3d-topleft {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30%;
  max-width: 240px;
  z-index: 2;
}

.t3d-overlay {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  background: #000;
}

.t3d-overlay-img {
  display: block;
  width: 100%;
  height: auto;
}

.t3d-overlay figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2px 6px;
  font-size: 0.72rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}

.t3d-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.6rem;
  margin-top: 1em;
}

.t3d-control {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4a4a4a;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #eef1f5;
  cursor: pointer;
  transition: background 0.15s ease;
}

.t3d-control:hover {
  background: #e2e7ee;
}

.t3d-control input {
  margin-right: 0.45rem;
  vertical-align: middle;
  accent-color: hsl(204, 86%, 42%);
  cursor: pointer;
}

.t3d-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 0.85em;
}

.t3d-timeline-label {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.4rem;
  min-width: 130px;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #1a1a1a;
}

/* The numeric value stands apart from the title: darker, monospace. */
.t3d-timestep-val,
.t3d-timestep-max,
.t3d-pointsize-val {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(204, 86%, 42%);
}

.t3d-timestep,
.t3d-pointsize {
  width: 55%;
  max-width: 420px;
  vertical-align: middle;
  cursor: pointer;
  accent-color: hsl(204, 86%, 42%);
}

.t3d-task {
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 0.8rem;
  line-height: 1.35;
  font-style: italic;
  text-align: left;
  color: #2a2a2a;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
}

.t3d-task:empty {
  display: none;
}

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

.realworld-baseline-grid {
  max-width: 980px;
  margin: 0 auto;
}

.realworld-baseline-label {
  margin-bottom: 0.5rem;
}

.realworld-baseline-viewer {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dbdbdb;
  background: #000;
}

.realworld-baseline-viewer video {
  width: 100%;
  height: auto;
  display: block;
}


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

.logo {
  width: 40px;
  height: 40px;
}

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

/* Table styles */
.table-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #363636;
  line-height: 1.5;
}

.table-container {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 100%;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: white;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
}

.table-container th,
.table-container td {
  padding: 0.75rem;
  text-align: center;
  border: 1px solid #dbdbdb;
  vertical-align: middle;
}

.table-container th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #363636;
}

.table-container thead th {
  border-bottom: 2px solid #dbdbdb;
}

.table-container tbody tr:hover {
  background-color: #fafafa;
}

.table-container td strong {
  font-weight: 600;
}
