/* Academic homepage only. Tiny name fonts are embedded to avoid a first-load font swap. */
@font-face {
    font-family: "Keming Signature";
    src: url("data:font/woff2;base64,d09GMgABAAAAAA3sABQAAAAAGqwAAA2EAAIAQgAAAAAAAAAAAAAAAAAAAAAAAAAAGkQbgkgcggQ/SFZBUlUGYD9TVEFUWCceAFwvTBEICo4sjDMwi1YBNgIkAzgLHgAEIAWNbQcgDAcbORgzA8HGATSw2wCS/8MBN4aiH1hdKKABChNQR2m2jpzQwEWuZFdS273mpX70MvgZ3IavXMcPCYrQU8z+orMyPeL4BtmDK+JsBKEsyO7GFna0aIoRkszC/5N/5Llv5mP1d0OhpEoJLYwqRaXS7jbJHOratUVMgtmLOqLTW8inkhaVYYSNlWkTW4Gnx9u7v4spTJdYAtwGcFsNbUaMKhk5iSlmMaK0AeOrErPyojn20Xk4tobpsbMJYtrIleX2tXxD7pv2m9mZviXJfVqXoDRIf9WoLyRW8/ClJ9ncDz9pOz6/m1B+iryfJj3+UHoJB2AHKi5u/r9pzc68XJMbdUXdAUMtHnnGY8zuZ7Kbn9nt9GzezS71SinJtSxFOJ5H8lCo0hNaqcKiTvI8WuMkGtABTlLmxm7ysGmdI3anllOOIEHKjf27fTiEo6QwuDoOj0d9oX2an4WysxW6C4AYOlOc5qIUcOe51GbC945ltqBjaumUQQce4BFmyxR8HGeboFeJx2qMXBbWZPQGallFf8NwJLjwyaq60HXz9eGflhrC1l5j+ItPc1CQ3xkMsBJge4pTIuqbhIU/9CE3jQmVcGr6V3kiAsgb7PAk5CApCSulQFzk7kOXmtvrDZoUfmip9pj3rKm+x0EUsXxvbCEsz0EwUX07WJHYG+nEhtqwTy2hcamVulJ/sYh4KiUlmP/UigyrC8WkOBRfLCKBIqKu4hUp1tsRk9G04KDmFFFyv96Tj7nQcUKQWBxXkqNDaUAvoJ0oojm0IqCBF4uS3i5Js5LVIvP66FmaxpE5jxO4FK+fehKBbZ4RAAzaPxKNA5NfobaAvxp9RXiDsPXyfwV8f84Eq9Rg/q+5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JVahjHxwx78VW/sKbv591/lNrNDPD8LWDo+tXepwht/QYRaux2EJ0fuGMJXmyjGKqDmFmBgY2SBbRrF/RAlTQTEEsrmHSkIbYUGdVSKsEpNBZ9ZYizsfO4EsYl/slOaEi54eQUH1Z8p0mCqlBNVxZggZdkjFnDqhZ2AfdV+yCrlA9Ec2YCewY+ewKrEYlkRyMqEI2v/pcf00nbS7FQDoI5kSGs8cw1RI9ijHnY+Z6Bh0q3fLyc8HG+Vmvrc1DNwB1BKUrwth2rk4jyZjjKD6qyUIj9eiigeUKMWm6tC8+pIyOVgeSVJoShozk9LpCwXq3BmgWXcgOiTNfj6aJCb4Dvjb7RObnAOnLkB8RCDKa6xEyDJuOZ5lIFYcS+cOrt+UlFmbeRrchl6YQSGrzoYQI2z5PWJc6rF647lblKxJIfanKFGbQevHeOp7Q/q4TyxUT+gAT+juS8c6oZcXk6k2UT/W7cL3fpHVkVJLsem+3iEqWXV/apw9cfBYsokvNCaTZhCBZQTCusI9LXW8mfB4kbcB") format("woff2");
    font-style: normal;
    font-weight: 400 700;
    font-display: block;
}

