:root{font-family:'Helvetica Neue',Arial,sans-serif;color:#4b474d;background:#fffcff;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}
body{margin:0}
button,input{font:inherit;-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:disabled{cursor:default}
button:focus-visible,input:focus-visible,.video-track:focus-visible{outline:2px solid #8e8494;outline-offset:4px}
main{width:min(1080px,calc(100% - 72px));margin:42px auto 54px}
.retargeting-results>section+section{margin-top:58px}
.retargeting-results,.retargeting-results>section{scroll-margin-top:28px}
.retargeting-results>h2{margin-bottom:32px}
.retargeting-results>section>h3{font-size:24px;font-weight:500;line-height:1.3;margin:0 0 16px;letter-spacing:-.5px}
.real-world-gallery{margin-top:64px;scroll-margin-top:28px}
.real-video-track{gap:16px}
.real-video-track .video-card{flex:0 0 calc((100% - 16px)/2);aspect-ratio:1;scroll-snap-align:start}
@media(max-width:540px){.real-world-gallery{margin-top:40px}.real-video-track{gap:12px}.real-video-track .video-card{flex-basis:100%}}
h2{display:flex;align-items:center;gap:24px;font-size:30px;font-weight:500;line-height:1.3;margin:0 0 16px;letter-spacing:-.9px}
h2::after{content:'';height:1px;background:#ded9df;flex:1}
.hand-tabs{display:flex;justify-content:space-between;gap:8px;margin:0 0 16px;padding-bottom:3px}
.hand-tabs button{white-space:nowrap;border:0;border-bottom:2px solid transparent;background:none;color:#918993;font-size:12px;letter-spacing:.15px;padding:8px 10px;transition:color .18s,border-color .18s}
.hand-tabs button[aria-selected=true]{color:#4f4655;border-bottom-color:#918398}
.hand-tabs button:hover{color:#4f4655}
.video-track{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x pan-y;cursor:grab}
.video-track::-webkit-scrollbar{display:none}
.video-track.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.video-track.scrubbing{scroll-snap-type:none}
.gallery-slide{flex:0 0 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(5,auto);gap:12px;align-content:start;scroll-snap-align:start}
.video-card{position:relative;min-width:0;aspect-ratio:5/3;background:#eae5eb;border-radius:6px;overflow:hidden;transition:opacity .2s}
.video-card video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.video-open{position:absolute;inset:0;width:100%;height:100%;border:0;background:none;border-radius:inherit;padding:0;transition:box-shadow .18s}
.video-open:hover{box-shadow:inset 0 0 0 1px #b8adbf80}
.video-open:focus-visible{outline-offset:-3px}
.slider-controls{display:flex;align-items:center;gap:24px;margin-top:12px}
.slider-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:30px;background:#eeebef;color:#938b97;font-size:16px;white-space:nowrap;min-height:42px;padding:8px 21px;transition:background .18s,color .18s}
.slider-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.slider-controls button:hover:not(:disabled){background:#e5e0e8;color:#726779}
.slider-controls button:disabled{opacity:.6}
.slide-range{flex:1;min-width:40px;width:100%;height:18px;appearance:none;-webkit-appearance:none;background:none;cursor:ew-resize;margin:0}
.slide-range::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:#eeeaef}
.slide-range::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:76px;height:5px;border:0;border-radius:3px;background:#ccc5cf}
.slide-range::-moz-range-track{height:5px;border-radius:4px;background:#eeeaef}
.slide-range::-moz-range-thumb{width:76px;height:5px;border:0;border-radius:3px;background:#ccc5cf}
.motion-toggle{position:fixed;top:10px;right:16px;border:0;background:#fffcffee;color:#918893;width:28px;height:28px;border-radius:50%;font-size:13px;z-index:5}
.motion-toggle svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:800px){main{width:calc(100% - 40px);margin-top:34px}h2{font-size:28px;margin-bottom:12px}.hand-tabs{gap:2px}.hand-tabs button{font-size:11px;padding:8px 5px}.slider-controls{gap:14px}.slider-controls button{font-size:13px;padding:7px 14px;min-height:36px}.slide-range::-webkit-slider-thumb{width:40px}.slide-range::-moz-range-thumb{width:40px}.gallery-slide{gap:8px}}
@media(max-width:540px){main{width:calc(100% - 28px);margin-top:30px}h2{font-size:25px}.hand-tabs{flex-wrap:wrap;justify-content:flex-start;gap:2px 9px;margin-bottom:12px}.hand-tabs button{font-size:11px;padding:7px 5px}.gallery-slide{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(10,auto)}.retargeting-results>section+section{margin-top:36px}.retargeting-results>section>h3{font-size:22px;margin-bottom:12px}.motion-toggle{top:4px;right:6px}.slider-controls{gap:8px}.slider-controls button{font-size:11px;padding:7px 11px;min-height:32px}.slide-range::-webkit-slider-thumb{width:24px}.slide-range::-moz-range-thumb{width:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(hover:hover){.video-track:has(.video-card:hover) .video-card:not(:hover){opacity:.5}}
body.zoom-open .video-card{opacity:.5}
.clip-zoom{position:absolute;z-index:30;overflow:hidden;border-radius:6px;background:#eae5eb;cursor:zoom-out;transform:scale(1);transition:transform .2s ease;outline:none;transform-origin:center}
.clip-zoom video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.clip-zoom .zoom-hd{position:absolute;inset:0;opacity:0}
.clip-zoom.hd-ready .zoom-hd{opacity:1}
.clip-zoom:focus-visible{outline:1px solid #b8adbf}
.motion-wall{position:fixed;inset:0;z-index:100;background:#eae5eb;overscroll-behavior:none}
.motion-wall canvas{outline:none;display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.motion-wall canvas.dragging{cursor:grabbing}
.wall-close{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:7px;border:0;border-radius:30px;background:#fffcffb8;color:#918893;padding:8px 16px;font-size:13px;backdrop-filter:blur(8px)}
.wall-close:hover{background:#fffcff}
.wall-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
body.wall-open{overflow:hidden}

.project-header{text-align:center;padding:24px 0 0;margin:0 auto 40px}
.project-eyebrow{margin:0 0 20px;color:#8b808f;font-size:11px;font-weight:500;letter-spacing:.15em;text-transform:uppercase}
.project-header h1{margin:0;color:#342d3a;font-weight:500}
.project-name{display:block;font-size:clamp(52px,6vw,76px);font-weight:650;line-height:1.1;letter-spacing:-3px}
.project-subtitle{display:block;margin:15px auto 0;font-size:clamp(27px,3.1vw,40px);line-height:1.22;letter-spacing:-1.15px;text-wrap:balance}
.project-authors{margin:24px 0 0;color:#625969;font-size:clamp(16px,1.7vw,18px);line-height:1.8;text-wrap:balance}
.project-authors span{white-space:nowrap}
.project-authors a,.project-correspondence a{color:#0066d9;text-decoration:none}
.project-authors a:hover,.project-correspondence a:hover{text-decoration:underline;text-underline-offset:3px}
.project-authors a:focus-visible,.project-correspondence a:focus-visible,.affiliation-logo:focus-visible{outline:2px solid #0066d9;outline-offset:4px}
.project-authors sup{margin-left:2px;font-size:.7em;line-height:0}
.project-affiliations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));justify-content:center;align-items:start;gap:28px 24px;margin:28px auto 0;padding:0;list-style:none}
.project-affiliations li{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:56px auto;justify-items:center;align-content:start;gap:12px;min-width:0;color:#4b474d;font-size:15px;line-height:1.5}
.project-affiliations sup{font-size:.75em;line-height:0}
.affiliation-logo{display:flex;align-items:center;justify-content:center;align-self:center;max-width:100%;height:56px}
.affiliation-logo img{display:block;width:auto;height:100%;max-width:100%;object-fit:contain}
.affiliation-logo--tongji{mix-blend-mode:multiply}
/* Show the rightmost 457px of the official 737px SRIAS header, excluding its site decoration. */
.affiliation-logo--srias{position:relative;width:296px;max-width:100%;height:auto;aspect-ratio:457/86;overflow:hidden}
.affiliation-logo--srias img{position:absolute;left:-61.269147%;top:0;width:161.269147%;height:100%;max-width:none}
.project-correspondence{margin:20px 0 0;color:#625969;font-size:14px;line-height:1.6}
.project-correspondence sup{font-size:.8em}
@media(max-width:960px){.project-affiliations{grid-template-columns:repeat(2,minmax(0,1fr));max-width:680px}}
@media(max-width:640px){.project-affiliations{grid-template-columns:minmax(0,1fr);max-width:320px;gap:24px;margin-top:24px}.project-correspondence{margin-top:24px}}
.project-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:28px}
.project-actions a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 20px;border:1px solid #ded9df;border-radius:24px;text-decoration:none;font-size:14px;line-height:1.4;transition:background .18s,border-color .18s}
.project-actions .code-link{background:#4b4054;border-color:#4b4054;color:#fffcff}
.code-link:hover{background:#382f40}
.results-link{background:transparent;color:#625969}
.results-link:hover{background:#eeebef;border-color:#c9c0ce}
.project-actions a:focus-visible{outline:2px solid #8e8494;outline-offset:4px}
.project-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.project-abstract{max-width:860px;margin:0 auto 64px;padding-top:28px;border-top:1px solid #e6e0e8}
.project-abstract h2{display:block;margin:0 0 16px;text-align:center;color:#4b4054;font-size:23px;font-weight:500;letter-spacing:-.5px}
.project-abstract h2::after{display:none}
.project-abstract p{margin:0;color:#66606a;font-size:16px;line-height:1.8;text-align:left}
.method-overview{margin-bottom:64px;scroll-margin-top:28px}
.method-overview h2{display:block;margin:0 0 26px;text-align:center;color:#4b4054;font-size:26px;font-weight:500;letter-spacing:-.5px}
.method-overview h2::after{display:none}
.method-overview figure{margin:0}
.pipeline-link{display:block;padding:18px;background:#fff;border:1px solid #e6e0e8;border-radius:10px;cursor:zoom-in}
.pipeline-link:focus-visible{outline:2px solid #8e8494;outline-offset:4px}
.pipeline-link img{display:block;width:100%;height:auto}
.method-overview figcaption{max-width:860px;margin:24px auto 0;color:#66606a;font-size:15px;line-height:1.8}
.method-overview figcaption strong{color:#4b4054;font-weight:600}
@media(max-width:800px){.project-header{padding-top:20px}.project-abstract{margin-bottom:48px}}
@media(max-width:540px){.project-header{padding-top:14px;margin-bottom:30px}.project-eyebrow{margin-bottom:18px;font-size:10px}.project-name{letter-spacing:-2px}.project-subtitle{max-width:360px;font-size:27px;letter-spacing:-.8px}.title-break{display:none}.project-actions{margin-top:24px;gap:10px}.project-actions a{font-size:13px;padding:10px 17px}.project-abstract{padding-top:24px;margin-bottom:40px}.project-abstract h2{font-size:21px}.project-abstract p{font-size:15px;line-height:1.75}}
@media(max-width:540px){.method-overview{margin-bottom:40px}.method-overview h2{font-size:23px;margin-bottom:20px}.pipeline-link{padding:8px;border-radius:6px}.method-overview figcaption{margin-top:20px;font-size:14px;line-height:1.75}}
