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

@media screen and (min-width: 1024px) {
  .container.is-fullhd,
  .container.is-max-widescreen {
    max-width: 1240px;
    width: calc(100% - 8rem);
  }
}

@media screen and (min-width: 1408px) {
  .container.is-fullhd,
  .container.is-max-widescreen {
    max-width: 1280px;
  }
}

@media screen and (min-width: 1024px) {
  .hero.teaser > .container.is-max-widescreen {
    max-width: 1024px;
  }

  .hero.teaser > .container.is-max-widescreen > .hero-body,
  body > .section > .container.is-max-widescreen {
    max-width: 922px;
  }

  .hero.teaser > .container.is-max-widescreen > .hero-body {
    margin-left: auto;
    margin-right: auto;
  }

  .hero.teaser .column.is-four-fifths {
    flex: none;
    max-width: 880px;
    width: 72%;
  }
}

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

.citation-section {
  background: #f6f9ff;
  border-top: 1px solid #d6e3f5;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  margin-top: 3.5rem;
  padding: 3rem 1.5rem 4rem;
}

.citation-section .title {
  color: #3a3333;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  text-align: center;
}

.citation-card {
  background: #fff;
  border: 1px solid #d6e3f5;
  border-left: 5px solid #1f4c7c;
  box-shadow: 0 18px 45px rgba(31, 76, 124, 0.08);
  margin: 0 auto;
  max-width: 860px;
  padding: 1.2rem 1.35rem;
}

.citation-card pre {
  background: transparent;
  color: #3f3838;
  font-family: 'Roboto Mono', 'Courier New', monospace;
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
  overflow-x: auto;
  padding: 0;
  white-space: pre;
}

.citation-card code {
  background: transparent;
  color: inherit;
  padding: 0;
}

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

.dnerf {
  font-variant: small-caps;
}

.dperact {
  font-variant: small-caps;
}

.teaser .hero-body {
  padding-top: 0;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}

.teaser video {
  object-fit: fill;
}

#glass {
  margin-left: -10px;
}

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

.hero > .hero-body {
  padding-bottom: 2.2rem;
  padding-top: 3.4rem;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  color: #1f4c7c;
  font-size: clamp(2.7rem, 4vw, 4.15rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0;
}

.publication-author-list {
  color: #111;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  font-weight: 400;
  line-height: 1.28;
  margin: 1.95rem auto 0.7rem;
}

.author-row,
.affiliation-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 2.2rem;
  justify-content: center;
}

.affiliation-row {
  color: #333;
  font-size: clamp(1.05rem, 1.15vw, 1.3rem);
  font-weight: 400;
  gap: 0.35rem 2.6rem;
  margin-top: 0.9rem;
}

.publication-author-list sup {
  font-size: 60%;
  line-height: 0;
}

.publication-link-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.publication-link-button {
  align-items: center;
  background: #f2f2f2;
  border-radius: 14px;
  color: #555;
  display: inline-flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.12rem;
  gap: 0.5rem;
  justify-content: center;
  min-width: 112px;
  padding: 0.55rem 1.15rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.publication-link-button:hover {
  background: #e8e8e8;
  color: #222;
}

.publication-link-button .icon {
  color: inherit;
  height: 1.05rem;
  width: 1.05rem;
}

.publication-link-button .publication-x-icon {
  font-family: 'Google Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
}

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

.project-video-section {
  padding-bottom: 2.8rem;
  padding-top: 0;
}

.project-demo-video {
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid #d6e3f5;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 76, 124, 0.1);
  display: block;
  height: auto;
  width: 100%;
}

.overview-click-note {
  align-items: center;
  background: #f4f8ff;
  border: 1px solid #b9cce8;
  border-left: 4px solid #1f4c7c;
  color: #173b63;
  display: inline-flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.45rem;
  line-height: 1.2;
  margin: 0.2rem 0 0.8rem;
  padding: 0.55rem 0.75rem 0.55rem 0.65rem;
}

.overview-click-note .icon {
  color: #1f4c7c;
  height: 1rem;
  width: 1rem;
}

.overview-interactive {
  position: relative;
}

.overview-interactive img {
  display: block;
  width: 100%;
}

.overview-hotspot,
.overview-target {
  border-radius: 8px;
  position: absolute;
}

.overview-hotspot {
  appearance: none;
  background: rgba(31, 76, 124, 0.015);
  border: 2px solid transparent;
  box-sizing: border-box;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  transform-origin: center center;
  transform: translate3d(0, 0, 0) scale(1);
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  z-index: 3;
}

.overview-hotspot-wide {
  z-index: 2;
}

.overview-hotspot-compact {
  z-index: 4;
}

.overview-hotspot:hover,
.overview-hotspot:focus-visible,
.overview-hotspot.is-hovering,
.overview-hotspot.is-active {
  background: rgba(31, 76, 124, 0.08);
  border-color: rgba(31, 76, 124, 0.96);
  box-shadow: 0 0 0 4px rgba(31, 76, 124, 0.12), 0 10px 24px rgba(31, 76, 124, 0.16);
  outline: none;
  transform: translate3d(0, -1px, 0) scale(1.012);
}

.overview-target {
  border: 3px solid transparent;
  box-sizing: border-box;
  box-shadow: none;
  pointer-events: none;
  transform: scale(1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
  z-index: 2;
}

.overview-target.is-active {
  background: rgba(31, 76, 124, 0.08);
  border-color: rgba(31, 76, 124, 0.98);
  box-shadow: 0 0 0 4px rgba(31, 76, 124, 0.14), 0 12px 28px rgba(31, 76, 124, 0.16);
  transform: scale(1.006);
}

.overview-hotspot-feature-dp {
  height: 10.7%;
  left: 14.65%;
  top: 13.30%;
  width: 10.25%;
}

.overview-hotspot-diffusion-policy {
  height: 14.65%;
  left: 34.40%;
  top: 17.15%;
  width: 8.85%;
}

.overview-hotspot-feature-vla {
  height: 15.35%;
  left: 17.48%;
  top: 48.10%;
  width: 10.78%;
}

.overview-hotspot-vla-backbone {
  height: 38.5%;
  left: 29.8%;
  top: 47.9%;
  width: 17.0%;
}

.overview-hotspot-stereo-extractor {
  height: 5.55%;
  left: 51.75%;
  top: 9.55%;
  width: 20.55%;
}

.overview-hotspot-vision-third {
  height: 7.95%;
  left: 66.85%;
  top: 22.78%;
  width: 6.95%;
}

.overview-hotspot-dino {
  height: 8.30%;
  left: 53.35%;
  top: 35.25%;
  width: 18.45%;
}

.overview-hotspot-vision-wrist {
  height: 7.95%;
  left: 66.85%;
  top: 52.65%;
  width: 7.00%;
}

.overview-hotspot-transformer-third {
  height: 7.40%;
  left: 88.08%;
  top: 24.60%;
  width: 8.65%;
}

.overview-hotspot-transformer-wrist {
  height: 7.35%;
  left: 88.08%;
  top: 57.55%;
  width: 8.65%;
}

.overview-hotspot-attention-detail {
  height: 27.0%;
  left: 52.3%;
  top: 70.7%;
  width: 23.2%;
}

.overview-hotspot-transformer-detail {
  height: 24.9%;
  left: 76.2%;
  top: 70.8%;
  width: 21.6%;
}

.overview-info-panel {
  background: #f4f8ff;
  border: 1px solid #b9cce8;
  border-left: 4px solid #1f4c7c;
  color: #2f1c1a;
  font-family: 'Google Sans', sans-serif;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  text-align: left;
}

.overview-info-panel h3 {
  color: #173b63;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.overview-info-panel p {
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0;
}

.overview-target-feature-extractor {
  height: 59.5%;
  left: 51.8%;
  top: 7.6%;
  width: 46.3%;
}

.overview-target-stereo-transformer {
  height: 16.3%;
  left: 77.8%;
  top: 77.7%;
  width: 18.9%;
}

.overview-target-attention {
  height: 21.0%;
  left: 53.2%;
  top: 74.5%;
  width: 21.1%;
}

.fragility-section {
  padding-top: 2rem;
}

.fragility-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

.fragility-heading .title {
  margin-bottom: 0;
}

.fragility-task-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
}

.fragility-task-grid::before {
  background: #b9cce8;
  bottom: 0;
  content: "";
  left: 50%;
  position: absolute;
  top: 2.15rem;
  transform: translateX(-50%);
  width: 1px;
}

.fragility-task {
  min-width: 0;
}

.fragility-task + .fragility-task {
  padding-left: 1.4rem;
}

.fragility-task:first-child {
  padding-right: 1.4rem;
}

.fragility-task > h3 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.55rem;
  text-align: center;
}

