* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
  font-size: 15px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: #494e52;
  background: #fff;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

::selection {
  color: #fff;
  background: #000;
}

a {
  color: #224b8d;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 .5em;
  color: #494e52;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0 0 .5em;
}

ul {
  margin-block: .5em;
  padding-inline-start: 2em;
}

li {
  margin-bottom: .5em;
}

/* Header: follows teawhite.cn's masthead proportions. */
.masthead {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #f2f3f3;
  background: #fff;
}

.masthead__inner-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: .75em 1em;
}

.greedy-nav {
  position: relative;
  display: flex;
  min-height: 32px;
  align-items: center;
  background: #fff;
}

.visible-links,
.hidden-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visible-links {
  display: flex;
  align-items: center;
}

.visible-links li {
  margin: 0;
}

.visible-links a,
.hidden-links a {
  display: block;
  color: #5f6468;
  font-size: .9em;
  text-decoration: none;
}

.visible-links a {
  padding: .55em 1.25em;
}

.visible-links li:first-child a {
  padding-left: 0;
  padding-right: 3em;
  color: #444;
  font-weight: 700;
}

.visible-links a:hover,
.hidden-links a:hover {
  color: #000;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  margin-left: auto;
  padding: 8px 9px;
  border: 0;
  background: #7a8288;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 3px 0;
  background: #fff;
}

.hidden-links {
  position: absolute;
  top: 45px;
  right: 0;
  display: none;
  min-width: 210px;
  padding: .45em 0;
  border: 1px solid #f2f3f3;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .13);
}

.hidden-links.open {
  display: block;
}

.hidden-links li {
  margin: 0;
}

.hidden-links a {
  padding: .7em 1em;
}

/* Two-column body: 15.25% profile + 83.05% content. */
#main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1em;
  display: flex;
  align-items: flex-start;
  gap: 1.6949152542%;
}

