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

.publication-header .hero-body {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

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

.publication-title .method-name {
  display: block;
  font-weight: 800;
}

.publication-title .paper-title {
  display: block;
  margin-top: .15em;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
}

.publication-venue {
  display: table;
  margin: 0 auto;
  color: #555;
  font-weight: 600;
}

.publication-authors {
  margin-top: 1rem;
  font-family: 'Google Sans', sans-serif;
}
.publication-authors a { color: hsl(204, 86%, 53%); }
.publication-authors a:hover { text-decoration: underline; }

.affiliation { margin-top: .25rem; color: #555; }

.publication-links {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

.publication-links .link-block { display: inline-flex; }
.publication-links .button { margin: 5px 0; }
.publication-links .button[disabled] { opacity: .6; }

.teaser-section { padding-top: .5rem; padding-bottom: 1rem; }
.teaser-figure { margin: 0 auto; }
.teaser-figure img { display: block; width: 100%; height: auto; }
.teaser-figure figcaption { margin-top: .6rem; font-size: .95rem; line-height: 1.6; text-align: center; }

.abstract-section { padding-top: 1.5rem; }
.abstract-section .content { font-size: 1rem; line-height: 1.7; }

.method-section { padding-top: 2rem; padding-bottom: 3rem; }
.method-overview { margin: 0 auto; }
.method-overview img { display: block; width: 100%; height: auto; }
.method-overview figcaption { margin-top: .8rem; font-size: .95rem; line-height: 1.6; text-align: left; }
.results-note { margin-top: 1rem; color: #666; font-size: .85rem; }
.results-intro { margin-top: -1rem; margin-bottom: 2rem; color: #666; }

.video-category + .video-category { margin-top: 3rem; }
.video-category > .title { margin-bottom: 1.1rem; }
.results-carousel { position: relative; width: 100%; }
.carousel-window { overflow: hidden; }
.carousel-track { display: flex; gap: 10px; }
.carousel-item { flex: 0 0 calc((100% - 20px) / 3); min-width: 0; margin: 0; border: 1px solid #bbb; border-radius: 10px; overflow: hidden; text-align: center; }
.carousel-item video { display: block; width: 100%; height: 300px; object-fit: contain; background: #111; }
.casual-viewer .carousel-item video { height: auto; aspect-ratio: 986 / 1014; object-fit: cover; background: #fff; }
.carousel-item h4 { margin: .4rem 0 .55rem; font-size: .9rem; font-weight: 600; }
.carousel-arrow { position: absolute; z-index: 2; top: calc(50% - 21px); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0 0 4px; border: 1px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px #3232321a; color: #333; font-size: 2rem; line-height: 1; cursor: pointer; transition: transform .2s; }
.carousel-arrow:hover { transform: scale(1.2); }
.carousel-arrow:focus-visible { outline: 3px solid #3273dc; outline-offset: 2px; }
.carousel-previous { left: 0; }
.carousel-next { right: 0; }
.carousel-wide { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; column-gap: .5rem; align-items: center; }
.carousel-wide .carousel-window { min-width: 0; }
.carousel-wide .carousel-arrow { position: static; }
.carousel-wide .carousel-item { flex-basis: 100%; }
.carousel-wide .carousel-item video { height: auto; max-height: none; object-fit: cover; background: #fff; }
.pose-viewer .carousel-item video { aspect-ratio: 2904 / 1300; }
.wild-viewer .carousel-item video { aspect-ratio: 2904 / 1416; }

@media screen and (max-width: 768px) {
  .results-carousel .carousel-item { flex-basis: 100%; }
}

@media screen and (max-width: 520px) {
  .publication-header .hero-body { padding-top: 2.5rem; padding-bottom: 1.3rem; }
  .carousel-arrow { width: 36px; height: 36px; top: calc(50% - 18px); font-size: 1.8rem; }
  .carousel-wide { grid-template-columns: 36px minmax(0, 1fr) 36px; column-gap: .25rem; }
}
