:root {
  color-scheme: light;
  --text: #222;
  --muted: #555;
  --link: #3273dc;
  --dark: #363636;
}
html { background: #fff; }
body {
  min-width: 20rem;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Noto Sans", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a { color: var(--link); }
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}
::selection { background: #cde8ff; }
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: -10000px;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: #fff;
  color: #000;
  font-weight: 700;
}
.skip-link:focus { left: 0.75rem; }

/* Publication header, following the NeRF-HuGS project-page layout. */
.publication-header .hero-body {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}
.publication-title,
.publication-authors,
.publication-affiliations,
.publication-venue {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
}
.publication-title.title.is-1 { margin-bottom: 0.75rem; }
.publication-title.title.is-2 {
  max-width: 60rem;
  margin: 0 auto 1.25rem;
  font-size: 2.2rem;
  line-height: 1.2;
  text-wrap: balance;
}
.publication-authors,
.publication-affiliations { line-height: 1.8; }
.publication-authors { margin-bottom: 0.25rem; }
.publication-affiliations { color: var(--muted); }
.author-block {
  display: inline-block;
  margin: 0 0.3rem;
}
.publication-authors a {
  color: var(--link) !important;
  text-decoration: none;
}
.publication-authors a:hover { text-decoration: underline; }
.publication-venue {
  margin-top: 0.75rem;
  color: var(--muted);
}
.publication-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.publication-links .link-block { display: inline-flex; }
.publication-links .button { margin: 0.2rem 0; }
.publication-links .button.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.publication-links .icon svg {
  height: 1em;
  fill: currentcolor;
}
.resource-icon--paper { width: 0.75em; }
.resource-icon--arxiv { width: 0.875em; }
.resource-icon--github { width: 1em; }
.resource-icon--download { width: 1em; }

/* Linear paper content. */
.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.section + .section { padding-top: 2rem; }
.container.is-max-widescreen { max-width: 960px !important; }
.title,
.result-card h4 {
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
}
.content.has-text-justified { hyphens: auto; }
.pipeline-figure { margin: 1.75rem 0 1.5rem; }
.pipeline-figure img {
  width: 100%;
  height: auto;
}
.method-description { margin-top: 1.25rem; }
.method-example { margin-top: 2.25rem; }
.static-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.static-map-item {
  margin: 0;
  text-align: center;
}
.static-map-item img {
  width: 100%;
  height: auto;
}
.static-map-item figcaption {
  padding-top: 0.35rem;
  font-size: 0.9rem;
}

/* The scene selector is the page's only interactive component. */
.results-intro {
  max-width: 46rem;
  margin-right: auto;
  margin-left: auto;
}
.scene-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
}
.scene-tabs button {
  min-width: 6.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid #777;
  border-radius: 999px;
  background: #fff;
  color: #363636;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.scene-tabs button:hover { border-color: #777; }
.scene-tabs button.is-active,
.scene-tabs button[aria-selected="true"] {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}
html:not(.js) [data-tab-list] { display: none; }
html:not(.js) [data-panel] {
  display: block !important;
  margin-top: 2.5rem;
}
html.js [data-panel][hidden] { display: none; }
.tab-panel > .title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.result-scroller {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.2rem 0 0.6rem;
  scrollbar-gutter: stable;
}
.result-gallery {
  display: grid;
  grid-template-columns: repeat(7, minmax(7.35rem, 1fr));
  gap: 0.45rem;
  min-width: 56rem;
}
.result-card {
  min-width: 0;
  text-align: center;
}
.result-card h4 {
  min-height: 2.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
}
.result-card--ours h4 { font-weight: 700; }
.result-full {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.crop-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.crop-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.citation {
  max-width: 100%;
  overflow-x: auto;
  border-radius: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre;
}
.site-footer {
  padding: 2rem 1.5rem;
  background: #f5f5f5;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer a {
  color: #363636;
  text-decoration: underline;
}

@media (max-width: 48rem) {
  .publication-header .hero-body { padding-top: 2.5rem; }
  .publication-title.title.is-1 { font-size: 2.5rem; }
  .publication-title.title.is-2 { font-size: 1.65rem; }
  .publication-authors,
  .publication-affiliations { font-size: 1rem !important; }
  .section { padding: 2.25rem 1.25rem; }
  .section + .section { padding-top: 1.25rem; }
  .content.has-text-justified { text-align: left !important; }
  .static-map-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-gallery { min-width: 53rem; }
}
@media (max-width: 30rem) {
  .publication-title.title.is-1 { font-size: 2.15rem; }
  .publication-title.title.is-2 { font-size: 1.4rem; }
  .scene-tabs button {
    min-width: 0;
    flex: 1 1 calc(50% - 0.5rem);
  }
}
@media print {
  [data-tab-list] { display: none !important; }
  [data-panel][hidden] { display: block !important; }
  [data-panel] {
    break-inside: avoid;
    margin-top: 1.5rem;
  }
  .result-scroller { overflow: visible; }
  .result-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
  }
}
