:root{--page-width:1120px;--text:#202124;--muted:#666;--line:#e6e6e6;--accent:#1f5f9f;--ours:#9e2f2f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.55}main{width:100%}.container{width:min(var(--page-width),calc(100% - 40px));margin:0 auto}.text-container{max-width:900px;margin-left:auto;margin-right:auto}.hero{padding:28px 0 16px;border-bottom:1px solid #f0f0f0}.hero .container{text-align:left}.hero h1{margin:0 0 5px;font-size:32px;line-height:1.18;font-weight:700;letter-spacing:-.015em}.subtitle{margin:0 0 10px;font-size:17px;font-weight:500}.authors,.affiliation{margin:2px 0;color:var(--muted);font-size:14px}.hero-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:9px;font-size:14px}.hero-links a,.hero-links span{color:#356da8;text-decoration:none}.hero-links span{color:#7d7d7d}.section{padding:24px 0}.compact-section{padding-top:25px;padding-bottom:18px}.figure-section{padding-top:20px;padding-bottom:20px}h2{margin:0 0 10px;text-align:left;font-size:22px;line-height:1.25;font-weight:650}h3{margin:0 0 7px;font-size:15px;text-align:left;font-weight:650;color:#444}.body-text{margin:0;font-size:15px;text-align:justify;color:#303030}.section-note{margin:0 0 16px;font-size:13px;color:#777}.paper-figure{display:block;width:100%;height:auto;margin:0 auto;border:0}.video-section{padding-top:22px}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 22px}.video-pair{min-width:0}.video-row{display:grid;grid-template-columns:68px minmax(0,1fr);gap:8px;align-items:center;margin-bottom:6px}.video-label{font-size:12px;font-weight:700;text-align:right;color:#555}.video-label.ours{color:var(--ours)}.pair-video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#111;border:1px solid #ddd}.pair-controls{display:grid;grid-template-columns:34px 38px minmax(0,1fr) 38px;gap:7px;align-items:center;margin-left:76px;margin-top:7px}.play-toggle{width:32px;height:28px;padding:0;border:1px solid #cfcfcf;border-radius:4px;background:#fff;color:#333;font-size:14px;cursor:pointer}.play-toggle:hover{background:#f4f4f4}.time{font-size:11px;font-variant-numeric:tabular-nums;color:#666;text-align:center}.timeline{width:100%;height:4px;accent-color:#555;cursor:pointer}.bibtex{overflow:auto;margin:0;padding:14px 16px;background:#f7f7f7;border:1px solid var(--line);font-size:12px;line-height:1.5}@media(max-width:820px){.video-grid{grid-template-columns:1fr}.hero h1{font-size:28px}.section{padding-top:20px;padding-bottom:20px}}@media(max-width:560px){.container{width:min(var(--page-width),calc(100% - 24px))}.hero{padding-top:20px}.hero h1{font-size:25px}.subtitle{font-size:15px}.video-row{grid-template-columns:58px minmax(0,1fr)}.pair-controls{margin-left:66px;grid-template-columns:32px 36px minmax(0,1fr) 36px;gap:5px}h2{font-size:20px}}

/* Compact horizontal video comparison: original six-scene browsing logic + shared pair controls */
.comparison-section{padding-top:22px;padding-bottom:28px}
.comparison-shell{display:block;width:100%}




.comparison-viewport{width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;cursor:grab;scrollbar-width:thin;scrollbar-color:#bdbdbd transparent;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.comparison-viewport:active{cursor:grabbing}.comparison-viewport::-webkit-scrollbar{height:7px}.comparison-viewport::-webkit-scrollbar-track{background:transparent}.comparison-viewport::-webkit-scrollbar-thumb{background:#c4c4c4;border-radius:999px}
.comparison-track{display:flex;width:max-content;min-width:100%;gap:12px;align-items:start}
.scene-column{width:340px;flex:0 0 340px;display:grid;grid-template-rows:24px auto auto 31px;row-gap:6px}
.scene-title{display:flex;align-items:center;justify-content:center;min-height:24px;font-size:12px;font-weight:650;color:#4f4f4f}
.comparison-video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border:1px solid #ddd;background:#111}
.pair-controls{display:grid;grid-template-columns:29px 34px minmax(80px,1fr) 34px;gap:5px;align-items:center;margin:0}
.play-toggle{width:29px;height:25px;padding:0;border:1px solid #cfcfcf;border-radius:3px;background:#fff;color:#333;font-size:12px;cursor:pointer;line-height:1}
.play-toggle:hover{background:#f4f4f4}.time{font-size:10px;font-variant-numeric:tabular-nums;color:#666;text-align:center}.timeline{width:100%;height:3px;accent-color:#555;cursor:pointer}
.scroll-hint{margin-top:5px;color:#8a8a8a;text-align:center;font-size:11px;user-select:none}
@media(max-width:900px){.scene-column{width:285px;flex-basis:285px}}
@media(max-width:560px){.scene-column{width:72vw;max-width:300px;flex-basis:72vw}.pair-controls{grid-template-columns:27px 32px minmax(70px,1fr) 32px;gap:4px}}


/* Luminance-GS-inspired centered paper header */
.hero{
  padding:50px 0 50px;
  border-bottom:0;
}
.hero .container,
.hero-center{
  text-align:center;
}
.hero h1{
  max-width:2000px;
  margin:0 auto 34px;
  font-size:clamp(32px,3.6vw,44px);
  line-height:1.06;
  font-weight:700;
  letter-spacing:-0.035em;
  color:#353535;
}
.venue{
  margin:0 0 8px;
  font-size:28px;
  line-height:1.25;
  font-weight:700;
  color:#3d3d3d;
}
.authors{
  margin:0 auto 3px;
  font-size:20px;
  line-height:1.45;
  color:#1593e8;
}
.authors sup,.affiliation sup{font-size:.65em;vertical-align:super;line-height:0}
.affiliation{
  margin:0 auto;
  font-size:18px;
  line-height:1.45;
  color:#3f3f3f;
}
.email{
  margin:3px auto 21px;
  font-size:15px;
}
.email a{color:#555;text-decoration:none}
.hero-links{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:0;
  font-size:16px;
}
.hero-links a,.hero-links span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:43px;
  padding:0 20px;
  border-radius:24px;
  background:#373737;
  color:#fff;
  text-decoration:none;
  line-height:1;
}
.hero-links a:hover{background:#222}
.hero-links span.muted{color:#fff;opacity:.78}

/* Keep the first content section close to the reference layout */
.hero + .section{padding-top:34px}

@media(max-width:820px){
  .hero{padding:42px 0 62px}
  .hero h1{font-size:clamp(34px,7vw,50px);margin-bottom:27px}
  .venue{font-size:23px}
  .authors{font-size:18px}
  .affiliation{font-size:16px}
}
@media(max-width:560px){
  .hero{padding:32px 0 48px}
  .hero h1{font-size:31px;line-height:1.1;margin-bottom:22px}
  .venue{font-size:20px}
  .authors{font-size:16px}
  .affiliation{font-size:14px}
  .email{font-size:13px}
  .hero-links{gap:7px;font-size:14px}
  .hero-links a,.hero-links span{min-height:38px;padding:0 15px}
}

/* Novel-view result description and in-video method labels */
.video-caption{
  margin:2px 0 14px;
  font-size:14px;
  line-height:1.5;
  color:#444;
  text-align:left;
}
.video-caption em{font-weight:700}
.video-box{position:relative;width:100%;min-width:0}
.video-overlay-label{
  position:absolute;
  top:9px;
  left:11px;
  z-index:3;
  font-size:11px;
  line-height:1;
  font-weight:500;
  color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.6);
  pointer-events:none;
  user-select:none;
}

.video-box .comparison-video{display:block;width:100%;max-width:none;aspect-ratio:16/9;object-fit:cover}


/* Abstract section: text above, teaser below */
.intro-section{
  padding-top:26px;
  padding-bottom:22px;
}

.abstract-container{
  max-width:1000px;
}

.abstract-title{
  margin:0 0 20px;
  text-align:center;
  font-size:34px;
  line-height:1.15;
  font-weight:650;
}

.abstract-body{
  max-width:780px;
  margin:0 auto;
  font-size:18px;
  line-height:1.7;
  text-align:justify;
  color:#303030;
}

.abstract-teaser{
  margin-top:24px;
  display:flex;
  justify-content:center;
}

.teaser-figure{
  display:block;
  width:82%;
  max-width:860px;
  height:auto;
  margin:0 auto;
}

.figure-caption{
  margin:8px 0 0;
  font-size:13px;
  line-height:1.5;
  color:#5d5d5d;
}

.section-intro{
  max-width:930px;
  margin:0 auto 12px;
  text-align:left;
}

.compact-figure{
  width:min(92%,980px);
  margin-left:auto;
  margin-right:auto;
}

.figure-section{
  padding-top:18px;
  padding-bottom:18px;
}

@media(max-width:900px){
  .abstract-container{
    max-width:100%;
  }

  .abstract-title{
    font-size:30px;
    margin-bottom:16px;
  }

  .abstract-body{
    font-size:15px;
    line-height:1.65;
  }

  .teaser-figure{
    width:100%;
    max-width:760px;
  }

  .compact-figure{
    width:100%;
  }
}


/* =========================================================
   Per-section controls
   Change ONLY this block when you want to tune one section.
   Because it is placed at the end of the stylesheet, these
   rules override the generic h2 / .section-intro rules above.
   ========================================================= */

/* ---------- Abstract ---------- */
#abstract-title{
  font-size:34px;      /* title size */
  text-align:center;   /* left | center | right */
  margin-bottom:20px;  /* gap below title */
}

#abstract-text{
  max-width:780px;     /* paragraph width */
  font-size:18px;      /* paragraph size */
  line-height:1.70;    /* line spacing */
  text-align:justify;  /* left | center | justify */
}

/* ---------- Training Images ---------- */
#training-title{
  font-size:16px;
  text-align:left;
  margin-bottom:8px;
}

#training-text{
  max-width:900px;
  margin:0 auto 16px;
  font-size:16px;
  line-height:1.65;
  text-align:left;
}

/* ---------- Novel View Synthesis Results ---------- */
#novel-title{
  font-size:16px;
  text-align:left;
  margin-bottom:8px;
}

#novel-text{
  max-width:980px;
  margin:0 auto 14px;
  font-size:14px;
  line-height:1.55;
  text-align:left;
}

/* Novel-view description placed below the video comparison */
.below-video-text{
  margin:16px auto 0;
}

/* ---------- Method ---------- */
#method-title{
  font-size:32px;
  text-align:center;
  margin-bottom:18px;
}

