/* Juan Li — site design v6.1 (updated 2026-11-25). Screen paper W3 Bone #FBF9F6 (was #FAF8F3 W2; print poster retains #FAF8F3), neutral-umber ink #2E2926, single accent iron rust #94501F. Fonts: /v6/fonts/fonts.css */
@font-face{font-family:'NR-fb';src:local('Georgia'),local('Times New Roman');size-adjust:95.85%;ascent-override:96%;descent-override:24%}
:root{--paper:#FBF9F6;--ink:#2E2926;--ink2:#5C524B;--ink3:#6E655E;--rule:#E2DDD6;--rule-strong:#CCC5BB;--tag:#F1EEE9;--surface-1:#F1EEE9;--base:#EAE6DF;--acc:#94501F;--acc-soft:#F5EAE1;--acc-bd:#DFB79A;
  --serif:'NR','NR-fb','WK',Georgia,'PingFang SC','Microsoft YaHei','Songti SC',serif;--pad:104px;--max:1232px;--tile-pt:18px}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--serif);font-size:18px;line-height:1.55;font-weight:400;font-synthesis:none;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-variation-settings:'opsz' 16}
h1,h2,h3,p,ul,ol,figure,blockquote{margin:0;padding:0}ul,ol{list-style:none}
a{color:var(--acc);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
a:focus-visible,button:focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:2px}
b,strong{font-weight:500;color:var(--ink)}
img{max-width:100%;height:auto;display:block}
.ext{font-size:.78em;margin-left:.2em;display:inline-block;transform:translateY(-.05em)}
/* language toggle: English primary, Chinese one size smaller */
[data-lang=en] .zh,[data-lang=zh] .en{display:none!important}
.zh,[lang=zh-CN]{font-family:'WK',var(--serif);font-size:.94em;letter-spacing:.02em;font-weight:400;font-synthesis:none}
.zh .zh,[lang=zh-CN] .zh,.zh [lang=zh-CN]{font-size:1em}
[data-lang=en] .zh-only{display:none}
.wrap{width:100%;max-width:calc(var(--max) + 2*var(--pad));margin:0 auto;padding:0 var(--pad)}
.lab{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--ink3);font-variation-settings:'opsz' 10;line-height:1.5}
.lab .zh{letter-spacing:.3em;font-size:13px}
.muted{color:var(--ink3)}
.note{font-size:15px;color:var(--ink3);margin-top:14px;font-style:italic}
.note .zh{font-style:normal}
mark.todo{background:var(--tag);color:var(--ink2);font-style:normal;padding:2px 6px;border-radius:4px;font-size:.92em}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.tags>span{font-size:14px;color:var(--ink2);background:var(--tag);border-radius:4px;padding:5px 11px;line-height:1.4}
.lk{display:flex;flex-wrap:wrap;gap:12px 32px;margin-top:24px;font-size:16px}
.lk .cnote{color:var(--ink3);margin-left:8px;font-size:14px}
.prose{font-size:18px;line-height:1.6;color:var(--ink);max-width:680px;margin-top:16px}
.prose.small{font-size:16px}
.h2{font-size:30px;line-height:1.25;font-weight:400;letter-spacing:-.005em;font-variation-settings:'opsz' 36;color:var(--ink)}
.h3{font-size:24px;line-height:1.3;font-weight:400;font-variation-settings:'opsz' 28}
.sub{color:var(--ink2);font-size:17px;max-width:640px;margin-top:10px}
/* header: nav + hairline ridge that fades out at the right */
header.site{position:relative;z-index:3}
nav.top{max-width:calc(var(--max) + 2*var(--pad));margin:0 auto;padding:30px var(--pad) 0;display:flex;align-items:baseline;gap:40px;font-size:15px;font-variation-settings:'opsz' 12}
.brand{color:var(--ink);font-size:21px;font-variation-settings:'opsz' 24;white-space:nowrap}.brand:hover{text-decoration:none}
.brand .cn{font-family:'WK';font-size:16px;color:var(--ink3);margin-left:10px}
.brand .dot{color:var(--ink3);margin:0 .35em}.brand .subname{color:var(--acc)}
nav.top .links{display:flex;gap:28px;margin-left:auto;flex-wrap:nowrap}
nav.top .links a{color:var(--ink2);white-space:nowrap}
nav.top .links a[aria-current]{color:var(--acc)}
nav.top .links a[aria-disabled]{cursor:default}nav.top .links a[aria-disabled]:hover{text-decoration:none}
nav.top .links .back a{color:var(--acc)}
.lang{appearance:none;background:none;border:0;padding:4px 0 4px 4px;font:inherit;color:var(--ink3);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:baseline;gap:6px}
.lang .l-en{font-size:15px;color:var(--acc)}.lang .l-zh{font-family:'WK';font-size:13.5px;color:var(--ink3)}
[data-lang=zh] .lang .l-en{color:var(--ink3)}[data-lang=zh] .lang .l-zh{color:var(--acc)}
.lang .sl{color:var(--rule)}
svg.ridge{display:block;width:calc(100% - 2*var(--pad));max-width:var(--max);margin:-8px auto 0;height:auto;color:var(--ink);overflow:visible}
/* home hero (locked H06b layout: centred) */
.hero{position:relative;text-align:center;padding:var(--hero-pt) 0 0;min-height:800px;display:flex;flex-direction:column}
.hero .copy{flex:1;padding:0 20px}
.kick{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--ink3)}
.name{font-family:'DISP';font-weight:500;font-size:clamp(88px,15.14vw,218px);line-height:1;letter-spacing:0;margin-top:24px;white-space:nowrap;color:var(--ink);display:inline-block}
.name .I{position:relative}
.name .ipaw{position:absolute;width:.156em;height:.156em;left:.115em;top:.39em;overflow:visible;transform-origin:50% 85%}
@media (prefers-reduced-motion:no-preference){.name:hover .ipaw,.name:focus-within .ipaw,.name.boop .ipaw{animation:boop .26s cubic-bezier(.3,1.4,.5,1)}}
@keyframes boop{40%{transform:translateY(.006em) rotate(6deg) scale(1.04,.92)}75%{transform:rotate(-2deg) scale(.98,1.03)}}
.name .nm{user-select:none;-webkit-user-select:none}
.name .nl::before{content:'Juan L'}.name .I::before{content:'ı'} /* dotless i drawn by CSS; the snow-leopard paw is its dot, real text stays 'Juan Li' */
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.name .vh{user-select:text}
.cnname{font-family:'WK';font-size:28px;letter-spacing:1em;margin:20px 0 0 1em;color:var(--ink2);line-height:1.2}
.role{margin-top:32px;font-size:22px;font-style:italic;font-variation-settings:'opsz' 24}
.role .zh{font-style:normal}
.inst{letter-spacing:.01em;font-size:15px;color:var(--ink3);margin-top:8px;line-height:1.55}
.inst .zh{letter-spacing:.03em}
.intro{margin:18px auto 0;max-width:640px;font-size:18px;line-height:1.6;color:var(--ink)}
.cta{margin-top:28px;display:flex;justify-content:center;flex-wrap:wrap;gap:12px 32px;font-size:16px}
.cta.left{justify-content:flex-start}
.next{display:flex;gap:44px;align-items:center;min-height:60px;border-top:1px solid var(--rule);margin-top:64px;font-size:15.5px;white-space:nowrap;color:var(--ink2)}
.next .h{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:var(--ink3)}
.next a{color:var(--ink2)}.next a:hover{color:var(--acc)}
.next b{font-weight:400;font-style:italic;color:var(--ink3);margin-right:8px}
@media (min-width:761px){.next{justify-content:center}} /* homepage RESEARCH row centred (approved 2026-10-29) */
@media (prefers-reduced-motion:no-preference){svg.ridge{animation:in 1.6s ease both}@keyframes in{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0 0 0 0)}}}
/* sections */
main{display:block}
.band{padding-top:112px}
.sechead{display:flex;align-items:baseline;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--rule);margin-bottom:28px}
.sechead .hmore{font-size:15px;white-space:nowrap}
.areas{display:grid;grid-template-columns:repeat(3,1fr);gap:48px}
.area .num,.rarea .num{font-style:italic;color:var(--ink3);font-size:18px}
.area h3{font-size:23px;line-height:1.3;font-weight:400;margin-top:8px;font-variation-settings:'opsz' 28}
.area p{color:var(--ink2);font-size:16.5px;margin-top:10px}
.area .more{display:inline-block;margin-top:14px;font-size:15px}
/* explainer cards + badge */
.xgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:40px;margin-top:28px}
.xcard{display:block;color:var(--ink)}.xcard:hover{text-decoration:none}.xcard:hover .xt{color:var(--acc)}
.thumb,.pthumb{position:relative;display:block;border-radius:4px;overflow:hidden;background:var(--tag)}
.thumb img,.pthumb img{width:100%;aspect-ratio:16/9;object-fit:cover}
.badge{position:absolute;left:12px;top:12px;background:var(--paper);color:var(--acc);font-size:12.5px;letter-spacing:.04em;padding:4px 10px;border-radius:4px;line-height:1.4}
.badge.flat{position:static;background:var(--tag);color:var(--ink2)}
.xt{display:block;margin-top:14px;font-size:20px;line-height:1.35;font-variation-settings:'opsz' 24}
.xm{display:block;margin-top:6px;font-size:14.5px;color:var(--ink3)}
/* yixi band */
.yixi{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:end}
.ytitle{font-size:34px;line-height:1.25;font-weight:400;font-variation-settings:'opsz' 40;max-width:720px}
.ytitle .zh{font-size:30px}
.ymeta{color:var(--ink3);font-size:15px;margin-top:10px}
blockquote.pull{font-family:'WK';font-size:24px;line-height:1.6;color:var(--ink2);padding-bottom:6px}
/* practice + platforms */
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:26px}
.tcard{position:relative;display:block;background:var(--tag);border-radius:4px;padding:26px 28px 28px;color:var(--ink)}
.tcard:hover{text-decoration:none}.tcard:hover .tt{color:var(--acc)}
.tcard .tt{display:block;font-size:22px}.tcard .ts{display:block;color:var(--ink2);font-size:15.5px;margin-top:6px}
.tcard .arr{position:absolute;right:24px;top:26px;color:var(--acc)}
.plats{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.plat{display:flex;flex-direction:column;gap:10px;padding:30px 32px;border:1px solid var(--rule);border-radius:4px;color:var(--ink)}
.plat:hover{text-decoration:none;border-color:var(--acc)}
.plat .pt{font-size:26px;line-height:1.25;font-variation-settings:'opsz' 32}.plat .ps{color:var(--ink2);font-size:16px}
.plat .pm{color:var(--ink3);font-size:14px}.plat .go{color:var(--acc);font-size:16px;margin-top:6px}
/* bio (text left, photo right; she faces left toward the text) */
.bio{display:grid;grid-template-columns:minmax(0,760px) 264px;justify-content:space-between;column-gap:96px;align-items:start}
.bio .ph{margin-top:var(--ph-top,38px)}
.biowrap{padding-bottom:40px}.biowrap.first{padding-top:40px}
.bio .lead{margin-top:22px;font-size:34px;line-height:1.3;font-weight:400;letter-spacing:-.01em;font-variation-settings:'opsz' 48;color:var(--ink)}
.bio .lead .zh{font-size:30px}
.bio .body{margin-top:22px;font-size:18px;line-height:1.6;color:var(--ink);max-width:600px}
.ph img{width:264px;height:302px}
.ph figcaption{margin-top:16px;text-align:center;font-size:15px;color:var(--ink2);font-style:italic}
.ph figcaption span{font-family:'WK';font-style:normal;color:var(--ink3);margin-left:8px}
/* inner pages */
.phead{padding-top:var(--hero-pt)}
.ptitle{font-size:56px;line-height:1.1;font-weight:400;letter-spacing:-.015em;font-variation-settings:'opsz' 60;margin-top:14px;max-width:980px}
.ptitle .zh{font-size:50px;letter-spacing:.02em}
.ptitle.paper{font-size:var(--fs-h1-sub);line-height:var(--lh-h1-sub);text-wrap:balance}
.plead{font-size:19px;line-height:1.6;color:var(--ink);max-width:720px;margin-top:20px}
.crumb{font-size:15px;color:var(--ink3)}.crumb span{margin:0 6px}
.rarea{display:grid;grid-template-columns:72px 1fr;padding-top:96px}
.rarea .num{font-size:26px;line-height:1.25}
.aside{margin-top:32px;background:var(--tag);border-radius:4px;padding:22px 26px;max-width:680px}
.aside.wide{background:none;padding:0;max-width:none}
.aside .at{font-size:20px;margin-top:8px}
.aside .lk{margin-top:12px}
.fund li{display:grid;grid-template-columns:260px 1fr;column-gap:32px;padding:18px 0;border-bottom:1px solid var(--rule)}
.fund .fy{grid-row:span 2;color:var(--ink3);font-size:15px}.fund .fn{font-size:19px}.fund .fd{color:var(--ink2);font-size:16px}
.twocol{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-left:var(--pad);padding-right:var(--pad)}
.twocol>.wrap{padding:0}
.callout{padding-top:112px}
.twocol .callout{padding:28px 32px;background:var(--tag);border-radius:4px;margin-top:112px}
.callout .ct{font-size:22px;margin-top:8px}
.callout .body{color:var(--ink2);margin-top:6px;font-size:16.5px}
.callout .lk+.lab{margin-top:var(--sp-6)}
.wrap.callout:not(.twocol .callout){margin-top:0}
/* publications */
.profiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:40px}
.profiles a{display:flex;flex-direction:column;background:var(--tag);border-radius:4px;padding:14px 18px;color:var(--acc);position:relative}
.profiles a b{font-weight:400;color:var(--acc);font-size:17px}.profiles small{color:var(--ink2);font-size:13.5px}
.profiles .ext{position:absolute;right:14px;top:14px}
.yrjump{margin-top:28px;font-size:15px;display:flex;flex-wrap:wrap;gap:6px 14px}
.pubs{padding-top:24px}
.pyear{display:grid;grid-template-columns:120px 1fr;padding-top:40px}
.yr{font-size:26px;font-weight:400;font-style:italic;color:var(--ink3);font-variation-settings:'opsz' 30;line-height:1.3}
.publist>li{padding:16px 0 18px;border-bottom:1px solid var(--rule)}
.publist>li:first-child{padding-top:0}
.pub .ptl{font-size:19px;line-height:1.4;color:var(--acc)}
.pmeta{color:var(--ink);font-size:15.5px;margin-top:6px;line-height:1.5}
.pmeta a{overflow-wrap:anywhere}.pmeta.big{font-size:17px;max-width:900px;margin-top:20px}
.pmeta sup{font-size:.7em}
.pub.hasx{display:grid;grid-template-columns:1fr 280px;gap:36px;align-items:start}
/* paper pages: embedded explainer */
.xwrap{padding-top:var(--sp-8)}
.explainer .xframe{position:relative;aspect-ratio:16/9;background:var(--paper);border-radius:4px;overflow:hidden;outline:1px solid var(--rule)}
.explainer .poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.explainer iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .5s}
.explainer.live iframe{opacity:1}
.explainer.live .poster,.explainer.live .xplay{display:none}
.xplay{position:absolute;left:50%;top:50%;width:76px;height:76px;margin:-38px 0 0 -38px;border-radius:50%;border:0;background:var(--paper);color:var(--acc);font-size:24px;cursor:pointer}
.xplay span{margin-left:4px}
.xbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:14px;font-size:15px}
.xtoggle{appearance:none;border:0;background:none;color:var(--acc);font:inherit;cursor:pointer;padding:0}
.xhint{color:var(--ink3);font-size:14px}.xfull{margin-left:auto}
.pgrid{display:grid;grid-template-columns:1fr 1.6fr;gap:64px;padding-top:72px}
.hl{margin-top:16px}.hl li{position:relative;padding:10px 0 10px 22px;color:var(--ink2);font-size:17px;border-bottom:1px solid var(--rule)}
.hl li:before{content:'';position:absolute;left:2px;top:22px;width:6px;height:6px;border-radius:50%;background:var(--ink3)}
.mt{margin-top:30px}
/* about: yixi story */
.story{counter-reset:s;display:grid;grid-template-columns:1fr 1fr;gap:44px 64px;margin-top:40px}
.story li{counter-increment:s}
.story .sh{font-size:17px;color:var(--ink);font-style:italic}
.story .sh:before{content:counter(s,decimal-leading-zero) '  ';color:var(--ink3);font-style:italic}
.story .sh .zh{font-style:normal}
.story blockquote{font-family:'WK';font-size:18.5px;line-height:1.75;color:var(--ink2);margin-top:12px}
/* teaching */
.courses{display:grid;grid-template-columns:repeat(3,1fr);gap:48px;padding-top:64px}
.course .code{font-style:italic;color:var(--ink3)}.course .h3{margin-top:6px}.course .prose{font-size:16.5px}
/* talks */
.talks{padding-top:32px}
.tyear{display:grid;grid-template-columns:120px 1fr;padding-top:var(--sp-6)}
.talklist li{display:grid;grid-template-columns:200px 1fr;column-gap:24px;padding:14px 0;border-bottom:1px solid var(--rule)}
.talklist li:first-child{padding-top:0}
.talklist .ty{grid-row:span 3;color:var(--ink3);font-size:14.5px;padding-top:3px}
.talklist .tt{font-size:18px;line-height:1.4}.talklist .tv{color:var(--ink2);font-size:15.5px}.talklist .tv a.tpaper{color:var(--acc);white-space:nowrap;text-decoration:none}.talklist .tv a.tpaper:hover{text-decoration:underline}
.talklist .tl{display:flex;gap:20px;font-size:15px;margin-top:4px}
/* contact */
.mailbig{font-size:30px;margin-top:28px;font-variation-settings:'opsz' 36}
.aff{margin-top:14px;font-size:16px;line-height:1.65;color:var(--ink2)}
/* subsites */
.subsite .subhero{padding-top:72px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.chip{background:var(--tag);color:var(--ink2);border-radius:4px;padding:5px 12px;font-size:14.5px}
.chip.on{background:var(--ink);color:var(--paper)}
.feed{background:var(--tag);border-radius:4px;padding:28px 32px}
.phnote{margin-top:10px;color:var(--ink2)}
.phnote mark.todo{background:none;padding:0}
.sindex{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.sindex li{border-top:1px solid var(--rule);padding-top:16px}
.sindex .it{display:block;font-size:22px}.sindex .id{display:block;color:var(--ink2);font-size:15.5px;margin-top:6px}
[data-lang=zh] .sindex .it .en{display:none}
.notes{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.note-card{border-top:1px solid var(--rule);padding-top:16px}
.note-card .nd{color:var(--ink3);font-size:14px}.note-card .star{color:var(--acc)}
.note-card .nt{font-size:20px;line-height:1.35;margin-top:8px}
.note-card .nw{color:var(--ink2);font-size:16px;margin-top:8px}
.note-card .tags{margin-top:12px}.note-card .tags>span{font-size:13px;padding:3px 9px}
.note-card .nf{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:14.5px}
/* footer */
footer.site{margin-top:140px;border-top:1px solid var(--rule);padding:48px 0 40px;font-size:15.5px}
.fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.fname{font-size:20px}.fname span{font-family:'WK';color:var(--ink3);font-size:16px;margin-left:6px}
footer .lab{margin-bottom:10px}.flist li{padding:3px 0}
.mail{margin-top:10px}
.fpaw{width:16px;height:16px;display:inline-block;margin-left:10px;vertical-align:-2px;overflow:visible} /* footer paw (static), matches the i-dot paw */
.fbot{display:flex;justify-content:space-between;gap:20px;margin-top:40px;color:var(--ink2);font-size:14px}

/* PhD recruitment on Home — A: own section, hairline, no box */
.phd-a{padding-top:96px}
.phd-a .in{border-top:1px solid var(--rule);padding-top:56px}
.phd-a .pt,.phd-b .pt{font-weight:400;font-size:34px;line-height:1.2;margin-top:14px;color:var(--ink);font-variation-settings:'opsz' 36}
.phd-a .ps,.phd-b .ps{display:block;font-size:19px;line-height:1.4;color:var(--ink2);margin-top:8px;font-variation-settings:'opsz' 20}
.phd-a .meta,.phd-b .meta{font-size:15px;color:var(--ink3);margin-top:16px;letter-spacing:.01em}
.phd-a .lk,.phd-b .lk{font-size:17px;margin-top:20px}
/* B: two columns, flat tag fill on the right, no outline */
.phd-b{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;padding-top:112px}
.phd-b .h2{margin-top:12px}
.phd-b .r{background:var(--tag);border-radius:4px;padding:30px 34px}
.phd-b .pt{font-size:28px}.phd-b .ps{font-size:17px}
@media (max-width:760px){.phd-a{padding-top:64px}.phd-a .in{padding-top:40px}.phd-a .pt,.phd-b .pt{font-size:26px}.phd-a .ps,.phd-b .ps{font-size:16.5px}
  .phd-b{grid-template-columns:1fr;gap:28px;padding-top:72px}.phd-b .r{padding:24px 22px}}

/* research: long-term strip on Home, sub-lines and paper lists on Research */
.ltstrip{display:grid;grid-template-columns:200px 1fr auto;gap:6px 28px;align-items:baseline;margin-top:44px;padding-top:26px;border-top:1px solid var(--rule);color:var(--ink);text-decoration:none}
.ltstrip .lt-t{font-size:22px;font-variation-settings:'opsz' 24}
.ltstrip .lt-s{grid-column:2;color:var(--ink2);font-size:16px}
.ltstrip .arr{grid-column:3;grid-row:1;color:var(--acc)}
.ltstrip:hover .lt-t{color:var(--acc)}
.asub{color:var(--ink3);font-size:15.5px;line-height:1.55;margin-top:8px;max-width:760px}
.apapers{margin-top:24px}
.apapers ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:10px}
.apapers li{font-size:16.5px;line-height:1.45}
.apapers .pm{display:block;font-size:13.5px;color:var(--ink3);margin-top:2px}
.num.lt{color:var(--ink3)}
.rf{margin-top:34px;gap:40px;padding:0}
.rf .hl li{font-size:16px}
.rf .fy{color:var(--ink3);font-variant-numeric:tabular-nums;margin-right:6px}
@media (max-width:760px){.ltstrip{grid-template-columns:1fr auto}.ltstrip .lab{grid-column:1/-1}.ltstrip .lt-s{grid-column:1/-1}.ltstrip .arr{grid-column:2;grid-row:2}}
/* Home: short PhD line + small links */
.phd-line{padding-top:72px}
.phd-line p{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 22px;border-top:1px solid var(--rule);padding-top:28px;font-size:17px}
.phd-line .pl-t{font-size:21px;color:var(--ink)}
.phd-line .pl-m{color:var(--ink2);font-size:15.5px}
.hlinks{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 26px;margin-top:40px;font-size:15.5px}
.hlinks .h{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink3)}
.emerging{margin-top:10px;font-size:15px;font-style:italic;color:var(--ink2);max-width:760px}
.emerging .zh{font-style:normal}
/* About · Yixi still poster */
.vstill{margin:0}
.vstill .vposter{display:block;position:relative;padding:0;aspect-ratio:16/9;background:#2b2f3a;overflow:hidden;border-radius:4px}
.vstill img{display:block;width:100%;height:100%;object-fit:cover}
.vstill .vplay{position:absolute;right:22px;bottom:22px;width:54px;height:54px;border-radius:50%;background:rgba(251,249,246,.92);color:var(--acc);display:flex;align-items:center;justify-content:center}
.vstill .vposter:hover .vplay{background:var(--acc);color:var(--paper)}
.vstill figcaption{display:block;margin-top:10px;font-size:13.5px;line-height:1.5;color:var(--ink3)}
.vstill figcaption .cr,.vstill figcaption .vnote{display:inline;margin:0;font:inherit;color:inherit}
.vstill figcaption .cr::after{content:' · '}
/* Home: PhD badge (flat tile, no border, no animation) */
.hero .copy{position:relative}
.phdbadge{position:absolute;right:var(--pad);top:var(--badge-top,-17px);display:grid;grid-template-columns:auto auto;gap:8px 18px;align-items:end;background:var(--tag);border-radius:4px;padding:var(--tile-pt) 22px 18px;text-align:left;color:var(--ink);text-decoration:none;max-width:320px}
.phdbadge .lab,.phdcard .lab{white-space:nowrap}.phdbadge .lab{grid-column:1/-1}
[data-lang=zh] .phdbadge{top:var(--badge-top-zh,-18px)} /* zh kicker sets 1px higher */
.phdbadge .bt{font-size:17px;line-height:1.25;font-style:italic}
.phdbadge .arr{color:var(--acc);font-size:18px}
.phdbadge:hover .bt{color:var(--acc)}
@media (max-width:1240px){.phdbadge{position:static;margin:26px auto 0;width:max-content;max-width:100%}}
.xbadge{display:inline-block;margin-left:8px;font-size:12.5px;letter-spacing:.02em;background:var(--tag);border-radius:4px;padding:1px 7px;color:var(--acc);white-space:nowrap;vertical-align:1px}
/* PhD facts */
.facts{margin-top:18px;display:grid;gap:8px;font-size:15.5px;line-height:1.5}
.facts div{display:grid;grid-template-columns:190px 1fr;gap:12px}
.facts dt{color:var(--ink3);font-size:12px;letter-spacing:.14em;text-transform:uppercase;padding-top:3px}
.facts dt .zh{letter-spacing:.2em}
.facts dd{color:var(--ink);margin:0}
.facts.row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 40px;margin-top:22px}
.facts.row div{grid-template-columns:1fr;gap:2px}
@media (max-width:760px){.facts div{grid-template-columns:1fr;gap:2px}.facts.row{grid-template-columns:1fr}}
/* Contact (2026-10-09 17:01): main column + right-column PhD badge; badge stacks under How to join on narrow screens */
.cgrid{display:grid;grid-template-columns:minmax(0,760px) 320px;justify-content:space-between;column-gap:96px;align-items:start;padding-top:56px;
  grid-template-areas:"join side" "faq side" "touch side" "collab side"}
.c-join{grid-area:join}.c-faq{grid-area:faq;margin-top:64px}.c-touch{grid-area:touch}.c-collab{grid-area:collab}.cside{grid-area:side;align-self:start;margin-top:calc(-1 * var(--tile-pt))} /* tile text, not tile edge, sits on the left label's cap line */
.phdcard{background:var(--tag);border-radius:4px;padding:var(--tile-pt) 22px 20px}
.phdcard .bt{font-size:20px;line-height:1.2;font-style:italic;font-weight:400;margin-top:10px;font-variation-settings:'opsz' 36}
.phdcard .meta{font-size:14px;line-height:1.55;color:var(--ink2);margin-top:10px}
.phdcard .lk{margin-top:14px;font-size:15.5px}
.pdet{margin-top:18px;font-size:15.5px;line-height:1.6}
.pdet summary{cursor:pointer;color:var(--ink3);font-size:12px;letter-spacing:.14em;text-transform:uppercase;list-style:none;padding:4px 0;border-bottom:1px solid var(--rule)}
.pdet summary::-webkit-details-marker{display:none}
.pdet summary::after{content:' +';color:var(--acc)}.pdet[open] summary::after{content:' −'}
.pdet .tags{margin-top:16px}.pdet .ct{font-size:17px;line-height:1.35;margin-top:10px}
.pdet .pq-body{color:var(--ink2);margin-top:12px}
.pdet .facts{font-size:14.5px}.pdet .facts div{grid-template-columns:1fr;gap:1px}
.pdet .lk{margin-top:16px;font-size:15px}
@media (max-width:1100px){.cgrid{column-gap:48px;grid-template-columns:minmax(0,1fr) 280px}}
@media (max-width:900px){.cgrid{grid-template-columns:1fr;grid-template-areas:"join" "side" "faq" "touch" "collab"}.cside{margin-top:40px}}
/* About · Yixi: click-to-load video facade + two pull quotes */
.yx{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:start}
.vposter{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:4px;background:var(--tag);color:var(--ink);
  text-align:left;padding:30px 34px;cursor:pointer;font:inherit;overflow:hidden}
.vposter:hover .vplay{background:var(--acc);color:var(--paper)}
.vk{display:block;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink3)}
.vt{display:block;font-size:30px;line-height:1.2;margin-top:14px;max-width:80%;font-variation-settings:'opsz' 36}
.vt .zh{font-size:28px}
.vn{display:block;margin-top:10px;color:var(--ink2);font-style:italic;font-size:17px}.vn .zh{font-style:normal}
.vplay{position:absolute;right:30px;bottom:30px;width:64px;height:64px;border-radius:50%;background:var(--paper);color:var(--acc);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s;z-index:1}
.vplay svg{width:26px;height:26px;margin-left:3px}
.vridge{position:absolute;left:0;right:0;bottom:22px;width:100%;height:60px;color:var(--ink3);opacity:.55}
.vnote{font-size:14px;color:var(--ink3);margin-top:10px}
.pq{margin-top:26px}
.pq blockquote{padding-left:18px;border-left:2px solid var(--rule)}
.pq .en-q{font-size:20px;line-height:1.5;color:var(--ink);font-variation-settings:'opsz' 24}
.pq .zh-q{font-family:'WK',var(--serif);font-size:17.5px;line-height:1.7;color:var(--ink2);margin-top:6px}
[data-lang=en] .pq .zh-q{display:none}[data-lang=zh] .pq .en-q{display:none}[data-lang=zh] .pq .zh-q{font-size:19px;color:var(--ink);margin-top:0}
.ylinks{gap:10px 26px}
.note.small{font-size:13.5px;margin-top:8px}
@media (max-width:1100px){.yx{grid-template-columns:1fr;gap:36px}}
@media (max-width:760px){.vposter{padding:20px 22px}.vt{font-size:22px;max-width:100%}.vt .zh{font-size:20px}.vplay{width:48px;height:48px;right:18px;bottom:18px}.vridge{bottom:14px;height:40px}.pq .en-q{font-size:18px}}
/* ---------- responsive ---------- */
@media (max-width:1100px){:root{--pad:48px}
  nav.top{flex-wrap:wrap;gap:12px 28px}nav.top .links{order:3;width:100%;max-width:100%;margin-left:0;flex-wrap:wrap;overflow-x:visible;padding-bottom:4px}
  nav.top .lang{margin-left:auto}
  svg.ridge{margin-top:2px}
  .areas,.trio,.courses,.notes,.sindex{grid-template-columns:1fr 1fr}
  .profiles{grid-template-columns:1fr 1fr}
  .bio{column-gap:48px}
}
@media (max-width:760px){:root{--pad:20px}
  body{font-size:17px}
  nav.top{padding-top:18px}.brand{font-size:19px}nav.top .links{gap:18px;font-size:14.5px}
  .hero{min-height:0}
  .cnname{font-size:22px}.role{font-size:19px;margin-top:24px}.intro{font-size:16.5px}
  .next{flex-wrap:wrap;white-space:normal;gap:10px 18px;padding:18px var(--pad);margin-top:48px}.next .h{width:100%}
  .next a{width:100%}
  .band{padding-top:72px}
  .areas,.trio,.courses,.notes,.sindex,.xgrid,.plats,.twocol,.profiles,.story,.pgrid{grid-template-columns:1fr}
  .yixi{grid-template-columns:1fr;gap:28px}
  .ytitle{font-size:27px}.ytitle .zh{font-size:24px}
  .bio{grid-template-columns:1fr;row-gap:36px}.ph{justify-self:center}
  .bio .lead{font-size:27px}.bio .lead .zh{font-size:24px}
  .ptitle{font-size:38px}.ptitle .zh{font-size:34px}
  .subsite .subhero{padding-top:44px}
  .rarea{grid-template-columns:1fr;padding-top:64px}.rarea .num{font-size:20px}
  .fund li{grid-template-columns:1fr}.fund .fy{grid-row:auto}
  .pyear,.tyear{grid-template-columns:1fr}.yr{margin-bottom:12px}
  .pub.hasx{grid-template-columns:1fr;gap:16px}
  .talklist li{grid-template-columns:1fr}.talklist .ty{grid-row:auto}
  .twocol .callout{margin-top:48px}
  .xfull{margin-left:0}.xhint{width:100%}
  .fgrid{grid-template-columns:1fr;gap:28px}.fbot{flex-direction:column}
  .mailbig{font-size:22px;word-break:break-all}
  .sechead{flex-wrap:wrap}
  .xplay{width:60px;height:60px;margin:-30px 0 0 -30px}
}
/* Hugo port: the EN/中 control is a link to the paired-language page */
a.lang:hover{text-decoration:none}a.lang:hover .l-zh,a.lang:hover .l-en{color:var(--acc)}