@font-face {
    font-family: "Keming Xing Shu";
    src: url("data:font/woff2;base64,d09GMgABAAAAAAcwAA4AAAAADYAAAAbcAAIAQQAAAAAAAAAAAAAAAAAAAAAAAAAAGyAcCgZgAEQRCAqJeIc9ATYCJAMMCwoABCAFjAYHIAwHG0ULEVWknxP8PDDd/EjDJU59HCZJx90K6Ubr4+rd3/Hw/X167n0v6zIe4XAsGFsphKEQBUMRW1rteKdYsP8DnvkvTZ3WUXHn4oRB7gQ3/7vdHPSE3k1CtkzA0pwNlIkc/JfUQAGwK2SXFCkA7v8y9e91u7eAV0Z8ySOSzGTmMpn0Tq1Sv9KBA5SO8X2hhgHsogG3eFbb2sBf4mX0SrOcuL2HAPqcIiGbpq19oCYHNA0AIfR8LTORRaAAeZN1A7BNHo0zZEYCgDIFI931NvvuTRrBvk6v2ZfouN//AZQ/ZC5BaPznKwArMhB4RZeuIUlfLl27kaMysHs96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B5VeBa1jl3a4abh2VdTdKtE2W53G0tBzw/p4+SIrKOP0HdlTFL5/3OavMkOHzX03GagR/97i64/p/7s7Mx+7c9VGdIIiY/tmVpf1W/cmA6jGablCS8ABJAaLJ/imtvXWPujGkWfAPDa+uEOwO+tNwsgs/lS2qNuAB0yZRnNdIJSsgmvODQi5bFyhSYwAjLNXLUTlC5GRWZNXMBcXMU/WO7ABgSjnpBURkARaXxzhUKL3kJty3g+dGCWQ5fKpmAPBhx2BocwsgguZ8bsMWTeJoYjSZaPoZCqAfBE/BIQkVkVZAzpA1TtHNAsh4KCPQtVKePbQIXMC6BmyCdBDWCq5qegDvQRjSZnDbJRdT/RrSZJkkWTKlyee+1OCF/ig+6LN/tiaYj3P2zp3FXwIcEpZcYfiYSzAlOJXGN4nleudHfo1UV48zfKTty3T5MURR1PuZrHLez/B/ESPIG7a0Kry5r6UpAcufAex+zzsg7O2vTWBSMRc6E3GYVVZC3BAO+OVTSrMnPb7E/aQS5fsFuaM6RKEdo1gjFa4B6mnD40uSTm0xE0jG9HdTZhdzbqgqflHvBjjVkQVjELSoFGoRoAd0LwJT7ovnhzchqc1Q8GNpru05MspSBOQAf5qTRMRmQywcC1zJCUZwOvcDoIzIyLP/UNTYqtpo978XKta4eFzKaYl90I9CpVJMNcPdZIFM1+y9j3s5iNRbt/jNknamTMrRkwi5mIww4SWJC9deGlVqWF0nbYsSKyKKmhLpL2Udy27M4d26+g++C28UsL3vMIQHWTamar74ShBTLf0sugSxiiHN3swSlUKSVo3SO5v/JtxakUpf6lMr2wmtZz07jt+obrgwL5IAjpZyeXrMvSEWhTs4nZp1rYf8xKEkyT+jcVsNs/Lfeqo22hjn5vptm/LX7//ajzAQAAAA==") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: block;
}

html:has(.academic-home) {
    color-scheme: light;
    --font-color: #334155;
    --text-highlight-color: #172b42;
    --global-bg: #fff;
    --card-bg: #fff;
    --sidebar-bg: #fff;
    --btn-bg: #2563a6;
    --btn-hover-color: #174c86;
    --btn-color: #fff;
    --hr-border: #e2e8f0;
    --scrollbar-color: #a8b8c9;
}

@font-face {
    font-family: "Academic Motto English";
    src: url("/fonts/motto-en.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Academic Motto Chinese";
    src: url("/fonts/motto-zh.woff2?v=20261009-wenkai") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

body:has(.academic-home) {
    background: #fff;
    color: #334155;
}

body:has(.academic-home) #web_bg,
body:has(.academic-home) #footer canvas,
body:has(.academic-home) #footer .container,
body:has(.academic-home) #site-bgm-floating,
body:has(.academic-home) #rightside,
body:has(.academic-home) #darkmode {
    display: none !important;
}

body:has(.academic-home) #page-header,
body:has(.academic-home) #nav,
body:has(.academic-home) #page-header:is(.nav-fixed, .not-top-img) > #nav {
    background: #fff;
    box-shadow: none;
    text-shadow: none;
}

body:has(.academic-home) #nav {
    border-bottom: 1px solid #e8edf2;
}

body:has(.academic-home) #nav :is(a, .site-name, .site-page),
body:has(.academic-home) #toggle-menu {
    color: #334155;
    text-shadow: none;
}

body:has(.academic-home) #nav a:hover {
    color: #2563a6;
}

body:has(.academic-home) #nav .menus_item_child {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgb(15 23 42 / 6%);
}

body:has(.academic-home) #sidebar #sidebar-menus {
    background: #fff;
    color: #334155;
}

body:has(.academic-home) #sidebar #sidebar-menus a {
    color: #334155;
}

body:has(.academic-home) #footer {
    height: auto;
    background: #fff;
    border-top: 1px solid #e8edf2;
}

body:has(.academic-home) #footer::before {
    background: transparent;
}

body:has(.academic-home) #footer #footer-wrap,
body:has(.academic-home) #footer a {
    color: #64748b;
}

body:has(.academic-home) .layout.hide-aside:has(.academic-home) {
    width: 84%;
    max-width: 1800px;
    padding-block: clamp(32px, 3.2vw, 72px);
}

body:has(.academic-home) .academic-home {
    color: #334155;
    gap: clamp(36px, 3.2vw, 64px);
    text-align: left;
    font-size: 16px;
    line-height: 1.65;
}

body:has(.academic-home) .academic-home img {
    filter: none;
}

body:has(.academic-home) .academic-home a {
    color: #2563a6;
    text-underline-offset: 3px;
}

body:has(.academic-home) .academic-home a:hover {
    color: #174c86;
    text-decoration: underline;
}

