:root {
  --ink: #242733;
  --muted: #717584;
  --accent: #5952cf;
  --accent-light: #efedfc;
  --line: #e6e7ed;
  --soft: #f8f9fc;
  --font: "Avenir Next", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: #dedafb; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #3d369b; }
button { font: inherit; cursor: pointer; color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #9791ed; outline-offset: 5px; }
img, video { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.text-container { width: min(850px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 15px; background: white; }
.top-nav { height: 65px; max-width: 1280px; width: calc(100% - 64px); margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f0f0f4; }
.wordmark { color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -1px; }
.wordmark span, .footer-name span { color: var(--accent); }
.top-nav > div { display: flex; gap: 27px; }
.top-nav > div a { font-size: 12px; color: #767987; }
.top-nav > div a:hover { color: var(--accent); }
.top-nav a span { margin-left: 3px; }
.publication-header { padding-top: 55px; text-align: center; }
h1 { font-size: clamp(34px, 4.1vw, 52px); line-height: 1.18; letter-spacing: -.048em; font-weight: 720; max-width: 1080px; margin: 0 auto; }
.project-name { color: var(--accent); }
.authors { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 25px; font-size: 17px; font-weight: 500; margin: 27px auto 11px; line-height: 1.7; }
.authors > span { white-space: nowrap; }
sup { font-size: .67em; line-height: 0; vertical-align: super; }
.authors sup { color: #77728e; margin-left: 2px; font-weight: 450; }
.affiliations { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px 20px; font-size: 13px; color: #5b5f6c; max-width: 1000px; margin-inline: auto; }
.affiliations > span { display: inline-block; }
.author-notes { display: flex; justify-content: center; flex-wrap: wrap; gap: 3px 14px; color: #90929c; font-size: 10px; margin-top: 12px; }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.resource-button { min-height: 42px; padding: 8px 18px; border: 1px solid #dfe1e9; border-radius: 24px; color: #383c48; background: white; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; line-height: 1.5; font-weight: 550; transition: transform .18s, background .18s, border-color .18s; }
a.resource-button:hover { color: var(--accent); border-color: #aca7e9; background: #f7f6fe; transform: translateY(-2px); }
.resource-button.primary { color: white; border-color: var(--accent); background: var(--accent); }
.resource-button.primary:hover { color: white; background: #4640b1; border-color: #4640b1; }
.resource-button.pending { color: #8c8e99; background: #f5f5f8; border-color: #eeeeF2; }
.resource-button.pending small { color: #92909f; font-size: 9px; border-left: 1px solid #dbdce4; padding-left: 8px; margin-left: 1px; }
.teaser { margin-top: 40px; padding-bottom: 51px; }
.teaser-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.teaser-intro p { color: #535665; font-size: 13px; line-height: 1.65; }
.teaser-intro strong { font-weight: 600; }
.teaser-intro small { display: block; color: #858895; font-size: 10px; margin-top: 2px; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.teaser-case { min-width: 0; padding: 15px 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fcfcfe; box-shadow: 0 7px 25px #28254104; }
.teaser-case h3 { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; color: #505462; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.teaser-inputs { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
.teaser-inputs figure { min-width: 0; }
.teaser-inputs figcaption { min-height: 20px; display: flex; align-items: center; gap: 4px; margin-bottom: 5px; color: #777b89; font-size: 9px; font-weight: 500; white-space: nowrap; }
.teaser-grid video, .target-preview img { width: 100%; aspect-ratio: 736 / 480; object-fit: contain; border: 1px solid #e5e7ef; background: #f0f1f6; border-radius: 5px; }
.teaser-reference.object-1 video { border-color: #8bc1e8; }
.teaser-reference.object-2 video { border-color: #e7a7a1; }
.object-key { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid; border-radius: 4px; font-size: 9px; line-height: 1; font-weight: 700; }
.object-1 .object-key { background: #eaf5ff; color: #1769ad; border-color: #abd3f1; }
.object-2 .object-key { background: #fff0ed; color: #b63e35; border-color: #efbbb4; }
.target-preview { position: relative; }
.target-preview img { height: auto; }
.region-number { position: absolute; display: flex; align-items: center; justify-content: center; transform: translate(-50%,-50%); width: 16px; height: 16px; border: 1.5px solid white; border-radius: 50%; color: white; font-size: 9px; line-height: 1; font-weight: 700; box-shadow: 0 1px 4px #0003; }
.region-number.object-1 { background: #1769ad; }
.region-number.object-2 { background: #b63e35; }
.transfer-flow { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 11px 12px 10px; color: #847eae; }
.transfer-flow span { height: 1px; background: #e7e4f4; flex: 1; }
.transfer-flow b { font-size: 9px; font-weight: 550; letter-spacing: .03em; }
.teaser-result figcaption { color: #767987; text-align: center; font-size: 10px; padding: 8px 0 0; }
.teaser .teaser-control { min-height: 40px; padding: 8px 14px; font-size: 11px; color: var(--accent); border-color: #d9d5ee; }
.teaser .teaser-control[aria-pressed="true"] { color: white; }
.teaser-error { color: #a2473e; font-size: 11px; margin-top: 13px; text-align: center; }
.caption-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.blue { background: #2088d6; }.violet { background: #7771d8; }.coral { background: #ed6152; }.gold { background: #d7b430; }
.teaser-caption { margin: 18px 7px 0; }
.teaser-caption p { font-size: 12px; color: #747783; text-align: center; line-height: 1.75; }
.teaser-caption strong { color: #484b5a; font-weight: 600; }
.quiet-button { border: 0; background: transparent; display: inline-flex; gap: 6px; align-items: center; font-size: 10px; color: #8a8b98; padding: 6px 0; white-space: nowrap; }
.quiet-button:hover { color: var(--accent); }
.paper-section { padding-block: 63px; }
h2 { font-size: 30px; text-align: center; font-weight: 650; line-height: 1.3; letter-spacing: -.035em; }
.section-description { font-size: 14px; color: var(--muted); text-align: center; margin: 11px auto 30px; max-width: 750px; }
.abstract-section { background: var(--soft); border-block: 1px solid #f0f1f6; }
.abstract-section p { margin-top: 26px; text-align: justify; font-size: 15px; color: #5f6370; line-height: 1.95; }
.abstract-section strong { font-weight: 600; color: #4c4a64; }
.method-figure { margin-top: 30px; }
.figure-button { display: block; position: relative; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 17px 18px 10px; }
.figure-button img { width: 100%; height: auto; }
.figure-expand { display: flex; justify-content: end; gap: 9px; color: #9698a5; font-size: 9px; margin-top: 9px; }
.method-figure > figcaption { color: #707380; font-size: 12px; line-height: 1.85; margin: 16px 14px 0; text-align: justify; }
.method-figure > figcaption strong { color: #454954; font-weight: 600; }
.method-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; margin: 27px 14px 0; }
.method-points p { color: #898b97; font-size: 11px; line-height: 1.8; padding-left: 14px; border-left: 2px solid #e9e6fc; }
.method-points strong { color: #555565; font-size: 12px; display: block; font-weight: 550; }
.method-points span { display: block; font-size: 9px; color: #9a94ce; letter-spacing: .06em; margin-bottom: 4px; }
.results-section { background: var(--soft); border-block: 1px solid #f0f1f6; }
.result-example { border: 1px solid #e6e7ef; border-radius: 11px; background: white; margin-top: 25px; padding: 23px 25px 21px; }
.example-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.play-button { border: 1px solid #dce0e9; color: #747684; background: #fff; border-radius: 20px; min-height: 31px; padding: 5px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; font-size: 10px; line-height: 1.5; transition: color .2s, background .2s; }
.play-button:hover { color: var(--accent); border-color: #c1bced; background: #f9f8ff; }
.play-button[aria-pressed="true"] { color: white; background: var(--accent); border-color: var(--accent); }
button:disabled { cursor: wait; opacity: .65; }
.example-media { display: grid; grid-template-columns: 1fr 1.75fr; gap: 24px; }
.media-label { display: block; color: #858895; font-size: 10px; font-weight: 550; margin-bottom: 8px; }
.input-target > img { width: 100%; height: auto; aspect-ratio: 736/480; object-fit: contain; border-radius: 5px; border: 1px solid #ececf2; background: #fafafa; }
.reference-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.reference-row.three { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.reference-row video { width: 100%; aspect-ratio: 736/480; object-fit: contain; border-radius: 4px; background: #f0f1f5; }
.reference-row figcaption { display: flex; align-items: center; gap: 5px; font-size: 9px; color: #8a8d9b; margin-top: 5px; }
.reference-row.three figcaption { font-size: 8px; }
.example-output video { width: 100%; aspect-ratio: 736/480; object-fit: contain; border-radius: 6px; background: #f0f1f5; }
.example-output > figcaption { color: #90929d; font-size: 10px; text-align: center; margin-top: 12px; }
.gallery-link { text-align: center; margin-top: 27px; font-size: 13px; }
.gallery-link a span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.gallery-link a:hover span { transform: translateX(3px); }
.comparison-toolbar { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 17px; margin-bottom: 16px; }
.comparison-toolbar > span { font-size: 10px; color: #9698a5; }
.comparison-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 11px; }
.comparison-grid video { width: 100%; aspect-ratio: 736/480; object-fit: contain; background: #f0f1f5; border-radius: 5px; border: 1px solid #eeeef3; }
.comparison-grid figure { border-top: 2px solid #eeeeF3; padding-top: 10px; }
.comparison-grid .ours { border-top-color: var(--accent); }
.comparison-grid figcaption { font-size: 11px; color: #7e818c; text-align: center; margin-top: 8px; }
.comparison-grid .ours figcaption { color: var(--accent); font-weight: 600; }
.comparison-grid .ours figcaption span { font-size: 9px; font-weight: 400; }
.comparison-note { text-align: center; font-size: 12px; color: #9395a0; margin-top: 23px; }
.citation-section { background: var(--soft); border-top: 1px solid var(--line); }
.citation-heading { display: flex; align-items: center; justify-content: space-between; }
.citation-heading h2 { text-align: left; font-size: 26px; }
pre { overflow: auto; white-space: pre-wrap; word-break: break-word; background: #eceef4; color: #686c7a; padding: 21px; border-radius: 8px; font-size: 11px; line-height: 1.8; margin: 20px 0 0; }
footer { border-top: 1px solid var(--line); padding-block: 29px 35px; }
footer > div { display: flex; align-items: center; gap: 20px; }
.footer-name { font-size: 20px; font-weight: 750; letter-spacing: -1px; color: #4f5260; }
footer p { color: #a0a2ac; font-size: 10px; line-height: 1.5; }
.back-top { color: #898b97; margin-left: auto; font-size: 10px; white-space: nowrap; }
dialog { border: 1px solid #e1e2eb; padding: 45px 20px 20px; border-radius: 10px; background: white; max-width: 95vw; max-height: 93vh; box-shadow: 0 20px 100px #0003; }
dialog::backdrop { background: #25233d9c; backdrop-filter: blur(4px); }
dialog img { max-width: calc(95vw - 50px); max-height: 75vh; object-fit: contain; }
dialog p { font-size: 11px; color: #9a9ca6; margin-top: 10px; }
.dialog-close { position: absolute; top: 11px; right: 16px; border: 0; padding: 2px; background: none; font-size: 12px; color: #8a8c99; }
@media (max-width: 900px) {
  h1 { font-size: 40px; }
  .authors { gap: 4px 19px; font-size: 16px; }
  .publication-header { padding-top: 43px; }
  .affiliations { font-size: 12px; }
  .teaser-caption p { font-size: 12px; }
  .example-media { grid-template-columns: 1fr 1.55fr; gap: 18px; }
  .result-example { padding: 20px; }
  .comparison-grid { grid-template-columns: repeat(5, minmax(150px,1fr)); overflow-x: auto; padding-bottom: 12px; }
}
@media (max-width: 650px) {
  .container, .text-container { width: calc(100% - 36px); }
  .top-nav { width: calc(100% - 36px); height: 57px; }
  .top-nav > div { gap: 19px; }
  .top-nav > div a { font-size: 10px; }
  .publication-header { padding-top: 33px; }
  h1 { font-size: clamp(29px,6.3vw,39px); line-height: 1.2; letter-spacing: -.04em; }
  .title-break { display: none; }
  .authors { font-size: 14px; gap: 5px 19px; max-width: 440px; margin-top: 23px; }
  .affiliations { font-size: 11px; line-height: 1.9; gap: 1px 14px; max-width: 430px; }
  .author-notes { font-size: 9px; gap: 1px 10px; max-width: 370px; margin: 11px auto 0; }
  .publication-links { gap: 8px; margin-top: 21px; }
  .resource-button { min-height: 36px; font-size: 10px; padding: 7px 13px; gap: 6px; }
  .resource-button svg { width: 15px; height: 15px; }
  .resource-button.pending small { font-size: 8px; padding-left: 6px; }
  .teaser { margin-top: 29px; padding-bottom: 36px; }
  .teaser-intro { align-items: start; gap: 12px; margin-bottom: 15px; }
  .teaser-intro p { font-size: 11px; max-width: 245px; }
  .teaser-intro small { font-size: 9px; margin-top: 4px; }
  .teaser .teaser-control { font-size: 10px; padding: 7px 10px; }
  .teaser-case { padding: 14px 12px 11px; }
  .teaser-case h3 { font-size: 13px; }
  .teaser-inputs { gap: 8px; }
  .teaser-inputs figcaption { font-size: 10px; }
  .teaser-grid video { border-radius: 5px; }
  .teaser-result figcaption { font-size: 11px; padding-top: 8px; }
  .teaser-caption { margin-inline: 3px; text-align: center; }
  .teaser-caption p { font-size: 11px; line-height: 1.8; }
  .paper-section { padding-block: 43px; }
  h2 { font-size: 27px; }
  .abstract-section p { font-size: 13px; line-height: 1.95; margin-top: 22px; }
  .section-description { font-size: 12px; margin: 10px auto 23px; }
  .figure-button { padding: 10px 8px 8px; border-radius: 7px; }
  .figure-expand { font-size: 8px; margin-top: 5px; }
  .method-figure > figcaption { font-size: 11px; margin-inline: 3px; }
  .method-points { gap: 14px; margin: 22px 3px 0; }
  .method-points p { font-size: 10px; padding-left: 9px; }
  .method-points strong { font-size: 10px; }
  .method-points span { font-size: 8px; }
  .result-example { padding: 17px 13px 14px; margin-top: 20px; }
  h3 { font-size: 14px; }
  .example-heading { gap: 13px; margin-bottom: 17px; }
  .play-button { font-size: 9px; min-height: 29px; padding: 5px 10px; gap: 5px; }
  .example-media { display: flex; flex-direction: column; gap: 19px; }
  .example-inputs { display: block; }
  .reference-row { margin-top: 13px; margin-bottom: 0; gap: 9px; }
  .reference-row.three { gap: 7px; }
  .reference-row figcaption { font-size: 9px; gap: 4px; margin-top: 6px; }
  .reference-row.three figcaption { font-size: 8px; gap: 3px; }
  .reference-row .caption-dot { width: 3px; height: 3px; }
  .media-label { font-size: 9px; margin-bottom: 6px; }
  .example-output > figcaption { font-size: 9px; line-height: 1.7; margin-top: 9px; }
  .gallery-link { font-size: 11px; margin-top: 22px; }
  .comparison-toolbar { margin-top: 25px; }
  .comparison-toolbar > span { font-size: 9px; max-width: 195px; }
  .comparison-grid { grid-template-columns: repeat(5,165px); gap: 10px; }
  .comparison-grid figcaption { font-size: 10px; }
  .comparison-note { font-size: 11px; line-height: 1.9; margin-top: 18px; }
  footer > div { flex-wrap: wrap; gap: 15px; }
  footer p { font-size: 9px; max-width: 230px; }
  .back-top { font-size: 9px; }
}
@media (max-width: 380px) {
  .top-nav > div { gap: 13px; }
  .top-nav > div a:nth-child(2) { display: none; }
  .resource-button { padding-inline: 10px; }
  .teaser-intro { flex-wrap: wrap; }
  .teaser-intro p { max-width: none; }
  .method-points { grid-template-columns: 1fr; gap: 13px; }
  .method-points p { font-size: 11px; }
  .method-points strong { font-size: 12px; }
}
@media (max-width: 800px) {
  .teaser-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; max-width: 620px; margin-inline: auto; }
  .teaser-case { padding: 16px 15px 12px; }
  .teaser-case h3 { font-size: 13px; }
  .teaser-inputs figcaption { font-size: 10px; }
  .teaser-result figcaption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
