
:root{--ink:#202a36;--muted:#667487;--line:#e5e9ee;--blue:#285b91;--blue-soft:#edf3f8;--paper:#fff;--bg:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:calc(14px + 4pt);line-height:1.68}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
button,input{font:inherit}
.layout{width:min(1160px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:238px minmax(0,1fr);column-gap:72px;align-items:start}
.sidebar{position:sticky;top:0;min-height:100vh;padding:66px 0 35px;border-right:1px solid var(--line);padding-right:26px}
.name{font-family:Georgia,"Times New Roman",serif;font-size:calc(30px + 4pt);line-height:1.15;letter-spacing:-.045em;margin:0 0 4px;font-weight:600;color:#1c2c3e}
.name-cn{font-size:calc(15px + 4pt);color:#788596;margin:0 0 18px}
.position{font-size:calc(12px + 4pt);line-height:1.55;color:#536274;margin:0 0 20px}
.affiliation{font-size:calc(12px + 4pt);line-height:1.65;color:var(--muted);margin:0 0 23px}
.profile-links{display:flex;flex-direction:column;gap:7px;padding:15px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:calc(12px + 4pt)}
.profile-links a{width:max-content}
.nav{display:flex;flex-direction:column;gap:9px;margin-top:23px;font-size:calc(12px + 4pt)}
.nav a{color:#59687a}
.nav a:hover{color:var(--blue)}
.sidebar-foot{margin-top:35px;color:#98a2ad;font-size:calc(10px + 4pt);line-height:1.6}
.main{max-width:790px;padding:64px 0 45px}
.section{margin:0 0 42px}
.section h2{font-family:Georgia,"Times New Roman",serif;font-size:calc(22px + 4pt);line-height:1.3;letter-spacing:-.02em;font-weight:600;margin:0 0 13px;color:#1e2c3b}
.section p{margin:0 0 10px;color:#435164;font-size:calc(13px + 4pt);line-height:1.8}
.interests{color:#5e6c7d!important;font-size:calc(12px + 4pt)!important}
.pub-intro{display:flex;justify-content:space-between;align-items:baseline;gap:18px;margin-bottom:13px}
.pub-intro p{font-size:calc(11px + 4pt);color:#85909d;margin:0}
.year-heading{font-size:calc(14px + 4pt);font-weight:700;color:#34465b;margin:23px 0 4px}
.pub-row{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:13px 0 14px;border-bottom:1px solid #edf0f3}
.pub-year{font-size:calc(11px + 4pt);color:#8390a0;font-weight:700;padding-top:2px}
.pub-title{font-size:calc(13px + 4pt);font-weight:700;line-height:1.48;color:#244f7c}
.pub-authors{font-size:calc(11px + 4pt);color:#758194;line-height:1.55;margin:4px 0 3px}
.pub-authors strong{color:#39485b;font-weight:700}
.pub-venue{font-size:calc(11px + 4pt);color:#526b84;line-height:1.5}
.pub-status{font-size:calc(10px + 4pt);color:#8793a1;margin-left:5px}
.pub-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:5px;font-size:calc(10px + 4pt)}
.pub-actions a{font-weight:700}
.edu-list,.experience-list{display:grid;gap:13px}
.edu-item,.exp-item{display:grid;grid-template-columns:125px minmax(0,1fr);gap:15px}
.edu-date,.exp-date{font-size:calc(11px + 4pt);color:#8793a1;padding-top:2px}
.edu-detail strong,.exp-detail strong{display:block;font-size:calc(12px + 4pt);color:#34465b}
.edu-detail span,.exp-detail span{display:block;font-size:calc(11px + 4pt);color:#718093}
.honors{display:flex;flex-direction:column;gap:7px;font-size:calc(12px + 4pt);color:#435164}
.service-line{font-size:calc(12px + 4pt)!important;color:#435164!important}
.footer{border-top:1px solid var(--line);padding-top:17px;margin-top:44px;color:#98a2ad;font-size:calc(10px + 4pt)}
.paper-page{max-width:790px;margin:0 auto;padding:55px 25px 70px}
.back{font-size:calc(12px + 4pt);font-weight:700}
.paper-page .paper-year{font-size:calc(11px + 4pt);color:#7d8998;margin-top:34px}
.paper-page h1{font-family:Georgia,"Times New Roman",serif;font-size:calc(30px + 4pt);line-height:1.25;letter-spacing:-.025em;color:#1e2c3b;margin:10px 0 13px}
.paper-page .authors{font-size:calc(12px + 4pt);color:#687689;line-height:1.7}
.paper-page .venue{font-size:calc(12px + 4pt);color:#4f6b87;margin-top:9px}
.paper-page .abstract{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:25px 0;color:#47566a;font-size:calc(13px + 4pt);line-height:1.8}
.paper-page .paper-links{display:flex;gap:15px;flex-wrap:wrap;font-size:calc(12px + 4pt);font-weight:700}
.paper-page footer{margin-top:55px;border-top:1px solid var(--line);padding-top:17px;color:#97a1ad;font-size:calc(10px + 4pt)}
@media(max-width:820px){
 .layout{width:min(760px,calc(100% - 36px));display:block}
 .sidebar{position:relative;min-height:0;padding:35px 0 23px;border-right:0;border-bottom:1px solid var(--line)}
 .profile-links{flex-direction:row;flex-wrap:wrap;gap:14px}
 .nav{flex-direction:row;flex-wrap:wrap;gap:16px}
 .sidebar-foot{display:none}
 .main{padding:34px 0 40px}
}
@media(max-width:540px){
 .layout{width:calc(100% - 30px)}
 .name{font-size:calc(27px + 4pt)}
 .section{margin-bottom:34px}
 .pub-row{grid-template-columns:38px minmax(0,1fr);gap:9px}
 .edu-item,.exp-item{grid-template-columns:95px minmax(0,1fr);gap:10px}
 .paper-page{padding:30px 18px 50px}
 .paper-page h1{font-size:calc(25px + 4pt)}
}


/* Profile portrait */
.avatar{
  display:block;
  width:96px;
  height:96px;
  object-fit:cover;
  object-position:center 44%;
  border-radius:50%;
  border:2px solid #e5e9ee;
  margin:0 0 20px;
  background:#f5f7f9;
}

/* Figure 1 thumbnails in the publication list */
.pub-row.has-figure{
  grid-template-columns:42px 148px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
.pub-figure{
  margin:0;
  width:148px;
}
.pub-figure img{
  display:block;
  width:148px;
  height:94px;
  object-fit:contain;
  object-position:center;
  border:1px solid #e5e9ee;
  border-radius:3px;
  background:#fff;
}
.pub-figure figcaption{
  text-align:right;
  margin-top:3px;
  color:#8a96a4;
  font-size:calc(9px + 4pt);
  letter-spacing:.08em;
  font-weight:700;
}
.pub-venue strong{
  color:#34465b;
  font-weight:750;
}
.pub-status{
  font-weight:400;
}
.paper-figure{
  margin:24px 0 22px;
  padding:13px;
  border:1px solid #e5e9ee;
  border-radius:4px;
  background:#fff;
}
.paper-figure img{
  display:block;
  width:100%;
  height:auto;
  max-height:430px;
  object-fit:contain;
}
.paper-figure figcaption{
  margin-top:8px;
  color:#748194;
  font-size:calc(11px + 4pt);
  line-height:1.5;
}
@media(max-width:820px){
  .avatar{width:82px;height:82px;margin-bottom:14px}
}
@media(max-width:600px){
  .pub-row.has-figure{
    grid-template-columns:36px 104px minmax(0,1fr);
    gap:9px;
    align-items:start;
  }
  .pub-figure,.pub-figure img{width:104px}
  .pub-figure img{height:72px}
  .pub-row.has-figure .pub-title{font-size:calc(12px + 4pt)}
  .pub-row.has-figure .pub-authors,.pub-row.has-figure .pub-venue{font-size:calc(10px + 4pt)}
}


/* Readability pass: larger academic typography */
body{font-size:calc(15.5px + 4pt);line-height:1.75}
.name{font-size:calc(34px + 4pt)}
.name-cn{font-size:calc(16px + 4pt)}
.position{font-size:calc(14px + 4pt);line-height:1.65}
.affiliation{font-size:calc(13.5px + 4pt);line-height:1.8}
.profile-links,.nav{font-size:calc(13.5px + 4pt);gap:10px}
.section h2{font-size:calc(25px + 4pt)}
.section p{font-size:calc(14.5px + 4pt);line-height:1.85}
.interests{font-size:calc(13.5px + 4pt)!important}
.year-heading{font-size:calc(16px + 4pt);margin-top:26px}
.pub-row.has-figure{grid-template-columns:46px 176px minmax(0,1fr);gap:17px;padding:17px 0 18px}
.pub-figure{width:176px}
.pub-figure img{width:176px;height:112px;object-fit:contain;background:#fff}
.pub-figure figcaption{font-size:calc(10px + 4pt)}
.pub-figure-placeholder{
  width:176px;height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:1px dashed #cfd8e2;background:#f7f9fb;color:#718094;border-radius:3px;gap:5px
}
.pub-figure-placeholder span{font-size:calc(11px + 4pt);font-weight:800;letter-spacing:.12em}
.pub-figure-placeholder small{font-size:calc(10px + 4pt)}
.pub-title{font-size:calc(15px + 4pt);line-height:1.55}
.pub-authors{font-size:calc(12.5px + 4pt);line-height:1.65;margin:5px 0 4px}
.pub-venue{font-size:calc(13px + 4pt);line-height:1.55}
.pub-venue strong{color:#285b91;font-weight:800}
.pub-status{font-size:calc(11.5px + 4pt)}
.pub-actions{font-size:calc(11.5px + 4pt);gap:14px;margin-top:7px}
.edu-date,.exp-date{font-size:calc(12px + 4pt)}
.edu-detail strong,.exp-detail strong{font-size:calc(13px + 4pt)}
.edu-detail span,.exp-detail span{font-size:calc(12px + 4pt);line-height:1.7}
.honors,.service-line{font-size:calc(13.5px + 4pt)!important}
.supervisor{color:#285b91!important;font-weight:800;text-decoration:none}
.supervisor:hover{text-decoration:underline}
.paper-page h1{font-size:calc(33px + 4pt)}
.paper-page .authors,.paper-page .venue{font-size:calc(13.5px + 4pt)}
.paper-page .abstract{font-size:calc(14.5px + 4pt)}
@media(max-width:820px){
 .pub-row.has-figure{grid-template-columns:42px 150px minmax(0,1fr);gap:13px}
 .pub-figure,.pub-figure img,.pub-figure-placeholder{width:150px}
 .pub-figure img,.pub-figure-placeholder{height:98px}
}
@media(max-width:600px){
 .pub-row.has-figure{grid-template-columns:34px 112px minmax(0,1fr);gap:9px}
 .pub-figure,.pub-figure img,.pub-figure-placeholder{width:112px}
 .pub-figure img,.pub-figure-placeholder{height:78px}
 .pub-title{font-size:calc(13px + 4pt)}
 .pub-authors{font-size:calc(11px + 4pt)}
 .pub-venue{font-size:calc(11.5px + 4pt)}
 .pub-status{font-size:calc(10px + 4pt)}
}

.paper-figure-pending{display:flex;flex-direction:column;gap:5px;color:#778596;font-size:calc(12px + 4pt)}
.paper-figure-pending strong{color:#4b5f75;font-size:calc(13px + 4pt)}


/* Broken remote figures fall back to a tidy thumbnail tile, never to oversized alt text. */
.pub-figure.image-fallback{
  height:112px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #cfd8e2;
  background:#f7f9fb;
  border-radius:3px;
}
.pub-figure.image-fallback::before{
  content:"FIGURE PREVIEW";
  color:#8794a3;
  font-size:calc(10px + 4pt);
  font-weight:800;
  letter-spacing:.12em;
}
.pub-figure.image-fallback a{display:none}
.paper-figure.image-fallback{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f7f9fb;
  border:1px dashed #cfd8e2;
}
.paper-figure.image-fallback::before{
  content:"Figure preview unavailable";
  color:#8794a3;
  font-size:calc(12px + 4pt);
}
.paper-figure.image-fallback img{display:none}
@media(max-width:820px){.pub-figure.image-fallback{height:98px}}
@media(max-width:600px){.pub-figure.image-fallback{height:78px}}

.pub-row.text-only{grid-template-columns:46px minmax(0,1fr);gap:18px;padding:16px 0 17px}
.pub-row.has-figure{align-items:center}
@media(max-width:600px){.pub-row.text-only{grid-template-columns:34px minmax(0,1fr);gap:9px}}
/* Final figure readability and mobile layout */
.pub-row.has-figure .pub-title{font-size:calc(15px + 4pt)}
.pub-row.has-figure .pub-authors{font-size:calc(12.5px + 4pt)}
.pub-row.has-figure .pub-venue{font-size:calc(13px + 4pt)}
.pub-body{min-width:0;overflow-wrap:anywhere}
.pub-figure img{display:block}
.paper-figure img{height:auto;max-height:none}
.paper-figure a{display:block}
.honors,.service-cards{display:grid;gap:12px}
.highlight-card{--card-ink:#77561b;--card-border:#c5a357;--card-bg:#faf4e4;--card-muted:#806a40;padding:16px 18px;border:1px solid var(--card-border);border-radius:7px;background:var(--card-bg)}
.highlight-teal{--card-ink:#24685d;--card-border:#87b9aa;--card-bg:#edf7f2;--card-muted:#4f756b}
.highlight-blue{--card-ink:#285b91;--card-border:#8eafd1;--card-bg:#eef4fc;--card-muted:#576f8c}
.highlight-purple{--card-ink:#705097;--card-border:#b3a0cc;--card-bg:#f5effb;--card-muted:#756286}
.honor-featured{width:100%}
.highlight-content{min-width:0}
.highlight-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 20px}
.highlight-heading strong{color:var(--card-ink);font-size:calc(18px + 4pt);font-weight:700;line-height:1.6}
.honor-year{color:var(--card-muted);font-size:calc(13px + 4pt);white-space:nowrap;font-variant-numeric:tabular-nums}
.section .highlight-detail{color:var(--card-muted);font-size:calc(14px + 4pt);line-height:1.8;margin:5px 0 0;overflow-wrap:anywhere}
@media(max-width:600px){
 .pub-row.has-figure{grid-template-columns:30px minmax(0,1fr);align-items:start;gap:8px 12px}
 .pub-row.has-figure .pub-year{grid-column:1;grid-row:1}
 .pub-row.has-figure .pub-figure{grid-column:2;grid-row:1;margin:0 0 8px;width:100%}
 .pub-row.has-figure .pub-figure img{width:100%;height:150px;object-fit:contain;object-position:left center}
 .pub-row.has-figure .pub-body{grid-column:2;grid-row:2}
 .pub-row.has-figure .pub-title,.pub-title{font-size:calc(14px + 4pt)}
 .pub-row.has-figure .pub-authors,.pub-authors{font-size:calc(12px + 4pt)}
 .pub-row.has-figure .pub-venue,.pub-venue{font-size:calc(12.5px + 4pt)}
 .pub-intro{flex-wrap:wrap;gap:4px}
 .paper-page h1{font-size:calc(27px + 4pt)}
 .highlight-card{padding:14px}
}
