@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #1b2941;
  --muted: #4f6078;
  --accent: #315fbb;
  --accent-dark: #234584;
  --line: rgba(102, 124, 174, 0.18);
  --soft: #eff3fc;
  --page-width: 1320px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  background: #f3f6ff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 20px; }
strong, b { font-weight: 650; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; }
ul, ol { padding-left: 23px; }
::selection { color: #173264; background: #cdddff; }
:focus-visible { outline: 3px solid #4072d2; outline-offset: 4px; border-radius: 4px; }

/* Static content is always visible; animations progressively enhance the page. */
[data-lang="zh"], .lang-block-zh, .lang-li-zh { display: none; }
[data-lang="en"] { display: inline; }
.lang-block-en { display: block; }
.lang-li-en { display: list-item; }
body.zh [data-lang="en"], body.zh .lang-block-en, body.zh .lang-li-en { display: none; }
body.zh [data-lang="zh"] { display: inline; }
body.zh .lang-block-zh { display: block; }
body.zh .lang-li-zh { display: list-item; }

/* An airy, moving blue/lavender background behind quiet reading surfaces. */
#ambient-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: linear-gradient(140deg, #eef4ff, #f6f1ff 54%, #eefaff); }
#ambient-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(99, 119, 178, 0.17) 0.65px, transparent 0.65px); background-size: 24px 24px; opacity: 0.4; }
.aurora { position: absolute; display: block; width: 68vw; height: 72vh; min-width: 400px; min-height: 400px; border-radius: 48% 52% 64% 36% / 38% 44% 56% 62%; filter: blur(64px); opacity: 0.7; transform-origin: 50% 50%; }
.aurora-one { left: -24%; top: -22%; background: radial-gradient(ellipse, #92bbff 4%, #b0caff 36%, transparent 72%); transform: rotate(-18deg); }
.aurora-two { right: -24%; top: 12%; background: radial-gradient(ellipse, #c2a8f2 3%, #dcc7ff 38%, transparent 73%); transform: rotate(20deg); }
.aurora-three { left: 5%; bottom: -41%; background: radial-gradient(ellipse, #94ddeb 6%, #b2e8ef 40%, transparent 72%); transform: rotate(8deg); }
body.effects-on .aurora-one { animation: aurora-flow-one 24s ease-in-out infinite alternate; }
body.effects-on .aurora-two { animation: aurora-flow-two 29s ease-in-out infinite alternate; }
body.effects-on .aurora-three { animation: aurora-flow-three 21s ease-in-out infinite alternate; }
@keyframes aurora-flow-one { to { transform: translate(15%, 20%) rotate(20deg) scale(1.12); } }
@keyframes aurora-flow-two { to { transform: translate(-18%, 25%) rotate(-15deg) scale(1.18); } }
@keyframes aurora-flow-three { to { transform: translate(17%, -24%) rotate(-18deg) scale(1.14); } }
#particles-js { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(109, 163, 255, 0.24), rgba(181, 155, 251, 0.12) 35%, transparent 69%); opacity: 0; pointer-events: none; }
body.effects-on #cursor-glow { opacity: 1; }
#interaction-canvas { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; pointer-events: none; }
#scroll-progress { position: fixed; top: 0; left: 0; z-index: 40; width: 100%; height: 3px; background: linear-gradient(90deg, #4379e7, #9270db 52%, #40bfce); box-shadow: 0 0 13px rgba(77, 133, 230, 0.45); transform: scaleX(0); transform-origin: left; pointer-events: none; }
body.effects-paused #particles-js, body.effects-paused #interaction-canvas, body.effects-paused #cursor-glow { visibility: hidden; }

.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 9px 16px; border: 1px solid var(--accent); background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255, 255, 255, 0.85); background: rgba(250, 252, 255, 0.88); box-shadow: 0 3px 25px rgba(54, 75, 127, 0.035); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--page-width); min-height: 82px; padding: 13px 28px; margin: 0 auto; }
.wordmark { color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -0.3px; white-space: nowrap; text-decoration: none; }
.wordmark span { color: var(--accent); font-weight: 500; }
.site-nav { min-width: 0; margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-nav li { flex: 0 0 auto; }
.site-nav a { position: relative; display: block; padding: 10px 0; color: #495a75; font-size: 14px; font-weight: 550; text-decoration: none; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #5382df, #a483d9); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav a:hover, .site-nav a[aria-current="location"], .site-nav a.current { color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current="location"]::after, .site-nav a.current::after { transform: scaleX(1); }
.header-actions { display: flex; flex: 0 0 auto; gap: 8px; align-items: center; }
.lang-toggle-btn, .effects-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 6px 12px; border: 1px solid #c8d6ed; border-radius: 10px; background: rgba(255, 255, 255, 0.82); color: var(--accent-dark); font-size: 14px; font-weight: 550; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.lang-toggle-btn { min-width: 64px; }
.lang-toggle-btn:hover, .effects-toggle:hover { background: #fff; border-color: #99b5e4; box-shadow: 0 3px 12px rgba(71, 107, 173, 0.1); }
.effects-toggle[aria-pressed="true"] { color: #6346a5; background: #f2edff; border-color: #c7b8eb; }
.effects-toggle:disabled { cursor: default; color: var(--muted); background: #f4f5fa; }
.effects-toast { position: fixed; pointer-events: none; z-index: 50; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid #d7e2f1; border-radius: 13px; color: var(--ink); background: rgba(255, 255, 255, 0.97); box-shadow: 0 8px 35px rgba(45, 63, 110, 0.16); font-size: 15px; line-height: 1.65; text-align: center; }

.page-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; column-gap: 38px; max-width: var(--page-width); margin: 0 auto; padding: 48px 28px 64px; }
.profile { position: sticky; top: 118px; min-width: 0; padding: 27px 23px 25px; border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 24px; background: rgba(255, 255, 255, 0.68); box-shadow: 0 16px 55px rgba(66, 90, 152, 0.07); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.profile-portrait { position: relative; width: 200px; height: 200px; margin: 0 auto 25px; padding: 10px; }
.profile-photo { position: relative; z-index: 1; width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.95); box-shadow: 0 5px 24px rgba(69, 93, 149, 0.12); }
.profile-orbit { position: absolute; inset: 0; border: 1px solid rgba(117, 145, 214, 0.37); border-radius: 50%; box-shadow: 0 0 0 6px rgba(213, 220, 254, 0.17), 0 0 28px rgba(150, 168, 240, 0.14); }
.profile-orbit::before, .profile-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; }
.profile-orbit::before { top: -4px; left: calc(50% - 4px); background: #6f92e5; box-shadow: 0 0 13px #8ba9f1; }
.profile-orbit::after { bottom: 23%; left: 6%; width: 5px; height: 5px; background: #ad85de; box-shadow: 0 0 12px #c2a5e8; }
body.effects-on .profile-orbit { animation: portrait-orbit 22s linear infinite; }
@keyframes portrait-orbit { to { transform: rotate(360deg); } }
.profile-name { position: relative; width: fit-content; min-height: 47px; font-size: 32px; font-weight: 700; letter-spacing: -0.9px; }
.profile-name a { color: inherit; text-decoration: none; }
.profile-name[data-typing="true"]::after { content: ""; position: absolute; right: -5px; top: 17%; bottom: 16%; width: 2px; background: #708dde; animation: typing-caret 800ms steps(1) infinite; }
@keyframes typing-caret { 50% { opacity: 0; } }
.profile-name-zh { margin: 4px 0 18px; color: #5b6080; font-size: 19px; letter-spacing: 4px; }
.profile-role { margin: 0 0 6px; font-size: 16px; font-weight: 650; line-height: 1.7; }
.profile-affiliation { margin: 0 0 21px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.profile-links { display: flex; flex-wrap: wrap; gap: 7px 15px; margin: 20px 0; }
.profile-links a { font-size: 14px; font-weight: 600; text-decoration: none; }
.profile-links a:hover { text-decoration: underline; }
.contact-info { margin: 15px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-row { display: flex; align-items: baseline; gap: 7px; margin: 6px 0; }
.contact-row a, .contact-row span { min-width: 0; overflow-wrap: anywhere; }
.contact-row a { text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }
.contact-row i { flex: 0 0 auto; width: 14px; color: var(--muted); }
.profile-details { margin: 15px 0; font-size: 14px; }
summary { cursor: pointer; width: fit-content; color: var(--accent); }
.profile-details summary { color: var(--muted); }
.profile-details[open] summary { margin-bottom: 10px; }
.profile-note { margin: 23px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.75; }

main { min-width: 0; }
.section { position: relative; margin-bottom: 28px; padding: 34px 36px 36px; border: 1px solid rgba(255, 255, 255, 0.95); border-radius: 24px; background: rgba(255, 255, 255, 0.83); box-shadow: 0 12px 45px rgba(76, 92, 144, 0.055); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); scroll-margin-top: 112px; }
.section:last-child { margin-bottom: 0; }
.eyebrow { margin-bottom: 13px; color: #5672a6; font-size: 14px; font-weight: 650; letter-spacing: 1.3px; text-transform: uppercase; }
.section-title { position: relative; margin-bottom: 25px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 31px; font-weight: 700; letter-spacing: -0.7px; }
.section-title::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 48px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #6594e6, #b89ae7); }
#About-Me { background: linear-gradient(130deg, rgba(255, 255, 255, 0.92), rgba(249, 249, 255, 0.78)); }
#About-Me .section-title { margin-bottom: 24px; padding: 0; border: 0; font-size: 35px; }
#About-Me .section-title::after { display: none; }
.subheading { margin: 26px 0 14px; font-size: 18px; font-weight: 650; }
.interest-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 10px; }
.interest-tag { padding: 5px 12px; border: 1px solid #d9e1f4; border-radius: 8px; background: linear-gradient(120deg, rgba(239, 245, 255, 0.94), rgba(246, 241, 255, 0.85)); color: #3f5d8c; font-size: 14px; line-height: 1.7; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
body.effects-on .interest-tag:hover { transform: translateY(-3px); border-color: #b3c5e8; box-shadow: 0 5px 13px rgba(98, 117, 176, 0.1); }
.news-list { padding: 0; list-style: none; font-size: 16px; }
.news-list li { position: relative; padding: 7px 0 7px 17px; }
.news-list li::before { content: ""; position: absolute; top: 21px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.publication-group + .publication-group { margin-top: 35px; }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 16px; font-weight: 650; color: #596888; }
.group-heading small { font-size: 14px; font-weight: 400; }
.pub-entry { position: relative; padding: 25px 0 27px; border-bottom: 1px solid var(--line); transform-origin: center center; transition: transform 220ms ease, background 220ms ease; }
.pub-entry:last-child { border-bottom: 0; padding-bottom: 0; }
.pub-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 11px; }
.pub-venue { display: inline-block; padding: 3px 10px; border: 1px solid #d8e2f5; border-radius: 6px; background: #eef3ff; color: #31588e; font-size: 14px; font-weight: 700; line-height: 1.65; }
.pub-status { color: var(--muted); font-size: 14px; }
.pub-entry-featured .pub-status { color: #2e735a; }
.pub-entry-featured .pub-venue { color: #4e52a0; border-color: #d7d7f4; background: linear-gradient(110deg, #eaf2ff, #f0eaff); }
.pub-title { margin-bottom: 10px; font-size: 21px; font-weight: 650; line-height: 1.55; letter-spacing: -0.2px; overflow-wrap: anywhere; }
.pub-title a { color: var(--ink); text-decoration: none; }
.pub-title a:hover { color: var(--accent); text-decoration: underline; }
.pub-authors { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.pub-authors strong, .pub-authors b { color: var(--ink); font-weight: 650; }
.pub-authors a { text-decoration: none; }
.pub-authors-full { margin: 9px 0; font-size: 14px; }
.pub-authors-full[open] summary { margin-bottom: 8px; }
.pub-meta { margin: 0 0 11px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.pub-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.pub-links a { padding: 3px 11px; border: 1px solid #d8e2f1; border-radius: 6px; background: rgba(248, 250, 255, 0.85); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.pub-links a:hover { border-color: #9cb7e0; background: #edf3ff; box-shadow: 0 3px 10px rgba(78, 109, 171, 0.08); }

.entry-block { margin: 0 0 30px; transform-origin: center center; transition: transform 220ms ease; }
.entry-block:last-child { margin-bottom: 0; }
.entry-header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 20px; }
.entry-header > :first-child { min-width: 0; }
.entry-title { font-size: 18px; font-weight: 650; line-height: 1.65; }
.entry-subtitle { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.entry-date { flex-shrink: 0; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.entry-location { color: var(--muted); font-size: 14px; line-height: 1.7; }
.entry-meta { margin-top: 9px; font-size: 15px; line-height: 1.85; }
.entry-bullet { margin-top: 12px; margin-bottom: 0; padding-left: 21px; font-size: 16px; line-height: 1.9; }
.entry-bullet li { padding-left: 2px; margin-bottom: 7px; }
.entry-bullet li::marker { color: #7e97c5; }
.schol-tag { display: inline-block; margin: 5px 5px 3px 0; padding: 3px 9px; border-radius: 6px; color: var(--muted); background: #f0f3fb; font-size: 14px; line-height: 1.7; }
.award-list { margin: 0; padding: 0; list-style: none; }
.award-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.award-list li:first-child { padding-top: 0; }
.award-list li:last-child { border: 0; padding-bottom: 0; }
.award-name { flex: 1; min-width: 0; }
.award-date { flex-shrink: 0; color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.skills-grid { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 15px 25px; font-size: 16px; }
.skill-label { font-weight: 650; }
.skill-value { min-width: 0; }
.site-footer { position: relative; z-index: 1; max-width: var(--page-width); margin: 0 auto; padding: 20px 28px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; }

@media (hover: hover) and (pointer: fine) {
  body.effects-on .pub-entry, body.effects-on .entry-block { transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
}

@media (max-width: 1160px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 1px 20px; padding-top: 12px; padding-bottom: 0; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; overflow-x: auto; margin: 0; scrollbar-width: thin; }
  .site-nav ul { width: max-content; min-width: 100%; justify-content: space-between; gap: 24px; padding: 1px 3px 7px; }
  .site-nav a { padding-top: 8px; padding-bottom: 8px; }
  .page-layout { grid-template-columns: 260px minmax(0, 1fr); column-gap: 26px; padding-top: 34px; }
  .profile { padding: 23px 19px; top: 150px; }
  .section { padding: 29px 28px; scroll-margin-top: 146px; }
  .entry-header { flex-wrap: wrap; }
}

@media (min-width: 861px) and (max-height: 920px) {
  .profile { position: static; }
}

@media (max-width: 860px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); row-gap: 27px; padding-top: 28px; }
  .profile { position: static; display: grid; grid-template-columns: 142px minmax(0, 1fr); column-gap: 28px; align-items: start; padding: 28px; }
  .profile-portrait { grid-column: 1; grid-row: 1 / span 5; width: 142px; height: 142px; margin: 0; padding: 8px; }
  .profile-photo { width: 126px; height: 126px; }
  .profile-name, .profile-name-zh, .profile-role, .profile-affiliation { grid-column: 2; }
  .profile-name { font-size: 32px; min-height: 45px; }
  .profile-name-zh { margin: 1px 0 9px; font-size: 18px; }
  .profile-role, .profile-affiliation { font-size: 16px; }
  .profile-affiliation { margin-bottom: 0; }
  .profile-links, .profile > .contact-info, .profile-details, .profile-note { grid-column: 1 / -1; }
  .profile-links { margin: 22px 0 6px; gap: 10px 25px; }
  .profile > .contact-info { margin: 5px 0; }
  .profile-details { margin: 7px 0 0; }
  .profile-note { margin-top: 18px; padding-top: 13px; }
  .section { padding: 29px 28px; }
  #cursor-glow { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; line-height: 1.9; }
  .header-inner { padding-left: 18px; padding-right: 18px; gap: 2px 10px; }
  .wordmark { font-size: 15px; }
  .wordmark span { display: none; }
  .header-actions { gap: 6px; }
  .lang-toggle-btn, .effects-toggle { min-height: 40px; padding: 5px 9px; font-size: 14px; border-radius: 8px; }
  .lang-toggle-btn { min-width: 55px; }
  .site-nav ul { gap: 22px; }
  .site-nav a { font-size: 14px; }
  .page-layout { padding: 22px 14px 36px; row-gap: 22px; }
  .profile { grid-template-columns: 100px minmax(0, 1fr); column-gap: 19px; padding: 23px 20px; border-radius: 19px; }
  .profile-portrait { width: 100px; height: 100px; padding: 6px; }
  .profile-photo { width: 88px; height: 88px; border-width: 3px; }
  .profile-name { font-size: 27px; min-height: 38px; }
  .profile-name-zh { font-size: 17px; margin-bottom: 7px; }
  .profile-role, .profile-affiliation { font-size: 14px; line-height: 1.8; }
  .profile-links { gap: 10px 17px; }
  .section { margin-bottom: 22px; padding: 26px 20px; border-radius: 19px; scroll-margin-top: 140px; }
  .section-title { font-size: 29px; margin-bottom: 22px; padding-bottom: 13px; }
  #About-Me .section-title { font-size: 32px; }
  .eyebrow { font-size: 13px; letter-spacing: 0.8px; }
  .subheading { font-size: 17px; }
  .interest-tags { gap: 8px; }
  .interest-tag { font-size: 14px; padding: 4px 9px; }
  .pub-title { font-size: 18px; line-height: 1.65; }
  .pub-authors, .pub-meta { font-size: 14px; }
  .pub-heading { gap: 8px; }
  .pub-venue, .pub-status { font-size: 14px; }
  .pub-entry { padding-top: 22px; padding-bottom: 24px; }
  .entry-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .entry-header > div[style] { text-align: left !important; }
  .entry-title { font-size: 17px; }
  .entry-bullet { font-size: 16px; }
  .entry-subtitle .entry-date { display: block; float: none !important; }
  .award-list li { flex-direction: column; gap: 5px; font-size: 16px; }
  .skills-grid { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .skill-value { margin-bottom: 11px; }
  .site-footer { padding: 18px 22px 26px; font-size: 14px; }
  .aurora { filter: blur(45px); }
  .effects-toast { bottom: 16px; font-size: 14px; }
}

@media (max-width: 360px) {
  .header-inner { padding-left: 14px; padding-right: 14px; }
  .wordmark { font-size: 14px; }
  .header-actions { gap: 5px; }
  .effects-toggle, .lang-toggle-btn { padding-left: 7px; padding-right: 7px; }
  .page-layout { padding-left: 10px; padding-right: 10px; }
  .profile, .section { padding-left: 17px; padding-right: 17px; }
  .profile { grid-template-columns: 82px minmax(0, 1fr); column-gap: 15px; }
  .profile-portrait { width: 82px; height: 82px; padding: 5px; }
  .profile-photo { width: 72px; height: 72px; }
  .profile-name { font-size: 24px; min-height: 34px; }
}

body:not(.effects-on) .aurora, body:not(.effects-on) .profile-orbit, body:not(.effects-on) .profile-name::after { animation: none; }
body.effects-paused *, body.effects-paused *::before, body.effects-paused *::after { animation-play-state: paused !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #particles-js, #interaction-canvas, #cursor-glow { display: none !important; }
  .pub-entry, .entry-block { transform: none !important; }
}

@media print {
  @page { margin: 18mm; }
  body { min-width: 0; background: #fff; color: #111; font-size: 10pt; line-height: 1.6; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  #ambient-bg, #particles-js, #interaction-canvas, #cursor-glow, #scroll-progress, .site-header, .skip-link, .header-actions, .effects-toast, .profile-orbit { display: none !important; }
  .page-layout { display: block; max-width: none; padding: 0; }
  .profile { position: static; display: block; padding: 0 0 16px; margin-bottom: 24px; border: 0; border-bottom: 1px solid #ccc; border-radius: 0; background: #fff; }
  .profile-portrait { float: right; width: 80px; height: 80px; padding: 0; margin: 0 0 12px 20px; }
  .profile-photo { width: 80px; height: 80px; border: 0; }
  .profile-name { font-size: 23pt; min-height: 0; }
  .profile-name-zh, .profile-role, .profile-affiliation, .profile-links, .profile .contact-info { margin: 3px 0; }
  .profile-details, .profile-note { display: none; }
  .section, #About-Me { padding: 0; margin-bottom: 25px; border: 0; border-radius: 0; background: #fff; }
  .section-title, #About-Me .section-title { font-size: 17pt; }
  .section-title::after { display: none; }
  .pub-entry, .entry-block, .award-list li { break-inside: avoid; transform: none !important; }
  h2, h3, h4 { break-after: avoid; }
  .pub-title { font-size: 11pt; }
  .pub-authors, .pub-meta, .entry-bullet, .entry-meta, .entry-subtitle, .award-list li { font-size: 9pt; }
  a { color: #111; text-decoration: none; }
  .pub-venue, .interest-tag, .schol-tag { background: #fff; color: #111; border: 1px solid #ccc; }
  .site-footer { max-width: none; padding: 12px 0 0; }
}