body:has(.academic-home) .academic-home a:focus-visible {
    outline: 2px solid #2563a6;
    outline-offset: 4px;
}

body:has(.academic-home) .academic-home [hidden] {
    display: none !important;
}

body:has(.academic-home) :is(.academic-home__hero, .academic-home__section, .academic-home__panel) {
    padding: 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

body:has(.academic-home) .academic-home__hero {
    grid-template-columns: minmax(0, 1fr) clamp(280px, 30%, 440px);
    gap: clamp(32px, 3vw, 64px);
    align-items: stretch;
}

body:has(.academic-home) .academic-home__masthead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body:has(.academic-home) #article-container .academic-home__name {
    display: flex;
    align-items: baseline;
    min-width: 0;
    margin: 0 0 0.65rem;
    padding: 0;
    font-size: clamp(52px, 4.5vw, 78px);
    line-height: 1.18;
    flex-wrap: wrap;
    gap: 0.05em 0.35em;
    color: #172b42;
}

body:has(.academic-home) #article-container .academic-home__motto {
    margin: 0 0 1.5rem;
    padding: 0;
    color: #536b81;
    text-align: left;
}

body:has(.academic-home) #article-container .academic-home__motto blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
}

body:has(.academic-home) #article-container .academic-home__motto p {
    margin: 0;
    padding: 0;
    font-style: normal;
    text-wrap: pretty;
}

body:has(.academic-home) #article-container .academic-home__motto--en p {
    max-width: 47ch;
    font-family: "Academic Motto English", "Segoe Print", cursive;
    font-size: clamp(25px, 1.8vw, 31px);
    font-weight: 500;
    line-height: 1.35;
}

body:has(.academic-home) #article-container .academic-home__motto--zh p {
    font-family: "Academic Motto Chinese", "KaiTi", cursive;
    font-size: clamp(24px, 1.65vw, 30px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-wrap: balance;
}

body:has(.academic-home) #article-container .academic-home__motto figcaption {
    margin-top: 0.35rem;
    color: #718194;
    font-family: system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.65;
    text-wrap: pretty;
}

body:has(.academic-home) #article-container .academic-home__motto cite {
    font-style: normal;
}

body:has(.academic-home) #article-container .academic-home__motto--zh figcaption {
    font-family: "Academic Motto Chinese", "KaiTi", cursive;
    font-size: 19px;
    line-height: 1.4;
}

body:has(.academic-home) #article-container .academic-home__language-switch {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 66px;
    height: 38px;
    margin: 6px 0 0;
    padding: 0 12px;
    border: 1px solid #d8e5f1;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff, #edf5fc);
    box-shadow: 0 3px 12px rgb(47 94 138 / 8%);
    color: #35638e;
    cursor: pointer;
    font: 700 12px/1 system-ui, sans-serif;
    letter-spacing: 0.04em;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

body:has(.academic-home) .academic-home__language-switch svg {
    width: 16px;
    height: 16px;
    transition: transform 300ms ease;
}

body:has(.academic-home) .academic-home__language-switch:hover {
    transform: translateY(-2px);
    border-color: #a9c7e3;
    box-shadow: 0 7px 18px rgb(47 94 138 / 14%);
}

body:has(.academic-home) .academic-home__language-switch:hover svg {
    transform: rotate(18deg);
}

body:has(.academic-home) .academic-home__language-switch:focus-visible {
    outline: 2px solid #2563a6;
    outline-offset: 3px;
}

body:has(.academic-home) .academic-home__name-en {
    font-family: "Keming Signature", "Segoe Script", cursive;
    font-weight: 600;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

body:has(.academic-home) .academic-home__name-zh {
    display: inline-block;
    margin: 0;
    font-family: "Keming Xing Shu", "STXingkai", "KaiTi", cursive;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #46556a;
    text-shadow: none;
    font-size: 0.76em;
}

body:has(.academic-home) :is(.academic-home__eyebrow, .academic-home__fact span) {
    color: #63758a;
    font-size: 12px;
    letter-spacing: 0.1em;
}

/* Override the article theme's paragraph margins; flex items do not collapse them. */
body:has(.academic-home) #article-container .academic-home__eyebrow {
    margin: 0;
    line-height: 1.6;
}

body:has(.academic-home) #article-container .academic-home__summary {
    max-width: none;
    margin: 0;
    color: #3f4d60;
    font-size: clamp(16px, 1.04vw, 20px);
    line-height: 1.8;
    text-align: left;
    overflow-wrap: break-word;
}

body:has(.academic-home) #article-container .academic-home__summary + .academic-home__summary {
    margin-top: 1rem;
}

body:has(.academic-home) :is(.academic-home__meta span, .academic-home__fact strong,
    .academic-home__publication-authors, .academic-home__publication-summary,
    .academic-home__education-degree, .academic-home__list-body p, .academic-home__education-metrics) {
    color: #526174;
}

body:has(.academic-home) :is(.academic-home__profile-card h2, .academic-home__section-heading h2,
    .academic-home__publication-title, .academic-home__education-school,
    .academic-home__list-body strong, .academic-home__meta strong, .academic-home__author-me) {
    color: #172b42;
}

