:root { color-scheme: light; --blue: #315c88; --heading: #4d6e9e; --ink: #262626; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: #eee; color: var(--ink); font: 16px/1.8 Georgia, "Times New Roman", "Songti SC", "SimSun", serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
p { margin: 0 0 13px; }
strong { font-weight: 700; }
.homepage { max-width: 1060px; margin: 30px auto; background: white; padding: 48px 66px 22px; }
.profile { display: flex; justify-content: space-between; align-items: flex-start; gap: 35px; padding: 8px 0 25px; }
.profile-intro { display: flex; align-items: center; gap: 25px; min-width: 0; }
.portrait { width: 140px; height: 140px; flex: 0 0 140px; border-radius: 50%; overflow: hidden; position: relative; background: #e6edf1; }
.portrait img { position: absolute; width: 145%; height: auto; max-width: none; left: -22.5%; top: -32%; }
h1 { color: var(--heading); margin: 0 0 16px; font-size: 33px; line-height: 1.4; }
h1 span { font-size: 29px; margin-left: 10px; }
.subtitle { color: var(--heading); font-size: 20px; font-weight: bold; margin-bottom: 18px; }
.identity .subtitle { margin-bottom: 7px; }
.tagline { margin: 0; color: #71808d; font-size: 14px; font-style: italic; line-height: 1.65; letter-spacing: .15px; text-wrap: balance; }
.contact { padding-top: 9px; font-size: 14px; flex-shrink: 0; }
.contact p { display: flex; align-items: center; gap: 8px; margin: 0; line-height: 1.9; }
.contact-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.citation-badge { vertical-align: -4px; margin-left: 0; }
nav { font-size: 14px; padding: 0 0 8px; margin-bottom: 9px; }
nav span { color: #aaa; margin: 0 12px; }
section { margin-top: 28px; }
.profile + #about { margin-top: 4px; }
h2 { color: var(--heading); font-size: 23px; line-height: 1.5; border-bottom: 1px solid #aaa; margin: 0 0 13px; padding-bottom: 3px; }
h2 small { font-size: 13px; font-weight: normal; margin-left: 12px; color: #666; }
h3 { font-size: 16px; line-height: 1.55; margin: 0 0 7px; font-weight: bold; }
ul { margin: 8px 0 14px; padding-left: 23px; }
li { padding-left: 2px; margin: 5px 0; }
.focus { color: #a13930; }
.invitation { color: #5b463d; }
.news-list { list-style: none; padding-left: 0; }
.news-list li { display: grid; grid-template-columns: 80px 1fr; gap: 13px; margin: 8px 0; font-size: 14px; line-height: 1.75; }
.news-scroll { overflow-y: auto; height: 340px; padding: 12px 16px; border: 1px solid #e5e9ed; border-radius: 3px; scrollbar-width: thin; scrollbar-color: #b8c5d0 transparent; }
.news-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.news-scroll .news-list { display: grid; gap: 12px; margin: 0; }
.news-scroll .news-list li { margin: 0; }
time { font-variant-numeric: tabular-nums; color: #555; white-space: nowrap; }
.research-item { display: grid; grid-template-columns: 260px 1fr; gap: 26px; padding: 20px 0 25px; align-items: center; }
.research-item + .research-item { border-top: 1px solid #ededed; }
.paper-image { position: relative; display: block; margin-top: 4px; padding-top: 22px; color: #777; font-size: 11px; line-height: 1.5; text-align: center; }
.paper-image img { width: 100%; height: auto; display: block; border: 1px solid #e1e1e1; padding: 4px; background: white; }
.paper-image .paper-venue-badge { position: absolute; top: 0; left: 0; z-index: 1; padding: 3px 8px; background: #315c88; color: white; font: 600 11px/1.5 Arial, sans-serif; border-radius: 2px 2px 2px 0; white-space: nowrap; }
.paper-info p { font-size: 14px; line-height: 1.75; margin-bottom: 7px; }
.authors { color: #444; }
.venue { font-style: italic; color: #555; }
.highlight { color: #a13930; font-size: 12px; font-style: normal; display: block; }
.resource-links { color: #555; word-spacing: 4px; margin-bottom: 0!important; }
.product-item { margin: 6px 0 23px; }
.product-item + .product-item { border-top: 1px dashed #e5e5e5; padding-top: 23px; }
.product-item h3 { font-size: 18px; }
.product-item p { font-size: 15px; margin-bottom: 5px; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.project-gallery a { display: block; min-width: 0; }
.project-gallery img { display: block; width: 100%; height: auto; border: 1px solid #e8e8e8; }
.gallery-label { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; font-size: 12px; line-height: 1.6; color: #66727e; }
.project-gallery a:hover .gallery-label { color: var(--blue); }
.product-item .figure-note { margin-top: 9px; color: #737373; font-size: 12px; line-height: 1.7; }
.interest-list li { margin-bottom: 7px; }
.related-writing { font-size: 14px; margin-top: 12px; }
.identity { min-width: 0; }
.paper-info { min-width: 0; }
.paper-info h3 { overflow-wrap: anywhere; }
.accio-gallery { grid-template-columns: 1.131fr 1fr; align-items: center; }
.role-label { font-size: 13px; color: #666; font-weight: normal; margin-left: 10px; }
.publications { padding-left: 23px; margin: 18px 0; }
.publications li { padding-left: 5px; margin-bottom: 22px; }
.publications h3 { margin-bottom: 4px; }
.publications p { font-size: 14px; margin-bottom: 2px; line-height: 1.7; }
.experience-list { list-style: none; padding-left: 0; }
.experience-list li { position: relative; display: grid; grid-template-columns: 165px 1fr; gap: 35px; margin: 0; padding: 0 0 25px; }
.experience-list li::before { content: ""; position: absolute; top: 9px; bottom: -9px; left: 181px; border-left: 1px solid #ddd; }
.experience-list li::after { content: ""; position: absolute; left: 177px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: #b7c1cc; border: 1px solid white; }
.experience-list li:last-child { padding-bottom: 0; }
.experience-list li:last-child::before { display: none; }
.experience-list time { font-size: 14px; color: #666; }
.experience-list p { font-size: 14px; color: #555; margin: 1px 0 0; }
footer { border-top: 1px solid #ddd; color: #777; font-size: 12px; margin-top: 35px; padding-top: 15px; display: flex; justify-content: space-between; gap: 15px; }
.skip { position: fixed; top: -100px; left: 15px; padding: 6px 15px; background: white; }
.skip:focus { top: 8px; }
@media (max-width: 1100px) { .homepage { margin: 18px 24px; padding: 35px 44px 22px; } }
@media (max-width: 760px) {
 body { background: white; font-size: 15px; }
 .homepage { margin: 0; padding: 27px 24px 20px; }
 .profile { gap: 20px; flex-wrap: wrap; }
 h1 { font-size: 29px; } h1 span { font-size: 24px; margin-left: 6px; }
 .subtitle { font-size: 17px; } .contact { font-size: 13px; }
 nav span { margin: 0 7px; }
 .research-item { grid-template-columns: 190px 1fr; gap: 20px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
 .profile { flex-wrap: wrap; gap: 15px; }
 .contact { display: grid; grid-template-columns: auto auto; column-gap: 26px; }
 .research-item { grid-template-columns: 220px 1fr; gap: 22px; }
}
@media (max-width: 650px) {
 .research-item { display: flex; flex-direction: column; align-items: stretch; gap: 15px; }
 .paper-image { width: 100%; max-width: 390px; align-self: center; }
}
@media (max-width: 540px) {
 .project-gallery { grid-template-columns: 1fr; gap: 12px; }
 .accio-gallery { grid-template-columns: 1fr; }
 .homepage { padding: 25px 21px 20px; }
 .profile { display: block; padding: 0 0 17px; }
 .profile-intro { gap: 18px; margin-bottom: 20px; }
 .portrait { width: 100px; height: 100px; flex-basis: 100px; }
 .identity h1 span { display: block; margin-left: 0; font-size: 23px; }
 .identity .subtitle { font-size: 15px; margin-bottom: 0; }
 h1 { margin-bottom: 9px; } h1 span { font-size: 24px; }
 .subtitle { margin-bottom: 12px; }
 .contact { font-size: 14px; padding-top: 0; }
 nav { line-height: 2.1; font-size: 13px; margin-bottom: 0; } nav span { margin: 0 6px; }
 section { margin-top: 24px; } h2 { font-size: 22px; }
 .news-list li { grid-template-columns: 67px 1fr; gap: 8px; }
 .research-item { display: flex; flex-direction: column; align-items: stretch; gap: 15px; padding: 16px 0 23px; }
 .paper-image { width: 100%; max-width: 390px; }
 .paper-info p { font-size: 14px; } .paper-info h3 { font-size: 16px; }
 .role-label { display: block; margin: 3px 0 0; }
 .experience-list li { display: block; margin: 0; padding: 0 0 22px 20px; }
 .experience-list li::before { left: 4px; }
 .experience-list li::after { left: 0; }
 .experience-list time { display: block; font-size: 13px; margin-bottom: 2px; }
 footer { flex-wrap: wrap; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { body { background: white; } .homepage { padding: 0; margin: 0; max-width: none; } nav,.skip { display: none; } .research-item { break-inside: avoid; } }
@media print { .news-scroll { height: auto!important; overflow: visible; } }
