@font-face { font-family: 'Google Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/google-sans.ttf') format('truetype'); }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/noto-sans.ttf') format('truetype'); }
html { font-size: 18px; }
body { background: #faf9f6; color: #4a4a4a; font-family: 'Noto Sans', sans-serif; }
.container.is-max-desktop { max-width: 1140px; }
.section > .container:not(.is-fluid) { max-width: 1140px; }
.section.retargeting-section > .container:not(.is-fluid), .section#simulation-videos > .container:not(.is-fluid), .section#real-robot-videos > .container:not(.is-fluid) { max-width: 1440px; }
.publication-title, .publication-authors, .teaser { font-family: 'Google Sans', sans-serif; }
.publication-title.title { margin-bottom: 1.5rem; }
.publication-logo { display: block; width: min(88%, 620px); height: auto; margin: 0 auto; }
.publication-title.subtitle { margin-top: 0; margin-bottom: 1.5rem; line-height: 1.25; }
.publication-authors { margin: 0; color: #363636; font-size: 1.15rem; line-height: 1.7; }
.author-row { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 1rem; }
.author-block { display: inline-block; white-space: nowrap; }
.author-block a { color: #3273dc; text-underline-offset: .15em; }
.author-block a:hover { color: #205bbc; text-decoration: underline; }
.publication-authors sup, .publication-affiliations sup, .publication-contributions sup { margin-left: .1em; font-size: .7em; }
.publication-affiliations { margin-top: .9rem; font-size: .95rem; line-height: 1.6; }
.publication-affiliations sup, .publication-contributions sup { margin-left: 0; margin-right: .2em; }
.publication-contributions { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.1rem; margin-top: .7rem; color: #777; font-size: .82rem; line-height: 1.5; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.resource-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.5rem; padding: .55rem 1.05rem; border: 1px solid #363636; border-radius: 999px; background: #363636; color: #fff; font: inherit; font-size: 1rem; line-height: 1.25; white-space: nowrap; text-decoration: none; }
.resource-button:not(:disabled):hover { background: #292929; border-color: #292929; color: #fff; }
.resource-button:disabled { opacity: 1; cursor: not-allowed; }
.resource-icon { display: block; flex: 0 0 auto; width: 1.05rem; height: 1.05rem; object-fit: contain; filter: brightness(0) invert(1); }
.hero-body { padding: 3rem 1.5rem 2rem; }
.teaser { padding: 0 1.5rem; }
figure { margin: 0; }
figure a, figure img { display: block; width: 100%; }
figure img { height: auto; }
figcaption { margin-top: .6rem; text-align: center; color: #777; font-size: .85rem; }
.tldr { margin: 1.25rem auto 0; font-size: 1.1rem; line-height: 1.6; }
.tldr strong { margin-right: .3rem; }
.section { padding: 2.5rem 1.5rem; }
.reading { font-size: 1.05rem; line-height: 1.7; }
.reading.content p:not(:last-child) { margin-bottom: .9rem; }
figure + .reading { margin-top: 1.5rem; }
.reading + figure { margin-top: 1.5rem; }
.citation-bibtex { padding: 1.25rem 1.5rem; border-radius: 6px; background: #f1efe9; font-size: .85rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Video grid and typography adapted from the OmniRetarget template. */
.gallery-shell { position: relative; }
.gallery-nav { display: none; }
.simulation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; max-width: 1140px; margin: 2rem auto 0; }
.retargeting-grid, .simulation-results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: 1440px; margin-top: 1.5rem; }
.real-robot-grid, .sim-locomotion-grid { grid-template-columns: repeat(3, calc((100% - 3 * 1.25rem) / 4)); justify-content: center; gap: 1.25rem; max-width: 1440px; margin-top: 1.5rem; }
.real-robot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.retargeting-subtitle.sim-result-heading { margin-top: 2rem; }
.retargeting-subtitle { margin: -.6rem auto 0; text-align: center; font-family: 'Google Sans', sans-serif; font-size: 1.3rem; font-weight: 400; line-height: 1.4; color: #777; }
.sim-to-sim-subtitle { margin: .35rem auto 0; text-align: center; font-size: 1.05rem; font-weight: 700; line-height: 1.5; color: #666; }
.nowrap { white-space: nowrap; }
.result-group-heading { margin: 2rem auto 0; text-align: center; font-family: 'Google Sans', sans-serif; font-size: 1.5rem; font-weight: 600; color: #363636; }
.result-group-heading + .retargeting-subtitle { margin-top: 1rem; }
.quantitative-heading { margin-top: 2.5rem; }
.retargeting-section .gallery-shell + .retargeting-subtitle { margin-top: 2.5rem; }
.simulation-item { overflow: hidden; text-align: center; background: white; border-radius: 6px; box-shadow: 0 4px 12px rgb(0 0 0 / 10%); }
.video-frame { aspect-ratio: 16 / 9; background: #242424; }
.video-frame video, .video-poster { display: block; width: 100%; height: 100%; object-fit: contain; }
.retargeting-item { display: flex; flex-direction: column; }
.retargeting-item .simulation-label { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 3.4rem; overflow-wrap: anywhere; }
.simulation-label { margin: 0; padding: .75rem; font-size: .95rem; font-weight: 600; line-height: 1.3; color: #333; }
.simulation-results-grid .simulation-label { display: flex; align-items: center; justify-content: center; min-height: 4rem; }
.video-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: #f1f1f1; color: #8a8a8a; font-size: .85rem; }
.footer { padding: 2rem 1.5rem; background: #faf9f6; text-align: center; font-size: .75rem; color: #888; }
.footer a { color: #777; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid #209cee; outline-offset: 3px; }
@media (max-width: 768px) {
  .publication-title.title { font-size: 2.5rem; } .publication-title.subtitle { font-size: 1.65rem; } .desktop-break { display: none; } .title.is-2 { font-size: 1.75rem; } .hero-body { padding-top: 2rem; } .section { padding: 2rem 1.25rem; } .teaser { padding-inline: 1.25rem; } .reading, .tldr { font-size: 1rem; } .tldr { text-align: justify; } .simulation-grid.desktop-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; justify-content: start; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 1.25rem; } .simulation-grid::-webkit-scrollbar { display: none; } .simulation-item { margin: 6px 8px 14px; scroll-snap-align: center; } .gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid #ddd; border-radius: 50%; background: white; color: #444; font: 26px/1 sans-serif; cursor: pointer; } .gallery-prev { left: -8px; } .gallery-next { right: -8px; } .simulation-label { font-size: .9rem; }
}

.table-scroll { overflow-x: auto; margin-top: 2rem; }
.table-scroll, .table-note { max-width: 1140px; margin-left: auto; margin-right: auto; }
.results-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; text-align: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.results-table caption { text-align: center; color: #363636; font-size: 1.12rem; font-weight: 600; padding-bottom: .75rem; }
.results-table th, .results-table td { padding: .65rem .55rem; border-bottom: 1px solid #e4e1d9; vertical-align: middle; }
.results-table thead th { text-align: center; font-size: .82rem; font-weight: 600; border-bottom: 1px solid #aaa69d; }
.results-table thead .group-header th { border-bottom: 0; }
.results-table thead .group-header th[scope="col"] { border-bottom: 1px solid #aaa69d; }
.results-table thead th[scope="colgroup"] { position: relative; padding-bottom: .8rem; }
.results-table thead th[scope="colgroup"]::after { content: ""; position: absolute; left: .55rem; right: .55rem; bottom: 0; height: 1px; background: #aaa69d; }
.results-table tbody th { text-align: center; white-space: nowrap; font-weight: 400; }
.results-table .dataset { font-style: italic; }
.results-table .ours { background: #f1e9d9; }
.results-table .ours th { font-weight: 600; }
.results-table u { text-underline-offset: .12em; }
.table-note { color: #777; font-size: .82rem; margin-top: .65rem; }