body:has(.academic-home) .academic-home__actions {
    max-width: none;
    gap: 14px;
    margin-block: 1.4rem 0;
}

body:has(.academic-home) .academic-home__link-pill {
    background: #fff;
    border-color: #d6e0ea;
    border-radius: 8px;
    color: #2563a6 !important;
    box-shadow: none;
}

body:has(.academic-home) .academic-home__actions .academic-home__button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 130px;
    padding: 17px 19px;
    overflow: hidden;
    border: 1px solid #dce7f1;
    border-radius: 17px;
    background: linear-gradient(145deg, #fff 45%, #f6faff);
    color: #18324d !important;
    box-shadow: 0 3px 10px rgb(21 56 91 / 3%);
    text-align: left;
    text-decoration: none !important;
    white-space: normal;
    cursor: pointer;
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

body:has(.academic-home) .academic-home__actions .academic-home__button--primary {
    background: linear-gradient(145deg, #edf6ff, #fff 75%);
    border-color: #c9e0f5;
}

body:has(.academic-home) .academic-home__actions .academic-home__button--split {
    cursor: default;
}

body:has(.academic-home) .academic-home__actions .academic-home__button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 5%, rgb(79 153 221 / 18%), transparent 62%);
    opacity: 0;
    transition: opacity 260ms ease;
    pointer-events: none;
}

body:has(.academic-home) .academic-home__actions .academic-home__button:hover,
body:has(.academic-home) .academic-home__actions .academic-home__button:focus-within {
    transform: translateY(-5px);
    border-color: #9fc7e9;
    box-shadow: 0 14px 30px rgb(35 94 150 / 13%);
}

body:has(.academic-home) .academic-home__actions .academic-home__button:hover::before,
body:has(.academic-home) .academic-home__actions .academic-home__button:focus-within::before {
    opacity: 1;
}

body:has(.academic-home) .academic-home__button-icon,
body:has(.academic-home) .academic-home__button-copy,
body:has(.academic-home) .academic-home__button-arrow {
    position: relative;
    z-index: 1;
}

body:has(.academic-home) .academic-home__button-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eaf3fc;
    color: #2866a1;
    transition: transform 260ms ease, background-color 260ms ease;
}

body:has(.academic-home) .academic-home__button-icon svg {
    width: 20px;
    height: 20px;
}

body:has(.academic-home) .academic-home__button:hover .academic-home__button-icon,
body:has(.academic-home) .academic-home__button:focus-within .academic-home__button-icon {
    transform: rotate(-8deg) scale(1.08);
    background: #d9ecfc;
}

body:has(.academic-home) .academic-home__button-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 100%;
}

body:has(.academic-home) .academic-home__button-copy strong {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

body:has(.academic-home) .academic-home__button-copy small {
    color: #657a90;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

body:has(.academic-home) .academic-home__button-arrow {
    position: absolute;
    top: 15px;
    right: 18px;
    color: #8ca9c1;
    font-size: 19px;
    line-height: 1;
    transition: transform 260ms ease, color 260ms ease;
}

body:has(.academic-home) .academic-home__button:hover .academic-home__button-arrow,
body:has(.academic-home) .academic-home__button:focus-within .academic-home__button-arrow {
    transform: translate(3px, -3px);
    color: #2563a6;
}

body:has(.academic-home) .academic-home__resume-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

body:has(.academic-home) .academic-home__button-link {
    flex: none;
    min-width: 0;
    padding: 1px 7px;
    border: 1px solid #d7e6f3;
    border-radius: 5px;
    color: #2866a1 !important;
    font-size: 11px;
    line-height: 1.5;
    text-decoration: none !important;
}

body:has(.academic-home) .academic-home__button-link + .academic-home__button-link {
    border-color: #d7e6f3;
}

body:has(.academic-home) .academic-home__button-link:hover,
body:has(.academic-home) .academic-home__button-link:focus-visible {
    background: #e5f2fd;
    color: #174c86 !important;
}

body:has(.academic-home) .academic-home__link-pill:hover {
    border-color: #2563a6;
    box-shadow: 0 3px 10px rgb(37 99 166 / 8%);
    transform: translateY(-1px);
}

body:has(.academic-home) #article-container .academic-home__meta {
    margin-top: 1.4rem;
}

@container (max-width: 1080px) {
    body:has(.academic-home) .academic-home__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(.academic-home) .academic-home__actions .academic-home__button,
    body:has(.academic-home) .academic-home__actions .academic-home__button::before,
    body:has(.academic-home) .academic-home__button-icon,
    body:has(.academic-home) .academic-home__button-arrow {
        transition: none;
    }

    body:has(.academic-home) .academic-home__actions .academic-home__button:hover,
    body:has(.academic-home) .academic-home__actions .academic-home__button:focus-within {
        transform: none;
    }
}

body:has(.academic-home) #article-container .academic-home__meta {
    gap: 0;
    padding-left: 0;
    padding-top: 1.5rem;
}