html{scrollbar-gutter:stable;scrollbar-color:var(--rule-strong) var(--paper)}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
nav.top .links a,nav.top .links .zh,nav.top .lang,nav.top .lang [lang]{font-family:var(--serif);font-weight:400;font-synthesis:none}
/* Reserve functional header alignment independently of the display-font baseline. */
nav.top .links{align-self:flex-start;margin-top:7px}
nav.top .lang{align-self:flex-start;margin-top:3px}
@media(max-width:1100px){nav.top .links{margin-top:0}}
/* Join FAQ (2026-10-21): quiet disclosure list under How to join */
.qalist{margin-top:0}#faq .sechead{margin-bottom:0}
.qa{border-bottom:1px solid var(--rule)}
.qa summary{cursor:pointer;list-style:none;padding:14px 28px 14px 0;position:relative;font-size:17px;color:var(--ink)}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:'+';position:absolute;right:2px;top:13px;color:var(--acc)}.qa[open] summary::after{content:'−'}
.qa-a{padding:0 0 16px;color:var(--ink);font-size:16px;line-height:1.65}.qa-a p+p{margin-top:10px}
/* Join v4 (2026-10-23): title + intro, then one full-width reading column: PhD (self-proposal + funded project from data/openings.yaml), Master's, Undergraduates; FAQ beside contact. */
.jflow{padding-top:44px}
.jflow>*+*{margin-top:64px}
.jrow{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:96px;align-items:start}
.jside .band{padding-top:0}.jside .band+.band{margin-top:52px}.jside .mailbig{margin-top:0}
.jsec .sechead{margin-bottom:20px}
.jsec>.prose:first-of-type{margin-top:0}
.jproj{margin-top:32px;padding-top:26px;border-top:1px solid var(--rule)}
.jsec .sechead .jh{font-size:28px;line-height:1.2}
.jpgrid{margin-top:12px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-areas:"head facts" "main facts" "lk facts";grid-template-rows:auto auto 1fr;column-gap:96px;align-items:start}
.jphead{grid-area:head}.jpmain{grid-area:main;margin-top:18px}.jpfacts{grid-area:facts}.jplk{grid-area:lk}
.jpt{font-size:24px;line-height:1.2;font-style:italic;font-weight:400;font-variation-settings:'opsz' 36}
.jpst{font-size:17px;line-height:1.45;color:var(--ink2);margin-top:6px;max-width:680px}
.jpmain>.prose:first-child{margin-top:0}.jpmain .prose{font-size:17px}.jpmain .tags{margin-top:16px}.jpnote{color:var(--ink3)}
.jpfacts{margin-top:-3px;gap:12px}.jpfacts div{grid-template-columns:1fr;gap:2px}
.jproj .jplk{margin-top:20px}
@media (max-width:1100px){.jrow,.jpgrid{column-gap:56px}}
@media (max-width:900px){.jrow,.jpgrid{grid-template-columns:1fr;row-gap:48px}.jpgrid{row-gap:0;grid-template-areas:"head" "main" "facts" "lk";grid-template-rows:auto}.jpfacts{margin-top:22px}}
@media (max-width:760px){.jsec .sechead .jh{font-size:24px}.jflow{padding-top:28px}.jflow>*+*{margin-top:48px}.jrow{row-gap:44px}.jside .band+.band{margin-top:44px}.jpt{font-size:21px}}

