:root{--ink:#292638;--muted:#706d84;--link:#6755a5;--line:#e7e1f0;--accent:#6755a5;--tint:#f2eff9;--max:1000px;--wide:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fdfcff;color:var(--ink);font:16px/1.65 Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
a{color:var(--link);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,video:focus-visible{outline:3px solid var(--link);outline-offset:3px}
.content,.wide{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.wide{width:min(calc(100% - 40px),var(--wide))}
.paper-header{text-align:center;padding:62px 0 40px}
h1,h2,h3,p,figure{margin-top:0}
h1{max-width:1000px;margin:0 auto 27px;font-size:clamp(2rem,4vw,3.25rem);font-weight:700;letter-spacing:-.035em;line-height:1.18}
h1 span{white-space:nowrap}
.authors{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 22px;font-size:1.12rem}
.authors span,.authors a{white-space:nowrap}
.authors a{border-bottom:1px solid transparent}
.authors a:hover{border-bottom-color:currentColor;text-decoration:none}
sup{font-size:.67em;line-height:0}
.affiliations{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 20px;margin-top:11px;color:var(--muted);font-size:.91rem}
.author-note{margin:7px 0 0;color:#707780;font-size:.83rem}
.publication{margin:16px 0 18px;color:var(--accent);font-size:1.03rem;font-weight:700}
.resource-links{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
.resource-links a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 18px;border:1px solid #e2dbea;border-radius:25px;background:var(--tint);color:#57458d;font-size:.89rem;font-weight:700;box-shadow:0 4px 12px #4d36890b;transition:background .2s,transform .2s,box-shadow .2s}
.resource-links a:hover{background:#e9e2f5;box-shadow:0 8px 18px #4d36891a;transform:translateY(-2px);text-decoration:none}
.resource-links img,.resource-links svg{display:block;width:19px;height:19px;object-fit:contain;flex:none}
.teaser{margin-top:2px;text-align:center}
.teaser video{width:min(100%,1000px);aspect-ratio:16/9;margin:auto;object-fit:contain;background:#ececec}
figcaption{margin-top:12px;color:var(--muted);font-size:.87rem;line-height:1.55;text-align:left}
.teaser figcaption{max-width:1040px;margin-inline:auto;text-align:center}
.section{padding-top:65px;scroll-margin-top:20px}
.section h2{margin-bottom:18px;text-align:center;font-size:2rem;font-weight:700;letter-spacing:-.025em;line-height:1.25}
.section p{margin-bottom:14px;line-height:1.72}
.section-lead{max-width:900px;margin:0 auto 27px;text-align:center;color:var(--muted)}
.video-grid video{width:100%;aspect-ratio:16/9;object-fit:contain;background:#ececec}
.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.video-grid figure{min-width:0;margin:0}
.video-grid figcaption{margin-top:6px;text-align:center}
.figure{margin:0 auto 38px}
.figure img{width:100%;height:auto}
.figure figcaption{text-align:center}
.method-details{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1060px;margin:36px auto 0}
.method-details>div{min-width:0;padding:27px 30px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#fff,#faf8fe);box-shadow:0 16px 35px -28px #36256480}
.method-tag{display:block;margin-bottom:13px;color:var(--accent);font-size:.7rem;font-weight:800;letter-spacing:.12em}
.method-details h3,.subheading{margin-bottom:9px;font-size:1.12rem;line-height:1.35}
.method-details p{margin:0;color:#575269;font-size:.94rem}
.subheading{margin:36px 0 15px;text-align:center;font-size:1.45rem}
.evaluation{--table-border:#e9e3f1}
.result-block{margin:26px 0;padding:25px 26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 14px 35px -30px #30215880}
.result-block h3{margin:0 0 4px;color:#352d50;font-size:1.28rem}
.result-block>p{margin:0 0 16px;color:var(--muted);font-size:.88rem}
.result-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.result-pair .result-block{min-width:0;margin:0}
.table-scroll{overflow-x:auto;overscroll-behavior-inline:contain}
.evaluation table{width:100%;border-collapse:separate;border-spacing:0;font-size:.79rem;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap}
.evaluation caption{margin-bottom:10px;color:#6d5b9f;text-align:left;font-size:.78rem;font-weight:700}
.evaluation th,.evaluation td{padding:10px 12px;border-bottom:1px solid var(--table-border);text-align:right}
.evaluation thead th{background:#f4f0fa;color:#584884;font-weight:700}
.evaluation th:first-child,.evaluation td:first-child{text-align:left}
.evaluation tbody th{font-weight:600}
.evaluation tbody tr:last-child th,.evaluation tbody tr:last-child td{border-bottom:0}
.evaluation .ours th,.evaluation .ours td,.evaluation .best{background:#f0eaf9;color:#4e3b88;font-weight:700}
.evaluation .table-note{margin:11px 0 0;font-size:.74rem}
.citation pre{overflow:auto;margin:0;padding:18px 22px;border:1px solid var(--line);border-radius:12px;background:#f8f6fc;color:#3d3557;font-size:.83rem;line-height:1.55}
footer{margin-top:72px;padding:22px 20px;border-top:1px solid var(--line);color:#767b84;text-align:center;font-size:.78rem}
footer p{margin:0}
@media(max-width:800px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.content,.wide{width:min(calc(100% - 28px),var(--max))}.paper-header{padding:35px 0 27px}h1{margin-bottom:20px;font-size:1.85rem}.authors{gap:3px 12px;font-size:.95rem}.affiliations{gap:0 11px;font-size:.8rem}.resource-links a{padding:8px 13px;font-size:.8rem}.section{padding-top:48px}.section h2{font-size:1.7rem}.section p{font-size:.94rem}.video-grid{grid-template-columns:1fr;gap:18px}.method-details{grid-template-columns:1fr;gap:9px}.figure{margin-bottom:30px}figcaption{font-size:.78rem}.citation pre{font-size:.7rem;padding:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.resource-links a{transition:none}}
.demo-section{padding-top:92px}
.demo-intro{text-align:center}
.demo-intro .eyebrow{display:block;margin-bottom:12px;color:#6755a5;font-size:.73rem;font-weight:800;letter-spacing:.19em}
.demo-intro h2{margin-bottom:10px;font-size:clamp(2rem,4vw,3.15rem);letter-spacing:-.045em}
.demo-intro p{margin:0 auto 26px;color:#676473;max-width:760px;text-wrap:balance}
.demo-stage{position:relative;overflow:hidden;border:1px solid #e6e2ee;border-radius:24px;background:radial-gradient(circle at 50% 25%,#fff 0,#f5f4f8 60%,#efedf5 100%);box-shadow:0 24px 70px -40px #352c5960}
.demo-poster,.demo-viewport{width:100%;height:clamp(360px,56.25vw,675px)}
.demo-poster{position:relative}
.demo-poster>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.demo-poster:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#f5f4f8cc 0%,transparent 28%)}
.demo-poster-content{position:absolute;z-index:1;left:50%;bottom:48px;transform:translateX(-50%)}
.demo-poster-content button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 17px;border:1px solid #ffffffd9;border-radius:999px;background:#ffffffe0;backdrop-filter:blur(8px);color:#51446e;font:700 .88rem/1 Arial,Helvetica,sans-serif;white-space:nowrap;cursor:pointer;box-shadow:0 9px 24px #342c4a30,inset 0 1px #fff;transition:background .2s,box-shadow .2s}
.demo-poster-content button svg{width:17px;height:17px;flex:none}
.demo-poster-content button:hover{background:#fff;box-shadow:0 12px 27px #342c4a3d,inset 0 1px #fff}
.demo-poster-content button:disabled{cursor:wait}
.demo-poster.is-loading .demo-poster-content{visibility:hidden}
.demo-viewport canvas{display:block;width:100%;height:100%;touch-action:none}
.demo-hint{position:absolute;right:20px;bottom:17px;padding:6px 12px;border-radius:50px;background:#ffffffc9;color:#514c5e;font-size:.76rem;pointer-events:none}
.demo-hint span{margin:0 5px;color:#aaa2bb}
.demo-progress{position:absolute;right:24px;bottom:15px;left:24px;z-index:2;display:flex;align-items:center;gap:12px;color:#51446e;font:600 .75rem/1.2 Arial,Helvetica,sans-serif;text-shadow:0 1px 2px #fff}
.demo-progress span{white-space:nowrap}
.demo-progress progress{appearance:none;flex:1;min-width:60px;height:5px;border:0;border-radius:999px;overflow:hidden;background:#e5dfef}
.demo-progress progress::-webkit-progress-bar{border-radius:999px;background:#e5dfef}
.demo-progress progress::-webkit-progress-value{border-radius:999px;background:#6755a5}
.demo-progress progress::-moz-progress-bar{border-radius:999px;background:#6755a5}
.demo-progress progress:not([value]){background:linear-gradient(90deg,#e5dfef,#8c78c4,#e5dfef);background-size:200% 100%;animation:demo-progress-sweep 1.3s linear infinite}
.demo-progress progress:not([value])::-webkit-progress-bar,.demo-progress progress:not([value])::-webkit-progress-value{background:transparent}
@keyframes demo-progress-sweep{to{background-position:-200% 0}}
.demo-status{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);z-index:2;width:max-content;max-width:calc(100% - 24px);margin:0;padding:8px 14px;border-radius:50px;background:#fff;color:#4e426f;box-shadow:0 4px 18px #0001;text-align:center;font-size:.84rem}
.demo-poster.is-loading~.demo-status{bottom:50%;transform:translate(-50%,50%);padding:12px 20px;border:1px solid #ffffffc0;background:#ffffffd9;backdrop-filter:blur(8px);box-shadow:0 18px 35px #2c235d35}
.demo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:17px}
.demo-tabs{display:flex;flex-wrap:wrap;gap:7px}
.demo-tabs button,.motion-button{border:1px solid #e1dce9;border-radius:999px;background:#fff;color:#605c6a;padding:8px 13px;font:600 .83rem/1.2 Arial,Helvetica,sans-serif;cursor:pointer;white-space:nowrap}
.demo-tabs button[aria-pressed=true],.motion-button[aria-pressed=true]{border-color:#6755a5;background:#6755a5;color:#fff}
.demo-tabs button:hover,.motion-button:hover{border-color:#6755a5}
.joint-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:14px;padding:15px 18px;border:1px solid #e7e2ef;border-radius:14px;background:#faf9fc}
.joint-control{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;color:#514c5e;font:600 .8rem/1.3 Arial,Helvetica,sans-serif}
.joint-control output{color:#6755a5;font-variant-numeric:tabular-nums}
.joint-control input{grid-column:1/-1;width:100%;accent-color:#6755a5;cursor:pointer}
.joint-controls-note{grid-column:1/-1;margin:0;color:#706d7e;font:.8rem/1.4 Arial,Helvetica,sans-serif}
.demo-note{margin:13px 0 0;color:#8a8595;text-align:center;font-size:.78rem}
.video-gallery{max-width:1000px;margin:auto}
.video-gallery>video{width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:13px;background:#eeedf2}
.video-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:13px}
.video-picker button{overflow:hidden;border:2px solid transparent;border-radius:9px;background:#f6f5f8;color:#514c5e;padding:0 0 7px;font:700 .75rem/1.2 Arial,Helvetica,sans-serif;cursor:pointer}
.video-picker button[aria-pressed=true]{border-color:#6755a5;background:#f0ecf9;color:#52418f}
.video-picker button:hover{border-color:#a495cc}
.video-picker img{width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:6px}
button:focus-visible{outline:3px solid #6755a5;outline-offset:3px}
[hidden]{display:none!important}
@media(max-width:800px){.demo-toolbar{align-items:stretch;flex-direction:column}.motion-button{align-self:flex-start}.video-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.result-pair{grid-template-columns:1fr}.result-pair .result-block{margin:0}}
@media(max-width:560px){.demo-section{padding-top:54px}.demo-stage{min-height:360px;border-radius:16px}.demo-poster,.demo-viewport{height:360px}.demo-poster-content{bottom:46px}.demo-progress{right:12px;left:12px;gap:8px;font-size:.68rem}.demo-hint{right:9px;bottom:9px;font-size:.65rem}.demo-tabs button,.motion-button{font-size:.75rem;padding:7px 10px}.video-picker{gap:5px}.video-picker button{font-size:.67rem}.result-block{padding:18px 14px}.evaluation table{font-size:.73rem}}
