:root{--ink:#1f2328;--muted:#5f6670;--line:#e3e6ea;--soft:#f6f7f9;--accent:#2f6db3;--accent-soft:#e8f0fa;--radius:10px}
html{scroll-behavior:smooth}
body{font-family:"Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;font-size:16px;line-height:1.65}
.hero .hero-body{padding:3.2rem 1.5rem 1.2rem}
.pubtitle{font-weight:700;letter-spacing:-.015em;line-height:1.18;font-size:2.35rem;color:var(--ink)}
.anon{color:var(--muted);margin-top:.9rem;font-size:1.05rem}
.section{padding:3rem 1.5rem}
.section.alt{background:var(--soft)}
.title.is-4{font-size:1.75rem;font-weight:700;text-align:left;margin:0 0 1rem;letter-spacing:-.01em;color:var(--ink);border:0;padding:0}
.title.is-6{font-size:1.15rem;font-weight:600;text-align:center;color:var(--ink);margin:2.2rem 0 .5rem}
.title.is-6:first-of-type{margin-top:.6rem}
.abstract{text-align:left;line-height:1.7;font-size:1rem;margin:0}
.note{color:#3d434a;font-size:.97rem;line-height:1.6;margin:0 0 1.1rem;text-align:left}
.figure{margin:0 0 2.2rem}.figure img{width:100%;display:block;background:#fff;border-radius:var(--radius)}
.figure figcaption{font-size:.93rem;color:var(--muted);line-height:1.6;margin:.7rem 0 0;text-align:left}
.vrow{display:grid;gap:12px}.cols-1{grid-template-columns:1fr}.cols-2{grid-template-columns:repeat(2,1fr)}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-4{grid-template-columns:repeat(4,1fr)}.cols-5{grid-template-columns:repeat(5,1fr)}
.vrow figure{margin:0;min-width:0}
.vrow video,.ovwrap{width:100%;display:block;background:#000;aspect-ratio:1248/720;border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 3px rgba(20,30,40,.12)}
.vrow figcaption{font-size:.86rem;color:var(--muted);margin-top:.45rem;text-align:center}
.ovwrap{position:relative}.ovwrap video{position:absolute;inset:0;width:100%;height:100%;border-radius:0;box-shadow:none;aspect-ratio:auto}
.ovwrap .ov{opacity:0;mix-blend-mode:screen;pointer-events:none;transition:opacity .15s}.ovwrap:hover .ov{opacity:.75}
.gallery .slide{display:none}.gallery .slide.active{display:block}
.thumbs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 8px;margin:.6rem 0 1.1rem}
.thumb{border:0;border-radius:8px;padding:0;background:none;cursor:pointer;width:104px;text-align:center;opacity:.78;transition:opacity .15s,transform .15s}
.thumb img{width:104px;height:60px;object-fit:cover;display:block;border-radius:7px;box-shadow:0 0 0 1px var(--line)}
.thumb span{display:block;font-size:.72rem;color:var(--muted);line-height:1.25;padding:4px 0 0}
.thumb:hover{opacity:1}
.thumb.active{opacity:1}.thumb.active img{box-shadow:0 0 0 2.5px var(--accent)}.thumb.active span{color:var(--accent);font-weight:600}
.pair{margin:1.4rem 0}.pairlabel{font-size:.95rem;color:var(--ink);font-weight:600;margin-bottom:.5rem;text-align:center}
.tablewrap{overflow-x:auto;margin:1.6rem auto 0;max-width:680px}
table.results{font-size:.86rem;font-variant-numeric:tabular-nums;margin:0 auto;width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 0 0 1px var(--line)}
table.results caption{caption-side:top;text-align:left;font-size:.92rem;color:var(--muted);padding:0 0 .7rem;line-height:1.55}
table.results th{font-weight:600;text-align:center;padding:.45rem .4rem;background:var(--soft);border-bottom:1px solid var(--line)}
table.results td{text-align:center;padding:.38rem .4rem;border-top:1px solid var(--line)}
table.results td:first-child,table.results th:first-child{text-align:left;padding-left:.9rem}
table.results tr.grp td{text-align:left;font-style:italic;color:var(--muted);background:#fbfbfc;padding-top:.45rem;padding-bottom:.35rem}
table.results tr.ours td{font-weight:600;background:var(--accent-soft)}
.footer{background:#fff;padding:2.5rem 1.5rem 3rem;border-top:1px solid var(--line)}
.footer .note{margin:0;text-align:center;color:var(--muted)}
@media (max-width:700px){.pubtitle{font-size:1.6rem}.cols-3,.cols-4,.cols-5{grid-template-columns:repeat(2,1fr)}.teaser.cols-2{grid-template-columns:1fr}.title.is-4{font-size:1.5rem}}
.hint{text-align:center;color:var(--muted);font-size:.9rem;margin:.6rem 0 0}
/* hero carousel */
.herobox{max-width:760px;margin:0 auto}
.carousel{position:relative}
.carousel .slides .slide{display:none}.carousel .slides .slide.active{display:block}
.carousel .pairlabel{margin-bottom:.5rem}
.carousel .vrow{gap:8px}.carousel .vrow figcaption{font-size:.8rem;margin-top:.3rem}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 1px 3px rgba(20,30,40,.12);display:flex;align-items:center;justify-content:center;z-index:2}
.arrow:hover{background:var(--soft)}.arrow.prev{left:-54px}.arrow.next{right:-54px}
.dots{display:flex;justify-content:center;gap:8px;margin-top:.8rem}
.dot{width:9px;height:9px;border-radius:50%;border:0;background:#cfd4da;padding:0;cursor:pointer}.dot.active{background:var(--accent)}
@media (max-width:900px){.arrow.prev{left:-6px}.arrow.next{right:-6px}}
.figure.plot img{max-width:820px;margin:0 auto}
.hoverall:hover .ov{opacity:.75}
#g-pp video{aspect-ratio:3/1}
.figure.plot img{background:transparent}
.tabcap{margin:.7rem 0 0}
.tablewrap.narrow{max-width:560px;margin-top:1.8rem}
/* input -> output rows */
.vrow.io.cols-2{grid-template-columns:1fr 30px 1fr}
.vrow.io.cols-3{grid-template-columns:1fr 30px 1fr 1fr}
.vrow.io.cols-5{grid-template-columns:1fr 26px repeat(4,1fr)}
.arrowcell{display:flex;align-items:center;justify-content:center;color:#9aa3ad;font-size:22px;padding-bottom:1.4rem}
.carousel .vrow.io+.vrow.io{margin-top:8px}
@media (max-width:700px){.vrow.io.cols-2{grid-template-columns:1fr 24px 1fr}.vrow.io.cols-3,.vrow.io.cols-5{grid-template-columns:1fr 24px 1fr}}
/* interactive 4D viewer */
.viewer4d{position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;background:#1a1a1a;box-shadow:0 1px 3px rgba(20,30,40,.12)}
.viewer4d iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.v4d-poster{position:absolute;inset:0;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center}
.v4d-poster::before{content:"";position:absolute;inset:0;background:rgba(20,24,28,.45)}
.v4d-load{position:relative;border:0;border-radius:999px;padding:.7rem 1.4rem;background:#fff;color:var(--ink);font:600 .95rem/1 "Noto Sans",sans-serif;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.v4d-load:hover{background:var(--soft)}
