/* Adapted from the Nerfies website, CC BY-SA 4.0. See static/vendor/NERFIES-NOTICE.txt. */
:root { color-scheme: light; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { font-family: 'Noto Sans', sans-serif; color: #444; }
a { color: #168dcc; }
a:hover { color: #116b9c; }
a:focus-visible, button:focus-visible, select:focus-visible, video:focus-visible { outline: 3px solid #1679b0; outline-offset: 4px; }
video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #171717; border-radius: 9px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .7rem 1rem; background: white; z-index: 10; }
.skip-link:focus { top: 1rem; }
.project-nav { display: flex; flex-wrap: wrap; gap: 1.45rem; justify-content: center; padding: 1.1rem 1rem .4rem; font-size: .9rem; }
.project-nav a { color: #686868; }
.project-nav a:hover { color: #168dcc; }
.publication-header .hero-body { padding: 3.5rem 1.5rem 2rem; }
.publication-title, .publication-authors, .publication-affiliation, .teaser { font-family: 'Google Sans', sans-serif; }
.publication-title { font-weight: 700; line-height: 1.14; letter-spacing: -.025em; margin-bottom: 1.75rem !important; }
.publication-subtitle { display: inline-block; font-size: .8em; line-height: 1.2; letter-spacing: -.018em; margin-top: .35rem; }
.publication-authors { line-height: 1.8; }
.publication-authors a { color: hsl(204, 86%, 53%); }
.publication-authors a:hover { text-decoration: underline; }
.author-block { display: inline-block; margin: 0 .2rem; }
sup { font-size: .7em; }
.publication-affiliation { margin-top: .35rem; }
.equal-contribution { font-size: .9rem; margin-top: .5rem; color: #666; }
.publication-links { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; margin-top: 1.25rem; }
.publication-links .icon img { filter: invert(1); max-height: 17px; width: 17px; }
.arxiv-pending[disabled] { color: #686868; background: #f2f2f2; border-color: #dfdfdf; opacity: 1; cursor: default; }
.teaser .hero-body { padding: .5rem 1.5rem 3rem; }
.task-picker { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: 1rem; }
.task-picker label { font-weight: 500; }
.task-picker select { min-width: 240px; }
.task-description { text-align: center; font-size: 1rem; margin-top: .9rem; color: #666; }
.teaser-summary { text-align: center; font-size: 1.24rem; line-height: 1.55; max-width: 800px; margin: 1.7rem auto 0; }
.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.section-tinted { background: #fafafa; }
.section .title.is-3 { margin-bottom: 1.6rem; }
.content { font-size: 1rem; line-height: 1.75; }
.content p:not(:last-child) { margin-bottom: 1.1em; }
.media-caption { margin-top: .8rem; font-size: .9rem; }
.muted, .citation-note { color: #747474; }
.method-figure { margin: 1rem 0 2rem; }
.method-figure img { display: block; width: 100%; height: auto; }
.method-steps .title { line-height: 1.35; margin-bottom: .65rem; }
.method-steps p { font-size: .96rem; line-height: 1.7; }
.method-steps .column { padding-left: 1rem; padding-right: 1rem; }
.section-intro { margin: -.3rem auto 1.75rem; line-height: 1.65; }
.paired-gallery figure { margin: 0; }
.paired-gallery .title { text-align: center; margin-bottom: .65rem; }
.paired-gallery img { display: block; width: 100%; height: auto; border-radius: 4px; }
.paired-gallery .column { padding-bottom: 1.5rem; }
.result-table { background: transparent; font-size: .95rem; }
.result-table caption { caption-side: bottom; text-align: left; font-size: .8rem; color: #777; line-height: 1.5; padding-top: .75rem; }
.result-table thead th { white-space: nowrap; }
.result-table th, .result-table td { vertical-align: middle; padding: .75em .6em; }
.result-table td { white-space: nowrap; }
.result-table th:first-child { padding-left: 0; }
.citation-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.citation-heading .title { margin: 0 !important; }
.citation { margin-bottom: .7rem; font-size: .82rem; line-height: 1.7; padding: 1.5rem; border-radius: 4px; overflow: auto; }
.citation-note { font-size: .85rem; }
.footer { padding: 2.8rem 1.5rem; }
.footer .content { font-size: .88rem; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 768px) {
  .project-nav { gap: 1rem; font-size: .82rem; padding-top: 1rem; }
  .publication-header .hero-body { padding: 2.5rem 1.25rem 1.5rem; }
  .publication-title.is-1 { font-size: 2.2rem; }
  .publication-subtitle { font-size: .76em; margin-top: .55rem; }
  .publication-authors.is-size-5, .publication-affiliation.is-size-5 { font-size: 1.05rem !important; }
  .publication-affiliation { margin-top: .65rem; }
  .wide-break { display: none; }
  .publication-links { max-width: 360px; margin-left: auto; margin-right: auto; }
  .publication-links .button { font-size: .9rem; }
  .teaser .hero-body { padding: .25rem 1rem 2.5rem; }
  .task-picker select { min-width: 210px; }
  .task-description { font-size: .9rem; }
  .teaser-summary { font-size: 1.08rem; margin-top: 1.4rem; }
  .section { padding: 2.5rem 1.25rem; }
  .section .title.is-3 { font-size: 1.65rem; }
  .content.has-text-justified { text-align: left !important; }
  .method-steps .column { padding-left: .75rem; padding-right: .75rem; }
  .result-table { font-size: .8rem; }
  .result-table th, .result-table td { padding: .7em .35em; white-space: normal; }
  .result-table thead th { white-space: normal; }
  .result-table th:first-child { width: 42%; }
  .result-table td { width: 29%; }
  .citation { padding: 1rem; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
