:root {
  --ink: #172126;
  --muted: #5d696f;
  --line: #dce3e6;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --soft-strong: #edf3f5;
  --section-rule: #cbd7dc;
  --teal: #087c82;
  --teal-dark: #065d62;
  --coral: #c8513e;
  --code: #142126;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 3px;
}

img,
video {
  display: block;
  max-width: 100%;
}

.container,
.narrow-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow-container {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 14, 17, 0.52);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 62px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.18em) rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle {
  color: #ffffff;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: min(520px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 14, 17, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu p {
  margin: 4px 8px 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  text-shadow: none;
}

.nav-dropdown-menu a strong,
.nav-dropdown-menu a span {
  display: block;
}

.nav-dropdown-menu a strong {
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.nav-dropdown-menu a span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 550;
  line-height: 1.28;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: transparent;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(3, 8, 10, 0.72) 0%, rgba(3, 8, 10, 0.32) 42%, rgba(3, 8, 10, 0.78) 100%),
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.08), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 720px;
  padding: 132px 0 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.venue,
.section-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .venue {
  margin-bottom: 18px;
  color: #f3c57d;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  font-weight: 700;
  text-shadow: 0 5px 34px rgba(0, 0, 0, 0.72);
}

.subtitle {
  max-width: 920px;
  margin: 22px auto 26px;
  color: #334147;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.35;
}

.hero .subtitle {
  max-width: 1040px;
  margin: 24px auto 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.25rem, 2.2vw, 2.05rem);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.78);
}

.uni-word {
  white-space: nowrap;
}

.title-uni,
.hero .uni-prefix {
  position: relative;
  display: inline-block;
  color: #f3c57d;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.title-uni::after,
.hero .uni-prefix::after {
  content: "";
  position: absolute;
  left: 0.06em;
  right: 0.06em;
  bottom: 0.04em;
  height: 0.18em;
  border-radius: 999px;
  background: rgba(243, 197, 125, 0.34);
  z-index: -1;
}

.title-uni::after {
  bottom: 0.02em;
  height: 0.14em;
}

.title-uni {
  padding-right: 0.2em;
}

.uni-cube {
  position: absolute;
  top: -0.2em;
  right: -0.12em;
  width: 0.62em;
  height: 0.62em;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(243, 197, 125, 0.72);
  color: #f3c57d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.22em;
  font-weight: 850;
  line-height: 1;
  text-shadow: none;
  transform: rotateX(18deg) rotateY(-24deg) rotateZ(2deg);
  transform-style: preserve-3d;
  box-shadow: 0 0 18px rgba(243, 197, 125, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.uni-cube::before,
.uni-cube::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(243, 197, 125, 0.42);
  pointer-events: none;
}

.uni-cube::before {
  inset: -0.16em 0.16em 0.16em -0.16em;
}

.uni-cube::after {
  inset: 0.16em -0.16em -0.16em 0.16em;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 10px;
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
}

.authors a {
  text-decoration-thickness: 1px;
}

.authors sup {
  position: relative;
  top: -0.35em;
  margin-left: 1px;
  font-size: 0.62em;
  line-height: 0;
}

.hero .authors a {
  color: #ffffff;
}

.authors span {
  color: #98a3a7;
}

.hero .authors span {
  color: rgba(255, 255, 255, 0.54);
}

.affiliations {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero .affiliations,
.hero .corresponding {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.64);
}

.corresponding {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.button,
.copy-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  border-color: var(--teal);
  color: #ffffff;
  background: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.button-disabled {
  color: #78848a;
  background: var(--soft);
  cursor: not-allowed;
}

.hero .button {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(8, 18, 22, 0.42);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.hero .button-primary {
  border-color: rgba(243, 197, 125, 0.92);
  color: #132023;
  background: #f3c57d;
}

.hero .button-disabled {
  color: rgba(255, 255, 255, 0.68);
}

.overview-section {
  background: var(--paper);
}

.overview-layout {
  display: grid;
  gap: 34px;
}

.abstract-panel {
  width: min(900px, 100%);
  margin-inline: auto;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.abstract-panel h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
  text-align: center;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--section-rule) 16%, var(--section-rule) 84%, transparent);
  transform: translateX(-50%);
}

.video-section,
.results-section {
  background: var(--paper);
}

.overview-section,
.citation-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.method-section {
  background: var(--soft-strong);
}

.results-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 0 0 0.42rem;
  color: var(--ink);
  background: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateX(-50%);
}

.section-heading > p:last-child:not(.section-kicker) {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.abstract-text {
  margin: 0;
  color: #2a373c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.85;
  text-align: justify;
}

.paper-video {
  width: 100%;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #000000;
}

.figure-stack {
  display: grid;
  gap: 52px;
}

.feature-figure,
.result-figure {
  margin: 0;
}

.method-details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.06);
}

