body {
  margin: 0;
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Noto Sans', sans-serif;
}

:root {
  --best-red: #c62828;
}

a {
  color: inherit;
  text-decoration: none;
}

.container.is-max-desktop {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-body {
  padding-top: 3.5rem;
  padding-bottom: 2.25rem;
}

.has-text-centered {
  text-align: center;
}

.has-text-justified {
  text-align: justify;
}

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

.publication-title {
  margin: 0 auto;
  max-width: 1100px;
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.publication-title span {
  display: block;
}

.publication-authors {
  margin-top: 1.15rem;
  font-size: 1.2rem;
  color: #222;
}

.author-block {
  display: inline-block;
  margin: 0 0.25rem;
}

.publication-affiliations {
  margin-top: 0.95rem;
  color: #666;
  font-size: 1rem;
}

.affiliation-line + .affiliation-line {
  margin-top: 0.2rem;
}

.publication-links {
  margin-top: 1.65rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.link-button {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
}

.link-button i {
  margin-right: 0.52rem;
}

.hf-icon {
  display: inline-block;
  margin-right: 0.52rem;
  line-height: 1;
  transform: translateY(0.02rem);
}

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

.teaser-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 1.4rem;
  align-items: stretch;
}

.teaser-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.motivation-block {
  max-width: 100%;
  margin: 0;
}

.motivation-block .section-title {
  margin-bottom: 0.45rem;
  text-align: left;
}

.motivation-block .section-subtitle {
  margin: 0;
  text-align: left;
}

.challenge-block {
  margin: 0;
}

.challenge-title {
  margin: 0 0 0.35rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
}

.challenge-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.58;
  text-align: left;
}

.challenge-list li + li {
  margin-top: 0.35rem;
}

.publication-figure {
  margin: 0 auto;
}

.teaser-figure {
  max-width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.large-view-figure {
  max-width: 100%;
}

.teaser-figure img {
  width: 100%;
  height: auto;
}

.publication-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.subtitle,
.figure-note,
.section-subtitle {
  max-width: 920px;
  margin: 1rem auto 0;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.65;
}

.section {
  padding: 2.25rem 0;
}

.section-title {
  margin: 0 0 0.9rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.content p {
  margin: 0;
  color: #333;
  line-height: 1.7;
}

.column.is-four-fifths {
  max-width: 900px;
  margin: 0 auto;
}

.qualitative-stack {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.qualitative-row {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 1rem;
  align-items: start;
}

.qualitative-block h3 {
  margin: 0 0 0.7rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.qualitative-block img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e7e7e7;
}

.qualitative-row .qualitative-block {
  display: flex;
  flex-direction: column;
}

.qualitative-compare img {
  width: 100%;
  max-height: 500px;
  height: 500px;
  object-fit: contain;
}

.qualitative-attention {
  width: 100%;
}

.qualitative-attention .attention-scroll {
  width: 100%;
  max-height: 500px;
}

.qualitative-attention .attention-scroll img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: none;
  height: 500px;
  object-fit: contain;
}

.attention-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fff;
}

.attention-scroll img {
  height: auto;
  border: none;
  border-radius: 0;
}

.result-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.result-card {
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: 1rem 1rem 1.1rem;
  background: #ffffff;
}

.table-card {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-card h3 {
  margin: 0 0 0.8rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.result-tables .result-card {
  padding: 0.9rem 0.9rem 1rem;
}

.table-note {
  margin: 0 0 0.9rem;
  color: #555;
  font-size: 0.94rem;
  line-height: 1.6;
}

.table-card .table-note,
.table-card h3 {
  width: 100%;
}

.table-scroll {
  overflow-x: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.ablation-figure {
  margin-top: 0.3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.ablation-figure img {
  width: 100%;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
}

.citation-section {
  padding-top: 1.5rem;
}

.citation-note {
  max-width: 900px;
  margin: 0 auto 0.8rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

.citation-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fafafa;
  color: #222;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.55;
}

.citation-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.result-tables table {
  min-width: 700px;
}

th,
td {
  padding: 0.72rem 0.7rem;
  border-bottom: 1px solid #ececec;
  text-align: center;
  font-size: 0.95rem;
}

.result-tables th,
.result-tables td {
  padding: 0.56rem 0.5rem;
  font-size: 0.86rem;
}

th {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  color: #111;
  background: #fafafa;
}

td {
  color: #444;
}

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

.ours-row td:first-child {
  font-weight: 700;
  color: #111;
}

.best {
  color: var(--best-red);
  font-weight: 700;
}

.second {
  color: #111;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1.5px;
}

.footer {
  padding: 1.2rem 0 2.6rem;
}

.footer p {
  margin: 0;
  color: #777;
  font-size: 0.95rem;
}

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

  .teaser-figure {
    max-width: 100%;
  }

  .qualitative-row {
    grid-template-columns: 1fr;
  }

  .qualitative-compare img,
  .qualitative-attention .attention-scroll img {
    max-height: 320px;
    height: 320px;
  }
}

@media (max-width: 640px) {
  .container.is-max-desktop {
    width: min(100% - 28px, 100%);
  }

  .publication-title {
    font-size: 2.3rem;
  }

  .publication-authors {
    font-size: 1rem;
  }

  .link-button {
    width: 100%;
    text-align: center;
  }

  th,
  td {
    padding: 0.58rem 0.48rem;
    font-size: 0.84rem;
  }
}