body:has(.academic-home) .academic-home__meta li {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 1rem;
    margin: 0;
    padding: 0.8rem 0;
    background: #fff;
    border: 0;
    border-top: 1px solid #e8edf2;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

body:has(.academic-home) .academic-home__meta span {
    line-height: 1.65;
}

body:has(.academic-home) #article-container .academic-home__profile > img,
body:has(.academic-home) #article-container .academic-home__profile > a > img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: none;
}

body:has(.academic-home) .academic-home__profile-card {
    padding: 1.25rem;
    border-radius: 14px;
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: none;
}

body:has(.academic-home) #article-container .academic-home__profile-card h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

body:has(.academic-home) .academic-home__facts {
    gap: 0;
    margin-top: 0.75rem;
}

body:has(.academic-home) .academic-home__fact {
    padding: 0.4rem 0;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

body:has(.academic-home) .academic-home__fact strong {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

body:has(.academic-home) .academic-home__fact strong span {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: none;
}

body:has(.academic-home) .academic-home__profile-tags {
    gap: 6px;
    margin-top: 0.75rem;
}

body:has(.academic-home) .academic-home__profile-tags span {
    padding: 4px 8px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #47647f;
    font-size: 12px;
}

body:has(.academic-home) .academic-home__section-heading {
    margin: 0;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid #dce5ee;
}

body:has(.academic-home) #article-container .academic-home__section-heading h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 1.8vw, 32px);
    font-weight: 600;
    line-height: 1.3;
    transform: none;
}

body:has(.academic-home) .academic-home__section-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #2563a6;
    line-height: 1;
    transform: none;
}

/* Heading assets must not inherit article-image margins or portrait sizing. */
body:has(.academic-home) #article-container .academic-home__section-icon img {
    display: block;
    width: 28px;
    height: 28px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    aspect-ratio: 1;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle;
    transform: none;
}

/* A compact, independently scrollable record of recent academic milestones. */
body:has(.academic-home) .academic-home__section--news .academic-home__section-heading {
    border-color: #dce8f3;
}

body:has(.academic-home) .academic-home__news-scroll {
    max-height: clamp(17rem, 28vw, 21rem);
    margin-top: 0.6rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #c1cfdd transparent;
    scroll-padding-block: 0.55rem;
    border-radius: 6px;
}

body:has(.academic-home) .academic-home__news-scroll:focus-visible {
    outline: 2px solid #8fb4d9;
    outline-offset: 5px;
}

body:has(.academic-home) #article-container .academic-home__news-list {
    list-style: none;
    margin: 0;
    padding: 0 0.8rem 0 0;
}

body:has(.academic-home) #article-container .academic-home__news-item {
    display: grid;
    grid-template-columns: 5.1rem 5.2rem minmax(0, 1fr);
    align-items: baseline;
    gap: clamp(0.8rem, 1.5vw, 1.5rem);
    padding: 0.55rem 0;
    margin: 0;
    border-bottom: 1px solid #edf1f5;
    line-height: 1.7;
}

body:has(.academic-home) #article-container .academic-home__news-item:last-child {
    border-bottom: 0;
}

body:has(.academic-home) .academic-home__news-date {
    justify-self: start;
    padding: 0.15rem 0.65rem;
    color: #49637b;
    background: #f1f6fa;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

body:has(.academic-home) #article-container .academic-home__news-item p {
    margin: 0;
    min-width: 0;
    font-size: 15px;
    line-height: inherit;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    body:has(.academic-home) #article-container .academic-home__news-item {
        grid-template-columns: 5rem minmax(0, 1fr);
        gap: 0.65rem;
        padding-block: 0.55rem;
    }

    body:has(.academic-home) .academic-home__news-date {
        padding-inline: 0.45rem;
        font-size: 13px;
    }
}

body:has(.academic-home) :is(.academic-home__education-card, .academic-home__publication,
    .academic-home__honors-list li, .academic-home__recognition-list li) {
    padding: 1.1rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    box-shadow: none;
}

body:has(.academic-home) :is(.academic-home__education-logo-shell, .academic-home__publication-figure) {
    background: #fff;
    border-color: #edf1f5;
    border-radius: 8px;
    box-shadow: none;
}

body:has(.academic-home) .academic-home__education-title-row {
    display: grid;
    gap: 0.4rem;
}

body:has(.academic-home) :is(.academic-home__education-school, .academic-home__education-metrics) {
    white-space: normal;
    line-height: 1.5;
}

body:has(.academic-home) .academic-home__education-school {
    font-size: 17px;
    font-weight: 700;
}

body:has(.academic-home) .academic-home__education-metrics {
    font-size: 13px;
    font-weight: 500;
}

body:has(.academic-home) #article-container .academic-home__education-logo {
    margin: 0;
}

body:has(.academic-home) .academic-home__education-degree {
    line-height: 1.7;
    margin-top: 0.35rem;
}

body:has(.academic-home) .academic-home__publication {
    grid-template-columns: minmax(200px, 24%) minmax(0, 1fr);
    gap: 1.5rem;
}

body:has(.academic-home) .academic-home__publication-figure {
    align-self: center;
    min-height: 0;
    aspect-ratio: 16 / 10;
}

body:has(.academic-home) #article-container .academic-home__publication-figure img {
    object-fit: contain;
    margin: 0;
}

