body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  line-height: 1.65;
}


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

.link-block a {
    margin-top: 8px;
    margin-left: 2px;
    margin-right: 2px;
    min-width: 120px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    border: 1px solid #888;
}
.link-block a:hover {
    background-color: #f0f0f0;
    border: 1px solid #333;
}

.methodname {
  /* font-variant: small-caps; */
    font-weight: 600;
}

.emph {
    font-style: italic;
}

.teaser .hero-body {
  padding-top: 0;
  /* padding-bottom: 1rem; */
  min-width: 100px;
  margin-bottom: 1rem;
  margin-bottom: 0;
  align-items: center;
    justify-content: center;
}

.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 {
    visibility: hidden;
    overflow: hidden;
    width: 100%;
    max-height: 0;
}

.results-carousel .oneitem {
    background-color: #bbb;
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px);
    margin-top: 0;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 13px;
    padding: 0;
    font-size: 0;
    max-height: 560px;
    overflow-y: auto;
}

.results-carousel .twoitem {
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 56px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 0;
    font-size: 0;
}

#results-carousel-teaser .twentytwenty-container {
    aspect-ratio: 32 / 9;
}

#results-carousel-horizontal .twentytwenty-container {
    aspect-ratio: 4 / 3;
}

#results-carousel-vertical .twentytwenty-container {
    aspect-ratio: 0.75;
}