.sidebar {
  flex: 0 0 15.2542372881%;
  min-width: 0;
  margin-bottom: 1em;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.sidebar.sticky {
  position: sticky;
  top: 1em;
}

.page {
  flex: 0 0 83.0508474576%;
  min-width: 0;
  padding-left: 4.2372881356%;
}

.profile-box {
  display: block;
}

.author__avatar {
  --photo-x: -2%;
  --photo-y: -2%;
  --photo-scale: 1.08;
  position: relative;
  display: block;
  width: min(100%, 175px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #f2f3f3;
  border-radius: 50%;
  background: #fff;
}

.author__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 65%;
  border: 0;
  border-radius: 0;
  transform: translate(var(--photo-x), var(--photo-y)) scale(var(--photo-scale));
  transform-origin: center;
}

.author__content {
  display: block;
  width: 100%;
}

.author__name {
  margin: 10px 0;
  color: #494e52;
  font-family: inherit;
  font-size: 1.4rem;
}

.author__bio {
  margin: 10px 0 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.author__urls-wrapper {
  position: relative;
  display: block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.author__urls {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.author__urls li {
  margin: 0;
  white-space: nowrap;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.5;
}

.author__urls a,
.author__urls li {
  color: inherit;
}

.author__urls a {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  padding: 2px 5px 2px 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.author__urls .email-link {
  font-family: inherit;
  font-size: 1rem !important;
  font-weight: 400;
  letter-spacing: normal;
}

.author__urls a:hover {
  text-decoration: underline;
}

.profile-spacer {
  height: .45em;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 2px 5px 2px 0;
}

.list-icon {
  display: inline-flex;
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 1.5em;
  align-items: center;
  justify-content: center;
  color: #333;
}

.contact-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.github-icon {
  display: block;
  width: 1em;
  height: 1em;
  margin: 0 auto;
  fill: currentColor;
}

.author__urls_sm {
  display: none;
}

.page__content {
  color: #333;
  font-size: 16px;
  line-height: 1.85;
}

.page__content a {
  text-decoration: underline;
}

.page__content p {
  margin: 0 0 .5em;
}

.anchor::before,
.page__content h2::before {
  content: "";
  display: block;
  position: relative;
  width: 0;
  height: 2em;
  margin-top: -2em;
}

.profile-intro {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.06rem;
  line-height: 1.9;
}

.profile-intro-last {
  margin-top: -.2rem;
  margin-bottom: 1.5rem;
}

.inline-logo {
  width: auto;
  height: 1.08em;
  margin: 0 .14em;
  vertical-align: -.14em;
  object-fit: contain;
}


.page__content h2 {
  margin: 1em 0 .5em;
  color: #494e52;
  font-size: 1.2em;
}

.cv-section-title {
  margin-top: 2rem !important;
  margin-bottom: .9rem !important;
  color: #494e52;
  font-size: 1.45rem !important;
  font-weight: 800;
}

.news-panel {
  margin-bottom: 1.8rem;
  padding: .9rem 1.15rem;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fcfcfc;
}

.news-list {
  margin: 0;
  padding-left: 1.25rem;
}

.news-list li {
  margin: .45rem 0;
  line-height: 1.85;
}

.entry-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
  margin: .95rem 0 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.entry-logo-wrap {
  display: flex;
  width: 90px;
  height: 90px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 12px;
  background: #fafafa;
}

.entry-logo {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.entry-wordmark {
  display: flex;
  width: 78%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  font-size: .88em;
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: center;
}

.ntu-wordmark { color: #174a86; font-family: Georgia, serif; font-size: 1.25em; font-style: italic; }
.tencent-wordmark { color: #1765b0; font-size: .82em; }
.astar-wordmark { color: #155e95; }
.huawei-wordmark { color: #d9292d; font-size: .76em; }
.service-wordmark { color: #555; border: 2px solid #666; border-radius: 50%; width: 48px; min-height: 48px; }

.entry-title {
  margin-bottom: .2rem;
  color: #111;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.35;
}

.entry-subtitle {
  margin-bottom: .15rem;
  color: #222;
  font-size: 1.02rem;
  font-weight: 700;
}

.entry-time {
  margin-bottom: .55rem;
  color: #666;
  font-size: .95rem;
}

.entry-desc {
  margin: 0;
  padding-left: 1.15rem;
}

.entry-desc li {
  margin-bottom: .32rem;
  line-height: 1.8;
}

/* Publication rows match the reference's plain 40/60 split. */
.paper-box {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 2em 0;
  border-bottom: 1px solid #efefef;
}

.paper-box-image {
  display: flex;
  width: 40%;
  min-width: 200px;
  justify-content: flex-start;
  order: 1;
}

.paper-media-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.paper-box-image img,
.paper-box-image video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  box-shadow: 3px 3px 6px #888;
}

.paper-box-image .groundflow-image {
  object-fit: contain;
}

.paper-box-text {
  width: 60%;
  max-width: 60%;
  order: 2;
  padding-left: 2em;
}

.paper-box-text p {
  line-height: 1.65;
}

.paper-title {
  color: #222;
  font-size: 1.04em;
}

.paper-venue {
  color: #555;
  font-style: italic;
}

.badge {
  position: absolute;
  z-index: 2;
  margin-top: .5em;
  margin-left: -.5em;
  padding: .12rem 1rem;
  background: #00369f;
  color: #fff;
  font-size: .8em;
  line-height: 1.6;
}

.award-badge {
  background: #9e1b32;
}

.paper-links {
  margin-top: .55rem;
}

.paper-btn {
  display: inline-block;
  margin-top: .35rem;
  margin-right: .45rem;
  padding: .2rem .72rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: #333 !important;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none !important;
}

.paper-btn:hover {
  background: #f6f6f6;
  text-decoration: none !important;
}

.award-note {
  color: #b31b1b;
  font-style: normal;
}

.quda-teaser {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eef2f5, #dde9e8);
  box-shadow: 3px 3px 6px #888;
}

.quda-flow {
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
  color: #31454e;
  text-align: center;
}

.quda-flow span {
  padding: 12px 8px;
  border: 1px solid #9eb1b5;
  border-radius: 8px;
  background: #fff;
  font-size: .78em;
  line-height: 1.25;
}

.quda-flow b {
  color: #66858b;
  font-size: 1.4em;
}

.quda-flow em {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: #174a86;
  color: #fff;
  font-size: .92em;
  font-style: normal;
  font-weight: 800;
}

.quda-teaser small {
  margin-top: 17px;
  color: #627176;
  font-size: .72em;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.honors-list {
  margin-bottom: 1em;
}

.beyond-intro {
  max-width: 52rem;
  margin-bottom: 1.1rem !important;
}

.covers-list {
  display: grid;
  gap: .8rem;
  margin-bottom: 3em;
}

.cover-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: .75rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fcfcfc;
}

.cover-type {
  color: #222;
  font-weight: 700;
  line-height: 1.5;
}

.cover-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.cover-link {
  display: inline-block;
  padding: .15rem .72rem;
  border: 1px solid #d9dde1;
  border-radius: 999px;
  background: #fff;
  color: #224b8d;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none !important;
}

.cover-link:hover {
  background: #f1f4f7;
  text-decoration: none !important;
}

.page-footer {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2em 1em 3em calc(15.2542372881% + 5.9322033898%);
  border-top: 1px solid #f2f3f3;
  color: #9ba1a6;
  font-size: .8em;
}

@media (max-width: 924px) {
  html {
    scroll-padding-top: 64px;
  }

  .masthead__inner-wrap {
    padding: .45em 1em;
  }

  .visible-links li.home-link,
  .visible-links li.desktop-extra {
    display: none;
  }

  .visible-links a {
    padding: .55em .9em;
    font-size: 1em;
  }

  .visible-links li:nth-child(2) a {
    padding-left: .45em;
  }

  .nav-toggle {
    display: block;
  }

  #main {
    display: block;
    padding: 1em;
  }

  .sidebar,
  .page {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .sidebar.sticky {
    position: relative;
    top: auto;
  }

  .profile-box {
    display: flex;
    align-content: flex-start;
    align-items: center;
    justify-content: flex-start;
  }

  .author__avatar {
    display: block;
    width: 75px;
    flex: 0 0 75px;
    vertical-align: top;
  }

  .author__avatar img {
    min-width: 0;
    width: 100%;
    height: 100%;
  }

  .author__content {
    display: table-cell;
    min-width: 120px;
    padding-left: 10px;
    line-height: 1;
    vertical-align: top;
  }

  .author__name {
    margin: 0;
    font-size: 1.2rem;
  }

  .author__bio {
    margin: 0;
    line-height: 1.5;
  }

  .author__urls-wrapper {
    display: table-cell;
    margin-left: auto;
    vertical-align: middle;
  }

  .author__urls {
    display: none;
  }

  .author__urls_sm {
    display: flex;
    padding: .25em;
    gap: .45em;
    font-size: 1.45em;
  }

  .author__urls_sm a {
    display: grid;
    width: 1.25em;
    height: 1.25em;
    place-items: center;
    color: #494e52;
    font-size: .8em;
    font-weight: 700;
    text-decoration: none;
  }

  .author__urls_sm .contact-icon,
  .author__urls_sm .github-icon {
    width: 1em;
    height: 1em;
  }

  .page__content {
    margin-top: 1.5em;
  }

  .page-footer {
    padding-left: 1em;
  }
}

@media (max-width: 767px) {
  .entry-card {
    grid-template-columns: 1fr;
  }

  .entry-logo-wrap {
    width: 78px;
    height: 78px;
  }

  .paper-box-image {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    order: 2;
    margin-top: 1.2em;
  }

  .paper-box-text {
    width: 100%;
    max-width: 100%;
    order: 1;
    padding-left: 0;
  }

  .paper-media-wrap {
    max-width: 400px;
  }

  .cover-row {
    grid-template-columns: 1fr;
    gap: .5rem;
  }
}

@media (max-width: 430px) {
  .visible-links a {
    padding: .55em .72em;
  }

  .author__urls_sm a:nth-child(n + 3) {
    display: none;
  }

  .page__content {
    font-size: 16px;
  }

  .profile-intro {
    font-size: 1.04rem;
  }

  .news-panel {
    padding: .8rem .85rem;
  }
}

@media print {
  .masthead,
  .page-footer {
    display: none;
  }

  #main {
    max-width: none;
  }
}


/* One-click day/night theme. */
.theme-toggle {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  border: 1px solid #dfe2e5;
  border-radius: 50%;
  background: transparent;
  color: #4b5156;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.theme-toggle:hover {
  border-color: #aeb4ba;
  background: #f4f5f6;
  color: #111;
  transform: rotate(-8deg);
}

.theme-toggle:focus-visible {
  outline: 2px solid #224b8d;
  outline-offset: 3px;
}

.theme-toggle__moon,
.theme-toggle__sun {
  grid-area: 1 / 1;
  font-size: 1.55rem;
}

.theme-toggle__sun {
  display: none;
  font-size: 1.28rem;
}

.theme-toggle + .nav-toggle {
  margin-left: .55rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  background: #101317;
}

html[data-theme="dark"] body {
  color: #c9ced3;
  background: #101317;
}

html[data-theme="dark"] ::selection {
  color: #101317;
  background: #d8e6ff;
}

html[data-theme="dark"] a {
  color: #8ab4f8;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] .author__name,
html[data-theme="dark"] .page__content h2,
html[data-theme="dark"] .cv-section-title {
  color: #edf0f2;
}

html[data-theme="dark"] .masthead,
html[data-theme="dark"] .greedy-nav {
  background: #14181d;
}

html[data-theme="dark"] .masthead {
  border-bottom-color: #2a3037;
}

html[data-theme="dark"] .visible-links a,
html[data-theme="dark"] .hidden-links a {
  color: #bdc3c9;
}

html[data-theme="dark"] .visible-links li:first-child a,
html[data-theme="dark"] .visible-links a:hover,
html[data-theme="dark"] .hidden-links a:hover {
  color: #fff;
}

html[data-theme="dark"] .hidden-links {
  border-color: #343b43;
  background: #191e24;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

html[data-theme="dark"] .theme-toggle {
  border-color: #3b434c;
  color: #f4cb68;
}

html[data-theme="dark"] .theme-toggle:hover {
  border-color: #68727d;
  background: #242a31;
  color: #ffe09a;
}

html[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

html[data-theme="dark"] .author__avatar {
  border-color: #343a41;
}

html[data-theme="dark"] .list-icon,
html[data-theme="dark"] .page__content,
html[data-theme="dark"] .profile-intro {
  color: #d2d6da;
}

html[data-theme="dark"] .news-panel,
html[data-theme="dark"] .entry-card {
  border-color: #2d343c;
  background: #171b20;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .entry-logo-wrap {
  border-color: #d9dde1;
  background: #f5f6f7;
}

html[data-theme="dark"] .inline-logo {
  border-radius: 2px;
  background: #fff;
}

html[data-theme="dark"] .entry-title,
html[data-theme="dark"] .entry-subtitle,
html[data-theme="dark"] .paper-title {
  color: #f0f2f4;
}

html[data-theme="dark"] .entry-time,
html[data-theme="dark"] .paper-venue {
  color: #aeb5bc;
}

html[data-theme="dark"] .paper-box {
  border-bottom-color: #2b3239;
}

html[data-theme="dark"] .paper-box-image img,
html[data-theme="dark"] .paper-box-image video {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, .58);
}

html[data-theme="dark"] .paper-btn {
  border-color: #424b55;
  background: #1b2026;
  color: #e2e6ea !important;
}

html[data-theme="dark"] .paper-btn:hover {
  background: #29313a;
}

html[data-theme="dark"] .cover-row {
  border-color: #2d343c;
  background: #171b20;
}

html[data-theme="dark"] .cover-type {
  color: #f0f2f4;
}

html[data-theme="dark"] .cover-link {
  border-color: #424b55;
  background: #1b2026;
  color: #8ab4f8;
}

html[data-theme="dark"] .cover-link:hover {
  background: #29313a;
}

html[data-theme="dark"] .award-note {
  color: #ff8e8e;
}

html[data-theme="dark"] .page-footer {
  border-top-color: #292f36;
  color: #858e97;
}

html,
body,
.masthead,
.greedy-nav,
.hidden-links,
.news-panel,
.entry-card,
.paper-btn,
.cover-row,
.cover-link,
.page-footer {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  html,
  body,
  .masthead,
  .greedy-nav,
  .hidden-links,
  .news-panel,
  .entry-card,
  .paper-btn,
  .cover-row,
  .cover-link,
  .page-footer,
  .theme-toggle {
    transition: none;
  }
}

@media print {
  html,
  body {
    color: #333 !important;
    background: #fff !important;
  }
}


/* Alternate portrait shown inside the same fixed circle on pointer hover. */
.author__photo {
  transition: opacity .3s ease;
}

.author__avatar .author__photo--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  object-position: center;
  transform: scale(1.01);
}

@media (hover: hover) and (pointer: fine) {
  .author__avatar:hover .author__photo--primary {
    opacity: 0;
  }

  .author__avatar:hover .author__photo--hover {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .author__photo {
    transition: none;
  }
}