/* Phone nav: EN labels are wider than ZH; with seven items, wrap to two rows and keep 44px tap targets (see Mobile navigation block). */
@media (max-width:430px){nav.top .links{gap:0 8px}[data-lang=en] nav.top .links{justify-content:flex-start}}

/* About page v3 (layout: content/about + shortcodes about-path/about-funding; data: data/timeline.yaml, data/funding.yaml) */
.aboutpage .ab-hero{padding-top:var(--hero-pt);padding-bottom:0}
.aboutpage .ab-grid{display:grid;grid-template-columns:minmax(0,720px) 264px;justify-content:space-between;column-gap:96px;align-items:start;
  grid-template-areas:"head photo" "text photo"}
.aboutpage .ab-head{grid-area:head}
.aboutpage .ab-text{grid-area:text}
.aboutpage .ab-grid .ph{grid-area:photo;margin-top:30px}
.aboutpage .ab-head .ptitle{margin-top:14px}
.aboutpage .ab-role{margin-top:18px;font-size:17px;line-height:1.6;color:var(--ink2)}
.aboutpage .ab-role .r1{color:var(--ink)}
.aboutpage .ab-text .lead{margin-top:44px;padding-top:30px;border-top:1px solid var(--rule);font-size:28px;line-height:1.35;font-weight:400;letter-spacing:-.01em;color:var(--ink);font-variation-settings:'opsz' 36}
[data-lang=zh] .aboutpage .ab-text .lead{font-size:28px;line-height:1.5;letter-spacing:.02em}
.aboutpage .ab-text .body{margin-top:18px;font-size:18px;line-height:1.7;color:var(--ink);max-width:640px;text-wrap:pretty}
.aboutpage .ab-cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:96px;align-items:start}
.aboutpage .tl{position:relative;margin-top:6px}
.aboutpage .tl:before{content:'';position:absolute;left:131px;top:14px;bottom:18px;width:1px;background:var(--rule)}
.aboutpage .tl li{display:grid;grid-template-columns:112px 1fr;column-gap:40px;padding:0 0 30px;position:relative}
.aboutpage .tl li:last-child{padding-bottom:0}
.aboutpage .tl li:before{content:'';position:absolute;left:128px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--paper);border:1px solid var(--ink3)}
.aboutpage .tl .st{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink3);padding-top:4px;text-align:right}
[data-lang=zh] .aboutpage .tl .st{font-family:'WK';letter-spacing:.25em;font-size:14px;text-transform:none}
.aboutpage .tl .ro{font-size:20px;line-height:1.35;color:var(--ink)}
.aboutpage .tl .in{font-size:16px;line-height:1.55;color:var(--ink2);margin-top:4px}
.aboutpage .tl .in span{display:block}
.aboutpage .tl li.now:before{background:var(--acc);border-color:var(--acc);width:9px;height:9px;left:127px;top:10px}
.aboutpage .tl li.now .st,.aboutpage .tl li.now .ro{color:var(--acc)}
.aboutpage .side .blk+.blk{margin-top:52px}
.aboutpage .cl{margin-top:14px}
.aboutpage .cl li{display:grid;grid-template-columns:52px 1fr;column-gap:14px;padding:11px 0;border-bottom:1px solid var(--rule);font-size:16px;line-height:1.5;color:var(--ink2)}
.aboutpage .cl li:first-child{border-top:1px solid var(--rule)}
.aboutpage .cl .y{color:var(--ink3);font-variant-numeric:tabular-nums}
.aboutpage .cl.noy li{grid-template-columns:1fr}
.aboutpage .cl.svc li{row-gap:3px}
.aboutpage .cl.svc .svl{font-size:13px;line-height:1.4;letter-spacing:.04em;color:var(--ink3);font-weight:400}
[data-lang=zh] .aboutpage .cl.svc .svl{letter-spacing:.08em}
.aboutpage .ab-sec .sechead{margin-bottom:34px}
.aboutpage .close{margin-top:112px;padding:44px 0 8px;border-top:1px solid var(--rule);display:flex;align-items:center;gap:14px;font-size:19px;color:var(--ink2);text-wrap:pretty}
.aboutpage .close .cpaw{flex:none;width:22px;height:22px;opacity:.9}
.aboutpage .ab-grid .ph figcaption{display:none}
@media (max-width:1100px){.aboutpage .ab-grid{column-gap:48px}.aboutpage .ab-cols{column-gap:56px}}
@media (max-width:900px){.aboutpage .ab-cols{grid-template-columns:1fr;row-gap:64px}}
@media (max-width:760px){.aboutpage .ab-grid{grid-template-columns:1fr;grid-template-areas:"head" "photo" "text"}.aboutpage .ab-grid .ph{justify-self:start;margin-top:28px}.aboutpage .ab-grid .ph img{width:180px;height:206px}.aboutpage .ab-grid .ph figcaption{text-align:left}.aboutpage .ab-text .lead{margin-top:30px;padding-top:24px;font-size:23px}[data-lang=zh] .aboutpage .ab-text .lead{font-size:21px}.aboutpage .ab-text .body{font-size:17px}.aboutpage .ab-sec{padding-top:72px}.aboutpage .tl:before{left:7px}.aboutpage .tl li{grid-template-columns:1fr;padding-left:30px;padding-bottom:26px}.aboutpage .tl li:before{left:4px;top:6px}.aboutpage .tl li.now:before{left:3px;top:5px}.aboutpage .tl .st{text-align:left;padding-top:0;margin-bottom:4px}.aboutpage .tl .ro{font-size:18.5px}.aboutpage .close{margin-top:72px;font-size:17px;align-items:flex-start}}
.aboutpage .tl li{padding-bottom:24px}
.aboutpage .tl .st{font-size:14px;letter-spacing:.02em;text-transform:none;font-variant-numeric:tabular-nums;white-space:nowrap}
[data-lang=zh] .aboutpage .tl .st{font-family:var(--serif);letter-spacing:.02em;font-size:14px}
.aboutpage .tl .ro{font-size:19px}
.aboutpage .tl .in .sm{color:var(--ink3);font-size:14.5px;margin-top:2px}
.aboutpage .tl .ro .at{color:var(--ink2);font-size:16px}
.aboutpage .fundg{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:96px;align-items:start}
.aboutpage .fl{margin-top:14px}
.aboutpage .fl li{display:grid;grid-template-columns:96px 1fr;column-gap:18px;padding:14px 0;border-bottom:1px solid var(--rule)}
.aboutpage .fl li:first-child{border-top:1px solid var(--rule)}
.aboutpage .fl .y{color:var(--ink3);font-size:14.5px;font-variant-numeric:tabular-nums;padding-top:3px;white-space:nowrap}
.aboutpage .fl .t{font-size:17px;line-height:1.45;color:var(--ink);text-wrap:pretty}
.aboutpage .fl .m{font-size:14.5px;line-height:1.5;color:var(--ink2);margin-top:4px;text-wrap:pretty}
.aboutpage .fl .m .r{color:var(--acc);white-space:nowrap}
.aboutpage details.more{margin-top:0}
.aboutpage details.more summary{cursor:pointer;list-style:none;font-size:14.5px;color:var(--acc);padding:12px 0 0}
.aboutpage details.more summary::-webkit-details-marker{display:none}
.aboutpage details.more[open] summary{display:none}
.aboutpage details.more .fl{margin-top:0}
.aboutpage details.more .fl li:first-child{border-top:0}
.aboutpage .quiet{margin-top:40px;font-size:14.5px;line-height:1.6;color:var(--ink3)}
.aboutpage .quiet .lab{display:block;margin-bottom:6px}
@media (max-width:900px){.aboutpage .fundg{grid-template-columns:1fr;row-gap:56px}}
@media (max-width:760px){.aboutpage .fl li{grid-template-columns:1fr}.aboutpage .fl .y{padding:0 0 2px}.aboutpage .tl li{padding-bottom:22px}}
/* paper → concept: how this study measures each role (paper pages only) */
.pconcepts{padding-top:56px}
.pconcepts ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px;margin-top:14px}
.pconcepts li{padding:14px 0 16px;border-top:1px solid var(--rule)}
.pconcepts li a{font-size:19px;line-height:1.4}
.pconcepts li p{margin-top:6px;font-size:16px;line-height:1.55;color:var(--ink2)}
@media (max-width:800px){.pconcepts{padding-top:40px}.pconcepts ul{grid-template-columns:minmax(0,1fr)}}