body:has(.academic-home) .academic-home__publication-main {
    gap: 0.6rem;
}

body:has(.academic-home) .academic-home__publication-topline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem 1rem;
}

body:has(.academic-home) .academic-home__publication-title {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 700;
}

body:has(.academic-home) :is(.academic-home__publication-authors, .academic-home__publication-summary) {
    max-width: 100ch;
    font-size: 14px;
    line-height: 1.7;
}

body:has(.academic-home) :is(.academic-home__education-time, .academic-home__publication-venue, .academic-home__list-year) {
    background: #eef5fc;
    color: #2563a6;
    border-radius: 6px;
}

body:has(.academic-home) .academic-home__publication-role {
    background: #f1f5f9;
    color: #526174;
    border-radius: 6px;
}

body:has(.academic-home) .academic-home__list-year {
    padding-inline: 0.5rem;
    font-size: 12px;
    white-space: nowrap;
}

body:has(.academic-home) .academic-home__honors-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:has(.academic-home) :is(.academic-home__honors-list, .academic-home__recognition-list) li {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    margin: 0;
}

body:has(.academic-home) .academic-home__recognition-list .academic-home__list-body {
    display: block;
}

body:has(.academic-home) .academic-home__list-body strong {
    font-size: 15px;
    font-weight: 600;
    white-space: normal;
    line-height: 1.6;
}

body:has(.academic-home) #article-container .academic-home__list-body p {
    margin: 0.25rem 0 0;
    font-size: 14px;
    line-height: 1.65;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

body:has(.academic-home) #article-container :is(.academic-home__honors-list, .academic-home__recognition-list) {
    padding-left: 0;
    margin: 1rem 0 0;
    gap: 12px;
}

body:has(.academic-home) #article-container .academic-home__icon-credit {
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #e8edf2;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

/* Five quiet material treatments for the academic record cards. */
body:has(.academic-home) .academic-home__section :is(
    .academic-home__education-card,
    .academic-home__publication,
    .academic-home__honors-list li,
    .academic-home__recognition-list li
) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--card-border);
    box-shadow: 0 2px 9px rgb(29 51 73 / 4%);
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

body:has(.academic-home) .academic-home__section :is(
    .academic-home__education-card,
    .academic-home__publication,
    .academic-home__honors-list li,
    .academic-home__recognition-list li
)::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 95% 0, var(--card-glow), transparent 50%);
    opacity: .42;
    pointer-events: none;
    transition: opacity 300ms ease;
}

body:has(.academic-home) .academic-home__section :is(
    .academic-home__education-card,
    .academic-home__publication,
    .academic-home__honors-list li,
    .academic-home__recognition-list li
)::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 0;
    width: 3px;
    height: 70%;
    border-radius: 0 3px 3px 0;
    background: var(--card-accent);
    opacity: .55;
    transform: scaleY(.55);
    transition: transform 300ms ease, opacity 300ms ease;
}

