:root { --ink: #292929; --muted: #626771; --link: #287db5; --soft: #f6f7f8; --line: #e4e6e9; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #2e83bd; outline-offset: 5px; }
.container { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.reading-width { max-width: 900px; }
.hero { text-align: center; padding: 61px 0 0; }
.hero .container { max-width: 1180px; width: calc(100% - 40px); }
h1 { font-size: clamp(32px, 3.7vw, 48px); font-weight: 650; letter-spacing: -1.65px; line-height: 1.17; margin: 0; }
.project-name { display: block; font-size: 1.16em; font-weight: 750; margin-bottom: 7px; letter-spacing: -1.9px; }
.title-line { display: block; }
.venue { font-size: 24px; color: #535965; font-weight: 650; margin: 24px 0 19px; }
.authors { font-size: 20px; margin: 0; line-height: 1.7; }
.authors span, .authors a { display: inline-block; }
.affiliation { font-size: 19px; margin: 4px 0 24px; }
.resource-links { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.resource { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 19px; background: #292929; border: 1px solid #292929; color: white; border-radius: 24px; font-size: 16px; line-height: 1.5; transition: background .15s; }
.resource:hover { background: #454545; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.resource.is-unavailable { background: #f2f3f4; color: #686d74; border-color: #e1e3e6; cursor: default; }
.soon { font-size: 12px; color: #747980; }
.teaser { padding-top: 69px; }
figure { margin: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
figure img { display: block; width: 100%; }
.figure-link { display: block; cursor: zoom-in; }
figcaption { color: var(--muted); font-size: 15px; line-height: 1.65; text-align: center; margin-top: 16px; }
.teaser-caption { font-size: 20px; line-height: 1.55; margin: 28px auto 0; max-width: 960px; color: #43474e; }
.section-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; padding: 28px 0 34px; font-size: 15px; }
.section-nav a { color: #626771; }
.section-nav a:hover { color: var(--link); }
.section { padding-block: 59px; }
.abstract-section, .alternate-section { background: var(--soft); }
h2 { font-size: 33px; font-weight: 650; line-height: 1.3; text-align: center; margin: 0 0 25px; letter-spacing: -.65px; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.35; margin: 0 0 14px; letter-spacing: -.3px; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.abstract-section p { text-align: justify; }
.section-intro { max-width: 920px; margin: 0 auto 35px; text-align: center; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 35px; }
.highlights article { padding-top: 23px; border-top: 2px solid #bdd4e5; }
.highlights h3 { font-size: 21px; }
.highlights p { font-size: 16px; color: #5a5f67; }
#motivation { padding-top: 20px; }
.motivation-layout { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; margin: 30px auto 0; max-width: 940px; }
.motivation-image { padding: 6px; }
.motivation-image img { width: 100%; }
.motivation-layout p { color: #51565e; }
.video-slot { margin-top: 34px; aspect-ratio: 21 / 8; background: #f6f7f8; border: 1px dashed #cbd0d6; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.video-placeholder { text-align: center; color: #767d87; padding: 24px; }
.video-placeholder svg { width: 37px; height: 37px; stroke-width: 1.2; margin-bottom: 12px; }
.video-placeholder p { font-size: 18px; font-weight: 500; margin: 0 0 2px; }
.video-placeholder span { font-size: 14px; }
.video-slot.has-video { aspect-ratio: auto; background: #141414; border: none; }
.video-slot video { display: block; width: 100%; max-height: 680px; }
.alternate-section .video-slot { background: #fff; }
.method-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-detail { padding-top: 48px; }
.method-detail p { margin-bottom: 28px; color: #51565e; }
.method-detail h3 { text-align: center; }
.method-detail:last-child figure { max-width: 920px; margin-inline: auto; }
.extra-results { margin-top: 28px; }
summary { cursor: pointer; font-weight: 550; color: #476b85; padding: 14px 0; }
details figure { padding-top: 20px; }
.extra-results { border-block: 1px solid var(--line); }
.subsection-title { text-align: center; margin-top: 48px; }
.table-note { max-width: 760px; font-size: 15px; text-align: center; margin: 0 auto 20px; color: var(--muted); }
.table-scroll { max-width: 850px; overflow-x: auto; margin-inline: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 16px; font-variant-numeric: tabular-nums; }
caption { font-size: 14px; color: var(--muted); caption-side: bottom; padding-top: 12px; text-align: center; }
th, td { padding: 10px 17px; border-bottom: 1px solid var(--line); text-align: right; }
th:first-child { text-align: left; }
thead th { font-size: 15px; font-weight: 600; background: var(--soft); border-top: 2px solid #626771; }
tbody th { font-weight: 400; }
.ours { background: #eef5fa; color: #244d6d; border-bottom: 2px solid #89aabe; }
.ours th { font-weight: 650; }
.performance-note { font-size: 15px; color: var(--muted); text-align: center; margin-top: 22px; }
.limitations { border-top: 1px solid #dadddf; margin-top: 34px; }
.limitations p { color: #5a6068; font-size: 16px; padding-top: 6px; }
.citation-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.citation-heading h2 { margin: 0; text-align: left; }
.copy-button { display: inline-flex; align-items: center; gap: 7px; background: white; border: 1px solid #d5d9df; border-radius: 6px; color: #555c66; padding: 6px 12px; font-size: 14px; cursor: pointer; }
.copy-button:hover { background: var(--soft); }
.copy-button svg { width: 16px; height: 16px; }
pre { background: #f3f4f6; border-radius: 5px; margin: 0; padding: 25px; overflow: auto; line-height: 1.65; font-size: 14px; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.copy-status { min-height: 24px; font-size: 14px; color: #476b85; margin-top: 5px; }
footer { background: #fafafa; padding: 35px 0 40px; text-align: center; color: #70757d; font-size: 14px; border-top: 1px solid var(--line); }
footer p { margin-bottom: 2px; }
footer .credits { max-width: 720px; margin: 15px auto 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -70px; left: 15px; padding: 8px 16px; background: white; z-index: 10; box-shadow: 0 2px 10px #0002; }
.skip-link:focus { top: 10px; }
.image-dialog { width: min(1400px, calc(100% - 32px)); max-height: 94vh; border: none; padding: 50px 24px 22px; border-radius: 8px; color: var(--ink); }
.image-dialog::backdrop { background: #111b; }
.image-dialog img { display: block; width: auto; max-width: 100%; max-height: 76vh; object-fit: contain; margin-inline: auto; }
.image-dialog p { font-size: 15px; color: var(--muted); text-align: center; margin-top: 20px; }
.dialog-close { position: absolute; top: 5px; right: 12px; font-size: 32px; width: 40px; height: 40px; padding: 0; line-height: 1; background: none; border: none; cursor: pointer; color: #5d6570; }
body.dialog-open { overflow: hidden; }
@media (min-width: 1500px) { .hero { padding-top: 75px; } }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 40px; }
  h1 { font-size: clamp(28px, 5.8vw, 39px); letter-spacing: -.9px; }
  .project-name { letter-spacing: -1px; }
  .venue { margin-top: 23px; font-size: 21px; }
  .authors { font-size: 18px; max-width: 570px; margin-inline: auto; }
  .affiliation { font-size: 17px; margin-top: 10px; }
  .resource { font-size: 14px; padding: 7px 12px; gap: 6px; }
  .resource-links { gap: 6px; }
  .resource .soon { font-size: 11px; }
  .teaser { padding-top: 43px; }
  .teaser-caption { font-size: 18px; margin-top: 23px; }
  .desktop-break { display: none; }
  .section-nav { gap: 9px 20px; padding-block: 25px; font-size: 14px; }
  .section { padding-block: 42px; }
  h2 { font-size: 28px; margin-bottom: 21px; }
  h3 { font-size: 21px; }
  .highlights { grid-template-columns: 1fr; gap: 24px; margin-top: 27px; }
  .highlights article { padding-top: 18px; }
  .highlights p { font-size: 16px; }
  .motivation-layout { grid-template-columns: 1fr; gap: 18px; }
  .motivation-image { max-width: 240px; margin-inline: auto; }
  .motivation-layout h3 { text-align: center; }
  .video-slot { aspect-ratio: 16/8; }
  .section-intro { text-align: left; margin-bottom: 27px; }
  .abstract-section p { text-align: left; }
  figcaption { font-size: 14px; }
  .method-detail { padding-top: 35px; }
  .method-detail h3 { font-size: 21px; }
  th, td { padding: 10px 12px; }
  table { font-size: 14px; }
  thead th { font-size: 14px; }
  pre { font-size: 12px; padding: 18px; }
  footer { padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .resource-links, .section-nav, .video-slot, .copy-button, .skip-link { display: none; } .section { padding-block: 25px; } .hero { padding-top: 0; } details > * { display: block; } .container { width: 100%; } }