/* Research page v5.3 (2026-11-03): mirrors research poster v5.3-A — three directions (Species/Time/Pressure)
   standing on a shared Evidence base (O2 plinth: pillar stems land on an accent rule; the base steps out). */
.rhead .ptitle{max-width:1080px;text-wrap:balance}
/* four equal facets 01-04 (Juan 15:48): one row on desktop, 2x2 on small screens; equal heights per row */
.facets ul{list-style:none;padding:0;margin:28px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sp-3) var(--gutter)}
.facets li{display:flex}
.facets a{display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:100%;padding:12px 2px 6px 0;border:0;border-top:1px solid var(--rule);border-radius:0;background:transparent;color:var(--ink);text-decoration:none;font-size:16px;line-height:1.35;transition:border-color .16s ease}
.facets a .fk{display:flex;align-items:baseline;gap:8px}
.facets a b{font-weight:400;font-style:italic;color:var(--ink3);font-size:14px}
.facets a .ft{color:var(--acc);font-size:14.5px;line-height:1.38;text-decoration:underline;text-decoration-color:rgba(148,80,31,.30);text-underline-offset:3px}
.facets a:hover,.facets a:focus-visible{border-top-color:var(--acc);text-decoration:none}
.facets a:hover .ft,.facets a:focus-visible .ft{text-decoration-color:var(--acc)}
.rcollab{margin-top:22px;font-size:16.5px;line-height:1.55;color:var(--ink);max-width:720px}
.rtemple{padding-top:80px}
/* 11 shared row tracks: kicker, title, question, figure, summary, key-papers label, papers, see-all, funding label, funding, stem */
.rcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:52px;grid-template-rows:repeat(10,auto) 56px}
.rcol{grid-row:span 11;display:grid;grid-template-rows:subgrid;row-gap:0;min-width:0;border-top:2px solid var(--acc);padding-top:20px;scroll-margin-top:24px}
.rkick{font-size:12.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink2);line-height:1.5;margin:0 0 10px;font-weight:500}
.rkick .zh{letter-spacing:.3em}
.rkick b{font-weight:400;font-style:italic;letter-spacing:0;text-transform:none;color:var(--ink3);font-size:15px;margin-right:10px}
.rct{font-size:28px;line-height:1.18;font-weight:400;letter-spacing:-.005em;font-variation-settings:'opsz' 36;color:var(--ink);text-wrap:balance}
.rq{font-style:italic;font-size:19px;line-height:1.45;color:var(--ink);margin-top:14px;text-wrap:pretty}
.rq .zh{font-style:normal}
.rfig{margin:24px 0 0;align-self:start}
.rfig img{display:block;width:100%;height:auto}
.rfig figcaption{font-size:14px;line-height:1.5;color:var(--ink3);margin-top:10px;text-wrap:pretty}
.rs{font-size:16.5px;line-height:1.62;color:var(--ink);margin-top:20px;text-wrap:pretty}
.rcol .lab,.rbase .lab{margin-bottom:6px}
.rkpl{margin-top:22px;border-top:1px solid var(--rule);padding-top:16px}
.rcol .rkp{align-self:start}
.rkp li{font-size:15px;line-height:1.48;color:var(--ink2);padding-left:14px;text-indent:-14px;margin-top:6px;text-wrap:pretty}
.rkp i{font-style:italic}
.rfl{margin-top:18px}.rfp{font-size:15px;line-height:1.5;color:var(--ink2);margin-bottom:28px;align-self:start}
.rcol .aside{margin-top:20px;padding:16px 20px;max-width:none}
.rcol .aside .at{font-size:18px}.rcol .aside .lk{gap:8px 20px;font-size:15px}
/* equal stems: own 56px row track, so all three are the same length and land on the base */
.stem{justify-self:center;align-self:stretch;width:4px;background:var(--acc)}
.rbase{position:relative;background:var(--base);border-top:2px solid var(--acc);border-radius:0 0 4px 4px;margin:0 -28px;padding:30px 28px 36px;scroll-margin-top:24px}
.rbh{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);column-gap:52px;align-items:start}
.rbh .rq{margin-top:1px;font-size:21px}
.rfig.wide{margin-top:30px}
/* the wide workflow figure always shows whole; on phones a tap opens the full-resolution image */
.rzoom{display:block;cursor:zoom-in}.rzoom-hint{display:none}
.rfull{white-space:nowrap}
.rbt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:52px;margin-top:26px}
.rbt .rs{margin-top:0}
.rbase .xref{margin-top:14px}
/* AA: ink3 is 4.33:1 on the deeper base fill, so text inside the base uses ink2 (5.41:1) */
.rbase .lab,.rbase .xref,.rbase figcaption,.rbase .rkick b{color:var(--ink2)}/* AA on --base: ink3 is 4.33:1 there */
.xref{font-size:14.5px;color:var(--ink3);margin-top:12px;max-width:760px}
/* home: poster headline line above the intro; Evidence base link set apart in the RESEARCH row */
.intro.hqline{font-size:21px;line-height:1.45;font-style:italic;color:var(--ink);max-width:700px;margin-top:22px;text-wrap:balance}
.intro.hqline .zh{font-style:normal;font-size:20px}
.intro.hqline+.intro{margin-top:10px}
@media (max-width:1100px){
  .rcols{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:64px}
  .rcol{grid-row:auto;display:block}
  .rfig{max-width:640px}
  .rfig.wide{max-width:none}
  .stem{display:none}
  .rbase{margin:64px calc(-1*var(--pad)) 0;padding:30px var(--pad) 36px;border-radius:0}
  .rbh,.rbt{grid-template-columns:minmax(0,1fr)}.rbh .rq{margin-top:12px}.rbt .rkpw{margin-top:24px}
}
@media (max-width:760px){
  .rct{font-size:25px}.rq{font-size:18px}.rbh .rq{font-size:18.5px}.facets a{font-size:15px;padding:7px 11px}
  .rzoom-hint{display:inline}
  .intro.hqline{font-size:18.5px}
}
.rkick .zh{font-size:14px}
.hqc{display:inline-block}
.rall{margin-top:12px;font-size:15.5px}
@media (max-width:760px){.facets ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-3) var(--gutter)}}