body:has(.academic-home) .academic-home__section--education .academic-home__education-card {
    --card-border: #d9e7f1;
    --card-accent: #6c9ec3;
    --card-glow: rgb(116 174 216 / 23%);
    --card-shadow: rgb(56 111 155 / 15%);
    background: linear-gradient(90deg, rgb(60 119 163 / 2.5%) 1px, transparent 1px),
        linear-gradient(0deg, rgb(60 119 163 / 2.5%) 1px, transparent 1px),
        linear-gradient(155deg, #fff, #f6fbff);
    background-size: 26px 26px, 26px 26px, auto;
}

body:has(.academic-home) .academic-home__section--publications .academic-home__publication {
    --card-border: #e9dfcf;
    --card-accent: #c5a779;
    --card-glow: rgb(202 169 119 / 22%);
    --card-shadow: rgb(119 94 58 / 15%);
    background: repeating-linear-gradient(0deg, transparent 0 26px, rgb(145 118 81 / 3%) 27px 28px),
        linear-gradient(145deg, #fffefa, #fbf8f1);
}

body:has(.academic-home) .academic-home__section--publications .academic-home__publication::after {
    top: 0;
    right: 0;
    left: auto;
    width: 29px;
    height: 29px;
    border-radius: 0;
    background: linear-gradient(45deg, #e8ddc9, #f7f1e7);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: .85;
    transform: none;
    transform-origin: top right;
}

body:has(.academic-home) .academic-home__section--honors .academic-home__honors-list li {
    --card-border: #eadcb5;
    --card-accent: #c6a354;
    --card-glow: rgb(218 173 74 / 26%);
    --card-shadow: rgb(155 113 34 / 16%);
    background: radial-gradient(circle at 100% 0, rgb(235 203 125 / 15%), transparent 47%),
        repeating-linear-gradient(125deg, rgb(165 129 49 / 2%) 0 2px, transparent 2px 9px),
        linear-gradient(145deg, #fffefa, #fff9eb);
}

body:has(.academic-home) .academic-home__section--honors .academic-home__honors-list li::before {
    background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 80%) 50%, transparent 75%);
    opacity: 0;
    transform: translateX(-80%);
    transition: transform 650ms ease, opacity 300ms ease;
}

body:has(.academic-home) .academic-home__section--competitions .academic-home__recognition-list li {
    --card-border: #ebdfd5;
    --card-accent: #c78a6a;
    --card-glow: rgb(205 141 97 / 19%);
    --card-shadow: rgb(147 92 59 / 14%);
    background: repeating-linear-gradient(135deg, rgb(174 105 70 / 2.5%) 0 1px, transparent 1px 14px),
        linear-gradient(150deg, #fffdfb, #fdf7f2);
}

body:has(.academic-home) .academic-home__section--service .academic-home__recognition-list li {
    --card-border: #d8e8e1;
    --card-accent: #75a998;
    --card-glow: rgb(103 168 143 / 21%);
    --card-shadow: rgb(60 121 96 / 14%);
    background: radial-gradient(circle, rgb(77 147 118 / 3%) 1px, transparent 1px),
        linear-gradient(145deg, #fcfffd, #f3faf6);
    background-size: 18px 18px, auto;
}

body:has(.academic-home) .academic-home__section--education .academic-home__education-logo-shell,
body:has(.academic-home) .academic-home__section--publications .academic-home__publication-figure img,
body:has(.academic-home) .academic-home__section :is(.academic-home__honors-list, .academic-home__recognition-list) .academic-home__list-year {
    transition: transform 300ms cubic-bezier(.2, .8, .2, 1), background-color 300ms ease, box-shadow 300ms ease;
}

body:has(.academic-home) .academic-home__section--honors .academic-home__list-year {
    background: #f5e9c9;
    color: #8b661d;
}

body:has(.academic-home) .academic-home__section--competitions .academic-home__list-year {
    background: #f9eade;
    color: #a65e38;
}

body:has(.academic-home) .academic-home__section--service .academic-home__list-year {
    background: #e4f2eb;
    color: #397d61;
}

body:has(.academic-home) .academic-home__section--honors .academic-home__section-heading {
    border-color: #e9dcba;
}

body:has(.academic-home) .academic-home__section--publications .academic-home__section-heading {
    border-color: #e9e0d2;
}

body:has(.academic-home) .academic-home__section--competitions .academic-home__section-heading {
    border-color: #e9ded5;
}

body:has(.academic-home) .academic-home__section--service .academic-home__section-heading {
    border-color: #d8e9e1;
}

@media (hover: hover) {
    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    ):hover {
        transform: translateY(-5px);
        border-color: var(--card-accent);
        box-shadow: 0 16px 34px var(--card-shadow);
    }

    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    ):hover::before {
        opacity: 1;
    }

    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    ):hover::after {
        opacity: 1;
        transform: scaleY(1);
    }

    body:has(.academic-home) .academic-home__section--education .academic-home__education-card:hover .academic-home__education-logo-shell {
        transform: rotate(-3deg) scale(1.04);
        box-shadow: 0 7px 18px rgb(57 112 154 / 12%);
    }

    body:has(.academic-home) .academic-home__section--publications .academic-home__publication:hover .academic-home__publication-figure img {
        transform: scale(1.035);
    }

    body:has(.academic-home) .academic-home__section--publications .academic-home__publication:hover::after {
        transform: scale(1.16);
    }

    body:has(.academic-home) .academic-home__section--honors .academic-home__honors-list li:hover::before {
        opacity: .75;
        transform: translateX(80%);
    }

    body:has(.academic-home) .academic-home__section--honors .academic-home__honors-list li:hover .academic-home__list-year {
        transform: translateY(-2px);
        background: #f1dfad;
    }

    body:has(.academic-home) .academic-home__section--competitions .academic-home__recognition-list li:hover .academic-home__list-year {
        transform: translateX(3px);
        background: #f5dfcf;
    }

    body:has(.academic-home) .academic-home__section--service .academic-home__recognition-list li:hover .academic-home__list-year {
        transform: translateY(-2px);
        background: #d7eadf;
    }
}

@media (max-width: 1080px) {
    body:has(.academic-home) .layout.hide-aside:has(.academic-home) {
        width: 92%;
    }

    body:has(.academic-home) .academic-home__hero {
        grid-template-columns: 1fr;
    }

    body:has(.academic-home) .academic-home__profile {
        max-width: 360px;
    }

    body:has(.academic-home) .academic-home__honors-list {
        grid-template-columns: 1fr;
    }

    body:has(.academic-home) #article-container .academic-home__summary {
        max-width: none;
    }
}