.slider-navigation-previous {
    top: calc(50% - 28px);
    left: calc(0% + 15px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
}

.slider-navigation-next {
    top: calc(50% - 28px);
    left: calc(100% - 15px - 42px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
}

.slider-pagination {
    top: calc(100% - 56px);
    display: inline-block;
}

.slider-pagination .slider-page {
    background-color: #FFF;
    box-shadow: 0 0 4px rgba(0, 0, 0, 1);
    display: inline-block;
}

.selectable{
    -webkit-touch-callout: all; /* iOS Safari */
    -webkit-user-select: all; /* Safari */
    -khtml-user-select: all; /* Konqueror HTML */
    -moz-user-select: all; /* Firefox */
    -ms-user-select: all; /* Internet Explorer/Edge */
    user-select: all; /* Chrome and Opera */
}

.controls-bar {
  display: flex;
  flex-wrap: wrap;        /* ← allow children to wrap */
  justify-content: center; /* centers children on each line */
  align-items: center;
  margin: 10px auto;
  width: 100%;
  max-width: 1030px;
  padding: 6px 0;
  position: relative;
}

/* A.1) Container around just the three tabs */
.tabs-container {
  display: flex;
  gap: 12px;
  /* Because .controls-bar is justify-content:center, this .tabs-container is centered */
}

.rotate-controls {
  display: flex;
  margin-left: auto;      /* push to the right edge of .controls-bar */
  align-items: center;    /* vertically center buttons */
}

/* A.2) Rotate button sits at the right edge of .controls-bar */
.rotate-button {
  width: 100px; /* fixed width for rotate buttons */
  position: static; /* default position */
  margin-left: auto; /* push to the right edge */
  /* background: #f5f5f5; */
  border: 1px solid #bbb;
  border-radius: 18px;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

#btn-traj {
  margin-left: 10px;
  width: 140px; /* fixed width for trajectory button */
}

#btn-pause {
  width: 80px; /* fixed width for pause button */
  margin-left: 10px;
}

@media (max-width: 670px) {

  .rotate-controls {
    margin-top: 10px;         /* space above the rotate controls */
    margin-left: 0;
  }
}

/* Font Awesome icon inside */
.rotate-button i {
  font-size: 0.95rem;

}


/* When disabled, make it semi‐transparent and cursor: default */
.rotate-button:disabled {
  opacity: 0.5;
  cursor: default;
}

.controls-bar .tab-button {
  background: #ffffff;
  border: 1px solid #bbb;
  border-radius:16px;
  padding: 6px 14px;
  margin-left: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.controls-bar .tab-button:hover {
  background: #f0f0f0;
  /* border-color: #888; */
}

.controls-bar .tab-button.active {
  border: 1px solid #394b6c;
}

.rotate-button:hover {
  background: #f0f0f0;
  border-color: #888;
}

/* ============== */
/* VIEWERS LAYOUT */
/* ============== */

/* Container holding all three “blocks” side by side (and wrapping) */
.viewers-container {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 5px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1050px;
}

/* Each individual viewer box */
.viewer {
  position: relative;
  width: 320px;
  height: 320px;
  flex: 1 1 320px;
  /* border: 1px solid #ddd; */
  border-radius: 6px;
  overflow: hidden;
  /* background: #f5f5f5; */
}

/* “Loading…” overlay inside each viewer */
.viewer .loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 245, 0.85);
  color: #333;
  font-family: sans-serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

/* Small caption above each viewer */
.viewer-caption {
  font-family: sans-serif;
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 4px;
  text-align: center;
  width: 100%;
}

/* ============== */
/* ASSEMBLED BOX  */
/* ============== */
/* General style for any “two‐line” viewer caption */
.viewer-caption,
.assembled-caption {
  font-family: sans-serif;
  font-size: 1.1rem;
    font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
  line-height: 1.8;
}

/* The <hr> between lines */
.viewer-caption hr,
.assembled-caption hr {
  border: none;
  /* color: #3730a3; */
  width: 0%;
  /* border-top: 1px solid #c0c9d5; */
  color: transparent;
  margin-top: 1px;
  margin-bottom: 2px;
}

/* Sub‐caption text (second line) slightly smaller and lighter */
.viewer-subcaption,
.assembled-subcaption {
  display: block;
  font-size: 0.95rem;
  /* background-color: #eaedf1; */
  font-weight: 400;
  margin-top: 4px;
  margin-bottom: 5px;
  border-radius: 999px;
  margin-left: 1rem;
  margin-right: 1rem;
  border: 1px solid rgba(79, 70, 229, 0.18);
  /* box-shadow: 0 38px 70px -48px rgba(79, 70, 229, 0.6); */
  color: #284065;
}


/* A wrapper around the two “sampled” viewers */
.assembled-container {
  display: flex;
  flex-wrap: wrap;       /* allow the two sampled to wrap within this box */
  justify-content: center; /* center the two sampled viewers */
  gap: 15px;
  /* flex: 2 1 600px;       try to keep the two side by side, but shrink if needed */
  /* border: 1px solid #bbb; */
  border-radius: 8px;
  padding: 15px;
  /* box-shadow: 0 3px 5px rgba(0,0,0,0.1); */
  background: #fcfcfc;
  width: 100%;
}

/* ─── PARENT CONTAINER ─── */
.slider-container {
  display: flex;
  flex-direction: column;   /* stack the canvas‐row and the info‐bar vertically */
  align-items: center;      /* center children horizontally */
  width: 99%;               /* 90% of parent’s width (as before) */
  margin: 1rem auto;        /* optional: add some vertical spacing between containers */
  box-sizing: border-box;
}

/* ─── CANVAS ROW (three blocks side by side) ─── */
.canvas-row {
    display: flex;            /* use flexbox to align three canvases side by side */
  justify-content: center;
  align-items: center; /* center the canvases vertically */
  width: 100%;
  margin-bottom: 1rem;            /* spacing between canvases and info bar */
  gap: 1rem;                       /* equal gap between each block */
}

/* Each block holds one canvas + caption */
.slider-block {
  flex: 1;                 /* each block takes equal share of available width */
  text-align: center;
}

/* Make sure each <canvas> itself doesn’t overflow its parent.
   You can adjust max-width if you want responsive resizing. */
.slider-block canvas {
  width: 100%;             /* scale to fill the block’s width */
  min-width: 150px;
  height: auto;            /* keep aspect ratio */
  border-radius: 8px;      /* as before */
  display: block;
  margin: 0 auto;
}

/* Caption under each canvas */
.slider-caption {
  color: #000;
  margin-top: 0.5rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.2;
  min-height: 2.2rem;       /* reserve vertical space even if text changes */
}

/* ─── INFO BAR: holds “s = …” and slider ─── */
.info-bar {
  display: flex;
  justify-content: center;    /* center both children horizontally */
  align-items: center;        /* vertically align the text & slider */
  max-width: 400px;
  width: 100%;                /* full width of the parent container */
  gap: 1rem;                  /* space between “s=…” and the slider */
  /* background: #f5f5f5; */
  /* border: 1px solid #ddd; */
  border-radius: 18px;
  height: 36px;;
}

/* The “s = …” text */
.s-display {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #333;
}

/* The <span> that actually updates */
.s-value {
    min-width: 120px; /* reserve space for the value */
  font-family: 'Times New Roman', Times, serif;
}

/* ─── SLIDER STYLING ─── */
/* You can adjust width to your liking or switch to % */
.frame-slider {
  width: calc(100% - 110px); /* fill remaining space in .info-bar */
  max-width: 400px;     /* prevent it from growing too large */
  /* You can add custom track/thumb styles here if desired */
}

/* OPTIONAL: when the window is very narrow, shrink the three canvases proportionally */
@media (max-width: 600px) {
  .canvas-row {
    flex-direction: column;    /* stack canvases vertically on small screens */
    gap: 1.5rem;
  }
}
/* Landing hero styling */
.hero.is-landing {
  background: radial-gradient(120% 120% at 20% 0%, #eef2ff 0%, #ffffff 55%, #f5f3ff 100%);
  position: relative;
  overflow: hidden;
}

.hero.is-landing::before,
.hero.is-landing::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.7;
  z-index: 0;
}

.hero.is-landing::before {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.25), rgba(79, 70, 229, 0));
}