.method-details summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.method-details summary::-webkit-details-marker {
  display: none;
}

.method-details summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 1.25rem;
  line-height: 1;
}

.method-details[open] summary::after {
  content: "-";
}

.method-detail-stack {
  display: grid;
  gap: 44px;
  padding: 0 24px 28px;
}

.video-figure {
  display: grid;
  gap: 12px;
}

.video-figure .paper-video {
  order: 2;
}

.zoom-trigger {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.08);
  cursor: zoom-in;
}

.zoom-trigger:focus-visible {
  outline: 3px solid rgba(8, 124, 130, 0.3);
  outline-offset: 3px;
}

.zoom-trigger img {
  width: 100%;
  height: auto;
}

figcaption {
  max-width: 920px;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 56px;
}

.ablation-figure {
  margin-top: 52px;
}

.results-grid-spaced {
  margin-top: 56px;
}

.cross-camera-comparison {
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(23, 33, 38, 0.07);
}

.cross-camera-viewer {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.cross-scene-tabs,
.cross-render-tabs {
  display: grid;
  background: rgba(23, 33, 38, 0.08);
}

.cross-scene-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line);
}

.cross-render-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #f4f7f8;
}

.cross-scene-tab,
.cross-render-tab {
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  cursor: pointer;
}

.cross-render-tab {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cross-scene-tab:hover,
.cross-scene-tab:focus-visible,
.cross-scene-tab.is-active,
.cross-render-tab:hover,
.cross-render-tab:focus-visible,
.cross-render-tab.is-active {
  color: var(--ink);
  background: #ffffff;
}

.cross-scene-tab.is-active {
  box-shadow: inset 0 3px 0 #f3c57d;
}

.cross-render-tab.is-active {
  border-color: rgba(8, 124, 130, 0.45);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #eef8f8 100%);
  box-shadow: inset 0 3px 0 #f3c57d, 0 10px 24px rgba(8, 124, 130, 0.12);
}

.cross-scene-tab strong,
.cross-scene-tab span,
.cross-render-tab strong,
.cross-render-tab span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cross-scene-tab strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.cross-render-tab strong {
  color: inherit;
  font-size: 0.98rem;
  line-height: 1.25;
}

.cross-scene-tab span,
.cross-render-tab span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.cross-render-tab span {
  white-space: normal;
  font-size: 0.74rem;
  line-height: 1.35;
}

.cross-model-scenes {
  height: clamp(330px, 43vw, 520px);
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  background: transparent;
}

.cross-model-scene {
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
}

.cross-model-scene.is-hidden {
  display: none;
}

.cross-model-scene .b-dics {
  background: transparent;
}

.cross-render-panel {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.cross-render-layout {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
}

.cross-gt-card,
.cross-matrix-card {
  min-width: 0;
}

.cross-gt-card {
  min-height: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
}

.cross-gt-inner {
  width: min(100%, 220px);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.cross-gt-card h4,
.cross-matrix-card h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
}

.cross-gt-card h4 {
  margin: 0;
}

.cross-gt-fov {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.cross-gt-button,
.cross-cell-button {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.cross-gt-button img,
.cross-cell-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
}

.cross-matrix-scroll {
  overflow-x: auto;
  padding-bottom: 2px;
}

.cross-matrix {
  min-width: 720px;
  display: grid;
  grid-template-columns: 92px repeat(4, minmax(132px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.cross-axis,
.cross-col-label,
.cross-row-label,
.cross-cell {
  background: #ffffff;
}

.cross-col-label,
.cross-row-label {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.cross-col-label {
  color: var(--ink);
}

.cross-row-label {
  color: var(--teal-dark);
}

.cross-axis {
  position: relative;
  min-height: 54px;
  padding: 0;
  overflow: hidden;
  color: var(--muted);
  background: #ffffff;
}

.cross-axis::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    transparent calc(50% - 0.5px),
    var(--line) 50%,
    transparent calc(50% + 0.5px)
  );
}

.cross-axis-render,
.cross-axis-recon {
  position: absolute;
  z-index: 1;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 850;
  line-height: 1.1;
  text-transform: uppercase;
  pointer-events: none;
}

.cross-axis-render {
  left: 8px;
  bottom: 7px;
}

.cross-axis-recon {
  top: 7px;
  right: 7px;
  max-width: 72px;
  text-align: right;
}

.cross-cell {
  min-height: 132px;
  padding: 6px;
  display: grid;
  place-items: center;
}

.cross-cell-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px dashed rgba(23, 33, 38, 0.24);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  text-align: center;
  background: #f8fbfc;
}

.result-details,
.result-subdetails {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 33, 38, 0.06);
}

.result-subdetails {
  border-radius: 10px;
  box-shadow: none;
}

.result-details summary,
.result-subdetails summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.result-details summary::-webkit-details-marker,
.result-subdetails summary::-webkit-details-marker {
  display: none;
}

.result-details summary::after,
.result-subdetails summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal);
  font-size: 1.25rem;
  line-height: 1;
}

.result-details[open] > summary::after,
.result-subdetails[open] > summary::after {
  content: "-";
}

.result-detail-stack {
  display: grid;
  gap: 18px;
  padding: 0 24px 28px;
}

.result-subdetails > .result-figure,
.result-subdetails > .supp-result-grid {
  padding: 0 20px 22px;
}

.supp-result-grid {
  display: grid;
  gap: 28px;
}

.supp-result-grid .result-figure + .result-figure {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.result-details .zoom-trigger img {
  width: 100%;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: #ffffff;
}

.result-details .zoom-trigger {
  display: grid;
  place-items: center;
}

.multifov-comparison {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(23, 33, 38, 0.07);
}

.sc-dics-comparison {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
}

.sc-dics-scenes {
  height: clamp(360px, 48vw, 560px);
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  background: transparent;
}

.sc-dics-scene {
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
}

.sc-dics-scene.is-hidden {
  display: none;
}

.sc-dics-scene .b-dics {
  background: transparent;
}

.sc-dics-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(23, 33, 38, 0.04) 25%, transparent 25%) 0 0 / 26px 26px,
    linear-gradient(135deg, transparent 75%, rgba(23, 33, 38, 0.04) 75%) 0 0 / 26px 26px,
    transparent;
}