.fragility-reference {
  margin: 0 auto 0.9rem;
}

.fragility-reference h3,
.fragility-reference h4 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  text-align: center;
}

.fragility-reference-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fragility-reference-item {
  margin: 0;
}

.fragility-reference-item video {
  aspect-ratio: 520 / 376;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  display: block;
  object-fit: cover;
  object-position: left center;
  width: 100%;
}

.fragility-reference-item figcaption {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.45rem;
  text-align: center;
}

.fragility-zoom-row {
  display: flex;
  justify-content: center;
  margin: 0 0 1.1rem;
}

.zoom-hint {
  align-items: center;
  background: #f4f8ff;
  border: 1px solid #b9cce8;
  border-left: 4px solid #1f4c7c;
  color: #173b63;
  display: inline-flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  gap: 0.42rem;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.52rem 0.72rem 0.52rem 0.6rem;
  text-transform: uppercase;
}

.zoom-hint .icon {
  color: #1f4c7c;
  height: 0.95rem;
  width: 0.95rem;
}

.fragility-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fragility-item {
  margin: 0;
  position: relative;
}

.fragility-frame {
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  cursor: zoom-in;
  overflow: hidden;
}

.fragility-frame img {
  background: #f7f7f7;
  border: 0;
  display: block;
  height: 100%;
  object-fit: contain;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
  transition: transform 0.18s ease;
  width: 100%;
}

.fragility-item figcaption {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.45rem;
  text-align: center;
}

.fragility-issue {
  color: #555;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0.28rem auto 0;
  max-width: 15rem;
  text-align: center;
}

.fragility-depth .fragility-frame {
  aspect-ratio: 1.39;
}

.fragility-depth img {
  object-fit: cover;
  object-position: left center;
}

.fragility-pcd img {
  transform: scale(1.1);
}

.fragility-frame.is-zooming img {
  transform: scale(2.1);
}

.fragility-frame::after {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: #222;
  content: attr(data-note);
  display: block;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  left: var(--note-x, 0.75rem);
  line-height: 1.25;
  max-width: 14rem;
  opacity: 0;
  padding: 0.65rem 0.85rem;
  pointer-events: none;
  position: absolute;
  top: var(--note-y, calc(100% - 0.75rem));
  transform: translate(0.75rem, calc(-100% - 0.75rem));
  transition: opacity 0.15s ease, transform 0.15s ease;
  width: max-content;
  z-index: 5;
}

.fragility-frame.is-zooming::after {
  opacity: 1;
  transform: translate(0.75rem, calc(-100% - 0.75rem));
}

