html {
  scroll-padding-top: 64px;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: #2c2c2c;
  background-color: #fafafa;
}

.container.is-max-desktop {
  width: 100%;
  max-width: 768px;
}

.side-jump {
  position: fixed;
  top: 112px;
  left: 22px;
  width: 172px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d9dee8;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  padding: 10px 10px 8px;
  z-index: 80;
}

.jump-title {
  font-family: 'Google Sans', sans-serif;
  color: #003366;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.side-jump a,
.mobile-jump a {
  display: block;
  text-decoration: none;
  color: #26425f;
  font-size: 0.86rem;
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 7px;
}

.side-jump a:hover,
.mobile-jump a:hover {
  background: #eef4ff;
}

.side-jump a.is-active,
.mobile-jump a.is-active {
  background: #dceafd;
  color: #163a64;
  font-weight: 700;
}

.mobile-jump {
  display: none;
}

h2,
h3 {
  font-family: 'Google Sans', sans-serif;
  color: #003366;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.05rem !important;
  line-height: 1.16;
  max-width: 100%;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
}

.title-mascot {
  width: 52px;
  height: auto;
  vertical-align: middle;
  margin-right: 6px;
}

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

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

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

.author-block {
  display: inline-block;
  margin-right: 6px;
}

.venue-tag {
  color: #3273dc !important;
  font-weight: 400;
}

.publication-actions {
  margin-top: 1rem;
}

.tldr-box {
  margin: 0.6rem auto 0.4rem;
  max-width: 920px;
  text-align: left;
  background: #f7f9fc;
  border: 1px solid #d7e1f0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
}

.tldr-label {
  display: inline-block;
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  color: #003366;
  margin-bottom: 0.35rem;
}

.tldr-box p {
  margin: 0;
  color: #2f3b4a;
  line-height: 1.55;
}

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

.no-scale-img img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.teaser-wrap {
  margin-top: 2rem;
}

.section-title {
  margin-top: 2rem;
}

.hero-results-image {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-results-wrap {
  margin-bottom: 0.7rem;
}

.hero-results-summary {
  background: #f7f9fc;
  border: 1px solid #d7e1f0;
  border-radius: 8px;
  padding: 0.78rem 0.92rem;
}

.hero-results-summary p {
  margin: 0;
  color: #334155;
  line-height: 1.56;
}

.gecko-section {
  padding-top: 1rem;
}

.gecko-section .container.is-max-desktop {
  background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 48%);
  border: 1px solid #d8e6e0;
  border-radius: 12px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 8px 24px rgba(17, 53, 45, 0.06);
}

.gecko-title {
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 0.95rem !important;
}

.gecko-figure {
  margin: 0.4rem 0 1rem;
  background: #ffffff;
  border: 1px solid #d6e5de;
  border-radius: 10px;
  padding: 0.6rem;
}

.gecko-figure-image {
  width: 100%;
  height: auto;
  border: 0;
  display: block;
}

.zoomable-image {
  cursor: zoom-in;
}

.gecko-components {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.component-card {
  background: #ffffff;
  border: 1px solid #d7e5df;
  border-left: 4px solid #2c7a66;
  border-radius: 10px;
  padding: 0.82rem 0.9rem;
  box-shadow: 0 3px 10px rgba(15, 42, 36, 0.06);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.component-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 42, 36, 0.1);
}

.component-card h4 {
  margin: 0 0 0.35rem;
  font-family: 'Google Sans', sans-serif;
  color: #003366;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.component-card h4::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c7a66;
  flex: 0 0 auto;
}

.component-card p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.gats-section {
  padding-top: 0.4rem;
}

.gats-section .container.is-max-desktop {
  background: linear-gradient(180deg, #f5f8fe 0%, #ffffff 50%);
  border: 1px solid #d8e1f2;
  border-radius: 12px;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 8px 24px rgba(20, 42, 82, 0.06);
}

.gats-title {
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 0.9rem !important;
}

.gats-steps {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.gats-step {
  background: #ffffff;
  border: 1px solid #d9e2f2;
  border-left: 4px solid #5b7fd4;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 3px 10px rgba(25, 52, 104, 0.06);
  position: relative;
}

.gats-step h4 {
  margin: 0 0 0.35rem;
  font-family: 'Google Sans', sans-serif;
  color: #003366;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #e6edfb;
  color: #264786;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  flex: 0 0 auto;
}

.gats-step p {
  margin: 0;
  color: #334155;
  line-height: 1.52;
}

body.viewer-open {
  overflow: hidden;
}

.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 24, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  touch-action: none;
}

.image-viewer.is-open {
  display: flex;
}

#viewer-image {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  cursor: zoom-out;
}

.viewer-hint {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #d7e3f4;
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(216, 227, 245, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  pointer-events: none;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
}

.results-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-caption {
  margin-top: 0.9rem;
  font-size: 1rem;
  color: #333;
  text-align: left;
}

.bench-card {
  width: 100%;
  max-width: 768px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bench-intro {
  text-align: center;
  font-size: 1rem;
  color: #555;
}

.bench-card section {
  margin-top: 1.5rem;
}

.experiments-section {
  padding-top: 0.6rem;
}

.experiments-section .section-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.experiment-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.experiment-card + .experiment-card {
  margin-top: 1rem;
}

.experiment-card h3 {
  margin: 0;
  font-family: 'Google Sans', sans-serif;
  color: #003366;
  font-size: 1.08rem;
}

.discussion-section {
  padding-top: 0.6rem;
}

.discussion-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.9rem !important;
}

.discussion-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.discussion-card + .discussion-card {
  margin-top: 1rem;
}

.discussion-card h3 {
  margin: 0 0 0.42rem;
  font-family: 'Google Sans', sans-serif;
  color: #003366;
  font-size: 1.06rem;
}

.discussion-card p {
  margin: 0;
  color: #334155;
  line-height: 1.58;
}

.conclusion-section {
  padding-top: 0.6rem;
}

.conclusion-title {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.9rem !important;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #ffffff;
}

.table-scroll.is-dragging {
  cursor: grabbing;
}

.table-scroll table {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.table-scroll-wide table {
  min-width: 900px;
}

.table-scroll-wide thead th {
  padding: 0.28em 0.20em;
}

.table-scroll-wide tbody td {
  padding: 0.24em 0.20em;
}

.table-description {
  margin: 0.35rem 0 0.55rem;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.5;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.86rem;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
}

table thead tr {
  background-color: #e8eef7;
  color: #003366;
  border-bottom: 2px solid #b3c7e6;
}

table thead th {
  padding: 0.34em 0.28em;
  text-align: center;
  font-weight: 600;
  font-size: 0.86rem;
}

table tbody tr:nth-child(even) {
  background-color: #f7f9fc;
}

table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

table tbody td {
  padding: 0.30em 0.28em;
  text-align: center;
  color: #333;
  font-size: 0.86rem;
}

table th:first-child,
table td:first-child {
  text-align: left;
}

tr.row-gats td:first-child {
  padding-left: 1.2em;
}

tr.row-gats-no-indent td:first-child {
  padding-left: 0.28em;
}

.row-group td {
  background: #edf2fb !important;
  font-weight: 600;
  text-align: center;
}

.row-gats td {
  background: #e9f7ef !important;
}

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

@media (max-width: 900px) {
  .container.is-max-desktop {
    width: 95%;
    max-width: 95%;
  }

  .bench-card {
    width: 95%;
    max-width: 95%;
    margin: 1.2rem 1rem;
    padding: 1rem;
  }

  .experiment-card {
    padding: 0.78rem 0.78rem;
  }

  .discussion-card {
    padding: 0.78rem 0.78rem;
  }

  .gecko-section .container.is-max-desktop,
  .gats-section .container.is-max-desktop {
    padding: 0.8rem 0.72rem 0.85rem;
  }

  .gats-step {
    padding: 0.78rem 0.82rem;
  }

  .publication-title {
    font-size: 1.72rem !important;
  }

  .title-mascot {
    width: 46px;
    margin-right: 6px;
  }

  .publication-authors {
    font-size: 0.98rem !important;
  }

  .table-description {
    font-size: 0.84rem;
  }

}

@media (max-width: 1240px) {
  .side-jump {
    display: none;
  }

  .mobile-jump {
    display: block;
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(8px);
    background: rgba(250, 250, 250, 0.9);
    border-bottom: 1px solid #dbe3ee;
  }

  .mobile-jump-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 10px;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-jump a {
    white-space: nowrap;
    border: 1px solid #d7e2f0;
    background: #ffffff;
    padding: 6px 10px;
  }
}