/* Join cards (2026-11-05): mirror poster v5.9 "Join the group" — three columns, near-paper fill, hairline frame, accent heading over a thin rule. */
.jcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:stretch}
.jflow>.jcols>.jc+.jc{margin-top:0}
.jc{background:var(--tag);border:0;border-radius:4px;padding:26px 28px 30px}
.jc .sechead{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--rule)}
.jc .sechead .jh{color:var(--ink);font-weight:400}
.jc .prose{font-size:17px;line-height:1.6;color:var(--ink)}
@media (max-width:900px){.jcols{grid-template-columns:1fr;gap:20px}}

/* About: Yixi talk on a --tag panel (kept). */
.aboutpage #yixi{background:var(--tag);padding-top:40px;padding-bottom:48px}
.aboutpage #yixi .pq blockquote{border-color:var(--rule)}
@media (max-width:760px){.aboutpage #yixi{padding-top:28px;padding-bottom:32px}}
/* Talks: key talk (Yixi) on a --tag panel (kept). */
.talklist li.tkey{background:var(--tag);border-bottom-color:transparent;padding:16px 18px 18px!important;margin:4px -18px 0}
@media (max-width:760px){.talklist li.tkey{margin:4px -12px 0;padding:14px 12px 16px!important}}

/* Site type scale v1 (2026-11-05, approved): one shared hierarchy. Ochre 2px rules stay Research-only (.rcol/.rbase = directions 01–04). */
:root{--fs-h1:56px;--lh-h1:1.1;--fs-h2:28px;--lh-h2:1.25;--lh-h2-zh:1.45;--fs-h3:23px;--lh-h3:1.3;--fs-body:18px;--lh-body:1.6;--fs-small:14.5px;--sec-gap:80px}
@media (max-width:760px){:root{--fs-h1:38px;--fs-h2:24px;--fs-h3:20px;--fs-body:17px;--fs-small:14px;--sec-gap:56px}}
.ptitle{font-size:var(--fs-h1);line-height:var(--lh-h1)}
.h2,.rct,.tindex .tc-t,.jsec .sechead .jh,.aboutpage .ab-text .lead,.pyear>.yr,.tyear>.yr{font-size:var(--fs-h2);line-height:var(--lh-h2)}
[data-lang=zh] .aboutpage .ab-text .lead{font-size:var(--fs-h2);line-height:var(--lh-h2-zh)}
.h3,.jpt{font-size:var(--fs-h3);line-height:var(--lh-h3)}
.prose,.aboutpage .ab-text .body,.jc .prose{font-size:var(--fs-body);line-height:var(--lh-body)}
.note,.note.small,.lk .cnote,.talklist .tv{font-size:var(--fs-small);color:var(--ink3)}
.pmeta{font-size:var(--fs-small);color:var(--ink)}
.sechead{border-bottom:1px solid var(--rule)}
.aboutpage .ab-sec{padding-top:var(--sec-gap)}
.aboutpage #yixi{margin-top:var(--sec-gap)}
.jflow>*+*{margin-top:var(--sec-gap)}

/* About hero v2 (2026-11-06, branch preview): portrait locked to the text block. Variants hv-a / hv-b / hv-c on .ab-hero; one is kept after review. */
.aboutpage .ab-hero[class*=hv-] .ab-grid{justify-content:stretch;align-items:start}
.aboutpage .ab-hero[class*=hv-] .ab-grid .ph{margin:0;position:relative;align-self:stretch;overflow:hidden;background:var(--base)}
.aboutpage .ab-hero[class*=hv-] .ab-grid .ph::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(46,41,38,.09);pointer-events:none}
.aboutpage .ab-hero[class*=hv-] .ab-grid .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 22%;filter:saturate(.94) contrast(.98)}
.aboutpage .ab-hero[class*=hv-] .ab-text .body{max-width:680px}
.aboutpage .ab-hero[class*=hv-] .lk{font-size:17px;gap:12px 40px;margin-top:28px}
/* edges sit on the text, not the line boxes: top = kicker glyph top (+3px), bottom = last line's glyph bottom (−5px half-leading) */
.aboutpage .ab-hero[class*=hv-] .ab-grid .ph{margin:3px 0 5px}
/* A: photo = name block height (kicker top → last affiliation line), text full width below */
.aboutpage .ab-hero.hv-a .ab-grid{grid-template-columns:minmax(0,1fr) 264px;column-gap:64px;grid-template-areas:"head photo" "text text"}
.aboutpage .ab-hero.hv-a .ab-grid .ph img{object-position:52% 24%;transform:scale(1.3);transform-origin:52% 24%}
/* B: photo spans head/text rows, but its natural ratio never depends on copy length. */
.aboutpage .ab-hero.hv-b .ab-grid{grid-template-columns:minmax(0,720px) minmax(0,1fr);column-gap:96px;grid-template-areas:"head photo" "text photo"}
.aboutpage .ab-hero.hv-b .ab-grid .ph{align-self:start;aspect-ratio:960/1250;width:100%;max-height:none}

/* C: author card, portrait left of the name block, text on the site's left edge below */
.aboutpage .ab-hero.hv-c .ab-grid{grid-template-columns:176px minmax(0,1fr);column-gap:40px;grid-template-areas:"photo head" "text text"}
.aboutpage .ab-hero.hv-c .ab-grid .ph img{object-position:50% 22%;transform:scale(1.75);transform-origin:52% 24%}
@media (max-width:1100px){.aboutpage .ab-hero.hv-b .ab-grid{column-gap:48px}}
@media (max-width:760px){
  .aboutpage .ab-hero[class*=hv-] .ab-grid{grid-template-columns:1fr;grid-template-areas:"head" "photo" "text"}
  .aboutpage .ab-hero[class*=hv-] .ab-grid .ph{margin:28px 0 0;align-self:auto;aspect-ratio:4/3;width:100%;justify-self:stretch}
  .aboutpage .ab-hero.hv-b .ab-grid .ph,.aboutpage .ab-hero.hv-a .ab-grid .ph{margin:28px 0 0}
  .aboutpage .ab-hero[class*=hv-] .ab-grid .ph img{object-position:52% 14%}
  .aboutpage .ab-hero.hv-a .ab-grid .ph img{transform:none}
  .aboutpage .ab-hero.hv-b .ab-grid .ph{aspect-ratio:960/1250;max-height:none}
  .aboutpage .ab-hero.hv-c .ab-grid{grid-template-areas:"photo" "head" "text"}
  .aboutpage .ab-hero.hv-c .ab-grid .ph{margin:0 0 24px;width:112px;aspect-ratio:4/5}
  .aboutpage .ab-hero.hv-c .ab-grid .ph img{object-position:50% 22%}
  .aboutpage .ab-hero[class*=hv-] .lk{font-size:16px;gap:10px 28px}
}

/* Mobile navigation: wrap rather than shrink targets; never widen the page. */
@media (max-width:760px){
  html,body{overflow-x:clip;max-width:100%}
  nav.top,.wrap,.phead{max-width:100%}
  nav.top .links{display:flex;flex-wrap:wrap;gap:0 10px;justify-content:flex-start;overflow-x:visible;max-width:100%;width:100%;min-width:0;padding-bottom:4px}
  nav.top .links li{min-width:0}
  nav.top .links a{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;line-height:1.3;white-space:nowrap}
  nav.top .lang{min-height:44px;min-width:44px;align-items:center;padding:8px 4px}
  .ptitle,.plead{max-width:100%;overflow-wrap:anywhere}
}

/* Students & Mentoring (/mentoring/, 2026-11-09). v6 extension, scoped to body.mentoringpage.
   Reuses site tokens. Editorial lists + dual SURF preview (A list / B gallery via ?surf=). */