.sc-dics-empty p {
  margin: 0;
}

.comparison-heading {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.comparison-heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.2;
}

.comparison-heading p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.comparison-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.comparison-meta {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.comparison-meta h4,
.comparison-meta p {
  margin: 0;
}

.comparison-meta h4 {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.comparison-type {
  margin-bottom: 2px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-viewport {
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
  background: transparent;
  touch-action: pan-y;
}

.comparison-viewport:focus-visible {
  outline: 3px solid rgba(8, 124, 130, 0.38);
  outline-offset: -3px;
}

.comparison-track {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72%, 1fr);
  transform: translateX(0);
  will-change: transform;
}

.comparison-panel {
  position: relative;
  min-width: 0;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  background: #0d1519;
}

.comparison-panel img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.comparison-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 28px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(23, 33, 38, 0.04) 25%, transparent 25%) 0 0 / 26px 26px,
    linear-gradient(135deg, transparent 75%, rgba(23, 33, 38, 0.04) 75%) 0 0 / 26px 26px,
    transparent;
}

.method-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.fov-scene-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  background: rgba(23, 33, 38, 0.08);
}

.fov-tab {
  min-width: 0;
  min-height: 112px;
  padding: 12px 7px 10px;
  border: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  cursor: pointer;
}

.fov-tab:hover,
.fov-tab:focus-visible,
.fov-tab.is-active {
  color: var(--ink);
  background: #ffffff;
}

.fov-tab.is-active {
  box-shadow: inset 0 3px 0 #f3c57d;
}

.fov-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 33, 38, 0.22);
  border-radius: 50%;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