.hero.is-landing::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0));
}

.hero.is-landing .hero-body {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.5rem 3.5rem;
}

.landing-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  padding: 3rem 3rem 2.5rem;
  border: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 10px 13px -12px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(10px);
}

.landing-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.page-stack {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.conference-badge {
  margin: 1.75rem auto 0;
  /* display: inline-flex; */
  align-items: center;
  justify-content: center;  
  gap: 0.75rem;
  padding: 0.6rem 0.6rem;
  /* border-radius: 999px; */
  /* background: rgba(99, 102, 241, 0.12); */
  color: #312e81;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  /* border: 1px solid rgba(99, 102, 241, 0.35); */
  /* box-shadow: 0 22px 50px -34px rgba(79, 70, 229, 0.45); */
}

.conference-name {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.spotlight-tag {
  font-size: 1rem;
  letter-spacing: 0.12em;
  position: relative;
  padding-left: 0.9rem;
}

.spotlight-tag::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(79, 70, 229, 0.65);
}

.hero-subtitle {
  margin: 1rem auto 0;
  font-size: 1.2rem;
  /* max-width: 560px; */
  color: #334155;
  font-weight: 500;
}

.hero-links {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  text-align: center;
}

.hero-links .link-block {
  margin: 0;
}

.hero-links .link-block a {
  margin: 0;
  min-width: 140px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: linear-gradient(135deg, #4338ca, #6366f1);
  color: #fff;
  box-shadow: 0 28px 50px -26px rgba(79, 70, 229, 0.85);
}

.hero-links .link-block a:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 56px -26px rgba(79, 70, 229, 0.95);
}

.hero-links .link-block a:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.65);
  outline-offset: 4px;
}

.hero-links .link-block a .icon {
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-links .link-block a img {
  filter: brightness(0) invert(1);
}

.authors-block {
  text-align: center;
  color: #1e293b;
}

.authors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 500;
  padding-top: 0.5rem;
}

.authors-list .author a {
  color: #3730a3;
}

.authors-list .author a:hover {
  text-decoration: underline;
}

.authors-block sup {
  font-size: 0.75em;
  margin-left: 2px;
  color: #6366f1;
}

.authors-affiliations {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  color: #475569;
  font-size: 0.95rem;
}

.authors-equal {
  margin-top: 0.65rem;
  color: #64748b;
  font-size: 0.9rem;
}

.tldr-card {
  margin: 2rem auto 0;
  max-width: 720px;
  /* background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(236, 233, 254, 0.95)); */
  border-radius: 20px;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.18);
  /* box-shadow: 0 38px 70px -48px rgba(79, 70, 229, 0.6); */
  font-size: 1.1rem;
  color: #284065;
}