@media (max-width: 768px) {
    body:has(.academic-home) .academic-home {
        gap: 2.5rem;
    }

    body:has(.academic-home) .academic-home__profile {
        display: grid;
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
        align-items: start;
        gap: clamp(16px, 3vw, 28px);
        width: 100%;
        max-width: none;
        margin: 0;
    }

    body:has(.academic-home) .academic-home__profile-card {
        min-width: 0;
    }

    body:has(.academic-home) #article-container .academic-home__name {
        font-size: clamp(48px, 8vw, 62px);
        gap: 0 .22em;
    }

    body:has(.academic-home) .academic-home__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:has(.academic-home) .academic-home__meta li {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    body:has(.academic-home) .academic-home__publication {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    body:has(.academic-home) .academic-home__publication-figure {
        min-height: 0;
        width: 100%;
        max-width: 480px;
        justify-self: center;
    }

    body:has(.academic-home) .academic-home__education-heading {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    body:has(.academic-home) .academic-home__education-card {
        grid-template-columns: 60px minmax(0, 1fr);
        align-items: start;
        gap: 1rem;
        padding: 1rem;
    }

    body:has(.academic-home) .academic-home__education-logo-shell {
        width: 60px;
        height: 60px;
        min-height: 60px;
        align-self: start;
    }

    body:has(.academic-home) #article-container .academic-home__education-logo {
        width: 48px;
        height: 48px;
    }

    body:has(.academic-home) :is(.academic-home__education-school, .academic-home__education-metrics) {
        white-space: normal;
    }

    body:has(.academic-home) .academic-home__education-time {
        justify-self: start;
    }

    body:has(.academic-home) :is(.academic-home__honors-list, .academic-home__recognition-list) li {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }

    body:has(.academic-home) .academic-home__list-year {
        padding-inline: 0.45rem;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    body:has(.academic-home) .academic-home__hero {
        gap: 1.5rem;
    }

    body:has(.academic-home) .academic-home__profile {
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
        gap: 1rem;
    }

    body:has(.academic-home) #article-container .academic-home__profile > :is(img, a) {
        width: clamp(164px, 48vw, 212px);
        margin-inline: auto;
    }

    body:has(.academic-home) .academic-home__profile-card {
        box-sizing: border-box;
        width: 100%;
        padding: 1rem;
    }

    body:has(.academic-home) .academic-home__fact {
        grid-template-columns: minmax(88px, 29%) minmax(0, 1fr);
        align-items: baseline;
        gap: 0.65rem;
        padding: 0.75rem 0;
    }

    body:has(.academic-home) .academic-home__fact strong {
        min-width: 0;
    }
}

@media (max-width: 380px) {
    body:has(.academic-home) .academic-home__masthead {
        flex-wrap: wrap;
    }

    body:has(.academic-home) #article-container .academic-home__name {
        order: 2;
        flex-basis: 100%;
    }

    body:has(.academic-home) #article-container .academic-home__language-switch {
        order: 1;
        margin-left: auto;
    }

    body:has(.academic-home) #article-container .academic-home__name {
        font-size: 46px;
    }

    body:has(.academic-home) :is(.academic-home__honors-list, .academic-home__recognition-list) li {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(.academic-home) .academic-home a,
    body:has(.academic-home) .academic-home__language-switch,
    body:has(.academic-home) .academic-home__language-switch svg,
    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    ),
    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    )::before,
    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    )::after,
    body:has(.academic-home) .academic-home__section :is(.academic-home__education-logo-shell, .academic-home__publication-figure img, .academic-home__list-year) {
        transition: none;
    }

    body:has(.academic-home) .academic-home__section :is(
        .academic-home__education-card,
        .academic-home__publication,
        .academic-home__honors-list li,
        .academic-home__recognition-list li
    ):hover {
        transform: none;
    }
}

/* News: compact bilingual categories and a gentle row-level hover response. */
body:has(.academic-home) .academic-home__news-category {
    justify-self: start;
    white-space: nowrap;
    padding: .12rem .55rem;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    color: #466481;
    background: #eef4fa;
}
body:has(.academic-home) .academic-home__news-category[data-category="honor"] { color: #86662a; background: #faf4e7; }
body:has(.academic-home) .academic-home__news-category[data-category="career"] { color: #466e64; background: #edf6f2; }
body:has(.academic-home) .academic-home__news-category[data-category="education"] { color: #6b5988; background: #f3eff9; }
body:has(.academic-home) .academic-home__news-category[data-category="patent"] { color: #8a5963; background: #faeff1; }
body:has(.academic-home) #article-container .academic-home__news-item {
    position: relative;
    padding-inline: .4rem;
    column-gap: clamp(.4rem, .65vw, .65rem);
    border-radius: 6px;
    transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}
body:has(.academic-home) #article-container .academic-home__news-item:focus-within {
    background-color: #f5f9fd;
    box-shadow: inset 3px 0 #91b1cf;
}
@media (hover: hover) and (pointer: fine) {
    body:has(.academic-home) #article-container .academic-home__news-item:hover {
        transform: translateY(-2px);
        background-color: #f5f9fd;
        box-shadow: inset 3px 0 #91b1cf, 0 4px 12px rgb(54 85 115 / 7%);
    }
}
@media (max-width: 600px) {
    body:has(.academic-home) #article-container .academic-home__news-item {
        grid-template-columns: max-content minmax(0, 1fr);
        row-gap: .3rem;
    }
    body:has(.academic-home) #article-container .academic-home__news-item p { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    body:has(.academic-home) #article-container .academic-home__news-item { transition: none; }
    body:has(.academic-home) #article-container .academic-home__news-item:hover { transform: none; }
}

@media (min-width: 601px) {
    html[data-academic-language="zh"] body:has(.academic-home) #article-container .academic-home__news-item {
        grid-template-columns: 5.1rem 3.1rem minmax(0, 1fr);
    }
}
