/* Layout adapted from AcadHomepage (MIT), Copyright (c) 2022 Yi Ren.
   Reference: https://zhangchenglong-ai.github.io/
   License: assets/licenses/AcadHomepage-LICENSE.txt */
:root { color-scheme: light; --ink: #404950; --heading: #24354a; --muted: #626a70; --link: #224b8d; --line: #e7eaee; --sans: "Trebuchet MS", Helvetica, Arial, sans-serif; --serif: "Times New Roman", Times, serif; }
*, *::before, *::after { box-sizing: border-box; }
html { background: #fff; font-size: 17px; scroll-padding-top: calc(var(--header-height, 0px) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: var(--serif); line-height: 1.6; overflow-wrap: break-word; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; text-decoration-color: #224b8d66; transition: color .15s, text-decoration-color .15s; }
a:hover { color: #16335f; text-decoration-color: currentColor; }
p { margin: 0 0 .5em; }
h1, h2, h3, h4 { margin: 1em 0 .5em; line-height: 1.2; font-family: var(--serif); font-weight: 700; }
ul { padding-inline-start: 2em; margin-block-start: .5em; }
li { margin-bottom: .5em; }
img { max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
main:focus-visible { outline: none; }
.icon-definitions { display: none; }
.icon { width: 1em; height: 1em; margin-right: .35em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 50; transform: translateY(-200%); padding: .5em 1em; background: #fff; border: 1px solid var(--link); }
.skip-link:focus { transform: none; }
.masthead { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.masthead-inner { display: flex; align-items: center; max-width: 925px; margin-inline: auto; padding: .55rem 1rem; font-family: var(--sans); font-size: .88rem; }
.main-nav { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.main-nav ul { margin: 0; padding: 0; list-style: none; }
.visible-links { display: flex; align-items: center; flex: 1; min-width: 0; }
.visible-links li { flex: none; margin: 0; white-space: nowrap; }
.main-nav a { position: relative; display: block; margin: 0 .95rem; padding: .6rem 0; color: var(--muted); text-decoration: none; }
.visible-links li:first-child a { margin-left: 0; font-weight: 700; }
.visible-links li:last-child a { margin-right: 0; }
.main-nav a::before { content: ""; position: absolute; bottom: .18rem; left: 0; width: 100%; height: 1px; background: var(--link); transform: scaleX(0); transition: transform .15s; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--heading); }
.main-nav a:hover::before, .main-nav a[aria-current]::before { transform: scaleX(1); }
.nav-toggle { flex: none; width: 38px; height: 38px; margin-left: 16px; padding: 8px 9px; border: 1px solid #d8dee5; border-radius: 4px; background: #fff; color: var(--heading); }
.nav-toggle:hover { background: #f6f8fa; }
.navicon, .navicon::before, .navicon::after { display: block; position: relative; width: 18px; height: 1.5px; background: currentColor; }
.navicon::before, .navicon::after { content: ""; position: absolute; left: 0; }
.navicon::before { top: -6px; } .navicon::after { top: 6px; }
.main-nav .hidden-links { position: absolute; top: 100%; right: 0; z-index: 30; max-width: calc(100vw - 34px); max-height: calc(100vh - var(--header-height, 62px) - 26px); max-height: calc(100dvh - var(--header-height, 62px) - 26px); overflow-y: auto; scroll-padding-block: 6px; margin-top: 10px; padding: 6px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 6px 20px #20334b12; }
.hidden-links li { margin: 0; white-space: normal; }
.hidden-links a { margin: 0; padding: .5em 1em; }
.hidden-links a::before { display: none; }
.hidden-links a:hover { background: #f2f3f3; }
.no-nav-overflow .visible-links { flex-wrap: wrap; }
.no-nav-overflow .masthead { position: static; }

.site-layout { max-width: 925px; margin: 1.65rem auto 0; padding-inline: 1em; }
.sidebar { margin-bottom: 1em; font-family: var(--sans); min-width: 0; }
.profile-box { display: grid; grid-template-columns: 120px minmax(0,1fr); column-gap: 14px; row-gap: .2rem; align-items: center; }
.identity-photos { position: relative; grid-row: 1 / span 2; align-self: start; width: 120px; margin-bottom: .25rem; }
.profile-portrait { width: 84%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.profile-portrait picture { display: block; width: 100%; height: 100%; }
.profile-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transform-origin: center bottom; }
.author-avatar { position: absolute; right: 0; bottom: -.25rem; width: 34%; min-width: 0; padding: 3px; border-radius: 50%; background: #fff; }
.author-avatar img { display: block; width: 100%; border-radius: 50%; border: 1px solid var(--line); background: #fff; }
.author-content { min-width: 0; }
.author-name { margin: 0 0 .3rem; color: var(--heading); font-family: var(--sans); font-size: 1.2rem; letter-spacing: -.025em; }
.author-name > span { display: inline-block; max-width: 100%; }
.author-bio { margin: 0; font-size: .88rem; line-height: 1.65; }
.author-urls-wrapper { grid-column: 2; min-width: 0; }
.author-urls { display: none; margin: 0; padding: 0; list-style: none; font-size: .83rem; }
.author-urls a { color: inherit; text-decoration: none; }
.author-urls a:hover { text-decoration: underline; }
.author-field { margin-bottom: 1.15rem; color: var(--muted); }
.author-email { font-size: .78rem; overflow-wrap: anywhere; }
.author-email a { display: flex; align-items: baseline; }
.author-email span { min-width: 0; }
.author-updated { margin-top: 1.15rem; color: var(--muted); font-size: .76rem; }
.author-urls-mobile { display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: .8rem; }
.author-urls-mobile a { display: inline-flex; align-items: center; gap: .35em; min-height: 36px; max-width: 100%; color: var(--link); text-decoration: none; }
.author-urls-mobile a:hover { text-decoration: underline; }
.author-urls-mobile .icon { margin: 0; }
.page-content { min-width: 0; }
.page-content section { min-width: 0; }
.page-content > section + section { margin-top: 1.75rem; }
.about-section { padding-top: .15rem; }
.about-section p { max-width: 82ch; margin-bottom: .75rem; }
.about-section p:last-child { margin-bottom: 0; }
.intro-lead { color: var(--heading); font-size: 1.12rem; line-height: 1.55; }
.section-title { margin: 0 0 .8rem; padding-bottom: .4em; border-bottom: 1px solid var(--line); color: var(--heading); font-size: 1.4rem; letter-spacing: -.012em; }
.news-list, .research-list { margin: .2rem 0 0; padding-left: 1.2rem; }
.research-list { max-width: 82ch; }
.news-list li:last-child, .research-list li:last-child { margin-bottom: 0; }
.news-list time { color: var(--muted); font-style: italic; font-variant-numeric: tabular-nums; }
.education-list { --logo: 4.5em; --gap: 1.5em; position: relative; margin: .5em 0 0; padding: 0; list-style: none; }
.education-list::before { content: ""; position: absolute; top: calc(var(--logo)/2); bottom: calc(var(--logo)/2); left: calc(var(--logo) + var(--gap)/2); width: 1px; background: #d4dce5; }
.education-entry { display: flex; align-items: center; gap: var(--gap); position: relative; margin-bottom: .9em; }
.education-entry:last-child { margin-bottom: 0; }
.education-entry::before { content: ""; position: absolute; top: 50%; left: calc(var(--logo) + var(--gap)/2); width: .62em; height: .62em; border: 3px solid #fff; border-radius: 50%; background: var(--link); box-shadow: 0 0 0 1px var(--link); transform: translate(-50%, -50%); }
.education-logo { display: block; flex: 0 0 var(--logo); width: var(--logo); height: var(--logo); }
.education-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.education-content { flex: 1; min-width: 0; }
.education-entry-nju strong { color: #5b0b63; }
.education-entry-njau strong { color: #176c55; }
.education-detail { margin-top: .35em; color: var(--muted); }
.experience-list { margin: .5em 0 0; }
.experience-list::before { content: none; }
.experience-entry { margin: 0 0 1.15rem; }
.experience-entry:last-child { margin-bottom: 0; }
.experience-entry::before { z-index: 1; }
.experience-entry::after { content: ""; position: absolute; top: 0; bottom: -1.15rem; left: calc(var(--logo) + var(--gap)/2); width: 1px; background: #d4dce5; }
.experience-entry:first-child::after { top: 50%; }
.experience-entry:last-child::after { bottom: 50%; }
.experience-logo { overflow: hidden; }
.experience-logo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: .2em; }
.experience-logo-item { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; }
.experience-logo-everwise img { transform: scale(1.25); }
.experience-logo-bytedance img { padding: .35em; }
.experience-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem 1rem; margin-bottom: .2rem; }
.experience-header h3 { flex: 1 1 18rem; margin: 0; color: var(--heading); font-size: 1.06rem; line-height: 1.4; }
.experience-entry p { margin: 0; }
.experience-date { color: var(--muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.experience-date time { display: inline-block; max-width: 100%; }
.experience-team { color: var(--muted); }
.venture-entry { align-items: flex-start; }
.venture-entry::before { top: calc(var(--logo)/2); }
.venture-entry::after { content: none; }
/* Show the intact symbol from the supplied image; its wordmark is clipped. */
.experience-logo-lanbanyun { position: relative; clip-path: polygon(0 0, 100% 0, 100% 90%, 78% 90%, 78% 100%, 0 100%); }
.experience-logo-lanbanyun img { position: absolute; width: 178.9773%; height: 178.9773%; max-width: none; left: -62.5%; top: -20.4545%; filter: grayscale(1) brightness(.51) contrast(60); }
.venture-entry .experience-date { margin: 0; }
.venture-entry .venture-role { margin: 0 0 .35rem; }
.venture-summary { max-width: 82ch; margin: 0; }
.selected-publications-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75em; margin: 0 0 .8rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.selected-publications-heading .section-title { margin: 0; padding: 0; border: 0; }
.bibliography-link { display: inline-flex; align-items: center; min-height: 32px; padding: .25em .65em; border: 1px solid #d8dee5; border-radius: 3px; color: var(--link); font-family: var(--sans); font-size: .76rem; line-height: 1.4; text-decoration: none; }
.bibliography-link:hover { border-color: #9aaabd; background: #f7f9fb; }
.publication-category { margin: 1.1rem 0 0; color: var(--muted); font-family: var(--sans); font-size: .83rem; font-weight: 400; letter-spacing: .015em; }
.selected-paper-feature { display: grid; grid-template-columns: minmax(0,1fr); align-items: start; gap: 1.25em; padding: 1.25em 0 1.75em; border-bottom: 1px solid #efefef; }
.selected-paper-feature__visual, .pub-content { min-width: 0; }
.paper-preview { display: block; position: relative; }
.paper-preview picture, .figure-dialog picture { display: block; }
.paper-preview img { display: block; width: 100%; height: auto; padding: 4px; border: 1px solid #dce1e6; box-shadow: 0 2px 5px #0000000d; }
.preview-caption { margin: .65em 0 0; color: var(--muted); font: .76rem/1.5 var(--sans); }
.pub-content h3 { margin: 0 0 .45em; color: var(--link); font-family: inherit; font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.pub-content h3 a { text-decoration: none; }
.pub-content h3 a:hover { text-decoration: underline; }
.pub-content p { margin: .25em 0 .45em; }
.compound, .person { display: inline-block; max-width: 100%; }
.pub-authors { color: #707070; font-size: .94rem; }
.pub-authors strong { color: #111; }
.pub-venue { color: #111; }
.pub-summary { color: #555; }
.publication-note { color: #626a70; font-size: .83rem; }
.pub-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .05rem; margin-top: .5rem; }
.pub-links, .pub-id { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .6em; min-width: 0; max-width: 100%; }
.pub-links { font-family: var(--sans); font-size: .83rem; font-weight: 700; }
.pub-links a { display: inline-flex; align-items: center; min-height: 32px; }
.pub-links a + a::before { content: "|"; margin-right: .6em; color: #707070; font-weight: 400; }
.doi-link { min-width: 0; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.copy-button { min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--link); font-size: .78rem; text-decoration: underline; text-underline-offset: .16em; }
.citation > summary { min-height: 32px; width: fit-content; max-width: 100%; padding: .2em 0; color: var(--link); font-size: .83rem; cursor: pointer; }
.citation-body { margin: .3em 0; padding: .8em; border: 1px solid var(--line); background: #fafafa; }
.citation-body pre { max-width: 100%; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: .76rem/1.65 Consolas, monospace; }
.citation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1em; margin-top: .5em; }
.citation-actions a { font-size: .8em; }
.publication-standard { padding-top: 1.5rem; }
.publication-standard .pub-summary { max-width: 82ch; }
.figure-dialog { width: min(880px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 1.2rem; overflow: auto; border: 1px solid #d8dee5; border-radius: 4px; color: var(--ink); background: #fff; box-shadow: 0 16px 60px #14213533; }
.figure-dialog:not([open]) { display: none; }
.figure-dialog::backdrop { background: #17233399; }
.figure-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.figure-dialog h2 { margin: 0; color: var(--heading); font-size: 1.25rem; }
.figure-dialog img { display: block; width: 100%; height: auto; }
.figure-dialog p { margin: 1rem 0 0; color: var(--muted); font-size: .85rem; }
.figure-close { flex: none; min-height: 36px; padding: .3rem .65rem; border: 1px solid #d8dee5; border-radius: 3px; color: var(--heading); background: #fff; font: .8rem var(--sans); }
.figure-close:hover { background: #f6f8fa; }
.figure-close span { padding-left: .3em; font-size: 1.25em; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5em 1.5em; margin-top: 2.5rem; padding: 1.2rem 0 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; font-family: var(--sans); }
.copy-status { position: fixed; right: 16px; bottom: 16px; z-index: 50; max-width: min(400px,calc(100% - 32px)); padding: .65em 1em; border: 1px solid #aaa; background: #fff; font-family: var(--sans); font-size: .8em; }
.copy-status:empty { display: none; }
/* The linked 404 page shares these basic helpers. */
.site-shell { max-width: 925px; margin-inline: auto; padding: 1em; }
.eyebrow { color: var(--muted); }
.button { display: inline-block; padding-block: .5em; }
@media (min-width: 48em) {
  .author-name { font-size: 1.35rem; }
  .selected-paper-feature { grid-template-columns: minmax(0,.36fr) minmax(0,.64fr); gap: 1.6em; }
  .selected-paper-feature .pub-content { grid-column: 2; grid-row: 1; }
  .selected-paper-feature__visual { grid-column: 1; grid-row: 1; }
}
@media (min-width: 57.8125em) {
  .site-layout { display: grid; grid-template-columns: 15.2542372881% minmax(0,1fr); gap: 1.6949152542%; align-items: start; }
  .sidebar:where([data-sticky]) { position: sticky; top: var(--sidebar-sticky-top); }
  .profile-box { display: block; }
  .identity-photos { width: 100%; max-width: 190px; }
  .author-content { padding: 0; }
  .author-name { margin: 1rem 0 .5rem; }
  .author-bio { margin: 0 0 1.2rem; }
  .author-urls { display: block; }
  .author-urls-mobile { display: none; }
  .page-content { padding-left: 5.1020408163%; }
}
@media (min-width: 80em) {
  .masthead-inner, .site-layout { max-width: 1280px; }
}
@media (max-width: 560px) {
  .education-list { --logo: 3.5em; --gap: .8em; }
  .experience-list { --logo: min(3.5em, 60px); --gap: 1.1em; }
  .site-layout { margin-top: 1.25rem; }
  .sidebar { margin-bottom: 1.5rem; }
  .figure-dialog { padding: .85rem; }
  .figure-dialog-header { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .author-name { font-size: 1.1em; }
  .author-bio { font-size: .85em; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print {
  @page { margin: 16mm; }
  body { font-size: 10pt; }
  .site-header, .skip-link, .author-urls-mobile, .copy-button, .copy-status, .citation, .bibliography-link, .site-footer a, .figure-dialog { display: none !important; }
  .site-layout { display: block; max-width: none; padding: 0; }
  .sidebar { position: static; }
  .profile-box { display: grid; grid-template-columns: 96px minmax(0,1fr); column-gap: 15px; row-gap: .3em; align-items: start; }
  .identity-photos { width: 96px; }
  .author-name { margin: 0; font-size: 17pt; }
  .author-bio { margin: 0; }
  .author-urls { display: flex; flex-wrap: wrap; gap: .15em 1.2em; font-size: 9pt; }
  .author-urls li { margin: 0; max-width: 100%; }
  .author-urls .author-field, .author-urls .author-updated { display: none; }
  .author-email { font-size: inherit; }
  .author-urls a[href^="https://github.com/"]::after { content: ": " attr(href); overflow-wrap: anywhere; }
  .page-content { padding: 0; }
  .section-title { font-size: 14pt; }
  .selected-paper-feature { grid-template-columns: minmax(0,.36fr) minmax(0,.64fr); gap: 20px; }
  .selected-paper-feature .pub-content { grid-column: 2; grid-row: 1; }
  .selected-paper-feature__visual { grid-column: 1; grid-row: 1; }
  .education-entry, .experience-entry, .venture-entry, .publication { break-inside: avoid; }
  .paper-preview img { box-shadow: none; }
  .site-footer { margin-top: 1em; }
}