.tldr-card strong {
  font-style: normal;
  color: #4338ca;
  margin-right: 0.5rem;
}

.soft-section {
  background: transparent;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.content-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 2.5rem 2.75rem;
  box-shadow: 0 48px 96px -68px rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.narrow-content {
  max-width: 90%;
  margin: 0 auto;
}

.framework-lead {
  padding-bottom: 1rem;
  text-align: left;
  color: #334155;
}

.section-title {
  position: relative;
  display: inline-flex;
  /* align-items: flex-start; */
  gap: 0.75rem;
  padding-left: 1.4rem;
  color: #1e3a8a;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #6366f1, #a855f7);
}

.gallery-hero {
  background: transparent;
}

.gallery-hero .hero-body {
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 40px 90px -65px rgba(59, 130, 246, 0.35);
}

.gallery-hero .viewers-container {
  /* background: rgba(255, 255, 255, 0.92); */
  /* border-radius: 24px; */
  /* padding: 2rem 1.5rem; */
  /* border: 1px solid rgba(148, 163, 184, 0.25); */
  /* box-shadow: 0 42px 80px -60px rgba(59, 130, 246, 0.35); */
  min-height: 320px;
  /* margin-left: -5%; */
  /* width: 110%; */
}

.gallery-hero .controls-bar {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  /* border: 1px solid rgba(148, 163, 184, 0.35); */
  /* box-shadow: 0 35px 70px -55px rgba(30, 64, 175, 0.4); */
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.vis-card {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 35px 70px -55px rgba(30, 64, 175, 0.4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.gallery-hero .controls-bar button {
  background: #eef2ff;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.4rem;
  font-weight: 600;
  color: #3730a3;
  transition: all 0.2s ease-in-out;
}

.gallery-hero .controls-bar button:hover,
.gallery-hero .controls-bar button:focus {
  background: #c7d2fe;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.gallery-hero .rotate-controls {
  display: flex;
  gap: 0.6rem;
}


.framework-hero .hero-body {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 42px 90px -68px rgba(79, 70, 229, 0.28);
}

.framed-image {
  border-radius: 24px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 45px 90px -65px rgba(30, 58, 138, 0.7);
  background-color: #ffffff;
}

#BibTeX pre code {
  display: block;
  padding: 1.5rem 1.75rem;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 18px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

pre {
  background: transparent;
  /* box-shadow: 0 42px 80px -65px rgba(15, 23, 42, 0.85); */
}

.link-block a.button.is-dark.disabled {
  background-color: #4a4a4a;
  opacity: 0.75;
  cursor: not-allowed;
  pointer-events: none;
}

.footer {
  padding-top: 2rem;
  background-color: #fff;
}

@media screen and (max-width: 1215px) {
  .landing-card {
    padding: 2.8rem 2.5rem 2.2rem;
  }
}

@media screen and (max-width: 1023px) {
  .hero.is-landing .hero-body {
    padding: 3.5rem 1.5rem 3rem;
  }

  .soft-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .landing-card {
    padding: 2.4rem 1.75rem 2rem;
  }

  .page-stack {
    gap: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .conference-badge {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    gap: 0.55rem;
  }

  .tldr-card {
    padding: 1.35rem 1.5rem;
    font-size: 1rem;
  }

  .content-card {
    padding: 2rem 1.75rem;
  }

  .gallery-hero .hero-body,
  .framework-hero .hero-body {
    padding: 2.5rem 1.75rem;
  }

  .gallery-hero .viewers-container {
    padding: 1.5rem 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .landing-card {
    padding: 1rem 1.75rem 1rem;
  }

  .landing-card .authors-list {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .landing-card .authors-affiliations {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .landing-card .title {
    font-size: 2rem;
  }

  .conference-badge {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .spotlight-tag {
    width: auto;
    padding-left: 0;
  }

  .spotlight-tag::before {
    display: none;
  }

  /* make the button on the landing hero smaller */
  .hero-links .link-block a {
    font-size: 0.8rem;
    min-width: 120px;
  }

  .tab-button {
    font-size: 0.85rem !important;
    padding: 0.5rem 1rem;
  }
}