.mentoringpage .mhead .ptitle{margin-top:14px}
.mentoringpage .mhead .lab{margin:0}
.mentoringpage .mindex{display:flex;flex-wrap:wrap;gap:0 28px;margin-top:20px;font-size:16px}
.mentoringpage .mindex a{display:inline-flex;align-items:center;min-height:44px}
.mentoringpage .msec{padding-top:var(--sec-gap);scroll-margin-top:24px}
.mentoringpage .msec .sechead{margin-bottom:12px}
.mentoringpage .mmeta{font-size:var(--fs-small);color:var(--ink3);white-space:nowrap}
.mentoringpage .mrow{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:32px;align-items:baseline;padding:14px 0 15px;border-bottom:1px solid var(--rule)}.mentoringpage .mrow.srow{align-items:start}
.mentoringpage .myr{margin:0;color:var(--ink3);font-size:var(--fs-small);line-height:1.45}
.mentoringpage .myr .y{display:block;font-size:20px;line-height:1.45;font-style:italic;font-variation-settings:'opsz' 24}
.mentoringpage .myr .y-dup{visibility:hidden}
.mentoringpage .vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mentoringpage .mout.is-award,.mentoringpage .sout.is-award{margin-top:6px;line-height:1.45}
.mentoringpage .aico-wrap{display:inline;color:var(--acc,#94501F)}
.mentoringpage .aico{display:inline-block;width:0.88em;height:0.88em;vertical-align:-0.10em;margin-right:0.35em}
[data-lang=zh] .mentoringpage .aico{width:0.88em;height:0.88em;vertical-align:-0.10em}
[data-lang=en] .mentoringpage .aico{width:0.70em;height:0.70em;vertical-align:0em}

.mentoringpage .mline{margin:0;font-weight:400;font-size:18px;line-height:1.55;color:var(--ink2);overflow-wrap:break-word}
.mentoringpage .mname{font-size:19px;line-height:1.45;color:var(--ink);font-variation-settings:'opsz' 28;white-space:nowrap}
.mentoringpage .msep{color:var(--ink3)}
.mentoringpage .mline .msup{display:inline;margin:0 0 0 .55em;font-size:var(--fs-small);line-height:1.55;color:var(--ink3);font-weight:400;font-style:normal}
.mentoringpage .msup{margin:4px 0 0;font-size:var(--fs-small);line-height:1.55;color:var(--ink3);font-weight:400}
.mentoringpage .nowrap{white-space:nowrap}
.mentoringpage .mout{margin:6px 0 0;font-size:15.5px;line-height:1.55;color:var(--ink2)}

.mentoringpage .mpapers{margin:6px 0 0;padding:0;list-style:none;max-width:880px}
.mentoringpage .mpapers li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;font-size:16px;line-height:1.45}
.mentoringpage .mpapers .py{font-style:italic;color:var(--ink3);padding-top:9px}
.mentoringpage .mpapers a{display:inline-block;padding:8px 0 2px}
.mentoringpage .mpapers .pj{display:block;font-size:var(--fs-small);line-height:1.5;color:var(--ink3);padding-bottom:4px}
.mentoringpage .mpapers .ext{font-size:14px}

/* SURF preview toggle (preview only; production choice unset) */

/* SURF A — editorial list with uniform contained thumbnail */

.mentoringpage .slist{margin:0}
.mentoringpage .srow .sbody{display:grid;grid-template-columns:88px minmax(0,1fr);column-gap:22px;align-items:start}
.mentoringpage .sthumb{display:block;text-decoration:none}
.mentoringpage .sthumb:hover{text-decoration:none}
.mentoringpage .sframe{display:flex;align-items:center;justify-content:center;width:88px;height:118px;padding:6px;background:var(--paper);border:1px solid var(--rule);box-sizing:border-box}
.mentoringpage .sthumb:hover .sframe,.mentoringpage .sthumb:focus-visible .sframe{border-color:var(--acc)}
.mentoringpage .sframe img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.mentoringpage .srow .scopy{padding-top:0}
.mentoringpage .scode{margin:0 0 4px;font-size:var(--fs-small);line-height:1.5;letter-spacing:.03em;color:var(--ink3)}
.mentoringpage .syr{font-style:italic;margin-right:.45em}
.mentoringpage .stitle{margin:0;font-weight:400;font-size:18px;line-height:1.45;color:var(--ink);font-variation-settings:'opsz' 24}
.mentoringpage .steam,.mentoringpage .sout{margin:6px 0 0;font-size:var(--fs-small);line-height:1.55;color:var(--ink3);overflow-wrap:break-word}
.mentoringpage .sout{color:var(--ink2)}

/* SURF B — refined equal-frame gallery, continuous grid, year in caption */

.mentoringpage .mclose{margin-top:var(--sec-gap);padding-top:26px;border-top:1px solid var(--rule);font-size:19px;color:var(--ink2)}
.mentoringpage .mclose a{display:inline-flex;align-items:center;min-height:44px}
footer.site .flink{margin-top:14px;font-size:var(--fs-small)}
footer.site .flink a{color:var(--ink2)}
footer.site .flink a:hover{color:var(--acc)}
.tmore{margin-top:28px;padding-top:18px;border-top:1px solid var(--rule);font-size:16px;color:var(--ink2)}/* inside .wrap: the divider spans the full page column */
.tmore a{display:inline-flex;align-items:center;min-height:44px}

@media (min-width:641px) and (max-width:1000px){
  
}
@media (max-width:760px){
  .mentoringpage .mindex{gap:0 22px;margin-top:14px}
  .mentoringpage .msec .sechead{display:block;padding-bottom:14px}
  .mentoringpage .mmeta{margin-top:6px;white-space:normal}
  .mentoringpage .mrow{grid-template-columns:minmax(0,1fr);row-gap:6px;padding:14px 0 16px}
  .mentoringpage .myr{display:block;padding:0}
  .mentoringpage .myr .y{font-size:18px}
  .mentoringpage .mname{font-size:18px;white-space:normal}
  .mentoringpage .mline{font-size:17px}
  .mentoringpage .msup,.mentoringpage .mout{font-size:var(--fs-small)}
  .mentoringpage .mpapers li{grid-template-columns:38px minmax(0,1fr);gap:8px}
  .mentoringpage .srow .sbody{grid-template-columns:64px minmax(0,1fr);column-gap:14px}
  .mentoringpage .mrow .myr:has(.y-dup){display:none}
  .mentoringpage .sframe{width:64px;height:86px;padding:4px}
  .mentoringpage .stitle{font-size:17px}
  
  .mentoringpage .mclose{font-size:18px}
  .tmore{font-size:15.5px}
}
@media (max-width:640px){
  
}

/* Home: selected findings (stacked rows) + public talk slot (homepage sample v2, 2026-11-09). Reuses .band/.sechead/.lab tokens and the hairline-row pattern of Talks/Mentoring; normal weights only. */
.home h2.lab{font-weight:400}
.home .hfind{padding-top:var(--sec-gap)}
.home .hfind .sechead{margin-bottom:0}
.hfl{list-style:none;margin:0;padding:0}
.hfl>li.frow{padding:26px 0}
.frow{display:grid;grid-template-columns:280px minmax(0,1fr);column-gap:36px;align-items:start;padding:26px 0;border-bottom:1px solid var(--rule)}
.frow .fimg{display:block;border-radius:4px;overflow:hidden;background:var(--tag)}
.frow .fimg img{width:100%;aspect-ratio:16/10;object-fit:cover}
.frow .ftx{min-width:0;padding-top:2px}
.frow .ftt{font-size:var(--fs-h3);line-height:1.35;font-weight:400;font-variation-settings:'opsz' 24;max-width:720px}
.frow .ftt a{color:var(--ink)}
.frow .ftt a:hover{color:var(--acc);text-decoration:none}
.frow .fmeta{margin-top:8px;font-size:var(--fs-small);line-height:1.55;color:var(--ink3);max-width:720px;overflow-wrap:anywhere}
.frow .flk{display:flex;flex-wrap:wrap;gap:0 24px;margin-top:6px;font-size:15px}
.frow .flk a{display:inline-flex;align-items:center;min-height:44px}
.frow .fcomp{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:14px;margin-top:6px;padding-top:12px;border-top:1px solid var(--rule);font-size:var(--fs-small);line-height:1.6;max-width:720px}
.frow .fcomp .fcl{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--ink3)}
.frow .fcomp .fcl .zh{letter-spacing:.3em;font-size:12.5px}
/* Public talk (2026-11-11, Juan: the label and the talk title had drifted apart): label above, talk line below, both from column 1 —
   the same reading order as the homepage's other labelled sections (Selected publications, Courses) and as mobile. */
.home .htalk{display:block;margin-top:var(--sp-10);padding-top:var(--sp-4);border-top:1px solid var(--rule)}
.home .htt{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-top:8px;font-size:17px}
.home .htm{font-size:var(--fs-small);color:var(--ink3)}
.home .htalk+.hlinks{margin-top:28px}
@media (min-width:761px) and (max-width:1100px){
  .frow{grid-template-columns:220px minmax(0,1fr);column-gap:28px}
}
@media (max-width:760px){
  .home .hfind{padding-top:64px}
  .frow{grid-template-columns:minmax(0,1fr);row-gap:14px}
  .frow .fimg{width:100%}
  .hfl>li.frow{padding:20px 0}
  .frow .ftt{font-size:18px;line-height:1.4}
  .frow .fmeta{margin-top:6px}
  .frow .flk{gap:0 18px;font-size:14.5px;margin-top:2px}
  .frow .flk a{min-height:36px}
  .home .htalk{margin-top:var(--sp-8)}
}
/* Paper pages: abstract-only grid, original-language abstract (2026-11-10). */
.pgrid.pgrid-one{grid-template-columns:minmax(0,1fr)}
.absorig{margin-top:22px;max-width:680px}
.absorig summary{cursor:pointer;font-size:14.5px;color:var(--ink3);letter-spacing:.02em}
.absorig .prose{margin-top:12px;font-size:16px}
/* Publications: explainer tag, thumbnail play mark and explainer lightbox (2026-11-10). */
.xtag{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:3px;background:var(--tag);color:var(--ink3);font-size:12px;line-height:1.4;letter-spacing:.06em;vertical-align:2px;white-space:nowrap}
.pthumb .pplay{position:absolute;left:50%;top:50%;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%;background:rgba(251,249,246,.92);color:var(--acc);display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.pthumb .pplay svg{width:18px;height:18px}
.pthumb:hover .pplay,.pthumb:focus-visible .pplay{background:var(--acc);color:var(--paper)}
html.xlock{overflow:hidden}
.xlb{width:min(1120px,calc(100vw - 48px),calc((100vh - 120px) * 16 / 9));max-width:none;max-height:none;padding:12px 16px 16px;border:0;border-radius:6px;background:var(--paper);color:var(--ink);box-shadow:0 24px 64px rgba(58,46,39,.28);overflow:visible}
.xlb::backdrop{background:rgba(58,46,39,.62)}
.xlbar{display:flex;align-items:center;gap:8px 20px;margin-bottom:10px}
.xlbar h2{flex:1;min-width:0;margin:0;font-size:16px;line-height:1.4;font-weight:400;color:var(--ink2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xlbar .xfull{font-size:14.5px;white-space:nowrap}
.xclose{flex:none;display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-right:-8px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ink2);cursor:pointer}
.xclose:hover{background:var(--tag);color:var(--acc)}
.xclose svg{width:16px;height:16px}
.xlb .xframe{position:relative;aspect-ratio:16/9;background:var(--paper);border-radius:4px;overflow:hidden;outline:1px solid var(--rule)}
.xlb iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (prefers-reduced-motion:no-preference){.xlb[open]{animation:xlbin .2s ease-out}.xlb[open]::backdrop{animation:xlbfade .2s ease-out}@keyframes xlbin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes xlbfade{from{opacity:0}to{opacity:1}}}
@media (max-width:760px){.pthumb .pplay{width:44px;height:44px;margin:-22px 0 0 -22px}.xlb{width:100vw;height:100vh;height:100dvh;margin:0;padding:12px var(--pad) 24px;border-radius:0;box-shadow:none}.xlb[open]{display:flex;flex-direction:column;justify-content:center}.xlbar{flex-wrap:wrap;position:absolute;top:12px;left:var(--pad);right:var(--pad)}.xlbar h2{flex-basis:calc(100% - 52px);white-space:normal}.xlbar .xfull{order:3}}
/* Accent rule (2026-11-10, carried over from lab poster v6.91 — Juan: "那个年份为什么要用锈色呢？"; "02 的那个 master thesis，为啥要用锈色呀？").
   Iron rust (--acc) means one thing: something you can act on (links, CTAs, current nav item / language) plus the few structural
   markers already in the system (research column rules, About "now" dot, paw). Never on years, role labels, document-type notes,
   unlinked titles or translations: those take the ink scale (--ink / --ink2 / --ink3). */
/* Publication titles read as titles (ink); the DOI is the one rust destination. A linked title stays clickable and turns rust on hover/focus (Juan 2026-11-10 15:19). */
.pub .ptl,.pub a.ptl{color:var(--ink)}
.pub a.ptl:hover,.pub a.ptl:focus-visible{color:var(--acc);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.aboutpage .fl .m .r{color:var(--ink2)}
.aboutpage .tl li.now .st{color:var(--ink2)}
.aboutpage .tl li.now .ro{color:var(--ink)}.aboutpage .tl li.now .ro .at{color:var(--ink2)}
/* One divider between a list and the line that closes the page (2026-11-10): the closing line owns the rule,
   so the last row of the last list drops its own; spacing above and below the rule is balanced. */
.mentoringpage .msec:last-of-type .mlist>.mrow:last-child{border-bottom:0}
.mentoringpage .mclose{margin-top:24px;padding-top:26px}
/* Section note: one short factual line under a section head (e.g. what SURF is). */
.mentoringpage .mnote{margin:0 0 16px;max-width:760px;font-size:var(--fs-small);line-height:1.6;color:var(--ink2)}
/* Contextual links between published research, concepts and full text. */
.paper-pathway a{display:inline-block;padding:6px 0;font-size:17px;line-height:1.5}
.paper-pathway{padding-top:12px;margin-top:8px;margin-bottom:24px}
.paper-access{margin-top:16px;margin-bottom:20px}.paper-access p{font-size:17px;line-height:1.6}.paper-access a{display:inline-block;padding:6px 0}.access-meta{color:var(--ink2)}
@media(max-width:760px){.paper-pathway a,.paper-access a{min-height:44px;display:inline-flex;align-items:center;gap:6px}}
/* ===== Layout spec v1 (2026-11-10) — docs/LAYOUT_SPEC.md is the contract; scripts/layout_lint.py checks it. =====
   One grid, one hero, one spacing scale. Page CSS may place things on these tokens; it may not invent new ones. */
:root{--cols:12;--gutter:32px;--hero-pt:80px;--hero-k2h:14px;--hero-after:56px;--fs-h1-sub:46px;--lh-h1-sub:1.15;
  --sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--sp-6:32px;--sp-7:40px;--sp-8:48px;--sp-9:56px;--sp-10:64px;--sp-11:72px;--band-gap:112px}
@media (max-width:760px){:root{--cols:4;--gutter:16px;--hero-pt:40px;--hero-after:40px;--fs-h1-sub:30px;--band-gap:72px}}
/* Hero top (spec §3, 2026-11-11): the ridge SVG ends at its drawn baseline (viewBox 104 62 1232 32; it used to carry 76 units of empty space below the line),
   so --hero-pt IS the visible gap from the ridge line to the kicker: 80px (was 72 + 76 empty = 149 at 1440), 40px on mobile (was 44 + ~22 = 66).
   Home keeps its old, more generous masthead spacing: --hero-pt-home adds back the removed tail (76/1232 of the ridge width). */
:root{--hero-pt-home:48px}
@media (max-width:760px){:root{--hero-pt-home:16px}}
.hero{padding-top:var(--hero-pt-home)}
/* Home B+: centered masthead + hairline divider + 12-column research entry (desktop two-column, mobile early figure) */
section.hero.wrap{padding:var(--hero-pt-home) var(--pad) 0;min-height:0;display:block;text-align:left}
.hero-mast{text-align:center}
.hero-mast .name{font-size:clamp(88px,8.2vw,118px);margin-top:12px}
.hero-mast .cnname{margin-top:8px;font-size:25px}
.hero-mast .role{margin-top:12px;font-size:20px}
.hero-mast .inst{margin-top:6px}
.home-entry{border-top:1px solid var(--rule);margin-top:var(--sp-5);padding-top:var(--sp-5)}
.home-entry .hqline{font-size:24px;line-height:1.35;margin:0;max-width:none;text-wrap:balance}
.home-entry .hqline .zh{font-size:23px;font-style:normal}
.home-entry .home-prose{margin:14px 0 0;max-width:none}
.home-entry .cta{justify-content:flex-start;margin-top:20px}
.home-entry .home-fig{margin:0;align-self:start}
.home-entry .home-fig img{width:100%;height:auto;display:block}
.home-entry .home-fig figcaption{margin-top:8px;font-size:var(--fs-small);line-height:1.45;color:var(--ink3);text-wrap:pretty}
.home-entry .next{margin-top:24px;padding:16px 0 0;min-height:0;border-top:1px solid var(--rule);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px var(--gutter);justify-content:start;white-space:normal}
.home-entry .next .h{grid-column:1 / -1;margin-bottom:2px}
.home-entry .next a{width:auto}
/* Two columns from 1024px. Text columns 1-6; the figure takes columns 7-12 below 1280px and 8-12 from 1280px,
   so it never drops below ~420px wide (1100->1101 used to shrink it from 393px to 271px). */
@media (min-width:1024px){
  .home-entry{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);align-items:start}
  .home-entry .hqline{grid-column:1 / 7;grid-row:1}
  .home-entry .home-prose{grid-column:1 / 7;grid-row:2}
  .home-entry .cta{grid-column:1 / 7;grid-row:3}
  .home-entry .next{grid-column:1 / 7;grid-row:4}
  .home-entry .home-fig{grid-column:7 / 13;grid-row:1 / 5}
}
@media (min-width:1280px){
  .home-entry .home-fig{grid-column:8 / 13}
}
/* 761-1023px: one column; the figure follows the question and spans columns 1-8. */
@media (min-width:761px) and (max-width:1023px){
  .home-entry{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter)}
  .home-entry .hqline,.home-entry .cta,.home-entry .home-prose,.home-entry .next{grid-column:1 / -1}
  .home-entry .home-fig{grid-column:1 / 9;margin-top:18px}
  .home-entry .cta{margin-top:16px}
  .home-entry .home-prose{margin-top:16px}
}
/* Phones: the signature is tighter (~60px) so the figure comes early; reading text keeps its normal size
   (institution 12px, caption 14px, intro 17px) rather than shrinking to fit one screen. */
@media (max-width:760px){
  .hero-mast .name{font-size:clamp(54px,15.5vw,64px);margin-top:4px}
  .hero-mast .cnname{margin-top:4px;font-size:19px}
  .hero-mast .role{margin-top:6px;font-size:17px}
  .hero-mast .inst{margin-top:4px;font-size:13.5px}
  .home-entry{margin-top:var(--sp-3);padding-top:var(--sp-3)}
  .home-entry .hqline{font-size:18.5px}
  .home-entry .hqline .zh{font-size:18.5px}
  .home-entry .home-fig{margin:10px 0 0}
  .home-entry .home-fig figcaption{margin-top:6px;line-height:1.4}
  .home-entry .cta{margin-top:8px;gap:8px 24px;font-size:15.5px}
  .home-entry .home-prose{margin-top:16px;font-size:17px}
  .home-entry .next{margin-top:24px;padding:14px 0 0;grid-template-columns:1fr}
}
/* Hero pattern: kicker (.lab / .crumb) at the top of the hero, h1 --hero-k2h below it, first content --hero-after below the hero. */
.phead,.c204 .chero,.aboutpage .ab-hero{padding-top:var(--hero-pt);padding-bottom:0}
.phead>.ptitle,.c204 .chero .ptitle,.aboutpage .ab-head .ptitle,.mentoringpage .mhead .ptitle{margin-top:var(--hero-k2h)}
:is(.phead,.c204 .chero,.aboutpage .ab-hero)+:is(section,div,nav,article,aside){margin-top:0;padding-top:var(--hero-after)}
:is(.phead,.c204 .chero,.aboutpage .ab-hero)+:is(section,div,nav,article,aside)>:first-child{margin-top:0;padding-top:0}
.tindex .phead+section>.tcards,.mentoringpage .mhead+.mentoring>.msec:first-child,.talks>.tyear:first-child{margin-top:0;padding-top:0}
/* Split heroes sit on the 12-column grid: course hero text 1–6, figure 7–12. Join uses the shared stacked hero (kicker, h1, .plead) since 2026-11-11. */
@media (min-width:1101px){.c204 .chero>:first-child{grid-column:1 / 7}.c204 .chero>:not(:first-child){grid-column:7 / -1}}
@media (max-width:1100px){.c204 .chero{grid-template-columns:minmax(0,1fr)}}
.jcols{column-gap:var(--gutter)}
/* Home: the RESEARCH row wraps before it can push the page wider than the screen. */
@media (max-width:1100px){.hero .next{flex-wrap:wrap;white-space:normal;row-gap:var(--sp-3)}}
/* Paper pages, mobile: the open-access row is a 44px tap target; its internal padding counts toward --hero-after. */
@media (max-width:760px){.phead+section.paper-access{padding-top:calc(var(--hero-after) - var(--sp-2))}}

/* ===== Layout spec v2 (2026-11-11): both edges of every block land on the 12-column grid ===== */
:root{--lead-cols:6;--fs-lead:19px;--lh-lead:1.6}
@media (max-width:900px){:root{--lead-cols:9}}
/* One lead size site-wide (spec §3/§8, 2026-11-11 split): every .plead is the type-scale lead, 19/1.6 in --ink2, at every width.
   The lead's edges land on the edges of the grid directly beneath it. Research (four facets): columns 1–6 = facet 2 (1–9 = facet 3 at 761–900). */
.plead{font-size:var(--fs-lead);line-height:var(--lh-lead)}
/* Hero variant .hero--split (reusable): over a three-card grid, the kicker and title sit over card 1 (columns 1–4) and the lead over cards 2–3 (columns 5–12),
   so both lead edges are card edges. The lead's first line has its cap height level with the title's (--hs-t). It stacks below 901px, where the cards stack, and the lead then runs full width. */
@media (min-width:901px){.hero--split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);align-items:start}
  .hero--split>.hs-head{grid-column:1 / 5}
  .hero--split>.hs-body{grid-column:5 / -1;margin-top:var(--hs-t,0px)}
  .hero--split>.hs-body>.plead:first-child{margin-top:0}}
