body { margin: 0; }
:root:has(#gx-preview) { scrollbar-gutter: stable; }
#gx-preview {
  min-height: 100vh;
  color-scheme: light dark;
  --gx-bg: light-dark(#fcfbf7, #171d1a);
  --gx-ink: light-dark(#17221d, #edf4ee);
  --gx-muted: light-dark(#54635a, #b4c2b8);
  --gx-accent: light-dark(#285b48, #a6d8b8);
  --gx-soft: light-dark(#e9f0e8, #24362e);
  --gx-rule: light-dark(#dbe2d9, #3d4c43);
  background: #fcfbf7;
  background: var(--gx-bg);
  color: #17221d;
  color: var(--gx-ink);
  font: 400 15px/1.57 'Manrope', 'Segoe UI', 'Microsoft YaHei', sans-serif;
  overflow-wrap: anywhere;
}
#gx-preview *, #gx-preview *::before, #gx-preview *::after { box-sizing: border-box; }
#gx-preview :is(h1, h2, h3, p, figure, ul, ol) { margin: 0; }
#gx-preview h1, #gx-preview h2, #gx-preview h3 { color: var(--gx-ink); }
#gx-preview a { color: var(--gx-accent); text-decoration: none; }
#gx-preview a:hover, #gx-preview summary:hover { text-decoration: underline; text-underline-offset: 0.23em; }
#gx-preview :is(a, button, summary):focus-visible { outline: 2px solid var(--gx-accent); outline-offset: 4px; }
#gx-preview .gx-frame { width: min(100%, 950px); margin-inline: auto; padding-inline: clamp(20px, 5vw, 54px); }
#gx-preview .gx-header { border-bottom: 1px solid var(--gx-rule); }
#gx-preview .gx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px 26px; min-height: 68px; flex-wrap: wrap; }
#gx-preview .gx-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--gx-ink); font-size: 16px; font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }
#gx-preview .gx-brand-icon { display: inline-grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 7px; color: var(--gx-bg); background: var(--gx-accent); }
#gx-preview .gx-brand-icon i { position: relative; width: 15px; height: 11px; margin-top: 4px; border: 1.5px solid currentColor; border-radius: 3px; }
#gx-preview .gx-brand-icon i::before { content: ""; position: absolute; top: -5px; left: 5px; width: 3px; height: 4px; border-top: 1.5px solid; border-right: 1.5px solid; }
#gx-preview .gx-brand-icon i::after { content: ""; position: absolute; top: 3px; left: 2.5px; width: 2px; height: 2px; background: currentColor; border-radius: 50%; box-shadow: 5px 0 currentColor; }
#gx-preview .gx-nav { display: flex; flex-wrap: wrap; column-gap: clamp(12px, 2.4vw, 24px); min-width: 0; }
#gx-preview .gx-nav a { position: relative; color: var(--gx-muted); padding-block: 16px 14px; font-weight: 650; font-size: 13px; }
#gx-preview .gx-nav a[aria-current="page"] { color: var(--gx-accent); }
#gx-preview .gx-nav a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 5px; height: 2px; background: var(--gx-accent); }
#gx-preview .gx-profile { display: grid; grid-template-columns: minmax(0, 1fr) 143px; align-items: center; gap: clamp(24px, 5vw, 56px); padding-block: clamp(32px, 5.5vw, 60px) clamp(29px, 4.7vw, 51px); }
#gx-preview .gx-name { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; margin-bottom: 9px; }
#gx-preview .gx-name h1 { font-size: clamp(35px, 6.1vw, 64px); font-weight: 800; letter-spacing: -0.067em; line-height: 1.02; }
#gx-preview .gx-cn { color: var(--gx-accent); font-size: clamp(20px, 3vw, 30px); font-weight: 650; letter-spacing: 0.11em; line-height: 1.45; }
#gx-preview .gx-position { color: var(--gx-ink); font-size: clamp(14px, 2vw, 16px); font-weight: 750; }
#gx-preview .gx-affiliation { font-size: 14px; color: var(--gx-muted); }
#gx-preview .gx-profile .gx-intro { color: var(--gx-muted); max-width: 59ch; margin-top: 17px; }
#gx-preview .gx-intro strong { color: var(--gx-ink); font-weight: 750; }
#gx-preview .gx-portrait { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 36%; background: var(--gx-soft); border-radius: 12px; }
#gx-preview .gx-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 17px; margin-top: 14px; font-size: 13px; font-weight: 750; }
#gx-preview .gx-section { padding-block: 26px 30px; }
#gx-preview #gx-home .gx-section { border-top: 1px solid var(--gx-rule); }
#gx-preview .gx-section-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; margin-bottom: 10px; }
#gx-preview .gx-section-title a { font-size: 13px; font-weight: 750; }
#gx-preview h2 { font-size: clamp(22px, 3.4vw, 29px); line-height: 1.22; letter-spacing: -0.042em; font-weight: 800; }
#gx-preview h3 { font-size: 17px; line-height: 1.4; font-weight: 780; letter-spacing: -0.018em; }
#gx-preview [data-view]:not([data-view="home"]) { padding-top: clamp(26px, 4.3vw, 44px); }
#gx-preview .gx-page-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#gx-preview #gx-about > .gx-section:first-of-type { padding-top: 0; }
#gx-preview .gx-work { display: grid; grid-template-columns: minmax(0, 176px) minmax(0, 1fr); gap: 22px; padding-block: 17px; border-bottom: 1px solid var(--gx-rule); }
#gx-preview .gx-work:last-child { border-bottom: none; }
#gx-preview .gx-figure { align-self: start; aspect-ratio: 1.8; display: grid; min-width: 0; place-items: center; background: #fff; border: 1px solid var(--gx-rule); border-radius: 8px; padding: 5px; overflow: hidden; }
#gx-preview .gx-figure img { display: block; max-inline-size: 100%; max-block-size: 90px; object-fit: contain; }
#gx-preview .gx-figure--document { padding: 0; }
#gx-preview .gx-figure--document img { width: 100%; max-block-size: none; }
#gx-preview .gx-work-body { min-width: 0; }
#gx-preview .gx-work h3 { margin-bottom: 3px; }
#gx-preview .gx-work .gx-meta { font-size: 12.5px; font-weight: 700; color: var(--gx-accent); }
#gx-preview .gx-work .gx-authors { font-size: 13px; color: var(--gx-muted); margin-block: 5px 0; }
#gx-preview .gx-work .gx-summary { margin-top: 5px; font-size: 13.5px; color: var(--gx-muted); }
#gx-preview .gx-work .gx-links { margin-top: 8px; }
#gx-preview .gx-cite { display: inline; }
#gx-preview .gx-cite summary { color: var(--gx-accent); font-weight: 750; }
#gx-preview .gx-paper-unavailable { color: var(--gx-muted); font-weight: 550; }
#gx-preview .gx-cite[open] { flex: 1 0 100%; }
#gx-preview .gx-cite pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 11px; background: var(--gx-soft); border-radius: 6px; margin: 7px 0; font: 400 12px/1.45 ui-monospace, monospace; }
#gx-preview button { border: 1px solid var(--gx-rule); border-radius: 6px; background: var(--gx-bg); color: var(--gx-accent); font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; padding: 7px 10px; }
#gx-preview :is(button, summary) { cursor: pointer; }
#gx-preview button:hover, #gx-preview button[aria-current="page"] { background: var(--gx-soft); }
#gx-preview button:disabled { opacity: 0.52; cursor: default; }
#gx-preview .gx-year-group { display: grid; grid-template-columns: clamp(66px, 10vw, 95px) minmax(0, 1fr); gap: clamp(16px, 3.2vw, 34px); }
#gx-preview .gx-year-label { position: relative; align-self: stretch; padding-top: 16px; border-inline-end: 1px solid var(--gx-rule); color: var(--gx-accent); font-size: clamp(19px, 3.4vw, 29px); font-variant-numeric: tabular-nums; }
#gx-preview .gx-year-label::after { content: ""; position: absolute; inset: 25px -5px auto auto; width: 9px; height: 9px; border: 2px solid var(--gx-bg); box-sizing: content-box; background: var(--gx-accent); border-radius: 50%; transform: translateX(2px); }
#gx-preview .gx-year-papers { min-width: 0; padding-bottom: 16px; }
#gx-preview .gx-year-group + .gx-year-group .gx-year-papers { border-top: 1px solid var(--gx-rule); }
#gx-preview .gx-heading--spaced { margin-block: 25px 10px; }
#gx-preview .gx-list { list-style: none; padding: 0; }
#gx-preview .gx-news-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: baseline; gap: 5px 16px; padding-block: 10px; border-bottom: 1px solid var(--gx-rule); font-size: 14px; }
#gx-preview .gx-news-item:last-child { border-bottom: none; }
#gx-preview .gx-news-item time { color: var(--gx-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
#gx-preview .gx-news-item a { font-weight: 700; }
#gx-preview .gx-pager { display: grid; grid-template-columns: minmax(0, 76px) minmax(0, 100px) minmax(0, 76px); align-items: center; gap: 8px; width: min(100%, 268px); margin: 14px 0 0; }
#gx-preview .gx-pager span { color: var(--gx-muted); text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
#gx-preview .gx-details-list > article, #gx-preview .gx-details-list > li { padding-block: 11px; border-bottom: 1px solid var(--gx-rule); }
#gx-preview .gx-details-list > :last-child { border-bottom: none; }
#gx-preview .gx-details-list p, #gx-preview .gx-content-note { margin-top: 4px; color: var(--gx-muted); }
#gx-preview .gx-details-list > .gx-topic { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr); gap: 10px clamp(22px, 4vw, 42px); align-items: start; padding-block: 19px; }
#gx-preview .gx-topic h3 { grid-column: 1 / -1; font-size: 17px; }
#gx-preview .gx-topic .gx-topic-description { max-width: 76ch; font-size: 14px; margin-top: 0; }
#gx-preview .gx-topic-papers li { padding-block: 7px; font-size: 13.5px; }
#gx-preview .gx-topic-papers li:first-child { padding-top: 0; }
#gx-preview .gx-topic-papers li + li { border-top: 1px solid var(--gx-rule); }
#gx-preview .gx-topic-papers a { display: inline-block; font-weight: 750; line-height: 1.4; }
#gx-preview .gx-topic-papers .gx-topic-meta { margin-top: 2px; color: var(--gx-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
#gx-preview .gx-topic-results { display: flex; flex-direction: column; align-self: stretch; min-width: 0; }
#gx-preview .gx-topic-results .gx-pager { margin-top: auto; padding-top: 12px; }
#gx-preview .gx-paged-results { display: grid; grid-template-columns: minmax(0, 1fr); }
#gx-preview .gx-page-view { grid-area: 1 / 1; align-self: start; min-width: 0; }
#gx-preview .gx-page-view[inert] { visibility: hidden; }
#gx-preview .gx-placeholder { color: var(--gx-muted); font-style: italic; }
#gx-preview .gx-teaching-group + .gx-teaching-group { margin-top: 25px; }
#gx-preview .gx-teaching-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 15px; max-width: 580px; margin: 8px 0 0; }
#gx-preview .gx-teaching-metrics dt { color: var(--gx-muted); font-size: 12px; }
#gx-preview .gx-teaching-metrics dd { margin: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
#gx-preview .gx-service-group { margin-top: 15px; }
#gx-preview .gx-service-list > li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding-block: 6px; font-size: 14px; }
#gx-preview .gx-service-list .gx-venues > li + li { margin-top: 3px; }
#gx-preview .gx-service-date { color: var(--gx-muted); font-variant-numeric: tabular-nums; }
#gx-preview .gx-footer { margin-top: 14px; border-top: 1px solid var(--gx-rule); }
#gx-preview .gx-footer .gx-frame { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block: 18px; font-size: 12px; color: var(--gx-muted); }
@media (max-width: 660px) {
  #gx-preview .gx-bar { flex-direction: column; align-items: start; justify-content: center; padding-top: 11px; gap: 0; }
  #gx-preview .gx-nav a { padding-block: 9px 11px; }
  #gx-preview .gx-nav a[aria-current="page"]::after { bottom: 3px; }
  #gx-preview .gx-details-list > .gx-topic { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 450px) {
  #gx-preview .gx-profile { grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; align-items: start; }
  #gx-preview .gx-name h1 { font-size: clamp(27px, 8.7vw, 36px); }
  #gx-preview .gx-cn { font-size: 18px; }
  #gx-preview .gx-portrait { border-radius: 7px; }
  #gx-preview .gx-work { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  #gx-preview .gx-figure { width: min(100%, 190px); }
  #gx-preview .gx-news-item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  #gx-preview .gx-year-group { grid-template-columns: 54px minmax(0, 1fr); gap: 13px; }
  #gx-preview .gx-year-label { font-size: 16px; }
  #gx-preview .gx-year-label::after { top: 20px; }
  #gx-preview .gx-teaching-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #gx-preview .gx-service-list > li { grid-template-columns: 75px minmax(0, 1fr); }
}
@media (pointer: coarse) {
  #gx-preview .gx-nav a, #gx-preview .gx-links a, #gx-preview summary, #gx-preview button { min-height: 40px; align-content: center; }
}