.fov-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fov-tab strong,
.fov-tab span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fov-tab strong {
  font-size: 0.78rem;
  line-height: 1.2;
}

.fov-tab span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.66rem;
}


/* DICS-style multi-image comparison viewer, modeled after SC-OmniGS panorama comparisons. */
.dics-style-viewer {
  aspect-ratio: auto;
  cursor: default;
  user-select: none;
}

.dics-style-viewer .comparison-track {
  position: absolute;
  inset: 0;
  height: 100%;
  display: flex;
  transform: none;
  will-change: auto;
}

.dics-style-viewer .comparison-panel {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  overflow: hidden;
  border-right: 0;
  background: #0d1519;
}

.dics-style-viewer .comparison-panel img {
  position: absolute;
  top: 0;
  left: var(--image-left, 0px);
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: initial;
  user-select: none;
  pointer-events: none;
}

.dics-style-viewer .comparison-placeholder {
  width: var(--viewer-width, 100%);
  transform: translateX(var(--image-left, 0px));
}

.comparison-sliders {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  color: #ffffff;
  background: currentColor;
  opacity: 0.82;
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
  z-index: 5;
}

.comparison-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: rgba(5, 9, 11, 0.64);
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.comparison-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-68%, -50%) rotate(45deg);
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translate(-32%, -50%) rotate(45deg);
}

.dics-style-viewer .method-badge {
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
}

.code-shell {
  position: relative;
  border: 1px solid #26383f;
  border-radius: 6px;
  overflow: hidden;
  background: var(--code);
}

pre {
  margin: 0;
  padding: 28px 24px;
  overflow-x: auto;
  color: #e8f2f4;
  font: 0.86rem/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 34px;
  padding: 6px 10px;
  border-color: #486069;
  color: #e8f2f4;
  background: #26383f;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: #354b54;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-inner p {
  margin: 0;
}

.image-dialog {
  width: min(1500px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 46px 12px 12px;
  border: 0;
  border-radius: 6px;
  overflow: auto;
  background: #ffffff;
  box-shadow: 0 18px 70px rgba(12, 25, 30, 0.28);
}

.image-dialog::backdrop {
  background: rgba(10, 18, 22, 0.78);
}

.image-dialog img {
  width: 100%;
  height: auto;
}

.dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 760px) {
  .container,
  .narrow-container,
  .nav-shell {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    min-height: 58px;
  }

  .nav-links {
    gap: 13px;
  }

  .nav-links a,
  .nav-dropdown-toggle {
    font-size: 0.78rem;
  }

  .nav-dropdown-menu {
    top: calc(100% + 14px);
    right: -6px;
  }

  .nav-links a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .hero-inner {
    min-height: 650px;
    padding: 104px 0 64px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 17vw, 4.2rem);
  }

  .subtitle {
    margin-top: 18px;
    font-size: 1.2rem;
  }

  .hero .subtitle {
    font-size: 1.12rem;
  }

  .authors {
    font-size: 0.96rem;
  }

  .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    width: 100%;
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .abstract-text {
    font-size: 1.02rem;
    text-align: left;
  }

  .results-grid {
    gap: 42px;
  }

  .abstract-panel,
  .multifov-comparison {
    padding: 20px 16px;
  }

  .method-details summary {
    padding: 0 14px;
  }

  .method-detail-stack {
    gap: 34px;
    padding: 0 14px 20px;
  }


  .comparison-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .sc-dics-scenes {
    height: clamp(300px, 72vw, 430px);
  }

  .cross-camera-comparison {
    padding: 20px 16px;
  }

  .cross-model-scenes {
    height: clamp(280px, 72vw, 420px);
  }

  .cross-render-layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .cross-matrix {
    min-width: 680px;
  }

  .dics-style-viewer.comparison-viewport {
    aspect-ratio: auto;
  }

  .fov-scene-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fov-tab {
    min-height: 104px;
  }

  .fov-icon {
    width: 54px;
    height: 54px;
  }

  .figure-stack {
    gap: 36px;
  }

  pre {
    padding: 58px 16px 20px;
    font-size: 0.76rem;
  }

  .footer-inner {
    min-height: 108px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .nav-links a:nth-child(3) {
    display: none;
  }

  .actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
