@charset "UTF-8";
:root {
  --ink: #363636;
  --body: #4a4a4a;
  --muted: #717171;
  --paper: #fff;
  --light: #f5f5f5;
  --line: #dedede;
  --link: #209cee;
  --accent: #9a426e;
  --accent-soft: #c47b91;
  --accent-pale: #f6edf1;
  --font: 'Google Sans', 'Noto Sans', 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--body); background: var(--paper); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { color: #1475b5; text-decoration: underline; }
button, summary { font: inherit; cursor: pointer; }
button { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
video { display: block; max-width: 100%; background: #fff; }
[hidden] { display: none !important; }
::selection { background: #eed6e1; color: #422c36; }
.container { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 800px; }
.section { padding-block: 48px; }
.light-section { background: var(--light); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; }
h2 { text-align: center; font-size: 32px; font-weight: 600; margin: 0 0 25px; }
h3 { text-align: center; font-size: 24px; font-weight: 600; margin: 38px 0 18px; }
h4 { font-size: 18px; font-weight: 600; margin: 26px 0 14px; }
p { margin: 0 0 22px; }
strong { font-weight: 600; }
.research-nav { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 16px; }
.home-link { display: grid; place-items: center; color: var(--body); width: 42px; height: 44px; }
.home-link:hover { color: var(--ink); background: #fafafa; }
.home-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.research-menu { position: relative; z-index: 10; }
.research-menu summary { display: flex; align-items: center; gap: 13px; padding: 10px 12px; list-style: none; }
.research-menu summary::-webkit-details-marker { display: none; }
.research-menu summary span { color: #3273dc; font-weight: 700; font-size: 20px; line-height: 1; }
.research-menu[open] summary, .research-menu summary:hover { background: #fafafa; }
.research-dropdown { position: absolute; top: 100%; left: 0; min-width: 175px; padding: 8px 0; background: white; border-top: 2px solid #eee; border-radius: 0 0 5px 5px; box-shadow: 0 7px 12px #00000014; }
.research-dropdown a { display: block; padding: 7px 16px; color: var(--body); font-size: 14px; }
.research-dropdown a:hover { background: #f5f5f5; text-decoration: none; }
.publication-header { text-align: center; padding: 45px 0 43px; }
.publication-title { font-size: 48px; line-height: 1.13; font-weight: 600; letter-spacing: -1.1px; margin: 0 auto 24px; text-wrap: balance; }
.name-fa { color: var(--accent); }
.name-lam { color: var(--accent-soft); }
.publication-venue { font-size: 32px; color: var(--ink); font-weight: 400; line-height: 1.3; margin: 0 0 22px; }
.publication-venue span { display: inline-block; color: var(--accent); font-size: 23px; margin-left: 8px; }
.publication-authors { font-size: 20px; line-height: 1.9; max-width: 920px; margin-inline: auto; }
.publication-authors > span { display: inline-block; margin-inline: 3px; }
.publication-authors sup { font-size: 12px; margin-left: 2px; }
.publication-affiliations { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 22px; row-gap: 3px; font-size: 18px; margin-top: 20px; }
.publication-affiliations sup { font-size: 12px; }
.author-notes { font-size: 15px; margin: 8px 0 22px; }
.publication-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.resource-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 19px; min-height: 40px; border: 1px solid transparent; border-radius: 999px; background: #363636; color: #fff; font-size: 16px; line-height: 1.5; transition: background .15s; }
.resource-button:hover { color: white; background: #292929; text-decoration: none; }
.resource-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arxiv-icon { font: 23px/18px Georgia, serif; }
.citation-icon { font: 13px/18px Consolas, monospace; font-weight: 700; }
.video-frame { width: 100%; overflow: hidden; border-radius: 3px; }
.video-frame video, .clip-frame video { width: 100%; aspect-ratio: 16/9; }
.teaser-caption { font-size: 17px; line-height: 1.6; text-align: center; margin: 19px 0; }
.method-name { font-variant: small-caps; font-weight: 600; }
.chapter-menu { margin: 15px 0 25px; }
.chapter-menu summary { width: fit-content; margin: 0 auto; font-size: 13px; color: #767676; list-style: none; }
.chapter-menu summary::-webkit-details-marker { display: none; }
.chapter-menu summary span { margin-left: 6px; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 17px; }
.chapters button { border: 1px solid #d8d8d8; border-radius: 4px; background: white; color: #525252; padding: 8px 5px; font-size: 12px; }
.chapters button span { display: block; font: 11px/1.7 Consolas, monospace; color: #8c8c8c; }
.chapters button:hover, .chapters button.active { border-color: var(--accent-soft); background: var(--accent-pale); color: var(--accent); }
.chapters button.active span { color: var(--accent); }
.video-status { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.highlights { list-style: none; padding: 16px 20px; margin: 24px 0 38px; background: #fafafa; border-radius: 4px; }
.highlights li { position: relative; padding-left: 23px; margin: 7px 0; font-size: 15px; font-weight: 600; line-height: 1.6; }
.highlights li::before { content: '•'; color: var(--accent); position: absolute; left: 2px; font-size: 23px; line-height: 1.05; }
.abstract-block p { text-align: justify; hyphens: auto; line-height: 1.6; margin-bottom: 0; }
.figure { margin: 25px 0 30px; }
.zoom-image { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.zoom-image img { width: 100%; height: auto; }
.figure figcaption { margin-top: 16px; font-size: 15px; line-height: 1.65; text-align: justify; }
.method-text { margin-top: 33px; }
.method-text p { text-align: justify; }
.research-details { border-block: 1px solid var(--line); margin-top: 30px; }
.research-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; list-style: none; font-weight: 500; }
.research-details > summary::-webkit-details-marker { display: none; }
.research-details > summary span { font-size: 22px; font-weight: 400; }
.research-details[open] > summary span { transform: rotate(45deg); }
.analysis-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
.analysis-grid .figure { margin-top: 10px; }
.analysis-grid figcaption { font-size: 13px; text-align: left; }
.results-showcase { padding-top: 16px; }
.results-showcase > h2 { margin-bottom: 32px; }
.results-showcase p, #streaming .container > p, #dataset > p { text-align: justify; }
.results-showcase h3 { margin-top: 44px; }
.clip-frame { max-width: 800px; margin: 25px auto 12px; overflow: hidden; border-radius: 3px; }
.media-note, .results-showcase .media-note, #streaming .container > .media-note { text-align: center; font-size: 12px; color: var(--muted); margin-bottom: 30px; }
.section-intro { text-align: center; }
.result-tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--line); gap: 10px; margin: 27px 0 30px; overflow-x: auto; }
.result-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 12px 19px; margin-bottom: -1px; font-size: 15px; white-space: nowrap; color: #747474; }
.result-tabs button[aria-selected='true'] { color: var(--accent); border-bottom-color: var(--accent); }
.result-tabs button:hover { color: var(--accent); }
.result-panel > h3 { margin-top: 0; font-size: 22px; }
.result-panel > p { font-size: 15px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
caption { caption-side: bottom; white-space: normal; text-align: left; padding-top: 12px; font-size: 12px; color: var(--muted); }
th, td { text-align: right; padding: 12px 13px; border-bottom: 1px solid #e6e6e6; }
tr > :first-child { text-align: left; }
thead th { border-block: 2px solid #6f6f6f; color: var(--ink); font-weight: 600; font-size: 12px; }
tbody th { font-weight: 400; }
tbody tr:last-child > * { border-bottom: 2px solid #6f6f6f; }
tbody tr:not(.ours):hover { background: #fafafa; }
.ours { color: #82385c; background: #f8edf3; font-weight: 600; }
.ours th { font-weight: 600; }
.data-note { color: var(--muted); font-size: 12px; margin: 18px 0 0; }
#ablations .container > p { text-align: justify; }
#ablations .figure { max-width: 860px; margin-inline: auto; }
.ablation-tables { padding-bottom: 24px; }
.ablation-tables .figure { max-width: 680px !important; margin-block: 28px; }
.citation-section { padding-top: 25px; padding-bottom: 60px; }
.citation-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.citation-heading h2 { text-align: left; margin: 0; }
#copy-bibtex { background: white; border: 1px solid #d6d6d6; border-radius: 4px; font-size: 13px; padding: 6px 15px; }
#copy-bibtex:hover { border-color: var(--accent); color: var(--accent); }
pre { display: block; max-width: 100%; overflow: auto; padding: 23px 25px; background: #f5f5f5; margin: 0; color: #4a4a4a; border-radius: 2px; tab-size: 2; }
pre code { font: 13px/1.7 Consolas, 'Courier New', monospace; }
.page-footer { padding: 43px 0 38px; background: #fafafa; }
.page-footer p { margin-bottom: 14px; font-size: 14px; }
.page-footer p:last-child { margin-bottom: 0; color: #7a7a7a; font-size: 12px; }
dialog { width: min(1450px, 96vw); max-height: 94vh; background: white; color: var(--ink); border: 0; padding: 18px; border-radius: 6px; }
dialog::backdrop { background: #15151be3; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 15px; }
.dialog-toolbar > span { font-size: 13px; }
.dialog-toolbar button { flex-shrink: 0; border: 1px solid #ddd; border-radius: 4px; background: #fafafa; padding: 7px 14px; font-size: 13px; }
#dialog-image { width: 100%; height: auto; }
.skip-link { position: fixed; top: -100px; left: 15px; z-index: 100; background: var(--ink); color: white; padding: 10px 18px; }
.skip-link:focus { top: 12px; }
.noscript-note { font-size: 13px; text-align: center; padding: 20px; background: #f5f5f5; margin: 0; }
@media (max-width: 1000px) {
  .publication-title { font-size: 44px; }
  .publication-authors { max-width: 760px; }
  .publication-affiliations { font-size: 17px; column-gap: 16px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 36px); }
  .section { padding-block: 36px; }
  .research-nav { min-height: 47px; font-size: 14px; }
  .publication-header { padding-top: 28px; padding-bottom: 32px; }
  .publication-title { font-size: 34px; line-height: 1.17; letter-spacing: -.7px; margin-bottom: 23px; }
  .publication-venue { font-size: 27px; margin-bottom: 19px; }
  .publication-venue span { font-size: 20px; margin-left: 4px; }
  .publication-authors { font-size: 17px; line-height: 1.9; }
  .publication-authors sup { font-size: 10px; }
  .publication-affiliations { font-size: 15px; margin-top: 15px; column-gap: 15px; row-gap: 4px; }
  .author-notes { font-size: 12px; margin: 12px 0 21px; }
  .resource-button { font-size: 14px; padding: 7px 14px; min-height: 37px; gap: 6px; }
  .publication-links { gap: 6px; }
  .resource-button svg { width: 15px; height: 15px; }
  h2 { font-size: 27px; line-height: 1.25; margin-bottom: 22px; }
  h3 { font-size: 21px; line-height: 1.35; margin-top: 30px; }
  body { font-size: 15px; }
  .teaser-caption { font-size: 15px; }
  .abstract-block p, .method-text p, .results-showcase p, #streaming .container > p, #dataset > p, #ablations .container > p { text-align: left; }
  .highlights { padding: 12px 14px; margin-bottom: 30px; }
  .highlights li { font-size: 14px; margin-block: 10px; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .figure { margin-block: 22px 26px; }
  .figure figcaption { font-size: 13px; text-align: left; }
  .analysis-grid { grid-template-columns: 1fr; gap: 0; }
  .analysis-grid .figure { margin-bottom: 24px; }
  .result-tabs { justify-content: flex-start; gap: 4px; }
  .result-tabs button { padding: 10px 12px; font-size: 13px; }
  .result-panel > h3 { font-size: 20px; }
  th, td { padding: 10px 12px; }
  table { font-size: 12px; }
  .research-details > summary { font-size: 14px; }
  .media-note, .results-showcase .media-note, #streaming .container > .media-note { font-size: 11px; text-align: center; }
  pre { padding: 18px; }
  pre code { font-size: 11px; }
  .page-footer { padding-block: 30px; }
  .page-footer p { font-size: 13px; }
  dialog { padding: 10px; }
  .dialog-toolbar { gap: 15px; }
  .dialog-toolbar > span { font-size: 11px; }
  .dialog-toolbar button { padding: 5px 10px; font-size: 12px; }
}
@media (max-width: 380px) {
  .publication-title { font-size: 30px; }
  .publication-authors { font-size: 16px; }
  .resource-button { padding-inline: 12px; font-size: 13px; }
  .publication-affiliations { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .research-nav, .publication-links, .chapter-menu, .clip-frame, .media-note, .result-tabs, #copy-bibtex, .skip-link { display: none; }
  .container { width: 100%; }
  .publication-title { font-size: 32px; }
  .section { padding-block: 25px; }
  .light-section, .page-footer { background: white; }
  .result-panel[hidden] { display: block !important; }
  .figure, tr { break-inside: avoid; }
  .table-scroll { overflow: visible; }
  pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