:root{--hs-t:28px}html[lang^=zh]{--hs-t:32px} /* measured: title ink top − lead ink top at 1440 (EN 269−241, ZH 271−239); the title is 56px at every width ≥761 */
.hero--split>.hs-head>.ptitle{margin-top:var(--hero-k2h)}
.hero--split .plead{max-width:none}
/* Closing phrases and unbreakable CJK/EN tokens stay together, so no line ends with 1–2 orphan characters or split words. */
.nw{white-space:nowrap}
/* A span of n columns is (100% + gutter) × n/12 − gutter of the content box.
   Research: the single-sentence lead and collaboration line span columns 1–12 (facets 1–4) so they sit cleanly on one line on desktop without awkward 1–2 word orphans while keeping both edges flush with the facet grid. */
.rhead{--lead-cols:12}
.rhead .plead,.rhead .rcollab{text-wrap:pretty}
.rcollab a{white-space:nowrap}
@media (min-width:761px){.plead,.rcollab{max-width:calc((100% + var(--gutter)) * var(--lead-cols) / 12 - var(--gutter))}}
/* About: desktop split — text columns 1–7, side columns 9–12 (column 8 is the breathing gap; 8–12 at 901–1100px).
   Hero (portrait), Academic path | service, Funding research | teaching and the Yixi video | quote all share it, so their edges line up down the page. */
@media (min-width:901px){.aboutpage .ab-hero.hv-b .ab-grid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);justify-content:stretch;
   grid-template-areas:"head head head head head head head . photo photo photo photo" "text text text text text text text . photo photo photo photo"}
  .aboutpage .ab-hero.hv-b .ab-text .body{max-width:none}}
@media (min-width:901px) and (max-width:1100px){.aboutpage .ab-hero.hv-b .ab-grid{grid-template-areas:"head head head head head head head photo photo photo photo photo" "text text text text text text text photo photo photo photo photo"}}
/* About portrait: stack with the lower modules; both photo edges stay on the site grid.
   Three mobile columns retain useful subject detail without a fixed-pixel cap. */
@media (max-width:900px){
  .aboutpage .ab-hero.hv-b .ab-grid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter);grid-template-areas:"head head head head head head head head head head head head" "photo photo photo photo photo photo . . . . . ." "text text text text text text text text text text text text"}
  .aboutpage .ab-hero.hv-b .ab-grid .ph{margin:28px 0 0;align-self:start}
  .aboutpage .ab-hero.hv-b .ab-text .body{max-width:none}
}
@media (max-width:760px){.aboutpage .ab-hero.hv-b .ab-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-areas:"head head head head" "photo photo photo ." "text text text text"}}
@media (max-width:480px){.aboutpage .ab-hero.hv-b .ab-grid{grid-template-areas:"head head head head" "photo photo photo photo" "text text text text"}}
@media (min-width:901px){.aboutpage .ab-cols,.aboutpage .fundg{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter)}
  .aboutpage :is(.ab-cols,.fundg)>:first-child{grid-column:1 / 8}.aboutpage :is(.ab-cols,.fundg)>:nth-child(2){grid-column:9 / 13}}
@media (min-width:901px) and (max-width:1100px){.aboutpage :is(.ab-cols,.fundg)>:nth-child(2){grid-column:8 / 13}}
@media (min-width:1101px){.yx{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter)}.yx>:first-child{grid-column:1 / 8}.yx>:nth-child(2){grid-column:9 / 13}}
/* Home: publication rows — thumbnail columns 1–3, text from column 4; teaching cards 6 + 6 columns with the gutter. (The public-talk row no longer borrows the thumbnail column: it has no thumbnail, so its title sat 312 px from its label.) */
@media (min-width:761px){.frow{grid-template-columns:calc((100% + var(--gutter)) * 3 / 12 - var(--gutter)) minmax(0,1fr);column-gap:var(--gutter)}
  html .hteach .t-grid-3col.t-grid-2{column-gap:var(--gutter)}
  .twocol{column-gap:var(--gutter)}}
/* Footer: identity columns 1–6, Academic profiles 7–9, Explorations & tools 10–12; the bottom band carries only © and the paw (2026-11-11: the About/Students/Talks/Join line was removed — the top nav already carries them). */
@media (min-width:761px){.fgrid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter)}
  .fgrid>:nth-child(1){grid-column:1 / 7}.fgrid>:nth-child(2){grid-column:7 / 10}.fgrid>:nth-child(3){grid-column:10 / 13}
  .fbot{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gutter)}.fbot .fcopy{grid-column:1 / 7}}

/* Keep the narrow CJK scholarship note inside the column without clipping its closing punctuation. */
@media (max-width:480px){[data-lang=zh] .aboutpage .quiet{padding-inline-end:.5em}}

/* ===== Open Resources (/resources/, 2026-11-20): 8-item desktop navbar calibration & Tier-A hub ===== */
@media (min-width:1101px){
  nav.top{gap:28px}
  nav.top .links{gap:22px}
}
@media (min-width:1101px) and (max-width:1280px){
  nav.top{gap:20px}
  nav.top .links{gap:15px}
}
@media (min-width:901px) and (max-width:1100px){
  .respage{--lead-cols:8}
}
@media (max-width:430px){
  [data-lang=zh] nav.top .links{gap:0 5px}
  [data-lang=zh] nav.top .links a{padding:8px 3px}
}