#method-text{
  max-width:900px;
  font-size:16px;
  line-height:1.70;
  text-align:justify;
}

/* ---------- Real-world Results ---------- */
#real-title{
  font-size:32px;
  text-align:center;
  margin-bottom:18px;
}

#real-text{
  max-width:900px;
  font-size:16px;
  line-height:1.70;
  text-align:justify;
}

/* ---------- Simulated Results ---------- */
#sim-title{
  font-size:32px;
  text-align:center;
  margin-bottom:18px;
}

#sim-text{
  max-width:900px;
  font-size:16px;
  line-height:1.70;
  text-align:justify;
}

/* ---------- BibTeX ---------- */
#bibtex-title{
  font-size:28px;
  text-align:left;
  margin-bottom:12px;
}

/* Text placed below an image.
   Increase margin-top to move the paragraph farther downward. */
.below-image-text{
  margin:16px auto 0;
}

/* Optional: individual image widths */
#training-image{ width:min(92%,980px); }
#method-image{ width:min(92%,980px); }
#real-image{ width:min(92%,980px); }
#sim-image{ width:min(92%,980px); }

/* Mobile overrides for the individually controlled titles/text */
@media(max-width:560px){
  #abstract-title,
  #training-title,
  #novel-title,
  #method-title,
  #real-title,
  #sim-title{
    font-size:26px;
  }

  #bibtex-title{
    font-size:24px;
  }

  #abstract-text,
  #training-text,
  #method-text,
  #real-text,
  #sim-text{
    font-size:15px;
  }
}

[data-scene="scene6"]{
  display:none;
}
