.wyf-flow-header{position:relative;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:20px clamp(24px,5vw,90px);gap:24px;background:#faf9f5;color:#1b1d21;font-family:Arial,"PingFang SC",sans-serif}.wyf-flow-header a{text-decoration:none;color:inherit}.wyf-flow-logo{width:44px;height:44px;border:1px solid #25272a;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:bold}.wyf-flow-header nav{display:flex;gap:28px;padding:16px 26px;border:1px solid #e5e1d9;border-radius:40px;background:#fffdf9;font-size:13px}.wyf-flow-header a[aria-current],.wyf-flow-header a:hover{color:#e2572f}.wyf-flow-toggle{display:none}.wyf-flow-footer{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px clamp(24px,5vw,90px);background:#faf9f5;color:#1b1d21;border-top:1px solid #e5e1d9;font-size:13px}.wyf-flow-footer a{color:inherit;text-decoration:none;padding:12px 0}.wyf-flow-footer a:hover{color:#e2572f}.wyf-flow-count{color:#929084;font-size:11px}.wyf-flow-header :focus-visible,.wyf-flow-footer :focus-visible{outline:2px solid #e2572f;outline-offset:5px}
.wyf-main-flow .site-frame>.site-header,.wyf-main-flow .site-frame>.site-footer,.wyf-main-flow .reference-header,.wyf-main-flow .wyf-about-header,.wyf-main-flow .wyf-journey-header,.wyf-main-flow .wyf-contact-header{display:none!important}
.wyf-main-flow .wyf-journey-footer,.wyf-main-flow .wyf-contact-footer,.wyf-main-flow .portfolio-page-nav,.wyf-main-flow .contact-edge-controls,.wyf-main-flow .wyf-about-next{display:none!important}
@media(max-width:700px){.wyf-flow-header{flex-wrap:wrap;padding:14px 22px;gap:12px}.wyf-flow-toggle{display:block;background:none;border:1px solid #ded9d0;border-radius:24px;padding:9px 15px;font-size:12px}.wyf-flow-header nav{display:none;width:100%;border-radius:16px;padding:14px;grid-template-columns:repeat(3,1fr);gap:18px;text-align:center;font-size:12px}.wyf-flow-header nav.is-open{display:grid}.wyf-flow-footer{padding:20px 22px;font-size:11px}.wyf-flow-count{display:none}}
.wyf-main-flow .wyf-next-page,.wyf-main-flow nav[aria-label="关于我区块翻页"]{display:none!important}
/* Overlay navigation on each page instead of adding a separate header band. */
.wyf-main-flow .site-frame{position:relative}
.wyf-flow-header{position:absolute;inset:0 0 auto;background:transparent;pointer-events:none}
.wyf-flow-header>a,.wyf-flow-header>nav,.wyf-flow-header>button{pointer-events:auto}
.wyf-main-flow .wyf-about-page,.wyf-main-flow .wyf-journey-page,.wyf-main-flow .wyf-contact-page{padding-top:100px}
@media(max-width:700px){.wyf-main-flow .wyf-about-page,.wyf-main-flow .wyf-journey-page,.wyf-main-flow .wyf-contact-page{padding-top:85px}}
/* Text-only navigation; colors follow the page underneath. */
.wyf-flow-header{--nav-ink:#242424;--nav-active:#b83e1d;color:var(--nav-ink)}
.wyf-flow-header nav{background:transparent;border:0;border-radius:0;box-shadow:none;padding-right:0;padding-left:0}
.wyf-flow-header nav a{font-weight:500;text-underline-offset:7px;text-decoration-thickness:1.5px}
.wyf-flow-header nav a[aria-current],.wyf-flow-header nav a:hover{color:var(--nav-active);text-decoration:underline}
.site-frame:has(.portfolio-page)>.wyf-flow-header{--nav-ink:#fffaf2;--nav-active:#fffaf2}
.wyf-flow-header .wyf-flow-logo{border-color:currentColor}
.wyf-flow-header :focus-visible{outline-color:var(--nav-active)}
.wyf-flow-toggle{color:inherit;border:0;border-radius:0;background:transparent}
@media(max-width:700px){.wyf-flow-header nav{padding:12px 0}.wyf-main-flow .site-frame:has(.wyf-flow-header nav.is-open)>main{padding-top:165px}}
/* Match the skills page's cool off-white across the light page surfaces. */
.wyf-about-page{--paper:#fbfbfd}
.wyf-journey-page,.wyf-contact-page,
.site-frame:has(.wyf-about-page),.site-frame:has(.wyf-journey-page),.site-frame:has(.wyf-contact-page){background:#fbfbfd}
.wyf-identity-badge,.wyf-journey-card,.wyf-cover-card,.wyf-journey-detail,.wyf-contact-card{background:#fbfbfd}
.wyf-cover-prev,.wyf-cover-next{background:#fbfbfd}
.wyf-year-dot{border-color:#fbfbfd}
.site-frame:has(.wyf-about-page)>.wyf-flow-footer,
.site-frame:has(.skills-section)>.wyf-flow-footer,
.site-frame:has(.wyf-journey-page)>.wyf-flow-footer,
.site-frame:has(.wyf-contact-page)>.wyf-flow-footer{background:#fbfbfd}
/* Page controls float over the page, without adding another row of height. */
.wyf-main-flow .site-frame>.wyf-flow-footer{position:absolute;inset:auto 0 0;z-index:20;background:transparent;border:0;padding:8px clamp(24px,5vw,90px);pointer-events:none}
.wyf-flow-footer a{pointer-events:auto}.wyf-flow-count{display:none}
.site-frame:has(.portfolio-page)>.wyf-flow-footer{color:#fffaf2}
.site-frame:has(.portfolio-page)>.wyf-flow-footer a:hover{color:#fff;text-decoration:underline}
@media(min-width:761px) and (min-height:600px){
 .wyf-main-flow .wyf-journey-page.is-overview{height:100svh;min-height:0;box-sizing:border-box;padding-top:84px;padding-bottom:55px;display:flex;flex-direction:column}
 .wyf-journey-page.is-overview .wyf-journey-intro{width:100%;flex:none;margin:0 auto 12px}
 .wyf-journey-intro h1{font-size:clamp(36px,5.8vh,64px);margin-bottom:8px}
 .wyf-journey-intro>p:last-child{font-size:13px}
 .wyf-journey-page.is-overview .wyf-cover-scene{height:auto;min-height:0;flex:1;width:100%}
 .wyf-cover-card{height:calc(100% - 16px);width:min(390px,31vw);padding:22px}
 .wyf-cover-card .wyf-journey-card-heading{margin:clamp(14px,3vh,38px) 0 14px}
 .wyf-cover-card .wyf-journey-card-heading h2{font-size:clamp(24px,3.8vh,36px)}
 .wyf-cover-card img,.wyf-cover-card .wyf-journey-art{height:clamp(90px,19vh,190px)}
 .wyf-journey-page.is-overview .wyf-journey-years{flex:none;width:100%;margin:8px auto 0}
 .wyf-main-flow .wyf-contact-page{height:100svh;min-height:0;box-sizing:border-box;padding-top:85px;padding-bottom:55px;display:flex;flex-direction:column}
 .wyf-contact-card{box-sizing:border-box;flex:1;min-height:0;width:min(800px,74vw);margin:0 auto;padding:clamp(18px,3vh,35px) 32px 20px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px}
 .wyf-contact-kicker{margin:0}
 .wyf-contact-card h1{font-size:clamp(45px,9vh,88px);margin:0;line-height:1.02}
 .wyf-contact-description{font-size:clamp(12px,1.7vh,16px);margin:0;line-height:1.65}
 .wyf-contact-actions a{min-height:42px;padding:9px 20px}
 .wyf-contact-email{margin:0;font-size:clamp(22px,3.3vh,32px)}
 .wyf-contact-motto{margin:0;font-size:clamp(27px,4.5vh,44px);line-height:1.15}
 .wyf-contact-signoff{width:100%;padding-top:12px}
}
/* On narrow screens preserve readable content and leave room for controls. */
@media(max-width:760px),(max-height:599px){.wyf-main-flow .site-frame>main{padding-bottom:65px}}
@media(min-width:761px){.wyf-main-flow .site-frame>.wyf-flow-footer{padding-right:245px}}
.wyf-main-flow .reference-scroll-cue{display:none!important}
.wyf-flow-tools{display:flex;align-items:center;gap:12px;pointer-events:auto;flex-shrink:0}
.wyf-global-language{display:flex;gap:9px;align-items:center;border:1px solid #d9d9d9;border-radius:30px;background:#ffffff80;color:var(--nav-ink);padding:10px 15px;font:inherit;font-size:12px;cursor:pointer}.wyf-global-language span{opacity:.55}.wyf-global-language .active{opacity:1;font-weight:700}
.wyf-flow-header .wyf-global-resume{display:flex;align-items:center;gap:8px;padding:11px 18px;border-radius:30px;background:#1b1d21;color:#fff;font-size:12px;font-weight:600}
.site-frame:has(.portfolio-page) .wyf-global-language{background:transparent;border-color:#ffffff80}
.wyf-flow-header.is-detail{position:relative;inset:auto;background:#fbfbfd}.wyf-flow-header.is-detail nav,.wyf-flow-header.is-detail>.wyf-flow-toggle{display:none}.site-frame:has(.wyf-flow-header.is-detail)>.site-header{display:none}
html[lang=en] .wyf-story-tabs strong{font-size:clamp(13px,1.6vw,23px)}
html[lang=en] .wyf-journey-intro h1{font-size:clamp(32px,5vh,55px)}
html[lang=en] .wyf-cover-card .wyf-journey-card-heading h2{font-size:clamp(20px,2.7vh,30px)}
html[lang=en] .skills-section{height:auto;min-height:100svh;overflow:visible;padding-bottom:45px}
html[lang=en] .skill-item__heading{flex-wrap:wrap}
html[lang=en] .wyf-contact-card h1{font-size:clamp(40px,7vh,75px)}
@media(min-width:701px) and (max-width:1050px){.wyf-flow-header{padding-inline:22px;gap:15px}.wyf-flow-header nav{gap:15px;font-size:11px}.wyf-flow-tools{gap:7px}.wyf-global-language{padding:9px 10px}.wyf-flow-header .wyf-global-resume{padding:10px 12px}}
@media(max-width:700px){.wyf-flow-tools{gap:8px}.wyf-global-language{padding:8px 12px}.wyf-flow-header .wyf-global-resume{padding:9px 13px}}
/* English text needs wider columns and wrapping headings, not clipped overflow. */
.wyf-main-flow .skills-page-nav{display:none!important}
html[lang=en] .skill-column__header{flex-wrap:wrap;gap:3px 8px}
html[lang=en] .skill-column__header h3{white-space:normal;overflow-wrap:break-word}
html[lang=en] .skill-column__header span{white-space:normal;padding-top:0}
html[lang=en] .skill-item__heading strong{overflow-wrap:break-word}
@media(min-width:1100px) and (min-height:650px){
 html[lang=en] .skills-section{height:auto;min-height:100svh;box-sizing:border-box;padding:90px 6vw 28px;display:flex;flex-direction:column;gap:24px}
 html[lang=en] .skills-intro{position:relative;top:auto;left:auto;transform:none;width:100%;margin:0}
 html[lang=en] .skills-intro h2{font-size:clamp(36px,5.4vh,50px);line-height:1.05;letter-spacing:-2px}
 html[lang=en] .skills-intro p{font-size:11px;line-height:1.45;margin-top:10px}
 html[lang=en] .skills-grid{position:relative;top:auto;left:auto;transform:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;width:100%;max-width:1380px;margin:0 auto}
 html[lang=en] .skill-column__header{min-height:34px;padding-bottom:7px}
 html[lang=en] .skill-column__header h3{font-size:13px;line-height:1.3}
 html[lang=en] .skill-column__items,html[lang=en] .skill-column:first-child .skill-column__items,html[lang=en] .skill-column--stacked .skill-column__items{gap:clamp(7px,1.15vh,11px);padding-top:9px}
 html[lang=en] .skill-item__heading{line-height:1.3}
 html[lang=en] .skill-item__heading strong{font-size:11.5px;line-height:1.3}
 html[lang=en] .skill-item p,html[lang=en] .skill-column--stacked .skill-column__stack .skill-item p{font-size:clamp(10px,1.2vh,11px);line-height:1.42;margin-top:4px;overflow-wrap:normal}
 html[lang=en] .skill-column__stack{margin-top:13px}
}
html[lang=en] .wyf-cover-card .wyf-journey-card-heading{min-width:0}
html[lang=en] .wyf-cover-card .wyf-journey-card-heading h2{overflow-wrap:break-word;line-height:1.15}
html[lang=en] .wyf-cover-card .wyf-journey-card-top{flex-wrap:wrap;gap:5px;font-size:10px}
html[lang=en] .wyf-cover-card figcaption{font-size:9px;line-height:1.3}
@media(min-width:761px) and (min-height:600px){
 html[lang=en] .wyf-cover-card .wyf-journey-card-heading{margin:clamp(12px,2.3vh,25px) 0 10px}
 html[lang=en] .wyf-cover-card .wyf-journey-card-heading h2{font-size:clamp(20px,3.1vh,28px)}
 html[lang=en] .wyf-cover-card .wyf-journey-card-heading p{font-size:12px}
 html[lang=en] .wyf-cover-card .wyf-cover-media{flex-shrink:0}
 html[lang=en] .wyf-cover-card img,html[lang=en] .wyf-cover-card .wyf-journey-art{height:clamp(85px,17vh,165px)}
}
@media(min-width:1100px) and (min-height:650px){html[lang=en] .skills-section{padding-bottom:18px}html[lang=en] .skills-section.is-active .skills-intro{animation:none;opacity:1;transform:none}}
/* Match the visual size of English navigation; use text-only utility links. */
html[lang=en] .wyf-flow-header nav{font-size:15px}
.wyf-flow-header .wyf-global-language,.wyf-flow-header .wyf-global-resume{border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--nav-ink);font-size:13px;padding:10px 3px;line-height:1.4}
.wyf-flow-header .wyf-global-resume{font-weight:500}
.wyf-flow-header .wyf-global-resume>span{display:none}
.wyf-flow-header .wyf-global-resume:hover{color:var(--nav-active);text-decoration:underline;text-underline-offset:6px}
.wyf-flow-tools{gap:18px}
html[lang=en] .wyf-flow-header .wyf-global-resume{font-size:15px}
@media(min-width:701px) and (max-width:1050px){html[lang=en] .wyf-flow-header nav{font-size:13px}.wyf-flow-tools{gap:12px}}
@media(max-width:700px){html[lang=en] .wyf-flow-header nav{font-size:14px}.wyf-flow-tools{gap:14px}}
/* Stable header geometry across routes and language changes. */
.wyf-flow-header{--header-text-size:14px}
html[lang=en] .wyf-flow-header{--header-text-size:15px}
.wyf-flow-header nav,html[lang=en] .wyf-flow-header nav{font-size:var(--header-text-size);line-height:1.4;display:grid;grid-template-columns:repeat(6,1fr);width:510px;gap:0;text-align:center;padding:14px 0}
.wyf-flow-header .wyf-global-language{font-size:14px;min-width:63px;justify-content:center}
.wyf-flow-header .wyf-global-resume,html[lang=en] .wyf-flow-header .wyf-global-resume{font-size:var(--header-text-size);min-width:64px;justify-content:flex-start}
.wyf-global-language span{opacity:.8}.wyf-global-language .active{opacity:1;text-decoration:underline;text-underline-offset:6px}
.wyf-flow-header.is-detail nav{display:none}
@media(min-width:701px) and (max-width:1050px){.wyf-flow-header{--header-text-size:12px}html[lang=en] .wyf-flow-header{--header-text-size:13px}.wyf-flow-header nav,html[lang=en] .wyf-flow-header nav{width:360px}}
@media(max-width:700px){.wyf-flow-header{--header-text-size:13px}html[lang=en] .wyf-flow-header{--header-text-size:14px}.wyf-flow-header nav,html[lang=en] .wyf-flow-header nav{display:none;width:100%;grid-template-columns:repeat(3,1fr);gap:18px;padding:12px 0}.wyf-flow-header nav.is-open{display:grid}.wyf-flow-header.is-detail nav{display:none}}

/* Main-page side indexes are replaced by the shared top navigation. */
.wyf-main-flow .portfolio-side-nav,
.wyf-main-flow .skills-side-nav,
.wyf-main-flow .wyf-about-section-index,
.wyf-main-flow .contact-progress { display: none !important; }

/* A translucent rim separates the cover card face from its fine outline. */
.wyf-cover-card{background:rgba(251,251,253,.68);isolation:isolate}
.wyf-cover-card::before{content:"";position:absolute;inset:11px;border-radius:8px;background:#fbfbfd;z-index:-1;pointer-events:none}
.wyf-cover-card.is-center{border-color:#e2572f88}
@media(max-width:600px){.wyf-cover-card::before{inset:8px;border-radius:9px}}
/* Keep every experience on one timeline row, regardless of entry count. */
.wyf-journey-years{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);row-gap:0}
.wyf-journey-years strong{white-space:nowrap}
.wyf-journey-page.is-overview .wyf-journey-years{margin-top:32px}
@media(min-width:761px) and (min-height:600px){
 .wyf-main-flow .wyf-journey-page.is-overview{padding-bottom:35px}
 .wyf-journey-page.is-overview .wyf-journey-years{margin:32px auto 0}
}
@media(max-width:600px){.wyf-journey-years{overflow-x:auto;grid-auto-columns:minmax(72px,1fr);padding-bottom:8px}.wyf-journey-years:before{left:36px;right:36px}}

/* Company identity sits next to the company name, above the role. */
.wyf-journey-page .wyf-journey-card-heading .wyf-journey-company{display:flex;align-items:center;gap:10px;font-size:18px;line-height:1.35;margin-bottom:12px}
.wyf-company-logo{display:inline-block;flex:0 0 38px;width:38px;height:38px;background-size:contain;background-position:center;background-repeat:no-repeat;border-radius:8px}
.wyf-company-logo-hello{background-size:345.51% 234.06%;background-position:50% 28.04%;border-radius:10px}
.wyf-company-logo-nanjing{border-radius:0}
.wyf-cover-card .wyf-cover-media{min-height:48px}
@media(max-width:600px){.wyf-journey-page .wyf-journey-card-heading .wyf-journey-company{font-size:16px}.wyf-company-logo{flex-basis:32px;width:32px;height:32px}}