/* Shared 5-tool Open Resources Sub-Tab Bar (Skills + Datasets | Funding + Conferences + Journals) */
.res-subnav{border-bottom:1px solid var(--rule);margin-bottom:20px;overflow-x:auto;scrollbar-width:none}
.res-subnav::-webkit-scrollbar{display:none}
.res-tabs{display:flex;align-items:center;gap:20px;min-width:max-content}
.res-tab-grp{display:inline-flex;align-items:center;gap:24px}
.res-tabs-sep{display:inline-block;width:1px;height:15px;background:var(--rule-strong,#CCC5BB);margin-bottom:7px;flex:0 0 1px}
.res-tab{display:inline-flex;align-items:baseline;gap:6px;padding:4px 0 11px;font-size:15.5px;color:var(--ink2);text-decoration:none;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .15s ease}
a.res-tab:hover{color:var(--ink);text-decoration:none}
.res-tab.is-curr{color:var(--acc);border-bottom-color:var(--acc)}
.res-tab .tab-cnt{font-size:12.5px;color:var(--ink3);font-variant-numeric:tabular-nums}
.res-tab.is-curr .tab-cnt{color:var(--acc)}
.res-tab.is-soon{color:var(--ink3);cursor:default;opacity:.72}
.res-tab .tab-soon{font-size:12px;color:var(--ink3)}
@media (max-width:760px){
  .res-tabs{gap:14px}
  .res-tab-grp{gap:18px}
  .res-tab{font-size:14.5px;padding:6px 0 10px}
  .res-tabs-sep{margin-bottom:4px}
}

/* ===== Whole-Site Unified Feedback Modal (footer + resource drawers -> /api/feedback & sahmoli@qq.com) ===== */
.ffb-btn{appearance:none;background:none;border:0;padding:2px 0;font:inherit;font-size:14px;color:var(--ink3);cursor:pointer;text-align:left;font-weight:400;font-synthesis:none}
.ffb-btn:hover{color:var(--acc);text-decoration:underline;text-underline-offset:3px}
@media (min-width:761px){.fbot .ffb-btn{grid-column:10 / 13;justify-self:stretch}}
.jl-fb-dlg{width:min(460px,calc(100vw - 28px));margin:auto;padding:0;background:var(--paper,#FBF9F6);color:var(--ink,#2E2926);border:1px solid var(--rule,#E2DDD6);border-radius:6px;box-shadow:0 24px 64px rgba(46,41,38,.18);font-weight:400;font-synthesis:none}
.jl-fb-dlg::backdrop{background:rgba(46,41,38,.28)}
.jl-fb-box{padding:22px 24px 20px}
.jl-fb-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.jl-fb-top h2{margin:0;font-size:20px;line-height:1.25;font-weight:400;color:var(--ink)}
.jl-fb-x{appearance:none;background:none;border:0;font-size:20px;line-height:1;color:var(--ink3);cursor:pointer;padding:2px 6px}
.jl-fb-x:hover{color:var(--ink)}
.jl-fb-ctx{font-size:12.5px;color:var(--ink3);background:var(--tag,#F1EEE9);padding:5px 9px;border-radius:4px;margin-bottom:12px;word-break:break-all}
.jl-fb-cats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.jl-fb-cat{appearance:none;background:var(--paper,#FBF9F6);border:1px solid var(--rule,#E2DDD6);border-radius:4px;padding:4px 10px;font:inherit;font-size:13.5px;color:var(--ink2);cursor:pointer;font-weight:400}
.jl-fb-cat.is-on{background:var(--acc-soft,#F5EAE1);border-color:var(--acc-bd,#DFB79A);color:var(--acc,#94501F)}
.jl-fb-lbl{display:block;font-size:13px;color:var(--ink2);margin:10px 0 4px}
.jl-fb-ta,.jl-fb-in{width:100%;box-sizing:border-box;padding:8px 10px;background:var(--tag,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:4px;font:inherit;font-size:14.5px;color:var(--ink);font-weight:400;font-synthesis:none}
.jl-fb-ta{min-height:92px;resize:vertical;line-height:1.5}
.jl-fb-ta:focus,.jl-fb-in:focus{outline:none;background:var(--paper,#FBF9F6);border-color:var(--acc,#94501F)}
.jl-fb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.jl-fb-ts{margin-top:10px}
.jl-fb-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
.jl-fb-send{appearance:none;background:var(--acc,#94501F);color:var(--paper,#FBF9F6);border:0;border-radius:4px;padding:7px 16px;font:inherit;font-size:14px;cursor:pointer;font-weight:400}
.jl-fb-send:hover{opacity:.92}
.jl-fb-send:disabled{opacity:.55;cursor:default}
.jl-fb-mail{font-size:13px;color:var(--ink3);text-decoration:none}
.jl-fb-mail:hover{color:var(--acc,#94501F);text-decoration:underline}
.jl-fb-msg{margin:8px 0 0;font-size:13px;color:var(--ink2);line-height:1.45}

/* ===== Whole-Site Bilingual Newsletter Subscription (footer modal + /subscribe/ pages -> /api/subscribe) ===== */
.fsub-btn{appearance:none;background:none;border:0;padding:2px 0;font:inherit;font-size:14px;color:var(--acc);cursor:pointer;text-align:left;font-weight:400;font-synthesis:none}
.fsub-btn:hover{text-decoration:underline;text-underline-offset:3px}
@media (min-width:761px){.fbot .fsub-btn{grid-column:7 / 10;justify-self:stretch}}
.jl-sub-dlg{width:min(480px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow-y:auto;margin:auto;padding:0;background:var(--paper,#FBF9F6);color:var(--ink,#2E2926);border:1px solid var(--rule,#E2DDD6);border-radius:6px;box-shadow:0 24px 64px rgba(46,41,38,.18);font-weight:400;font-synthesis:none}
.jl-sub-dlg::backdrop{background:rgba(46,41,38,.28)}
.jl-sub-lead{margin:0 0 14px;font-size:14.5px;line-height:1.6;color:var(--ink)}
.jl-sub-group{margin:12px 0 0;padding:0;border:0}
.jl-sub-group legend{padding:0;margin:0 0 7px;font-size:13.5px;color:var(--ink2);font-weight:400}
.jl-sub-checks{display:grid;gap:7px}
.jl-sub-opt{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;background:var(--tag,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:4px;cursor:pointer;font-size:14px;line-height:1.45;color:var(--ink);transition:border-color .15s ease,background-color .15s ease}
.jl-sub-opt:has(input:checked){background:var(--acc-soft,#F5EAE1);border-color:var(--acc-bd,#DFB79A)}
.jl-sub-opt input{margin:3px 0 0;accent-color:var(--acc,#94501F);flex:0 0 auto;width:15px;height:15px}
.jl-sub-opt-desc{display:block;font-size:13.5px;color:var(--ink3);margin-top:2px}
.jl-sub-langs{display:flex;flex-wrap:wrap;gap:8px}
.jl-sub-lang{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;min-height:38px;background:var(--tag,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:4px;cursor:pointer;font-size:14px;color:var(--ink);transition:border-color .15s ease,background-color .15s ease}
.jl-sub-lang:has(input:checked){background:var(--acc-soft,#F5EAE1);border-color:var(--acc-bd,#DFB79A);color:var(--acc,#94501F)}
.jl-sub-lang input{margin:0;accent-color:var(--acc,#94501F)}
.jl-sub-ts{margin-top:12px}
.jl-sub-msg{margin:10px 0 0;font-size:14px;line-height:1.55;color:var(--ink2)}
.jl-sub-msg[data-tone="ok"]{color:#275D46}
.jl-sub-msg[data-tone="err"]{color:#8A3B32}
.jl-sub-foot{margin:12px 0 0;font-size:13.5px;color:var(--ink3);line-height:1.55}
.jl-sub-foot a{color:var(--acc,#94501F)}

/* Dedicated /subscribe/ & /zh/subscribe/ editorial page */
.sub-page{padding-bottom:24px}
.sub-grid{display:grid;grid-template-columns:1fr;gap:36px;margin-top:12px;border-top:1px solid var(--rule);padding-top:32px}
@media (min-width:860px){.sub-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.95fr);gap:52px;align-items:start}}
.sub-panel{padding:24px 26px;background:var(--paper,#FBF9F6);border:1px solid var(--rule,#E2DDD6);border-radius:6px}
@media (max-width:600px){.sub-panel{padding:18px 16px}}
.sub-panel .jl-fb-in{min-height:44px;font-size:15px}
.sub-panel .jl-fb-send{min-height:44px;padding:9px 20px;font-size:15px}
.sub-aside h2{margin:0 0 12px;font-size:20px;font-weight:400;color:var(--ink)}
.sub-sample{padding:14px 16px;margin:0 0 20px;background:var(--surface-1,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:4px}
.sub-sample-list{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:7px}
.sub-sample-list li{font-size:14px;line-height:1.55;color:var(--ink);text-wrap:pretty}
.sub-sample-list .mono{display:inline-block;margin-right:6px;padding:1px 6px;border-radius:3px;background:var(--paper,#FBF9F6);border:1px solid var(--rule,#E2DDD6);font-size:12.5px;color:var(--ink2)}
.sub-facts{list-style:none;margin:0 0 22px;padding:0;border-top:1px solid var(--rule)}
.sub-facts li{padding:11px 0;border-bottom:1px solid var(--rule);font-size:15px;line-height:1.6;color:var(--ink);text-wrap:pretty}
#subscribe .plead{text-wrap:pretty}
.sub-facts .sf-k,.sub-sample .sf-k{display:block;font-size:13.5px;color:var(--ink3);margin-bottom:3px}
.sub-rss{margin:0;padding:14px 16px;background:var(--tag,#F1EEE9);border-radius:4px;font-size:14px;line-height:1.6;color:var(--ink2)}
.sub-rss a{color:var(--acc,#94501F)}
.sub-scope-box{padding:12px 14px;background:var(--tag,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:4px;margin-bottom:4px}
.sub-scope-title{display:block;font-size:13.5px;color:var(--ink3);margin-bottom:3px}
.sub-scope-desc{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink)}
.sub-chans{border:0;margin:0 0 10px;padding:0;display:grid;gap:8px}
.sub-chan{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;background:var(--tag,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:4px;cursor:pointer;transition:border-color .15s ease}
.sub-chan:hover{border-color:var(--rule-strong,#CCC5BB)}
.sub-chan input[type="checkbox"]{margin:3px 0 0;accent-color:var(--acc,#94501F);width:16px;height:16px;flex:0 0 auto;cursor:pointer}
.sub-chan-body{display:grid;gap:2px}
.sub-chan-title{font-size:15px;line-height:1.35;color:var(--ink);font-weight:400}
.sub-chan-desc{font-size:13.5px;line-height:1.5;color:var(--ink2)}

/* Ecology Resources Ledger inline alert trigger & bottom strip */
.lg-head-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.lg-head-sep{color:var(--ink3);font-size:13px}
.lg-sub-btn{appearance:none;background:none;border:0;padding:2px 0;font:inherit;font-size:13.5px;color:var(--acc,#94501F);cursor:pointer;font-weight:400;font-synthesis:none;text-decoration:underline;text-decoration-color:var(--acc-bd,#DFB79A);text-underline-offset:3px}
.lg-sub-btn:hover{text-decoration-color:var(--acc,#94501F)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.res-sub-strip{margin-top:26px;padding:20px 22px;background:var(--surface-1,#F1EEE9);border:1px solid var(--rule,#E2DDD6);border-radius:6px;display:grid;grid-template-columns:1fr;gap:16px;font-weight:400;font-synthesis:none}
@media (min-width:960px){.res-sub-strip{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:center}}
.res-sub-copy h2{margin:0 0 6px;font-size:17.5px;line-height:1.3;font-weight:400;color:var(--ink)}
.res-sub-copy p{margin:0;font-size:14px;line-height:1.6;color:var(--ink2)}
.res-sub-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}
.res-sub-langs{display:inline-flex;border:1px solid var(--rule,#E2DDD6);border-radius:4px;overflow:hidden;background:var(--paper,#FBF9F6);flex:0 0 auto}
.res-sub-lang{display:inline-flex;align-items:center;padding:0 11px;min-height:42px;font-size:13.5px;color:var(--ink2);cursor:pointer;position:relative}
.res-sub-lang+.res-sub-lang{border-left:1px solid var(--rule,#E2DDD6)}
.res-sub-lang input{position:absolute;opacity:0;pointer-events:none}
.res-sub-lang:has(input:checked){background:var(--acc-soft,#F5EAE1);color:var(--acc,#94501F)}
.res-sub-in{flex:1 1 200px;min-height:42px;background:var(--paper,#FBF9F6)}
.res-sub-btn{min-height:42px;white-space:nowrap;flex:0 0 auto}
.res-sub-form .jl-sub-ts:empty{display:none}
.res-sub-form .jl-sub-msg{margin-top:8px}


