/* Adapted from the Fai-DPO / Nerfies academic project template. */
:root { color-scheme: light; --ink: #363636; --blue: #176ca5; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { font-family: 'Noto Sans', Arial, sans-serif; color: var(--ink); font-size: 1rem; line-height: 1.7; }
a { color: var(--blue); }
a:hover { color: #114d76; text-decoration: underline; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #176ca5; outline-offset: 5px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.project-nav { min-height: 3.5rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding: .7rem 1rem; font-size: .9375rem; }
.project-nav > a, summary { color: var(--ink); }
.related-research { position: relative; }
summary { cursor: pointer; }
.related-links { position: absolute; top: 2rem; left: 0; z-index: 2; min-width: 12rem; padding: .5rem; border: 1px solid #ddd; background: #fff; box-shadow: 0 5px 16px #00000012; }
.related-links a { display: block; padding: .45rem .6rem; }
.hero-body { padding: 2.5rem 1.5rem 3rem; }
.method-name { font-family: 'Google Sans', Arial, sans-serif; color: var(--blue); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.method-name span { display: block; color: #555; font-size: 1rem; font-weight: 400; }
.publication-title { font-family: 'Google Sans', Arial, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 1.65rem !important; }
.publication-authors { font-family: 'Google Sans', Arial, sans-serif; line-height: 1.85; }
.author-block { display: inline-block; }
sup { font-size: .7em; padding-left: .12em; }
.affiliations { max-width: 54rem; margin: .85rem auto 0; font-size: 1rem; line-height: 1.9; }
.affiliations span { display: inline-block; margin: 0 .55rem; }
.venue { font-size: 1.5rem; font-weight: 700; margin: 1.3rem 0 1rem; color: #111; }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2.25rem; }
.publication-links .button { min-height: 2.75rem; padding-inline: 1.4rem; font-size: 1rem; }
.button:hover { text-decoration: none; }
.section { padding: 3.5rem 1.5rem; }
.band { background: #f5f5f5; }
.title.is-3 { line-height: 1.25; margin-bottom: 1.6rem; }
.content { line-height: 1.8; }
.content li { margin-bottom: .65rem; }
.content ul { margin-top: 0; }
figure { margin: 1.75rem auto 0; }
figure a { display: block; }
figure img { display: block; width: 100%; height: auto; background: white; }
figcaption { margin: .9rem auto 0; font-size: .9375rem; line-height: 1.65; color: #555; max-width: 52rem; text-align: center; }
.medium-figure { max-width: 49rem; }
.method-explanation { margin-top: 2rem; }
.method-explanation .title { margin-bottom: .65rem; }
.math { font-family: Georgia, serif; white-space: nowrap; font-size: 1.125em; }
.table-container { overflow-x: auto; margin: 1.8rem 0; }
.table { font-size: .9375rem; background: #fff; }
.table caption { caption-side: top; text-align: left; color: var(--ink); font-size: 1.125rem; font-weight: 600; padding: 0 0 .9rem; }
.table th, .table td { padding: .7rem .8rem; vertical-align: middle; white-space: nowrap; }
.table td { text-align: right; font-variant-numeric: tabular-nums; }
.table thead th { border-bottom: 2px solid #999; }
.table tr.ours, .table.is-striped tbody tr.ours:nth-child(even) { background: #e8f2fa; font-weight: 700; }
.table tr.ours th { color: #12547f; }
.table-note { color: #555; font-size: .875rem; line-height: 1.75; }
pre { font-size: .875rem; border-radius: 4px; padding: 1.5rem; overflow-x: auto; line-height: 1.75; }
.footer { padding: 2.5rem 1.5rem; font-size: .9375rem; }
@media (max-width: 600px) {
  .hero-body { padding: 1.5rem 1.15rem 2.5rem; }
  .publication-title.title.is-1 { font-size: 2.15rem; line-height: 1.2; }
  .desktop-break { display: none; }
  .publication-authors.is-size-5 { font-size: 1.125rem !important; }
  .affiliations span { display: block; margin: .35rem 0; }
  .venue { font-size: 1.25rem; }
  .section { padding: 2.5rem 1.15rem; }
  .title.is-3 { font-size: 1.7rem; }
  .related-links { left: auto; right: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