@media screen and (max-width: 768px) {
  .fragility-heading {
    align-items: center;
    flex-direction: column;
  }

  .fragility-task-grid {
    gap: 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fragility-task + .fragility-task {
    padding-left: 1.1rem;
  }

  .fragility-task:first-child {
    padding-right: 1.1rem;
  }

  .fragility-task > h3 {
    font-size: 0.9rem;
  }

  .fragility-reference-grid {
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fragility-reference h3,
  .fragility-reference h4 {
    font-size: 0.72rem;
  }

  .fragility-reference-item figcaption {
    font-size: 0.66rem;
  }

  .fragility-grid {
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fragility-item figcaption {
    font-size: 0.66rem;
  }

  .fragility-issue {
    font-size: 0.62rem;
  }
}

@media screen and (max-width: 520px) {
  .fragility-task-grid {
    grid-template-columns: 1fr;
  }

  .fragility-task-grid::before {
    display: none;
  }

  .fragility-task,
  .fragility-task:first-child,
  .fragility-task + .fragility-task {
    padding-left: 0;
    padding-right: 0;
  }

  .fragility-reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fragility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tabletop-demo-control {
  align-items: center;
  background: #f4f8ff;
  border: 1px solid #b9cce8;
  border-left: 5px solid #1f4c7c;
  box-shadow: 0 10px 26px rgba(31, 76, 124, 0.08);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.8fr);
  margin: 0.45rem 0 1.2rem;
  padding: 1rem;
}

.tabletop-demo-copy {
  color: #372221;
  font-family: 'Google Sans', sans-serif;
}

.tabletop-demo-kicker {
  color: #1f4c7c;
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
}

.tabletop-demo-copy p {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.task-selector {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.task-selector-button {
  appearance: none;
  background: #fff;
  border: 1px solid #d6e3f5;
  border-radius: 8px;
  color: #342625;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-family: 'Google Sans', sans-serif;
  gap: 0.25rem;
  justify-content: center;
  min-height: 4.35rem;
  min-width: 0;
  padding: 0.7rem 0.55rem;
  text-align: left;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.task-selector-button:hover,
.task-selector-button:focus-visible {
  border-color: rgba(31, 76, 124, 0.85);
  box-shadow: 0 8px 20px rgba(31, 76, 124, 0.13);
  outline: none;
  transform: translateY(-2px);
}

.task-selector-button.is-active {
  background: #1f4c7c;
  border-color: #1f4c7c;
  box-shadow: 0 10px 24px rgba(31, 76, 124, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.task-index {
  color: #1f4c7c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.task-selector-button.is-active .task-index {
  color: rgba(255, 255, 255, 0.8);
}

.task-selector-button span:last-child {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.16;
}

.tabletop-task-panel[hidden] {
  display: none;
}

.tabletop-demo-panels {
  margin-top: 0.85rem;
}

.deployment-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.deployment-note {
  color: #555;
  display: block;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.92rem;
  margin: 0;
}

.deployment-task h4 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  text-align: center;
}

.deployment-views {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deployment-view-group h5 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  text-align: center;
}

.deployment-pair {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deployment-item {
  margin: 0;
  position: relative;
}

.deployment-item img,
.deployment-item video {
  aspect-ratio: 520 / 376;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  display: block;
  object-fit: cover;
  object-position: left center;
  width: 100%;
}

.brightness-aligned-video {
  filter: brightness(1.32) contrast(1.08) saturate(1.04);
}

.failure-glass-bright-video {
  filter: brightness(1.62) contrast(1.12) saturate(1.08);
}

.deployment-item::after {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  color: #1f2d44;
  content: "3x";
  display: flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  right: 0.45rem;
  top: 0.45rem;
  width: 2rem;
}

.deployment-item figcaption {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.4rem;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .deployment-views {
    grid-template-columns: 1fr;
  }
}

.mobile-deployment-title {
  margin-top: 0;
}

.tabletop-deployment-title {
  margin-top: 2.3rem;
}

@media screen and (max-width: 960px) {
  .tabletop-demo-control {
    grid-template-columns: 1fr;
  }

  .task-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 640px) {
  .task-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-selector-button {
    min-height: 3.8rem;
  }

  .deployment-views {
    grid-template-columns: 1fr;
  }
}

.mobile-deployment-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.mobile-deployment-task h4 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.55rem;
  text-align: center;
}

.mobile-deployment-task video {
  aspect-ratio: 16 / 9;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.deployment-performance {
  margin-top: 2.6rem;
}

.deployment-performance > .title {
  margin-bottom: 1rem;
}

.performance-card {
  background: #fff;
  border: 1px solid #d6e3f5;
  border-top: 4px solid #1f4c7c;
  box-shadow: 0 10px 26px rgba(31, 76, 124, 0.08);
  margin-top: 1.2rem;
  padding: 1.1rem;
}

.performance-card h4 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  text-align: center;
}

.mobile-performance-charts {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 980px;
}

.mobile-performance-chart {
  min-width: 0;
}

.chart-title {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.chart-area {
  border-bottom: 2px solid #555;
  border-top: 1px dashed #cfcfcf;
  display: grid;
  grid-template-columns: 3rem 1fr;
  min-height: 210px;
  position: relative;
}

.chart-axis {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  position: absolute;
  left: 0;
}

.chart-axis-top {
  top: -0.45rem;
}

.chart-axis-bottom {
  bottom: -1.05rem;
}

.mobile-task-bars {
  align-items: end;
  display: grid;
  gap: 2.4rem;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.6rem 1.2rem 0;
}

.mobile-task-bar-group {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: end;
}

.bar-pair {
  align-items: end;
  display: flex;
  gap: 0.55rem;
  height: 150px;
}

.performance-bar {
  border-radius: 4px 4px 0 0;
  height: var(--bar-height);
  min-height: 1rem;
  position: relative;
  width: 2.8rem;
}

.performance-bar span {
  color: #222;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  left: 50%;
  position: absolute;
  top: -1.45rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.rgb-bar {
  background: #6f8fb8;
}

.stereo-bar {
  background: #255b96;
}

.sim-rgb-bar {
  background: #c9d7eb;
}

.sim-stereo-bar {
  background: #92accb;
}

.bar-label {
  color: #222;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.45rem;
  text-align: center;
}

.performance-legend {
  align-items: center;
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 0.8rem;
}

.chart-legend {
  margin-top: 0.95rem;
}

.performance-legend span {
  align-items: center;
  color: #333;
  display: inline-flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 0.35rem;
}

.legend-swatch {
  display: inline-block;
  height: 0.85rem;
  width: 0.85rem;
}

.rgb-swatch {
  background: #6f8fb8;
}

.stereo-swatch {
  background: #255b96;
}

.sim-rgb-swatch {
  background: #c9d7eb;
}

.sim-stereo-swatch {
  background: #92accb;
}

.performance-table-wrap {
  overflow-x: auto;
}

.performance-table {
  border-collapse: collapse;
  font-family: 'Google Sans', sans-serif;
  min-width: 900px;
  width: 100%;
}

.performance-table th,
.performance-table td {
  border-bottom: 1px solid #d6e3f5;
  padding: 0.62rem 0.7rem;
  text-align: center;
  vertical-align: middle;
}

.performance-table thead th {
  background: #f4f8ff;
  border-bottom: 2px solid #1f4c7c;
  color: #173b63;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.performance-table th:first-child {
  text-align: left;
}

.performance-table tbody th {
  color: #222;
  font-weight: 700;
}

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

.performance-best-row {
  background: #eef5ff !important;
  color: #111;
  font-weight: 800;
}

.performance-best-row td,
.performance-best-row th {
  border-bottom: 2px solid #1f4c7c;
}

.performance-caption {
  color: #222;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0.9rem 0 0;
}

.baseline-failure-subtitle {
  margin-top: 1rem;
}

.failure-speed-note {
  color: #555;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  margin: -0.35rem 0 0.85rem;
}

.failure-speed-note + .baseline-failure-grid {
  margin-top: 0;
}

.baseline-failure-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.tabletop-failure-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tabletop-failure-grid .baseline-failure-item {
  position: relative;
}

.tabletop-failure-grid .baseline-failure-item::after {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  color: #1f2d44;
  content: "2x";
  display: flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  height: 2rem;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  right: 0.45rem;
  top: 2.18rem;
  width: 2rem;
}

.baseline-failure-item h4 {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.55rem;
  text-align: center;
}

.baseline-failure-item video {
  aspect-ratio: 16 / 9;
  background: #f7f7f7;
  border: 1px solid #e5e5e5;
  display: block;
  object-fit: cover;
  width: 100%;
}

.failure-caption {
  color: #666;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0.45rem 0 0;
  text-align: center;
}

.tabletop-failure-grid .baseline-failure-item video {
  aspect-ratio: 520 / 376;
}

.simulation-benchmarks-figure {
  margin: 1rem 0 0;
}

.simulation-benchmarks-figure img {
  display: block;
  height: auto;
  width: 100%;
}

.simulation-performance {
  margin-top: 1.4rem;
}

.simulation-performance-table {
  min-width: 1320px;
}

.simulation-performance-table thead tr:first-child th {
  border-bottom: 1px solid #b9cce8;
  font-size: 1rem;
  text-align: center;
}

.simulation-performance-table thead tr:nth-child(2) th {
  background: #f8fbff;
  color: #173b63;
  font-size: 0.86rem;
}

.simulation-performance-table thead tr:nth-child(3) th {
  font-size: 0.82rem;
  text-transform: none;
}

.vla-chart-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vla-line-chart {
  margin: 0;
}

.vla-line-chart figcaption {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  text-align: center;
  text-transform: uppercase;
}

.vla-line-chart svg {
  background: #fff;
  border: 1px solid #e6d4d0;
  display: block;
  height: auto;
  width: 100%;
}

.chart-grid-line {
  stroke: #d7d7d7;
  stroke-dasharray: 3 3;
  stroke-width: 1;
}

.chart-axis-line {
  stroke: #555;
  stroke-width: 1.5;
}

.chart-series {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.rgb-series {
  stroke: #6f8fb8;
}

.stereo-series {
  stroke: #1f4c7c;
}

.chart-points circle,
.chart-inline-legend circle {
  fill: #fff;
  stroke-width: 3;
}

.chart-points circle {
  stroke-width: 0;
}

.rgb-points circle {
  fill: #6f8fb8;
  stroke: #6f8fb8;
}

.rgb-point {
  stroke: #6f8fb8;
}

.stereo-points circle {
  fill: #1f4c7c;
  stroke: #1f4c7c;
}

.stereo-point {
  stroke: #1f4c7c;
}

.chart-y-label,
.chart-x-label,
.chart-x-title,
.chart-value,
.chart-inline-legend text {
  fill: #222;
  font-family: 'Google Sans', sans-serif;
}

.chart-y-label,
.chart-x-label {
  font-size: 14px;
  font-weight: 700;
}

.chart-x-title {
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
}

.chart-value {
  font-size: 12px;
  font-weight: 700;
}

.chart-inline-legend text {
  font-size: 13px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .deployment-views {
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deployment-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .deployment-view-group h5 {
    font-size: 0.82rem;
  }

  .deployment-item figcaption {
    font-size: 0.78rem;
  }

  .deployment-item::after {
    font-size: 0.58rem;
    height: 1.45rem;
    right: 0.28rem;
    top: 0.28rem;
    width: 1.45rem;
  }

  .mobile-deployment-grid {
    grid-template-columns: 1fr;
  }

  .mobile-performance-charts {
    grid-template-columns: 1fr;
  }

  .baseline-failure-grid {
    grid-template-columns: 1fr;
  }

  .vla-chart-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 520px) {
  .deployment-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.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(121, 100%, 36%) !important;
}

.conference-authors a {
  color: #B83A4B !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: 100vh;
  background-size: cover;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}

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

#interpolation-image img {
  padding: 0;
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
}

.dropdown-item {
  white-space: pre-wrap;
}

.justify {
  text-align: justify;
}

/* Strong override for RelFlexformer paper-style table */
.performance-table.relflex-table {
  min-width: 1120px;
  width: 100%;
  border-collapse: collapse;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.15rem;
  line-height: 1.05;
  text-align: center;
  border-top: 2.4px solid #111;
  border-bottom: 2.4px solid #111;
  background: #fff;
}

.performance-table.relflex-table th,
.performance-table.relflex-table td {
  border: none;
  padding: 3px 12px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  text-transform: none !important;
}

/* Only the real first column: Attention / method names */
.performance-table.relflex-table thead tr:first-child th:first-child,
.performance-table.relflex-table tbody th:first-child {
  text-align: left;
  min-width: 210px;
  padding-left: 12px;
  padding-right: 18px;
  border-right: 1.2px solid #555;
}

/* Prevent the second header row's mIoU from being treated as the first column */
.performance-table.relflex-table thead tr:nth-child(2) th:first-child {
  min-width: auto;
  text-align: center;
  padding-left: 12px;
  padding-right: 12px;
  border-right: none;
}

.performance-table.relflex-table thead {
  border-bottom: 1.4px solid #111;
}

.performance-table.relflex-table thead th {
  background: transparent !important;
  color: #000 !important;
  border-bottom: none !important;
  font-weight: 700;
  text-transform: none !important;
}

.performance-table.relflex-table thead tr:first-child th {
  font-size: 1.2rem;
  padding-top: 4px;
  padding-bottom: 2px;
}

.performance-table.relflex-table thead tr:nth-child(2) th {
  font-size: 1.08rem;
  padding-top: 2px;
  padding-bottom: 5px;
}

.performance-table.relflex-table thead tr:first-child th:nth-child(n+2) {
  border-left: 1.2px solid #555;
}

.performance-table.relflex-table .group-end {
  border-right: 1.2px solid #555 !important;
}

.performance-table.relflex-table thead tr:first-child th[colspan="3"] {
  position: relative;
}

.performance-table.relflex-table thead tr:first-child th[colspan="3"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  border-bottom: 1.2px solid #333;
}

.performance-table.relflex-table tbody tr:nth-child(even) {
  background: transparent !important;
}

.performance-table.relflex-table tbody tr.baseline-row {
  color: #777;
  border-bottom: 1.3px solid #111;
}

.performance-table.relflex-table tbody tr.baseline-row th,
.performance-table.relflex-table tbody tr.baseline-row td {
  color: #777;
}

.performance-table.relflex-table tbody th {
  color: #000;
  font-weight: 700;
}

.performance-table.relflex-table tbody td {
  color: #000;
  font-weight: 400;
}

.performance-table.relflex-table tbody tr.performance-best-row {
  background-color: #eef5ff !important;
  color: #000;
  font-weight: normal;
}

.performance-table.relflex-table tbody tr.performance-best-row th,
.performance-table.relflex-table tbody tr.performance-best-row td {
  border-bottom: none !important;
}

.performance-table.relflex-table .submethod {
  padding-left: 28px !important;
  font-weight: 600;
}

.performance-table.relflex-table .cite {
  color: #1f4c7c;
  text-decoration: underline;
  font-weight: 400;
}

/* Object classification table */
.performance-table.relflex-table.classification-table {
  min-width: 760px;
}

.performance-table.relflex-table.classification-table th:first-child {
  min-width: 240px;
}

.performance-table.relflex-table.classification-table thead tr:first-child th[colspan="1"]::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  border-bottom: 1.2px solid #333;
}

/* Area-wise semantic segmentation table */
.area-performance-table {
  min-width: 880px;
  width: 100%;
  border-collapse: collapse;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.08rem;
  line-height: 1.08;
  text-align: center;
  border-top: 2.4px solid #111;
  border-bottom: 2.4px solid #111;
  background: #fff;
}

.area-performance-table th,
.area-performance-table td {
  border: none;
  padding: 4px 13px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  text-transform: none !important;
}

.area-performance-table thead {
  border-bottom: 1.5px solid #111;
}

.area-performance-table thead th {
  background: transparent !important;
  color: #000 !important;
  border-bottom: none !important;
  font-weight: 700;
  font-size: 1.16rem;
}

.area-performance-table thead th:first-child,
.area-performance-table tbody th:first-child {
  text-align: left;
  min-width: 250px;
  padding-left: 16px;
  padding-right: 20px;
}

.area-performance-table thead th:nth-child(2),
.area-performance-table tbody td:first-of-type {
  text-align: left;
  min-width: 90px;
  padding-left: 10px;
}

.area-performance-table tbody tr.area-block-start {
  border-top: 1.3px solid #111;
}

.area-performance-table tbody tr.area-baseline-row th,
.area-performance-table tbody tr.area-baseline-row td {
  color: #777;
}

.area-performance-table tbody th {
  color: #000;
  font-weight: 700;
}

.area-performance-table tbody td {
  color: #000;
  font-weight: 400;
}

.area-performance-table tbody tr.performance-best-row {
  background-color: #eef5ff !important;
}

.area-performance-table tbody tr.performance-best-row th,
.area-performance-table tbody tr.performance-best-row td {
  border-bottom: none !important;
}

.area-performance-table .submethod {
  padding-left: 28px !important;
  font-weight: 600;
}

.area-performance-table .cite {
  color: #0000cc;
  text-decoration: underline;
  font-weight: 400;
}

/* RGB-D semantic segmentation table */
.rgbd-performance-table {
  min-width: 760px;
  width: 100%;
  border-collapse: collapse;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.12rem;
  line-height: 1.12;
  text-align: center;
  border-top: 2.4px solid #111;
  border-bottom: 2.4px solid #111;
  background: #fff;
}

.rgbd-performance-table th,
.rgbd-performance-table td {
  border: none;
  padding: 6px 16px;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  text-transform: none !important;
}

.rgbd-performance-table thead {
  border-bottom: 1.5px solid #111;
}

.rgbd-performance-table thead th {
  background: transparent !important;
  color: #000 !important;
  border-bottom: none !important;
  font-weight: 700;
  font-size: 1.18rem;
}

.rgbd-performance-table thead th:first-child,
.rgbd-performance-table tbody th:first-child {
  text-align: left;
  min-width: 280px;
  padding-left: 12px;
}

.rgbd-performance-table tbody th {
  color: #000;
  font-weight: 700;
}

.rgbd-performance-table tbody td {
  color: #000;
  font-weight: 400;
}

.rgbd-performance-table tbody tr.rgbd-baseline-row th,
.rgbd-performance-table tbody tr.rgbd-baseline-row td {
  color: #777;
}

.rgbd-performance-table tbody tr.performance-best-row {
  background-color: #eef5ff !important;
}

.rgbd-performance-table tbody tr.performance-best-row th,
.rgbd-performance-table tbody tr.performance-best-row td {
  border-bottom: none !important;
}

.rgbd-performance-table .cite {
  color: #0000cc;
  text-decoration: underline;
  font-weight: 400;
}

/* Paper-style multi-panel figure */
.paper-figure-block {
  margin: 1.5rem auto 2.5rem;
}

.paper-subfigure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.paper-subfigure img {
  display: block;
  width: 100%;
  height: auto;
}

.paper-figure-caption {
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.35rem;
  line-height: 1.18;
  margin-top: 1.25rem;
  text-align: left;
}

.paper-figure-caption strong {
  font-weight: 800;
}

@media screen and (max-width: 768px) {
  .paper-subfigure-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .paper-figure-caption {
    font-size: 1.05rem;
  }
}

/* ============================================================
   Compact performance tables
   Keep font size close to main Semantic Segmentation table
   ============================================================ */

.performance-table.relflex-table {
  min-width: 980px !important;
  font-size: 1.15rem !important;
}

.performance-table.relflex-table.classification-table {
  min-width: 720px !important;
  font-size: 1.15rem !important;
}

.area-performance-table {
  min-width: 1040px !important;
  font-size: 1.15rem !important;
}

.rgbd-performance-table {
  min-width: 680px !important;
  font-size: 1.15rem !important;
}

/* Base RelFlexformer-style tables */
.performance-table.relflex-table thead tr:first-child th:first-child,
.performance-table.relflex-table tbody th:first-child {
  min-width: 150px !important;
  width: 150px !important;
  padding-left: 10px !important;
  padding-right: 12px !important;
}

/* Object classification */
.performance-table.relflex-table.classification-table thead tr:first-child th:first-child,
.performance-table.relflex-table.classification-table tbody th:first-child {
  min-width: 180px !important;
  width: 180px !important;
}

/* Area-wise semantic segmentation */
.area-performance-table th,
.area-performance-table td {
  padding: 4px 7px !important;
}

.area-performance-table thead th:first-child,
.area-performance-table tbody th:first-child {
  min-width: 170px !important;
  width: 170px !important;
  padding-left: 12px !important;
  padding-right: 8px !important;
}

.area-performance-table thead th:nth-child(2),
.area-performance-table tbody td:first-of-type {
  min-width: 70px !important;
  width: 70px !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.area-performance-table thead th:nth-child(n+3),
.area-performance-table tbody td:nth-child(n+2) {
  min-width: 78px !important;
  width: 78px !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

/* RGB-D semantic segmentation */
.rgbd-performance-table thead th:first-child,
.rgbd-performance-table tbody th:first-child {
  min-width: 220px !important;
  width: 220px !important;
  padding-left: 10px !important;
  padding-right: 12px !important;
}

/* Interactive FastMult figure */
.interactive-fastmult-figure {
  margin-top: 1rem;
}

.fastmult-click-grid {
  gap: 1.2rem;
}

.fastmult-panel {
  appearance: none;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  padding: 0.45rem;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.fastmult-panel img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.fastmult-panel:hover,
.fastmult-panel:focus-visible {
  background: rgba(31, 76, 124, 0.04);
  border-color: rgba(31, 76, 124, 0.65);
  box-shadow: 0 8px 22px rgba(31, 76, 124, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.fastmult-panel.is-active {
  background: rgba(31, 76, 124, 0.07);
  border-color: rgba(31, 76, 124, 0.96);
  box-shadow: 0 0 0 4px rgba(31, 76, 124, 0.12), 0 12px 28px rgba(31, 76, 124, 0.16);
  transform: translateY(-2px);
}

.fastmult-info-panel {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.fastmult-info-panel h3 {
  margin-bottom: 0.35rem;
}

@media screen and (max-width: 768px) {
  .fastmult-click-grid {
    grid-template-columns: 1fr;
  }
}

/* Algorithm box */
.algorithm-section {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.algorithm-box {
  background: #fff;
  border: 1.5px solid #111;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(31, 76, 124, 0.08);
  font-family: "Times New Roman", Times, serif;
  margin: 0 auto;
  max-width: 980px;
  overflow: hidden;
}

.algorithm-title {
  background: #f4f8ff;
  border-bottom: 1.2px solid #111;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.2rem;
  line-height: 1.25;
  padding: 0.65rem 0.9rem;
  text-align: left;
}

.algorithm-title strong {
  font-weight: 800;
}

.algorithm-content {
  color: #000;
  font-size: 1.08rem;
  line-height: 1.35;
  padding: 0.9rem 1.1rem 1rem;
}

.algorithm-content p {
  margin: 0 0 0.6rem;
}

.algorithm-steps {
  counter-reset: algorithm-step;
  list-style: none;
  margin: 0.9rem 0 0;
  padding-left: 0;
}

.algorithm-steps li {
  counter-increment: algorithm-step;
  margin-bottom: 0.85rem;
  padding-left: 2.2rem;
  position: relative;
}

.algorithm-steps li::before {
  content: counter(algorithm-step) ".";
  font-weight: 800;
  left: 0;
  position: absolute;
  top: 0;
}

.algorithm-steps li p {
  margin-bottom: 0.25rem;
}

.algorithm-equation {
  font-size: 1.03rem;
  margin: 0.15rem 0 0.35rem;
  overflow-x: auto;
  padding: 0.1rem 0;
}

.algorithm-equation mjx-container {
  margin: 0.2rem 0 !important;
}

@media screen and (max-width: 768px) {
  .algorithm-title {
    font-size: 1.02rem;
  }

  .algorithm-content {
    font-size: 0.95rem;
  }

  .algorithm-steps li {
    padding-left: 1.8rem;
  }
}



/* Single paper-style figure */
.single-paper-figure {
  margin: 1.5rem auto 2.5rem;
}

.single-paper-figure img {
  display: block;
  width: 90%;
  max-width: 980px;
  height: auto;
  margin: 0 auto;
}

.mask-analysis-intro {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0.3rem auto 1.15rem;
  max-width: 980px;
}

/* Interactive attention map visualization */
.interactive-attention-figure {
  margin-top: 1rem;
}

.attention-click-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.attention-panel {
  appearance: none;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: none;
  cursor: pointer;
  margin: 0;
  overflow: hidden;
  padding: 0.45rem;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.attention-panel img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.attention-panel:hover,
.attention-panel:focus-visible {
  background: rgba(31, 76, 124, 0.04);
  border-color: rgba(31, 76, 124, 0.65);
  box-shadow: 0 8px 22px rgba(31, 76, 124, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.attention-panel.is-active {
  background: rgba(31, 76, 124, 0.07);
  border-color: rgba(31, 76, 124, 0.96);
  box-shadow: 0 0 0 4px rgba(31, 76, 124, 0.12), 0 12px 28px rgba(31, 76, 124, 0.16);
  transform: translateY(-2px);
}

.attention-info-panel {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.attention-info-panel h3 {
  margin-bottom: 0.35rem;
}

@media screen and (max-width: 640px) {
  .attention-click-grid {
    grid-template-columns: 1fr;
  }
}

/* Emphasize RelFlexformer attention panel */
.attention-panel-ours {
  border-color: rgba(31, 76, 124, 0.55);
  background: #f4f8ff;
  position: relative;
}

.attention-panel-ours::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 2px solid rgba(31, 76, 124, 0.55);
  border-radius: 4px;
  pointer-events: none;
}

.attention-panel-ours.is-active {
  background: rgba(31, 76, 124, 0.09);
  border-color: rgba(31, 76, 124, 1);
  box-shadow: 0 0 0 4px rgba(31, 76, 124, 0.14), 0 14px 32px rgba(31, 76, 124, 0.18);
}

.ours-badge {
  background: #1f4c7c;
  border-radius: 999px;
  color: #fff;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  left: 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1;
  padding: 0.38rem 0.55rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.75rem;
  z-index: 2;
}

/* ============================================================
   Qualitative analysis: attention visualization
   ============================================================ */

.qualitative-subtitle {
  margin-top: 2.8rem;
}

.interactive-attention-figure {
  margin-top: 1rem;
}

.attention-click-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.attention-panel {
  appearance: none;
  background: #fff;
  border: 1px solid #d6e3f5;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0.45rem;
  position: relative;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}

.attention-panel:hover,
.attention-panel:focus-visible {
  border-color: rgba(31, 76, 124, 0.85);
  box-shadow: 0 10px 24px rgba(31, 76, 124, 0.14);
  outline: none;
  transform: translateY(-2px);
}

.attention-panel.is-active {
  background: #f4f8ff;
  border-color: #1f4c7c;
  box-shadow: 0 12px 28px rgba(31, 76, 124, 0.18);
  transform: translateY(-2px);
}

.attention-panel img {
  display: block;
  height: auto;
  width: 100%;
}

.attention-panel-ours {
  border-color: rgba(31, 76, 124, 0.45);
}

.attention-panel-ours.is-active {
  border-color: #1f4c7c;
  box-shadow:
    0 0 0 3px rgba(31, 76, 124, 0.15),
    0 14px 30px rgba(31, 76, 124, 0.2);
}

.ours-badge {
  background: #1f4c7c;
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.28rem 0.42rem;
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  text-transform: uppercase;
  width: auto;
  z-index: 3;
}

.attention-info-panel {
  margin-top: 1rem;
}

/* ============================================================
   Distance-attention correlation figure
   ============================================================ */

.single-paper-figure {
  margin-top: 1rem;
}

.distance-attention-figure {
  margin-top: 1rem;
}

.distance-attention-figure img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

.mask-figure-caption,
.distance-attention-caption {
  align-items: stretch;
  background: #f4f8ff;
  border: 1px solid #b9cce8;
  border-left: 5px solid #1f4c7c;
  box-shadow: 0 10px 26px rgba(31, 76, 124, 0.08);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  margin: 1rem auto 0;
  max-width: 100%;
  padding: 1rem 1.15rem;
}

.caption-label {
  align-items: center;
  color: #1f4c7c;
  display: flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.caption-body {
  color: #222;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: left;
}

.caption-body p {
  margin: 0;
}

.caption-body p + p {
  margin-top: 0.45rem;
}

@media screen and (max-width: 768px) {
  .attention-click-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .distance-attention-figure img {
    max-width: 100%;
    width: 100%;
  }

  .mask-figure-caption,
  .distance-attention-caption {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .caption-label {
    justify-content: flex-start;
  }
}

/* ============================================================
   Section spacing refinement
   ============================================================ */

.section {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.hero.teaser {
  padding-bottom: 1.4rem;
}

.algorithm-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.paper-figure-block {
  margin-top: 1.1rem;
  margin-bottom: 2.2rem;
}

.overview-click-note {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.overview-info-panel {
  margin-top: 1rem;
}

.title.is-3 {
  margin-bottom: 1.1rem;
}

.title.is-4 {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

/* ============================================================
   Performance section emphasis
   ============================================================ */

.performance-section {
  padding-top: 4rem;
  padding-bottom: 4.2rem;
}

.performance-section-title {
  color: #222;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.8rem;
  text-align: left;
}

.deployment-performance {
  margin-top: 0;
}

.performance-card {
  margin-top: 1.6rem;
  margin-bottom: 1.8rem;
}

.performance-card:first-of-type {
  margin-top: 0;
}

.performance-card h4 {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

/* ============================================================
   Attention heatmap: 1 x 4 wide layout
   ============================================================ */

.hook-section .container.is-max-widescreen {
  max-width: 1500px !important;
  width: 96vw !important;
}

.hook-section .attention-click-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.65rem !important;
  align-items: stretch !important;
}

.hook-section .attention-panel {
  padding: 0.28rem !important;
  border-radius: 6px !important;
}

.hook-section .attention-panel img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.hook-section .interactive-attention-figure {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hook-section .attention-info-panel {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* tablet에서는 2 x 2 */
@media screen and (max-width: 1100px) {
  .hook-section .attention-click-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* mobile에서는 1 column */
@media screen and (max-width: 650px) {
  .hook-section .attention-click-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ============================================================
   Compact hero TL;DR
   ============================================================ */

.tldr-section {
  padding-top: 0.2rem !important;
  padding-bottom: 0.7rem !important;
}

.hero-tldr-box {
  align-items: center;
  background: linear-gradient(180deg, #f7fbff 0%, #f0f6ff 100%);
  border: 1px solid #b9cce8;
  border-left: 5px solid #1f4c7c;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(31, 76, 124, 0.08);
  color: #111;
  display: flex;
  gap: 0.9rem;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 920px;
  padding: 0.95rem 1.1rem;
  text-align: left;
}

.tldr-label {
  background: #1f4c7c;
  border-radius: 999px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.65rem;
  text-transform: uppercase;
}

.tldr-text {
  color: #111;
  font-size: 1.04rem;
  font-weight: 600;
}

/* Reduce the gap between TL;DR and heatmap hook */
.hook-section {
  padding-top: 1rem !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
  .hero-tldr-box {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
  }

  .tldr-text {
    font-size: 0.98rem;
  }
}

/* ============================================================
   Attention heatmap panel spacing refinement
   ============================================================ */

.hook-section .attention-click-grid {
  align-items: stretch !important;
}

.hook-section .attention-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.35rem !important;
  min-height: 0 !important;
}

.hook-section .attention-panel img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}


.hook-section .attention-panel-input img {
  width: 104% !important;
  max-width: none !important;
  transform: scale(1.04);
}



/* ============================================================
   Fix attention hook alignment
   ============================================================ */

/* Make text, heatmap grid, and info box share the same visual width */
.hook-section .interactive-attention-figure,
.hook-section .attention-info-panel {
  max-width: 1500px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Top-align images inside each panel instead of vertically centering them */
.hook-section .attention-panel {
  display: block !important;
  align-items: initial !important;
  justify-content: initial !important;
  padding: 0.28rem !important;
}

/* Make each image start from the top of its card */
.hook-section .attention-panel img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain !important;
}

/* Remove the input-only enlargement for now; it makes alignment worse */
.hook-section .attention-panel-input img {
  width: 100% !important;
  max-width: 100% !important;
  transform: none !important;
}

/* Make the bottom explanation box match the heatmap width */
.hook-section .attention-info-panel {
  max-width: 1500px !important;
  margin-top: 0.8rem !important;
}


/* ============================================================
   Cartoon overview section
   ============================================================ */

.cartoon-overview-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2.2rem !important;
}

.cartoon-overview-section .container.is-max-widescreen {
  max-width: 1450px !important;
  width: 96vw !important;
}

.cartoon-overview-section .title {
  color: #111;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 800;
  margin-bottom: 0.55rem !important;
}

.cartoon-overview-summary {
  color: #222;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1.12rem;
  line-height: 1.45;
  margin: 0 auto 1.15rem;
  max-width: 1120px;
  text-align: center;
}

.cartoon-overview-figure {
  margin: 0 auto;
  max-width: 1450px;
  text-align: center;
}

.cartoon-overview-figure img {
  background: #fff;
  border: 1px solid #d6e3f5;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(31, 76, 124, 0.10);
  display: block;
  height: auto;
  width: 100%;
}

.cartoon-overview-figure figcaption {
  color: #444;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0.8rem auto 0;
  max-width: 1100px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .cartoon-overview-summary {
    font-size: 1rem;
    text-align: left;
  }

  .cartoon-overview-figure figcaption {
    font-size: 0.9rem;
    text-align: left;
  }
}


/* ============================================================
   FastMult motivation section
   ============================================================ */

.fastmult-motivation-section {
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
}

.fastmult-motivation-section .container.is-max-widescreen {
  max-width: 1450px !important;
  width: 96vw !important;
}

.fastmult-motivation-section .title {
  color: #111;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 800;
  margin-bottom: 0.6rem !important;
}

.fastmult-motivation-summary {
  color: #222;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1.12rem;
  line-height: 1.45;
  margin: 0 auto 1.35rem;
  max-width: 1120px;
  text-align: center;
}

.fastmult-motivation-layout {
  align-items: stretch;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-top: 1.2rem;
}

.block-toeplitz-motivation-figure {
  background: #fff;
  border: 1px solid #d6e3f5;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(31, 76, 124, 0.09);
  margin: 0;
  padding: 0.75rem;
}

.block-toeplitz-motivation-figure img {
  border-radius: 9px;
  display: block;
  height: auto;
  width: 100%;
}

.block-toeplitz-motivation-figure figcaption {
  color: #444;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.42;
  margin: 0.65rem auto 0;
  max-width: 900px;
  text-align: center;
}

.fastmult-motivation-cards {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
}

.fastmult-motivation-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d6e3f5;
  border-left: 5px solid #1f4c7c;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(31, 76, 124, 0.07);
  padding: 0.95rem 1rem;
}

.motivation-card-label {
  color: #1f4c7c;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.fastmult-motivation-card h3 {
  color: #111;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.fastmult-motivation-card p {
  color: #333;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 0.96rem;
  line-height: 1.48;
  margin: 0;
}

.fastmult-key-message {
  background: #f4f8ff;
  border: 1px solid #b9cce8;
  border-left: 5px solid #1f4c7c;
  border-radius: 12px;
  color: #111;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 1.2rem auto 0;
  max-width: 1120px;
  padding: 0.9rem 1.1rem;
  text-align: center;
}

@media screen and (max-width: 1000px) {
  .fastmult-motivation-layout {
    grid-template-columns: 1fr;
  }

  .fastmult-motivation-summary,
  .fastmult-key-message {
    text-align: left;
  }
}


/* ============================================================
   Section spacing refinement
   ============================================================ */

.cartoon-overview-section {
  padding-bottom: 2.6rem !important;
}

.cartoon-overview-figure {
  margin-bottom: 0.8rem !important;
}

.hook-section {
  padding-top: 1.8rem !important;
}


/* ============================================================
   Final layout polish
   ============================================================ */

.algorithm-section h2.title,
.algorithm-section ~ .section h2.title,
.performance-section h2.title,
.citation-section h2.title {
  text-align: center !important;
  width: 100%;
}

.fastmult-key-message {
  max-width: 1320px !important;
  width: 92% !important;
}


/* ============================================================
   Widen sections from Algorithm onward
   ============================================================ */

.algorithm-section .container.is-max-widescreen,
.algorithm-section ~ .section .container.is-max-widescreen,
.performance-section .container.is-max-widescreen {
  max-width: 1450px !important;
  width: 96vw !important;
}

.algorithm-box {
  max-width: 1180px !important;
}

.algorithm-intro,
.mask-analysis-intro {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.single-paper-figure img {
  max-width: 1320px !important;
  width: 100% !important;
}


/* ============================================================
   Reduce Mask Behavior Analysis figure and caption only
   ============================================================ */

.mask-behavior-figure img {
  max-width: 980px !important;
  width: 82% !important;
}

.mask-behavior-figure .mask-figure-caption {
  max-width: 980px !important;
  width: 82% !important;
  padding: 0.75rem 0.9rem !important;
  gap: 0.75rem !important;
  grid-template-columns: 6rem 1fr !important;
}

.mask-behavior-figure .caption-label {
  font-size: 0.82rem !important;
}

.mask-behavior-figure .caption-body {
  font-size: 0.9rem !important;
  line-height: 1.38 !important;
}

.mask-behavior-figure .caption-body p + p {
  margin-top: 0.3rem !important;
}
