@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/noto-sans-latin.woff2") format("woff2");
}

:root { color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: #4a4a4a; font: 18px/1.7 "Noto Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #147bc1; text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #147bc1; outline-offset: 4px; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
sup { font-size: .65em; margin-left: 2px; }
strong { font-weight: 600; }
.container { width: min(960px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 12px; }

.hero { padding-top: 48px; padding-bottom: 16px; text-align: center; }
h1 { max-width: 1100px; margin: 0 auto 24px; color: #363636; font-size: 48px; line-height: 1.2; font-weight: 600; letter-spacing: -1.1px; text-wrap: balance; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 22px; line-height: 1.6; color: #147bc1; }
.authors sup { color: #4a4a4a; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin-top: 9px; font-size: 18px; }
.corresponding { margin-top: 5px; font-size: 14px; color: #666; }
.venue { margin-top: 18px; color: #3273dc; font-size: 20px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 40px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 20px; background: #363636; color: #fff; border-radius: 999px; font-size: 16px; line-height: 1.5; }
.button:hover { background: #242424; text-decoration: none; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button .github-icon { fill: currentColor; stroke: none; }
.teaser img { width: 100%; }

.section { padding-block: 32px; }
h2 { margin-bottom: 24px; color: #363636; text-align: center; font-size: 34px; line-height: 1.25; font-weight: 600; }
h3 { margin: 32px 0 16px; color: #363636; font-size: 26px; line-height: 1.3; font-weight: 600; }
.section p { margin-bottom: 20px; text-align: justify; }
.paper-figure { margin-block: 28px; }
.paper-figure img { width: 100%; }
.representation-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-block: 28px; }
.representation-figures .paper-figure { margin: 0; }
.representation-figures .paper-figure > a { display: flex; align-items: center; aspect-ratio: 2600 / 1402; }
figcaption { margin-top: 20px; font-size: 1em; line-height: inherit; text-align: justify; }
figcaption a { margin-left: 4px; white-space: nowrap; }
video { width: 100%; border-radius: 4px; background: #f5f5f5; }
.video-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 16px; }
.transcript { margin: 10px 0 0; font-size: 16px; }
summary { cursor: pointer; }
.transcript p { margin: 12px 0 0; }
.abstract-block { margin: 52px 0 0; }
.section .small-note { color: #666; font-size: 16px; line-height: 1.6; text-align: left; }

.tabs { display: flex; justify-content: center; gap: 0; margin: 24px 0; border-bottom: 1px solid #dbdbdb; }
.tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 10px 24px; margin-bottom: -1px; color: #666; }
.tabs button span { margin-left: 7px; font-size: 14px; }
.tabs button[aria-selected="true"] { color: #147bc1; border-bottom-color: #147bc1; }
.comparison { margin-top: 0; }
.table-scroll { overflow-x: auto; margin: 24px 0 14px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: right; font-size: 18px; font-variant-numeric: tabular-nums; }
th, td { padding: 12px; border-bottom: 1px solid #e5e5e5; }
thead { border-top: 2px solid #555; border-bottom: 1px solid #777; }
thead th { font-size: 16px; font-weight: 600; }
thead th[colspan] { text-align: center; font-size: 18px; }
tbody th { text-align: left; font-weight: 400; }
tr > :nth-child(2), thead tr:first-child > :first-child { text-align: left; }
thead tr:nth-child(2) > :nth-child(2) { text-align: right; }
.ours { background: #f5f5f5; color: #363636; font-weight: 700; }
.ours th { font-weight: 700; }
.ours th span { font-size: 14px; margin-left: 4px; font-weight: 400; }
.second-setting { border-top: 2px solid #999; }
tbody:last-child { border-bottom: 2px solid #555; }
.more-results { margin-top: 28px; }
.more-results summary { font-weight: 600; }

.citation-code { margin-top: 16px; padding: 16px 20px; background: #f5f5f5; }
#copy-citation { display: block; margin: 0 0 8px auto; padding: 5px 10px; border: 1px solid #ccc; border-radius: 3px; color: #4a4a4a; background: #fff; font-size: 14px; }
pre { margin: 0; overflow-x: auto; font-size: 16px; line-height: 1.65; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.section .copy-status { margin: 12px 0 0; color: #147bc1; font-size: 14px; text-align: left; }
.copy-status:empty { display: none; }
.footer { margin-top: 32px; padding: 32px 24px; background: #fafafa; text-align: center; color: #666; font-size: 16px; }
.footer p + p { margin-top: 8px; }

@media (min-width: 1216px) { .container { width: min(1152px, calc(100% - 64px)); } }
@media (min-width: 1408px) { .container { width: min(1344px, calc(100% - 64px)); } }
@media (max-width: 900px) {
  .representation-figures { grid-template-columns: minmax(0, 1fr); }
  .representation-figures .paper-figure > a { aspect-ratio: auto; }
}
@media (max-width: 700px) {
  h1 { font-size: 34px; letter-spacing: -.7px; }
  .authors { font-size: 18px; gap: 4px 18px; }
  .affiliations { flex-direction: column; font-size: 16px; }
  .section p, figcaption { text-align: left; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 32px; }
  h1 { font-size: 29px; letter-spacing: -.6px; }
  .authors { gap: 3px 16px; font-size: 16px; }
  .venue { font-size: 17px; margin-top: 16px; }
  .button { padding: 8px 15px; font-size: 14px; }
  .actions { margin-bottom: 28px; }
  .section { padding-block: 24px; }
  h2 { font-size: 26px; margin-bottom: 20px; }
  h3 { font-size: 21px; }
  .abstract-block { margin-top: 40px; }
  .tabs button { flex: 1; padding: 10px 12px; font-size: 17px; }
  .tabs button span { display: block; margin-left: 0; }
  .citation-code { padding: 12px; }
  pre { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
