/* =====================================================================
 * 牛铮个人网站 · 组件与动效（Claude 风格 · 天蓝点缀）
 * 依赖 styles.css 中的设计变量
 * ===================================================================== */
:root { --gutter: clamp(1.25rem, 4vw, 4rem); --fx-skew: 0deg; }

.fx-wrap { width: min(100%, 1280px); margin: 0 auto; padding: 0 var(--gutter); }
.fx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-canvas { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.fx-layer { position: relative; z-index: 2; }
.niu-hero-particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.niu-hero-portrait-position { z-index: 4; }
.fx-overlay { position: fixed; inset: 0; z-index: 1600; width: 100vw; height: 100vh; pointer-events: none; }

/* 纸面颗粒 */
.fx-grain {
  position: fixed; inset: 0; z-index: 1500; pointer-events: none; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- ✳︎ 火花标志（Claude 式思考动画） ---------- */
.fx-spark { display: inline-block; color: var(--sky); line-height: 1; animation: sparkTurn 6s var(--ease-io) infinite; }
@keyframes sparkTurn { 0% { transform: rotate(0) scale(1); } 40% { transform: rotate(180deg) scale(.86); } 50% { transform: rotate(180deg) scale(.86); } 90%, 100% { transform: rotate(360deg) scale(1); } }

/* ---------- 页面转场幕布 ---------- */
.fx-curtain { position: fixed; inset: 0; z-index: 2100; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; visibility: hidden; }
.fx-curtain-panel { position: relative; background: var(--ivory); transform: scaleY(0); transform-origin: 50% 100%; transition-property: transform; transition-duration: .6s; transition-timing-function: var(--ease-io); }
.fx-curtain-panel:nth-child(2) { transition-delay: .04s; background: var(--paper); }
.fx-curtain-panel:nth-child(3) { transition-delay: .08s; }
.fx-curtain-panel:nth-child(4) { transition-delay: .12s; background: var(--paper); }
.fx-curtain-panel:nth-child(5) { transition-delay: .16s; }
.fx-curtain-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--ink); opacity: 0; transition: opacity .3s ease .2s; text-align: center; }
.fx-curtain-label span { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font: 600 .8rem/1 var(--sans); letter-spacing: .06em; }
.fx-curtain-label span::before { content: '✳︎'; color: var(--sky); font-size: 1.6rem; animation: sparkTurn 1.6s var(--ease-io) infinite; }
.fx-curtain-label strong { font: 400 clamp(2rem, 5vw, 3.8rem)/1.1 var(--serif); }
.fx-curtain-label i { position: relative; width: min(200px, 50vw); height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.fx-curtain-label i::after { content: ''; position: absolute; inset: 0; background: var(--sky); transform-origin: left; animation: curtainLoad 1.1s var(--ease-io) infinite; }
@keyframes curtainLoad { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: left; } 61% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.fx-leaving .fx-curtain, .fx-arriving .fx-curtain { visibility: visible; pointer-events: auto; }
.fx-leaving .fx-curtain-panel { transform: scaleY(1); }
.fx-leaving .fx-curtain-label { opacity: 1; }
.fx-arriving .fx-curtain-panel { transform: scaleY(1); transition-duration: 0s; }
.fx-arriving .fx-curtain-label { opacity: 1; transition: none; }
.fx-arriving.fx-revealing .fx-curtain-panel { transform: scaleY(0); transform-origin: 50% 0; transition-duration: .8s; }
.fx-arriving.fx-revealing .fx-curtain-label { opacity: 0; transition: opacity .25s ease; }
.fx-arriving .fx-curtain { animation: failsafeHide 0s 3.2s forwards; }
@keyframes failsafeHide { to { visibility: hidden; pointer-events: none; } }

/* ---------- 预加载 ---------- */
.fx-preloader { display: none; }
.fx-preload .fx-preloader {
  position: fixed; inset: 0; z-index: 2200; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2.5rem); color: var(--ink); background: var(--ivory);
  clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io); animation: failsafeHide 0s 4.5s forwards;
}
.fx-preload-done .fx-preloader { clip-path: inset(0 0 100% 0); }
.fx-preloader-top, .fx-preloader-bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; color: var(--muted); font: 600 .78rem/1.5 var(--sans); letter-spacing: .04em; }
.fx-preloader-top span:first-child { color: var(--ink); }
.fx-preloader-top span:first-child::before { content: '✳︎ '; color: var(--sky); }
.fx-preloader-name { display: inline-block; font: 400 clamp(4.5rem, 15vw, 13rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--line-2); background: linear-gradient(90deg, var(--ink), var(--ink)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: preloadFill 1.3s var(--ease-io) forwards; }
.fx-preloader-name em { display: none; }
@keyframes preloadFill { to { background-size: 100% 100%; } }
.fx-preloader-count { color: var(--sky-deep); font: 400 clamp(3rem, 8vw, 6rem)/1 var(--serif); }
.fx-preloader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; }

/* ---------- 顶部导航 ---------- */
.fx-nav {
  position: fixed; z-index: 1300; top: .8rem; left: 50%; display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.6rem);
  width: min(calc(100% - 1.5rem), 1180px); padding: .45rem .5rem .45rem 1.1rem; transform: translate(-50%, 0);
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(250, 249, 245, .82);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), opacity .4s ease;
}
.fx-nav.is-home:not(.is-visible) { opacity: 0; transform: translate(-50%, -140%); pointer-events: none; }
.fx-nav.is-tucked { transform: translate(-50%, -140%); }
.menu-open .fx-nav { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.fx-nav-brand { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); font: 500 1.15rem/1 var(--serif); white-space: nowrap; }
.fx-nav-symbol { color: var(--sky); display: inline-block; animation: sparkTurn 7s var(--ease-io) infinite; }
.fx-nav-links { display: flex; align-items: center; gap: .1rem; margin: 0 auto; }
.fx-nav-links a { padding: .5rem .85rem; border-radius: 999px; color: var(--ink-2); font-size: .9rem; font-weight: 500; transition: color .25s ease, background .25s ease; }
.fx-nav-links a:hover { color: var(--ink); background: var(--paper); }
.fx-nav-links a[aria-current="page"] { color: var(--sky-deep); background: var(--sky-soft); font-weight: 600; }
.fx-nav-cta { display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.05rem; border-radius: 999px; color: var(--ivory); background: var(--ink); font-size: .86rem; font-weight: 600; white-space: nowrap; transition: background .3s ease; }
.fx-nav-cta:hover { background: var(--sky-deep); }
.fx-nav-burger { display: none; position: relative; width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; }
.fx-nav-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.fx-nav-burger span:first-child { top: 16px; }
.fx-nav-burger span:last-child { top: 24px; }
.menu-open .fx-nav-burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .fx-nav-burger span:last-child { top: 20px; transform: rotate(-45deg); }

.fx-menu {
  position: fixed; inset: 0; z-index: 1250; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem;
  padding: 6rem var(--gutter) 3rem; background: var(--ivory); clip-path: circle(0% at calc(100% - 3rem) 2.4rem);
  visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .fx-menu { clip-path: circle(150% at calc(100% - 3rem) 2.4rem); visibility: visible; transition: clip-path .8s var(--ease-io); }
.fx-menu nav { display: flex; flex-direction: column; }
.fx-menu nav a { display: flex; align-items: baseline; gap: 1.2rem; padding: .25rem 0; color: var(--ink); font: 400 clamp(2.2rem, 6vw, 4.6rem)/1.15 var(--serif); opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .8s var(--ease-out), color .25s ease; }
.fx-menu nav a small { min-width: 6.5rem; color: var(--muted); font: 600 .78rem/1 var(--sans); letter-spacing: .04em; }
.fx-menu nav a:hover, .fx-menu nav a[aria-current="page"] { color: var(--sky-deep); }
.menu-open .fx-menu nav a { opacity: 1; transform: none; }
.menu-open .fx-menu nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .fx-menu nav a:nth-child(2) { transition-delay: .19s; }
.menu-open .fx-menu nav a:nth-child(3) { transition-delay: .23s; }
.menu-open .fx-menu nav a:nth-child(4) { transition-delay: .27s; }
.menu-open .fx-menu nav a:nth-child(5) { transition-delay: .31s; }
.menu-open .fx-menu nav a:nth-child(6) { transition-delay: .35s; }
.menu-open .fx-menu nav a:nth-child(7) { transition-delay: .39s; }
.menu-open .fx-menu nav a:nth-child(8) { transition-delay: .43s; }
.fx-menu-preview { position: relative; aspect-ratio: 4/5; max-height: 70vh; overflow: hidden; border: 1px solid var(--line); border-radius: 1.6rem; background: var(--paper); }
.fx-menu-preview img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform 1s var(--ease-out); }
.fx-menu.has-preview .fx-menu-preview img { opacity: 1; transform: scale(1); }
.fx-menu-preview p { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; color: var(--muted); font-size: .8rem; }
.fx-menu-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .8rem; }
.menu-open, .lightbox-open { overflow: hidden; }
.menu-open body, .lightbox-open body { overflow: hidden; }

/* ---------- 排版 ---------- */
.fx-kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--sky-deep); font: 600 .82rem/1.4 var(--sans); letter-spacing: .04em; }
.fx-kicker::before { content: '✳︎'; color: var(--sky); font-size: 1rem; }
.fx-kicker.no-dot::before { display: none; }
.fx-h2 { margin-top: .8rem; color: var(--ink); font: 400 clamp(2.2rem, 5vw, 4.2rem)/1.12 var(--serif); letter-spacing: -.005em; }
.fx-h2 em { font-style: normal; color: var(--sky-deep); }
.fx-lead { max-width: 640px; margin-top: 1.2rem; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.85; }
.fx-section { position: relative; padding: clamp(4rem, 7vw, 6.5rem) 0; overflow: hidden; overflow: clip; }
.fx-section + .fx-section:not(.fx-paper):not(.fx-dark) { padding-top: clamp(1rem, 2vw, 2rem); }
.fx-paper + .fx-section, .fx-dark + .fx-section { padding-top: clamp(4rem, 7vw, 6.5rem) !important; }
.fx-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.fx-section-head .fx-lead { margin-top: 0; max-width: 480px; }
.fx-paper { background: var(--paper); }
.fx-dark { color: var(--on-slate); background: var(--slate); }
.fx-dark .fx-h2 { color: var(--on-slate); }
.fx-dark .fx-h2 em { color: var(--sky); }
.fx-dark .fx-kicker { color: var(--sky); }
.fx-dark .fx-lead { color: rgba(240, 238, 230, .72); }

/* 按钮 */
.fx-btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.3rem; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: var(--card); font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: color .3s ease, border-color .3s ease, transform .4s var(--ease-out), background .3s ease;
}
.fx-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.fx-btn span:last-child { transition: transform .4s var(--ease-out); }
.fx-btn:hover span:last-child { transform: translate(2px, -2px); }
.fx-btn-solid { color: var(--ivory); background: var(--ink); border-color: var(--ink); }
.fx-btn-solid:hover { background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-dark .fx-btn:not(.fx-btn-solid) { color: var(--on-slate); background: transparent; border-color: rgba(240, 238, 230, .28); box-shadow: none; }
.fx-dark .fx-btn:not(.fx-btn-solid):hover { border-color: var(--sky); }
.fx-dark .fx-btn-solid { color: var(--ink); background: var(--sky); border-color: var(--sky); }
.fx-dark .fx-btn-solid:hover { background: var(--ivory); border-color: var(--ivory); }

/* ---------- 揭示动画（柔和） ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.2s var(--ease-io); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="up"], .js [data-reveal="blur"] { transform: translateY(18px); }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0 round 1.5rem); }
.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }
.js [data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 40ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }
.fx-char { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.fx-char > span { display: inline-block; }
.js [data-split] .fx-char > span { transform: translateY(70%); opacity: 0; transition: transform 1s var(--ease-out), opacity .8s ease; transition-delay: calc(var(--i) * 32ms); }
.js [data-split].is-in .fx-char > span { transform: none; opacity: 1; }
body.motion-paused [data-reveal], body.motion-paused [data-stagger] > *, body.motion-paused [data-split] .fx-char > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
/* 打字机式渐显（原解码效果） */
.fx-typing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.12em; background: var(--sky); animation: caretBlink .9s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }

/* ---------- 子页面 Hero（两栏，取消大面积留白） ---------- */
.fx-page-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(82svh, 820px); padding: 8.5rem var(--gutter) clamp(2.5rem, 5vw, 4rem); overflow: hidden; isolation: isolate; background: var(--ivory); }
.fx-page-hero::after { content: ''; position: absolute; inset: auto 0 0; height: 18%; z-index: 1; pointer-events: none; background: linear-gradient(transparent, var(--ivory)); }
.fx-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; filter: blur(60px); opacity: .9; }
.fx-aurora i { position: absolute; width: 42vw; height: 42vw; border-radius: 50%; animation: auroraDrift 26s ease-in-out infinite alternate; }
.fx-aurora i:nth-child(1) { left: -10vw; top: -14vw; background: radial-gradient(circle, rgba(var(--sky-rgb), .16), transparent 65%); }
.fx-aurora i:nth-child(2) { right: -12vw; top: 4vh; background: radial-gradient(circle, rgba(203, 202, 219, .45), transparent 65%); animation-delay: -8s; }
.fx-aurora i:nth-child(3) { left: 30vw; bottom: -24vw; background: radial-gradient(circle, rgba(var(--sky-rgb), .10), transparent 65%); animation-delay: -14s; }
@keyframes auroraDrift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(5vw, 4vh) scale(1.12); } 100% { transform: translate(-4vw, -3vh) scale(.94); } }
.fx-page-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; width: min(100%, 1280px); margin: 0 auto; }
.fx-page-hero-grid.is-single { grid-template-columns: 1fr; }
.fx-page-hero-inner { position: relative; z-index: 2; pointer-events: none; }
.fx-page-hero-inner a, .fx-page-hero-inner button { pointer-events: auto; }
.fx-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; color: var(--muted); font-size: .84rem; }
.fx-crumbs span[aria-hidden="true"] { color: var(--faint); }
.fx-crumbs a { color: var(--muted); transition: color .25s ease; }
.fx-crumbs a:hover { color: var(--sky-deep); }
.fx-page-title { margin-top: .9rem; color: var(--ink); font: 400 clamp(3.2rem, 8vw, 7rem)/1.04 var(--serif); letter-spacing: -.015em; }
.fx-page-lead { max-width: 600px; margin-top: 1.4rem; color: var(--ink-2); font-size: clamp(1.02rem, 1.35vw, 1.16rem); line-height: 1.85; }
.fx-hero-aside { position: relative; z-index: 2; }
.fx-hero-meta { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; width: min(100%, 1280px); margin: clamp(2rem, 4vw, 3rem) auto 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.fx-hero-meta b { color: var(--sky); font-weight: 700; }
.fx-scroll-hint { display: inline-flex; align-items: center; gap: .6rem; }
.fx-scroll-hint::after { content: ''; width: 1px; height: 22px; background: linear-gradient(var(--sky), transparent); animation: hintDrop 2s ease-in-out infinite; }
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero 右侧：能力索引 */
.fx-hero-index { display: grid; gap: .55rem; }
.fx-hero-index a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 1.1rem; background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), border-color .3s ease; }
.fx-hero-index a:hover { transform: translateX(6px); border-color: var(--sky); }
.fx-hero-index b { color: var(--sky-deep); font: 400 1.6rem/1 var(--serif); }
.fx-hero-index strong { display: block; font: 400 1.2rem/1.3 var(--serif); }
.fx-hero-index small { color: var(--muted); font-size: .76rem; }
.fx-hero-index em { color: var(--muted); font-style: normal; }
/* Hero 右侧：叠放封面 */
.fx-hero-stack { position: relative; height: clamp(320px, 38vw, 480px); }
.fx-hero-stack figure { position: absolute; width: 62%; aspect-ratio: 4/3; overflow: hidden; border: 6px solid var(--card); border-radius: 1.3rem; background: var(--paper); box-shadow: var(--shadow-lg); transition: transform .8s var(--ease-out); }
.fx-hero-stack figure img { width: 100%; height: 100%; object-fit: cover; }
.fx-hero-stack figure:nth-child(1) { left: 2%; top: 14%; transform: rotate(-7deg); }
.fx-hero-stack figure:nth-child(2) { right: 2%; top: 0; transform: rotate(5deg); }
.fx-hero-stack figure:nth-child(3) { left: 20%; bottom: 0; z-index: 2; transform: rotate(-1deg); }
.fx-hero-stack:hover figure:nth-child(1) { transform: rotate(-10deg) translate(-12px, -6px); }
.fx-hero-stack:hover figure:nth-child(2) { transform: rotate(8deg) translate(12px, -8px); }
.fx-hero-stack:hover figure:nth-child(3) { transform: rotate(0) translateY(-6px); }
.fx-hero-stack figcaption { position: absolute; left: .6rem; bottom: .6rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(250, 249, 245, .92); font-size: .72rem; font-weight: 600; }
/* Hero 右侧：图像拼贴 */
.fx-hero-mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: .7rem; height: clamp(320px, 36vw, 460px); }
.fx-hero-mosaic figure { position: relative; overflow: hidden; border-radius: 1.2rem; background: var(--paper); box-shadow: var(--shadow); }
.fx-hero-mosaic figure:first-child { grid-row: span 2; }
.fx-hero-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.fx-hero-mosaic figure:hover img { transform: scale(1.05); }
/* Hero 右侧：项目大图 */
.fx-hero-figure { position: relative; overflow: hidden; aspect-ratio: 4/3.2; border-radius: 1.6rem; background: var(--paper); box-shadow: var(--shadow-lg); }
.fx-hero-figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.fx-hero-figure figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: .9rem; color: var(--ink); background: rgba(250, 249, 245, .94); backdrop-filter: blur(8px); font-size: .86rem; font-weight: 600; line-height: 1.5; }
.fx-hero-figure figcaption b { flex: 0 0 auto; padding: .3rem .6rem; border-radius: 999px; color: #fff; background: var(--sky-deep); font-size: .74rem; }
/* Hero 右侧：信息卡（工具 / 简历） */
.fx-hero-card { padding: clamp(1.4rem, 2.6vw, 2rem); border: 1px solid var(--line); border-radius: 1.6rem; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.fx-hero-card h2 { display: flex; align-items: center; gap: .6rem; font: 400 1.6rem/1.2 var(--serif); }
.fx-hero-card h2::before { content: '✳︎'; color: var(--sky); font-size: 1.2rem; }
.fx-hero-card dl { display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.4rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.fx-hero-card dt { color: var(--muted); font-size: .86rem; }
.fx-hero-card dd { color: var(--ink); font-size: .95rem; font-weight: 600; }
.fx-hero-card .fx-btn { margin-top: 1.4rem; }
.fx-hero-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
/* Hero 右侧：粒子文字卡 */
.fx-text-card { position: relative; height: clamp(300px, 34vw, 420px); overflow: hidden; border-radius: 1.8rem; background: var(--slate); box-shadow: var(--shadow-lg); cursor: crosshair; }
.fx-text-card p { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2; color: rgba(240, 238, 230, .55); font-size: .78rem; pointer-events: none; }

/* ---------- 跑马字带 ---------- */
.fx-ticker { position: relative; z-index: 3; overflow: hidden; padding: 1rem 0; border-block: 1px solid var(--line); background: var(--ivory); transform: skewX(var(--fx-skew)); }
.fx-ticker-track { display: flex; width: max-content; animation: tickerMove 48s linear infinite; }
.fx-ticker.is-reverse .fx-ticker-track { animation-direction: reverse; }
.fx-ticker-track span { display: inline-flex; align-items: center; gap: 1.6rem; padding-right: 1.6rem; color: var(--ink); font: 400 clamp(1.3rem, 2.6vw, 2.1rem)/1 var(--serif); white-space: nowrap; }
.fx-ticker-track span i { font-style: normal; color: var(--sky); font-size: .8em; }
.fx-ticker-track span b { font-weight: 400; color: var(--muted); }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.marquee-window { transform: skewX(var(--fx-skew)); }
.marquee-tile[data-lightbox] { cursor: zoom-in; }

/* ---------- 首页 Hero 附加 ---------- */
.niu-hero-hint { position: absolute; z-index: 12; left: 50%; bottom: 1.4rem; display: flex; align-items: center; gap: .7rem; transform: translateX(-50%); color: rgba(20, 20, 19, .55); font: 600 .74rem/1 var(--sans); letter-spacing: .1em; pointer-events: none; }
.niu-hero-hint i { position: relative; width: 20px; height: 32px; border: 1.5px solid rgba(20, 20, 19, .4); border-radius: 12px; }
.niu-hero-hint i::after { content: ''; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheelDrop 1.8s ease-in-out infinite; }
@keyframes wheelDrop { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }
.niu-hero-coords { position: absolute; z-index: 12; right: clamp(1.25rem, 2.7vw, 2.5rem); top: 4.6rem; color: rgba(20, 20, 19, .5); font: 600 .74rem/1.6 var(--sans); text-align: right; pointer-events: none; }
@media (max-width: 767px) { .niu-hero-hint, .niu-hero-coords { display: none; } }

/* ---------- 卡片（白卡 + 图像） ---------- */
.fx-hub { position: relative; padding: clamp(4rem, 7vw, 6.5rem) 0; overflow: hidden; background: var(--ivory); }
.fx-hub-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(140px, auto); gap: clamp(.8rem, 1.4vw, 1.1rem); }
.fx-hub-grid > :nth-child(1) { grid-column: span 7; grid-row: span 3; }
.fx-hub-grid > :nth-child(2) { grid-column: span 5; grid-row: span 3; }
.fx-hub-grid > :nth-child(3), .fx-hub-grid > :nth-child(4), .fx-hub-grid > :nth-child(5) { grid-column: span 4; grid-row: span 2; }
.fx-hub-grid > :nth-child(6), .fx-hub-grid > :nth-child(7) { grid-column: span 6; grid-row: span 2; }

.fx-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; min-height: 280px; flex-direction: column; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 1.5rem; color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(0);
  transition: transform .7s var(--ease-out), box-shadow .5s ease, border-color .4s ease;
}
.fx-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.fx-card.is-tilting { transition: transform .15s linear, box-shadow .5s ease; }
.fx-card::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: radial-gradient(480px circle at var(--mx) var(--my), rgba(255, 255, 255, .3), transparent 45%); transition: opacity .4s ease; }
.fx-card:hover::after { opacity: 1; }
.fx-card-media { position: relative; flex: 1 1 auto; min-height: 160px; margin: .55rem .55rem 0; overflow: hidden; border-radius: 1.1rem; background: var(--paper); }
.fx-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.fx-card:hover .fx-card-media img { transform: scale(1.05); }
.fx-card-scan, .fx-card-bignum { display: none; }
.fx-card-top { position: absolute; z-index: 2; top: 1.2rem; left: 1.2rem; right: 1.2rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.fx-card-num { padding: .35rem .65rem; border-radius: 999px; color: var(--ink-2); background: rgba(250, 249, 245, .92); font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.fx-card-arrow { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; color: var(--ink); background: rgba(250, 249, 245, .94); font-size: 1rem; transition: transform .6s var(--ease-out), background .3s ease, color .3s ease; }
.fx-card:hover .fx-card-arrow { transform: rotate(45deg); color: #fff; background: var(--sky-deep); }
.fx-card-body { position: relative; z-index: 2; padding: 1.1rem 1.4rem 1.4rem; }
.fx-card-en { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .08em; }
.fx-card h3 { font: 400 clamp(1.5rem, 2.4vw, 2.2rem)/1.2 var(--serif); }
.fx-card p { max-width: 34rem; margin-top: .55rem; color: var(--ink-2); font-size: .94rem; line-height: 1.7; }
.fx-card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.fx-card-tags span { padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); background: var(--ivory); font-size: .74rem; font-weight: 600; }
.fx-card-meta { display: block; margin-bottom: .45rem; color: var(--sky-deep); font-size: .8rem; font-weight: 700; }
.fx-card-badge { display: inline-flex; align-items: center; gap: .3rem; margin-top: .7rem; padding: .3rem .65rem; border-radius: 999px; color: var(--sky-deep); background: var(--sky-soft); font-size: .76rem; font-weight: 700; }
/* 强调卡：天蓝 */
.fx-card-acid { justify-content: flex-end; color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-card-acid .fx-card-top { position: relative; top: 0; left: 0; right: 0; padding: 1.2rem 1.2rem 0; }
.fx-card-acid .fx-card-num { color: #fff; background: rgba(255, 255, 255, .16); }
.fx-card-acid .fx-card-en, .fx-card-acid p { color: rgba(255, 255, 255, .94); }
.fx-card-acid .fx-card-arrow { color: var(--sky-deep); background: #fff; }
.fx-card-acid:hover .fx-card-arrow { color: #fff; background: var(--ink); }
.fx-card-acid .fx-card-big { position: absolute; right: -.1em; top: -.15em; z-index: 0; color: rgba(255, 255, 255, .12); font: 400 clamp(9rem, 16vw, 14rem)/1 var(--serif); pointer-events: none; animation: sparkTurn 14s var(--ease-io) infinite; }
.fx-card-acid .fx-card-body { padding-top: 2rem; }
/* 强调卡：墨色 + 动态等高线 */
.fx-card-lab { justify-content: flex-end; color: var(--on-slate); background: var(--slate); border-color: var(--slate); }
.fx-card-lab > .fx-canvas { opacity: 1; }
.fx-card-lab .fx-card-num { color: var(--on-slate); background: rgba(240, 238, 230, .1); }
.fx-card-lab .fx-card-en, .fx-card-lab p { color: rgba(240, 238, 230, .72); }
.fx-card-lab .fx-card-tags span { color: var(--on-slate); border-color: rgba(240, 238, 230, .2); background: rgba(240, 238, 230, .06); }
.fx-card-live { position: absolute; z-index: 2; top: 1.2rem; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .7rem; border-radius: 999px; color: var(--ink); background: var(--sky); font-size: .72rem; font-weight: 700; }
.fx-card-live::before { content: ''; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ink); animation: motionDotPulse 1.6s ease-in-out infinite; }

/* ---------- 首页：粒子文字带（深色） ---------- */
.fx-manifesto { position: relative; height: clamp(340px, 52vh, 540px); overflow: hidden; color: var(--on-slate); background: var(--slate); cursor: crosshair; }
.fx-manifesto-hint { position: absolute; z-index: 2; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; gap: 1.5rem; color: rgba(240, 238, 230, .5); font-size: .8rem; white-space: nowrap; pointer-events: none; }
.fx-manifesto-hint b { color: var(--sky); font-weight: 600; }
.fx-manifesto-corner { position: absolute; z-index: 2; color: rgba(240, 238, 230, .4); font-size: .76rem; letter-spacing: .08em; pointer-events: none; }
.fx-manifesto-corner.tl { top: 1.4rem; left: var(--gutter); }
.fx-manifesto-corner.tr { top: 1.4rem; right: var(--gutter); text-align: right; }

/* 首页零散 */
.about-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.capability-link { display: block; color: inherit; }
.capability-link .capability-title-row span { transition: transform .5s var(--ease-out), background .3s ease, color .3s ease; }
.capability-link:hover .capability-title-row span { transform: rotate(45deg); color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.capabilities-section > .fx-canvas { opacity: 1; }
.capabilities-section > .reveal, .capabilities-section > .capabilities-list, .capabilities-section > .fx-more { position: relative; z-index: 2; }
.fx-more { display: flex; justify-content: center; margin-top: 2.6rem; }
.research-link-solid { color: var(--ivory); background: var(--ink); border-color: var(--ink); }
.research-link-solid:hover { color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.research-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.home-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; }
.home-footer-nav a { text-align: center; }
.home-footer-nav a:hover { color: var(--sky); }
.contact-section .fx-btn { color: var(--on-slate); background: transparent; border-color: rgba(240, 238, 230, .28); box-shadow: none; }
.contact-section .fx-btn:hover { border-color: var(--sky); }
.fx-lab-teaser { background: var(--ivory); }

/* ---------- 画像页 ---------- */
.fx-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.fx-split-even { grid-template-columns: 1fr 1fr; }
.fx-portrait-card { position: sticky; top: 6.5rem; overflow: hidden; border-radius: 1.8rem; aspect-ratio: 4/5; background: linear-gradient(170deg, #E4F1FB, #BFDDF3); box-shadow: var(--shadow-lg); }
.fx-portrait-card img { position: absolute; left: 50%; bottom: 0; width: 118%; max-width: none; transform: translateX(-50%); }
.fx-portrait-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(20, 20, 19, .55)); }
.fx-portrait-card figcaption { position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; color: #fff; }
.fx-portrait-card figcaption strong { font: 400 2rem/1 var(--serif); }
.fx-portrait-card figcaption span { font-size: .76rem; font-weight: 600; text-align: right; opacity: .9; }
.fx-prose { color: var(--ink); font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.85 var(--serif); text-align: justify; text-justify: inter-ideograph; }
.fx-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2.4rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--card); box-shadow: var(--shadow-sm); }
.fx-facts > div { display: flex; flex-direction: column; gap: .4rem; padding: 1.2rem 1rem; border-right: 1px solid var(--line); }
.fx-facts > div:last-child { border-right: 0; }
.fx-facts strong { color: var(--ink); font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--serif); }
.fx-facts span { color: var(--muted); font-size: .78rem; font-weight: 600; }
.fx-facts-paper { margin-top: 0; }
.fx-edu-list { display: grid; gap: .7rem; margin-top: 2rem; }
.fx-edu { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), border-color .3s ease; }
.fx-edu:hover { transform: translateX(4px); border-color: var(--line-2); }
.fx-edu-icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: .9rem; color: var(--ink-2); background: var(--paper); font: 400 1.3rem/1 var(--serif); }
.fx-edu small { display: block; margin-bottom: .15rem; color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.fx-edu strong { display: block; font: 400 1.25rem/1.35 var(--serif); }
.fx-edu span { color: var(--ink-2); font-size: .9rem; }
.fx-edu.is-next { border-color: rgba(var(--sky-rgb), .45); background: linear-gradient(120deg, var(--sky-soft), var(--card) 70%); }
.fx-edu.is-next .fx-edu-icon { color: #fff; background: var(--sky-deep); }

.fx-chain { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; counter-reset: chain; }
.fx-chain::before { content: ''; position: absolute; left: 8%; right: 8%; top: 2.5rem; height: 1px; background: var(--line-2); }
.fx-chain::after { content: ''; position: absolute; left: 8%; right: 8%; top: 2.5rem; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-io) .2s; }
.fx-chain.is-in::after { transform: scaleX(1); }
.fx-chain li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 0 .4rem; text-align: center; counter-increment: chain; }
.fx-chain-node { display: grid; place-items: center; width: 5rem; height: 5rem; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm); font: 400 1.15rem/1.2 var(--serif); opacity: 0; transform: scale(.8); transition: transform .8s var(--ease-out), opacity .6s ease, background .3s ease, color .3s ease, border-color .3s ease; }
.fx-chain.is-in .fx-chain-node { opacity: 1; transform: none; }
.fx-chain li:nth-child(1) .fx-chain-node { transition-delay: .2s; }
.fx-chain li:nth-child(2) .fx-chain-node { transition-delay: .5s; }
.fx-chain li:nth-child(3) .fx-chain-node { transition-delay: .8s; }
.fx-chain li:nth-child(4) .fx-chain-node { transition-delay: 1.1s; }
.fx-chain li:nth-child(5) .fx-chain-node { transition-delay: 1.4s; }
.fx-chain li:nth-child(6) .fx-chain-node { transition-delay: 1.7s; color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-chain li:hover .fx-chain-node { border-color: var(--sky); color: var(--sky-deep); }
.fx-chain li:nth-child(6):hover .fx-chain-node { color: #fff; }
.fx-chain li::before { content: '0' counter(chain); order: 2; color: var(--faint); font-size: .74rem; font-weight: 700; }
.fx-chain li p { order: 3; max-width: 11rem; color: var(--ink-2); font-size: .86rem; line-height: 1.6; }

.fx-sites { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.fx-site { position: relative; display: flex; flex-direction: column; gap: .6rem; min-height: 220px; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease-out), box-shadow .5s ease, border-color .3s ease; }
.fx-site:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(var(--sky-rgb), .5); }
.fx-site-pin { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .06em; }
.fx-site-pin::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(var(--sky-rgb), .5); animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { to { box-shadow: 0 0 0 12px rgba(var(--sky-rgb), 0); } }
.fx-site h3 { font: 400 1.7rem/1.2 var(--serif); }
.fx-site p { color: var(--ink-2); font-size: .9rem; line-height: 1.7; }
.fx-site .fx-site-go { margin-top: auto; color: var(--sky-deep); font-size: .84rem; font-weight: 600; }
.fx-moments { display: grid; grid-template-columns: repeat(6, 1fr); gap: .9rem; }
.fx-moment { position: relative; margin: 0; overflow: hidden; border-radius: 1.3rem; background: var(--paper); aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.fx-moment:nth-child(1) { grid-column: span 3; grid-row: span 2; aspect-ratio: auto; }
.fx-moment:nth-child(n+2) { grid-column: span 3; }
.fx-moment img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.fx-moment:hover img { transform: scale(1.05); }
.fx-moment figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .4rem .75rem; border-radius: 999px; color: var(--ink); background: rgba(250, 249, 245, .94); font-size: .8rem; font-weight: 600; }

.fx-honors { margin-top: 1.8rem; list-style: none; border-top: 1px solid var(--line); }
.fx-honors li { display: grid; grid-template-columns: 4rem 1fr; gap: .15rem 1rem; padding: .95rem .2rem; border-bottom: 1px solid var(--line); transition: background .3s ease, padding .4s var(--ease-out); }
.fx-honors li:hover { padding-left: .7rem; background: linear-gradient(90deg, var(--sky-soft), transparent); }
.fx-honor-year { grid-row: span 2; color: var(--sky-deep); font: 400 1.05rem/1.5 var(--serif); }
.fx-honors strong { font-size: 1rem; font-weight: 600; }
.fx-honors em { color: var(--muted); font-style: normal; font-size: .88rem; }
.fx-exps { margin-top: 1.8rem; list-style: none; border-top: 1px solid var(--line); }
.fx-exp { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.fx-exp-when { color: var(--muted); font-size: .8rem; font-weight: 600; line-height: 1.7; }
.fx-exp h3 { font: 400 1.2rem/1.4 var(--serif); }
.fx-exp h3 small { margin-left: .45rem; color: var(--sky-deep); font: 600 .8rem/1 var(--sans); }
.fx-exp p { margin-top: .3rem; color: var(--ink-2); font-size: .92rem; line-height: 1.75; }
.fx-exp ul { margin-top: .4rem; padding-left: 1.1rem; color: var(--ink-2); font-size: .92rem; line-height: 1.75; }
.fx-exp ul li::marker { color: var(--sky); }
.fx-inline-link { margin-left: .35rem; color: var(--sky-deep); font-weight: 600; white-space: nowrap; border-bottom: 1px solid rgba(var(--sky-rgb), .4); }
.fx-skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.fx-skill { padding: 1.3rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out), border-color .3s ease; }
.fx-skill:hover { transform: translateY(-4px); border-color: rgba(var(--sky-rgb), .5); }
.fx-skill h3 { font: 400 1.2rem/1.3 var(--serif); }
.fx-skill p { margin-top: .55rem; color: var(--ink-2); font-size: .9rem; line-height: 1.75; }
.fx-skills-dark { grid-template-columns: 1fr; margin-top: 1.8rem; }
.fx-skill-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; margin-top: 1.2rem; align-items: stretch; }
.fx-courses { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; list-style: none; }
.fx-courses li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); font-weight: 600; }
.fx-courses b { color: var(--sky-deep); font: 400 1.6rem/1 var(--serif); }

/* ---------- 足迹地球 ---------- */
.fx-globe-hero { min-height: max(820px, 100svh); cursor: grab; user-select: none; -webkit-user-select: none; }
.fx-globe-hero:active { cursor: grabbing; }
.fx-globe-hero.is-globe-hover { cursor: pointer; }
.fx-globe-hero .fx-page-hero-grid { align-self: stretch; align-items: start; }
.fx-globe-panel { position: absolute; z-index: 3; right: var(--gutter); bottom: clamp(4.6rem, 9vh, 6.2rem); width: min(470px, 38vw); padding: 1rem; border: 1px solid var(--line); border-radius: 1.3rem; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); cursor: default; }
.fx-globe-stats { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; padding: 0 .2rem .75rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 600; }
.fx-globe-stats b { margin-right: .2rem; color: var(--sky-deep); font: 400 1.5rem/1 var(--serif); }
.fx-globe-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.fx-globe-chip { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); background: var(--ivory); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s ease, background .3s ease, transform .4s var(--ease-out); }
.fx-globe-chip b { font-size: .86rem; font-weight: 600; }
.fx-globe-chip span { color: var(--muted); font-size: .7rem; }
.fx-globe-chip:hover, .fx-globe-chip[aria-pressed="true"] { transform: translateY(-2px); border-color: var(--sky); background: var(--sky-soft); }
.fx-globe-chip.is-next { border-color: rgba(var(--sky-rgb), .5); }
.fx-globe-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .9rem; margin-top: .75rem; color: var(--muted); font-size: .74rem; }
.fx-globe-legend i { display: inline-block; width: .6rem; height: .6rem; margin-right: -.5rem; border-radius: 2px; }
.fx-globe-legend .lg-on { background: rgba(var(--sky-rgb), .65); }
.fx-globe-legend .lg-city { border-radius: 50%; background: var(--ink); }
.fx-globe-legend .lg-abroad { border-radius: 50%; background: var(--sky-deep); }
.fx-globe-legend .lg-research { border-radius: 50%; border: 2px solid var(--sky); background: transparent; }

/* ---------- 能力页 ---------- */
.fx-orbit-wrap { position: relative; display: grid; place-items: center; min-height: min(80vw, 680px); overflow: hidden; }
.fx-orbit { --s: 1; position: relative; width: calc(640px * var(--s)); height: calc(640px * var(--s)); }
.fx-orbit-core { position: absolute; left: 50%; top: 50%; z-index: 3; display: grid; place-items: center; width: calc(160px * var(--s)); height: calc(160px * var(--s)); transform: translate(-50%, -50%); border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, #7CC0EE, var(--sky-deep)); text-align: center; font: 400 calc(1rem * var(--s) + .25rem)/1.35 var(--serif); box-shadow: 0 0 0 12px rgba(var(--sky-rgb), .08), 0 0 0 26px rgba(var(--sky-rgb), .04), var(--shadow-lg); animation: corePulse 5s ease-in-out infinite; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 18px rgba(var(--sky-rgb), .1), 0 0 0 38px rgba(var(--sky-rgb), .03), var(--shadow-lg); } }
.fx-orbit-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--d) * var(--s)); height: calc(var(--d) * var(--s)); margin: calc(var(--d) * var(--s) / -2) 0 0 calc(var(--d) * var(--s) / -2); border: 1px dashed var(--line-2); border-radius: 50%; animation: orbitSpin var(--dur) linear infinite; }
.fx-orbit-ring.is-rev { animation-direction: reverse; }
.fx-orbit:hover .fx-orbit-ring, .fx-orbit:hover .fx-orbit-chip span { animation-play-state: paused; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.fx-orbit-chip { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(calc(var(--d) * var(--s) / 2)) rotate(calc(var(--a) * -1)); }
.fx-orbit-chip span { position: absolute; left: 0; top: 0; display: block; padding: .45rem .8rem; transform: translate(-50%, -50%); white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm); font-size: calc(.74rem * var(--s) + .16rem); font-weight: 600; animation: orbitSpin var(--dur) linear infinite reverse; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.fx-orbit-ring.is-rev .fx-orbit-chip span { animation-direction: normal; }
.fx-orbit-chip span:hover { color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-orbit-chip.is-hot span { border-color: rgba(var(--sky-rgb), .55); color: var(--sky-deep); }
.fx-caps { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.fx-caps-index { position: sticky; top: 6.5rem; display: flex; flex-direction: column; gap: .2rem; }
.fx-caps-index a { display: flex; align-items: center; gap: .8rem; padding: .65rem .9rem; border-radius: .9rem; color: var(--muted); font-weight: 600; transition: color .3s ease, background .3s ease, padding .4s var(--ease-out); }
.fx-caps-index a small { font-size: .74rem; }
.fx-caps-index a:hover { color: var(--ink); }
.fx-caps-index a.is-active { padding-left: 1.2rem; color: var(--sky-deep); background: var(--card); box-shadow: var(--shadow-sm); }
.fx-cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(1.5rem, 3vw, 3rem); padding: clamp(2.2rem, 4.5vw, 4rem) 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 6rem; }
.fx-cap:first-child { padding-top: 0; }
.fx-cap-num { display: flex; align-items: baseline; gap: .9rem; color: var(--sky-deep); font: 400 clamp(3.2rem, 7vw, 5.6rem)/.9 var(--serif); }
.fx-cap-num small { color: var(--muted); font: 600 .76rem/1 var(--sans); letter-spacing: .1em; }
.fx-cap h3 { margin-top: 1rem; font: 400 clamp(1.7rem, 3vw, 2.6rem)/1.2 var(--serif); }
.fx-cap p { margin-top: .9rem; color: var(--ink-2); font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.85; }
.fx-cap ul { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; list-style: none; }
.fx-cap li { padding: .45rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--ivory); font-size: .8rem; font-weight: 600; transition: border-color .3s ease, color .3s ease; }
.fx-cap li:hover { border-color: var(--sky); color: var(--sky-deep); }
.fx-cap-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.fx-cap-links a:not(.fx-btn) { display: inline-flex; gap: .4rem; padding: .55rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: var(--card); font-size: .84rem; font-weight: 600; transition: border-color .3s ease, color .3s ease; }
.fx-cap-links a:not(.fx-btn):hover { border-color: var(--sky-deep); color: var(--sky-deep); }
.fx-cap-media { position: relative; overflow: hidden; margin: 0; border-radius: 1.5rem; aspect-ratio: 4/3.3; background: var(--card); box-shadow: var(--shadow); }
.fx-cap-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease-out); }
.fx-cap:hover .fx-cap-media img { transform: scale(1.05); }

/* ---------- 研究目录 ---------- */
.fx-projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.9rem, 1.6vw, 1.3rem); }
.fx-projects .fx-card { min-height: clamp(440px, 46vw, 560px); }
.fx-projects .fx-card:first-child { grid-column: span 2; min-height: clamp(460px, 44vw, 600px); }
.fx-projects .fx-card h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }

/* ---------- 研究详情 ---------- */
.fx-detail-title { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.fx-detail-num { display: none; }
.fx-stats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--card); box-shadow: var(--shadow-sm); }
.fx-stat { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.3rem, 2.6vw, 2rem); border-right: 1px solid var(--line); }
.fx-stat:last-child { border-right: 0; }
.fx-stat::before { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.fx-stat:hover::before { transform: scaleX(1); }
.fx-stat-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; color: var(--ink); font: 400 clamp(1.9rem, 3.4vw, 3rem)/1.05 var(--serif); }
.fx-stat-value.is-text { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.fx-stat-value small { color: var(--sky-deep); font: 600 .88rem/1 var(--sans); }
.fx-stat-label { color: var(--muted); font-size: .84rem; font-weight: 500; }
.fx-highlight { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1rem; padding: 1.1rem 1.4rem; border: 1px solid rgba(var(--sky-rgb), .35); border-radius: 1.2rem; background: var(--sky-soft); }
.fx-highlight-badge { padding: .45rem .85rem; border-radius: 999px; color: #fff; background: var(--sky-deep); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.fx-highlight p { flex: 1; min-width: 240px; color: var(--ink); font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.7; }
.fx-role { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 2px solid var(--sky); border-radius: 0 1rem 1rem 0; color: var(--ink-2); background: var(--card); line-height: 1.85; }
.fx-role b { display: block; margin-bottom: .2rem; color: var(--sky-deep); font-size: .8rem; font-weight: 700; }
.fx-steps { position: relative; display: grid; list-style: none; }
.fx-steps::before { content: ''; position: absolute; left: 1.5rem; top: 1rem; bottom: 1rem; width: 1px; background: var(--line-2); }
.fx-steps::after { content: ''; position: absolute; left: 1.5rem; top: 1rem; bottom: 1rem; width: 1px; background: var(--sky); transform-origin: top; transform: scaleY(0); transition: transform 1.8s var(--ease-io); }
.fx-steps.is-in::after { transform: scaleY(1); }
.fx-step { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 1.15rem 0; }
.fx-step-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--sky-deep); font: 400 1rem/1 var(--serif); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.fx-step:hover .fx-step-dot { color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-step h4 { font: 400 clamp(1.2rem, 1.8vw, 1.45rem)/1.35 var(--serif); }
.fx-step p { margin-top: .35rem; color: var(--ink-2); line-height: 1.8; }
.fx-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.fx-detail-desc { color: var(--ink); font: 400 clamp(1.15rem, 1.6vw, 1.35rem)/1.85 var(--serif); text-align: justify; text-justify: inter-ideograph; }
.fx-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.6rem; list-style: none; }
.fx-tags li { padding: .45rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--card); font-size: .82rem; font-weight: 600; }
.fx-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.7rem, 1.2vw, 1rem); }
.fx-shot { position: relative; overflow: hidden; margin: 0; border-radius: clamp(1rem, 1.8vw, 1.5rem); background: var(--paper); box-shadow: var(--shadow-sm); }
.fx-shot:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: clamp(300px, 40vw, 580px); }
.fx-shot:nth-child(2), .fx-shot:nth-child(3) { grid-column: span 5; min-height: clamp(180px, 19vw, 280px); }
.fx-shot:nth-child(n+4) { grid-column: span 6; min-height: clamp(200px, 25vw, 360px); }
.fx-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.fx-shot:hover img { transform: scale(1.04); }
.fx-shot figcaption { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .8rem; border-radius: .8rem; color: var(--ink); background: rgba(250, 249, 245, .95); font-size: .8rem; font-weight: 600; transform: translateY(130%); transition: transform .5s var(--ease-out); }
.fx-shot figcaption b { color: var(--sky-deep); }
.fx-shot:hover figcaption, .fx-shot:focus-visible figcaption { transform: none; }
.fx-pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--ivory); }
.fx-pager a { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: clamp(2.4rem, 5vw, 4rem) var(--gutter); overflow: hidden; isolation: isolate; transition: background .4s ease; }
.fx-pager a + a { border-left: 1px solid var(--line); text-align: right; align-items: flex-end; }
.fx-pager a:hover { background: var(--paper); }
.fx-pager small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.fx-pager strong { font: 400 clamp(1.6rem, 3.6vw, 3rem)/1.15 var(--serif); transition: color .3s ease; }
.fx-pager a:hover strong { color: var(--sky-deep); }
.fx-hover-img { position: absolute; left: 0; top: 0; z-index: -1; width: clamp(180px, 20vw, 300px); aspect-ratio: 4/3; overflow: hidden; border-radius: 1rem; opacity: 0; pointer-events: none; box-shadow: var(--shadow-lg); transition: opacity .4s ease; }
.fx-hover-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .9s var(--ease-out); }
[data-hover-reveal]:hover .fx-hover-img { opacity: 1; }
[data-hover-reveal]:hover .fx-hover-img img { transform: scale(1); }

/* ---------- 野外证据 ---------- */
.fx-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1.8rem; }
.fx-filters button { padding: .6rem 1.05rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--card); font: 600 .88rem/1 var(--sans); cursor: pointer; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .4s var(--ease-out); }
.fx-filters button:hover { transform: translateY(-2px); border-color: var(--ink); }
.fx-filters button[aria-pressed="true"] { color: var(--ivory); background: var(--ink); border-color: var(--ink); }
.fx-filters output { margin-left: auto; color: var(--muted); font-size: .86rem; }
.fx-filters output b { color: var(--sky-deep); font: 400 1.5rem/1 var(--serif); }
.fx-masonry { columns: 4 250px; column-gap: clamp(.7rem, 1.2vw, 1rem); }
.fx-tile { position: relative; display: block; margin: 0 0 clamp(.7rem, 1.2vw, 1rem); overflow: hidden; break-inside: avoid; border-radius: 1.1rem; background: var(--paper); box-shadow: var(--shadow-sm); }
.fx-tile img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out); }
.fx-tile:hover img { transform: scale(1.05); }
.fx-tile figcaption { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: flex; flex-direction: column; gap: .15rem; padding: .6rem .8rem; border-radius: .8rem; color: var(--ink); background: rgba(250, 249, 245, .95); opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--ease-out); }
.fx-tile figcaption b { color: var(--sky-deep); font-size: .7rem; font-weight: 700; }
.fx-tile figcaption span { font-size: .88rem; font-weight: 600; }
.fx-tile:hover figcaption, .fx-tile:focus-visible figcaption { opacity: 1; transform: none; }
.fx-tile.is-hidden { display: none; }
.fx-tile.is-pop { animation: tilePop .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes tilePop { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- GeoToolbox 内嵌 / 上手步骤 / 表格 ---------- */
.fx-try { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-bottom: 1.4rem; list-style: none; }
.fx-try li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--card); box-shadow: var(--shadow-sm); transition: border-color .3s ease, transform .5s var(--ease-out); }
.fx-try li:hover { border-color: rgba(var(--sky-rgb), .5); transform: translateY(-3px); }
.fx-try li > span { color: var(--sky-deep); font: 400 1.6rem/1 var(--serif); }
.fx-try strong { font: 400 1.15rem/1.3 var(--serif); }
.fx-try p { margin-top: .35rem; color: var(--ink-2); font-size: .88rem; line-height: 1.7; }
.fx-embed { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--card); box-shadow: var(--shadow-lg); }
.fx-embed:fullscreen { border-radius: 0; border: 0; }
.fx-embed-bar { display: flex; align-items: center; gap: 1rem; padding: .65rem 1rem; border-bottom: 1px solid var(--line); background: var(--ivory); }
.fx-embed-dots { display: flex; gap: .4rem; }
.fx-embed-dots i { width: .65rem; height: .65rem; border-radius: 50%; background: var(--line-2); }
.fx-embed-dots i:nth-child(3) { background: var(--sky); }
.fx-embed-url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 500 .78rem/1 var(--mono); }
.fx-embed-url b { color: var(--ink); font-weight: 600; }
.fx-embed-actions { display: flex; gap: .4rem; }
.fx-embed-btn { padding: .45rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); background: var(--card); font: 600 .78rem/1 var(--sans); cursor: pointer; white-space: nowrap; transition: border-color .3s ease, color .3s ease; }
.fx-embed-btn:hover { border-color: var(--sky-deep); color: var(--sky-deep); }
.fx-embed-frame { position: relative; height: var(--embed-h, 780px); min-height: 520px; background: var(--paper); }
.fx-embed:fullscreen .fx-embed-frame { height: calc(100vh - 3.1rem); }
.fx-embed iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; background: var(--paper); opacity: 0; transition: opacity .6s ease; }
.fx-embed.is-live iframe { opacity: 1; }
.fx-embed-cover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; padding: 2rem; border: 0; text-align: center; color: var(--ink); background: radial-gradient(circle at center, rgba(250, 249, 245, .55), rgba(250, 249, 245, .88)); font: inherit; cursor: pointer; transition: opacity .5s ease, visibility 0s .5s; }
.fx-embed.is-live .fx-embed-cover { opacity: 0; visibility: hidden; pointer-events: none; }
.fx-embed-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .8rem; border-radius: 999px; color: var(--sky-deep); background: var(--sky-soft); font-size: .76rem; font-weight: 700; }
.fx-embed-cover strong { font: 400 clamp(2rem, 4.4vw, 3.6rem)/1.15 var(--serif); }
.fx-embed-cover > span:not(.fx-embed-badge):not(.fx-embed-play) { color: var(--ink-2); font-size: .95rem; }
.fx-embed-play { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin-top: .5rem; border-radius: 50%; color: #fff; background: var(--sky-deep); font-size: 1.4rem; box-shadow: 0 0 0 0 rgba(var(--sky-rgb), .45); animation: pinPulse 2.2s ease-out infinite; transition: transform .5s var(--ease-out); }
.fx-embed-cover:hover .fx-embed-play { transform: scale(1.08); }
.fx-embed-cover:focus-visible { outline: 2px solid var(--sky); outline-offset: -6px; }
.fx-embed-video .fx-embed-frame { height: auto; min-height: 0; aspect-ratio: 16/9; }
.fx-embed-video .fx-embed-cover { color: var(--on-slate); background: radial-gradient(circle at 30% 20%, rgba(var(--sky-rgb), .3), transparent 55%), var(--slate); }
.fx-embed-video .fx-embed-cover > span:not(.fx-embed-badge):not(.fx-embed-play) { color: rgba(240, 238, 230, .7); }
.fx-embed-video .fx-embed-badge { color: var(--ink); background: var(--sky); }
.fx-embed-video .fx-embed-cover strong { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.fx-embed-video .fx-embed-play { width: 3.8rem; height: 3.8rem; }
.fx-videos { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1.4rem; }
.fx-lab-chips { justify-content: center; margin-top: 1.2rem; }
.fx-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1.3rem; background: var(--card); box-shadow: var(--shadow-sm); }
.fx-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; }
.fx-table th, .fx-table td { padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.65; }
.fx-table thead th { color: var(--muted); font-size: .8rem; font-weight: 600; background: var(--ivory); }
.fx-table tbody th { font-weight: 600; white-space: nowrap; }
.fx-table td { color: var(--ink-2); }
.fx-table td:last-child { color: var(--sky-deep); font-weight: 600; }
.fx-table tbody tr:last-child > * { border-bottom: 0; }
.fx-table tbody tr:hover { background: var(--ivory); }
.fx-note { margin-top: 1.1rem; color: var(--muted); font-size: .84rem; line-height: 1.7; }

/* ---------- 实习页（简历风格） ---------- */
.fx-resume-sec { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.2rem, 4vw, 3.4rem) 0; border-top: 1px solid var(--line); }
.fx-resume-sec:first-child { border-top: 0; padding-top: 0; }
.fx-resume-label { position: sticky; top: 6.5rem; align-self: start; }
.fx-resume-label b { display: block; color: var(--sky-deep); font: 400 1rem/1 var(--serif); }
.fx-resume-label h2 { margin-top: .4rem; font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.2 var(--serif); }
.fx-resume-label p { margin-top: .5rem; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.fx-entry + .fx-entry { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px dashed var(--line-2); }
.fx-entry-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1.5rem; }
.fx-entry-head h3 { font: 400 clamp(1.25rem, 1.9vw, 1.55rem)/1.35 var(--serif); }
.fx-entry-head h3 small { margin-left: .5rem; color: var(--muted); font: 500 .86rem/1 var(--sans); }
.fx-entry-head time { color: var(--muted); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.fx-entry-sub { margin-top: .3rem; color: var(--sky-deep); font-size: .88rem; font-weight: 600; }
.fx-entry ul { margin-top: .8rem; padding-left: 1.15rem; color: var(--ink-2); line-height: 1.85; }
.fx-entry li + li { margin-top: .35rem; }
.fx-entry li::marker { color: var(--sky); }
.fx-entry li b { color: var(--ink); font-weight: 600; }
.fx-entry-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.fx-sub-h { margin: 2.4rem 0 0; font: 400 1.35rem/1.3 var(--serif); }
.fx-sub-h::before { content: '✳︎ '; color: var(--sky); font-size: .9em; }
.fx-dl { display: grid; grid-template-columns: 7rem 1fr; gap: .8rem 1.4rem; }
.fx-dl dt { color: var(--muted); font-size: .9rem; }
.fx-dl dd { color: var(--ink); line-height: 1.75; }
.fx-abilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.4rem; }
.fx-ability {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: .45rem; min-height: 230px; padding: 1.3rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1.3rem;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--sky-soft), transparent 70%), var(--card); box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out), border-color .3s ease;
}
.fx-ability.is-tilting { transition: transform .12s linear; border-color: rgba(var(--sky-rgb), .5); }
.fx-key { display: grid; place-items: center; min-width: 3rem; height: 3rem; padding: 0 .6rem; margin-bottom: .5rem; width: fit-content; border: 1px solid var(--line-2); border-radius: .8rem; color: var(--sky-deep); background: var(--ivory); font: 600 1.05rem/1 var(--mono); box-shadow: inset 0 -3px 0 var(--line); }
.fx-ability h3 { font: 400 1.4rem/1.25 var(--serif); }
.fx-ability em { color: var(--sky-deep); font-style: normal; font-size: .8rem; font-weight: 600; }
.fx-ability p { color: var(--ink-2); font-size: .88rem; line-height: 1.7; }
.fx-calc { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 1.6rem; color: var(--on-slate); background: var(--slate); box-shadow: var(--shadow-lg); }
.fx-calc-formula { padding: .9rem 1.1rem; border: 1px dashed rgba(var(--sky-rgb), .55); border-radius: .9rem; color: var(--sky); font: 500 clamp(.86rem, 1.4vw, 1.05rem)/1.6 var(--mono); text-align: center; }
.fx-calc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.5rem; }
.fx-calc-inputs { display: flex; flex-direction: column; gap: 1.1rem; }
.fx-calc-inputs label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem; color: rgba(240, 238, 230, .72); font-size: .92rem; }
.fx-calc-inputs output { color: #fff; font: 400 1.25rem/1 var(--serif); }
.fx-calc-inputs input[type="range"] { width: 100%; margin-top: .4rem; accent-color: var(--sky); }
.fx-calc-inputs .fx-btn { align-self: flex-start; color: var(--on-slate); background: transparent; border-color: rgba(240, 238, 230, .3); box-shadow: none; }
.fx-calc-inputs .fx-btn:hover { border-color: var(--sky); }
.fx-calc-hp { display: flex; align-items: baseline; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(240, 238, 230, .14); }
.fx-calc-hp small { color: rgba(240, 238, 230, .6); font-size: .86rem; }
.fx-calc-hp strong { color: var(--sky); font: 400 clamp(3.4rem, 7vw, 5rem)/1 var(--serif); }
.fx-calc-hp span { font-weight: 600; }
.fx-calc-cases { display: grid; gap: .55rem; margin-top: 1rem; list-style: none; }
.fx-calc-cases li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem; padding: .8rem 1rem; border: 1px solid rgba(240, 238, 230, .12); border-radius: .9rem; background: rgba(240, 238, 230, .04); }
.fx-calc-cases b { font-size: .94rem; font-weight: 600; }
.fx-calc-cases span { color: rgba(240, 238, 230, .72); font: 500 .9rem/1 var(--mono); }
.fx-calc-cases em { min-width: 5rem; padding: .32rem .6rem; border-radius: 999px; font-style: normal; font-size: .78rem; font-weight: 700; text-align: center; }
.fx-calc-cases li.is-break em { color: var(--ink); background: var(--on-slate); }
.fx-calc-cases li.is-hold em { color: var(--ink); background: var(--sky); }
.fx-calc-goal { margin-top: 1rem; padding: .8rem 1rem; border-radius: .9rem; font-weight: 600; line-height: 1.6; }
.fx-calc-goal.is-ok { color: var(--ink); background: var(--sky); }
.fx-calc-goal.is-off { color: var(--on-slate); background: rgba(240, 238, 230, .1); border: 1px solid rgba(240, 238, 230, .25); }
.fx-note-paper { color: rgba(240, 238, 230, .55); }
.fx-hours { display: grid; gap: .8rem; margin-top: 1rem; list-style: none; }
.fx-hours li { display: grid; grid-template-columns: 9.5rem 1fr auto; align-items: center; gap: 1rem; font-weight: 600; }
.fx-hours i { position: relative; height: .55rem; overflow: hidden; border-radius: 999px; background: var(--paper-2); }
.fx-hours i::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #8CC6EF, var(--sky-deep)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io); }
.fx-hours.is-in i::after { transform: scaleX(1); }
.fx-hours li:nth-child(2) i::after { transition-delay: .12s; }
.fx-hours li:nth-child(3) i::after { transition-delay: .24s; }
.fx-hours li:nth-child(4) i::after { transition-delay: .36s; }
.fx-hours b { color: var(--sky-deep); font-size: .84rem; white-space: nowrap; }
body.motion-paused .fx-hours i::after { transform: none; }

/* ---------- 联系页 ---------- */
.fx-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.fx-contact-card { position: relative; display: flex; flex-direction: column; gap: .9rem; min-height: 220px; padding: clamp(1.3rem, 2.3vw, 2rem); overflow: hidden; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow-sm); text-align: left; color: inherit; font: inherit; transition: border-color .3s ease, transform .6s var(--ease-out), box-shadow .5s ease; }
button.fx-contact-card { cursor: pointer; }
.fx-contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(var(--sky-rgb), .5); }
.fx-contact-card > span:first-child { color: var(--muted); font-size: .8rem; font-weight: 600; }
.fx-contact-card strong { margin-top: auto; font: 400 clamp(1.3rem, 2.1vw, 1.9rem)/1.3 var(--serif); overflow-wrap: anywhere; }
.fx-contact-card em { font-style: normal; color: var(--sky-deep); font-size: .86rem; font-weight: 600; }
.fx-contact-card.is-acid { color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-contact-card.is-acid > span:first-child, .fx-contact-card.is-acid em { color: rgba(255, 255, 255, .85); }
.fx-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 1rem; }
.fx-topic { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: 1.3rem; background: var(--card); font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.3 var(--serif); transition: border-color .3s ease, transform .6s var(--ease-out); }
.fx-topic span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: #fff; background: var(--ink); font-size: .95rem; transition: transform .6s var(--ease-out), background .3s ease; }
.fx-topic:hover { transform: translateY(-3px); border-color: rgba(var(--sky-rgb), .5); }
.fx-topic:hover span { transform: rotate(45deg); background: var(--sky-deep); }
.fx-msg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.fx-msg-intro p:last-child { margin-top: 1rem; color: var(--muted); line-height: 1.8; }
.fx-msg-form { display: grid; gap: 1rem; padding: clamp(1.3rem, 2.5vw, 2.2rem); border: 1px solid var(--line); border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow-sm); }
.fx-msg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fx-msg-form label { display: grid; gap: .45rem; }
.fx-msg-form label > span { color: var(--muted); font-size: .8rem; font-weight: 600; }
.fx-msg-form input, .fx-msg-form select, .fx-msg-form textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line-2); border-radius: .9rem; color: var(--ink); background: var(--ivory); font: inherit; font-size: 1rem; }
.fx-msg-form textarea { resize: vertical; min-height: 9rem; line-height: 1.7; }
.fx-msg-form input:focus, .fx-msg-form select:focus, .fx-msg-form textarea:focus { outline: 2px solid rgba(var(--sky-rgb), .45); outline-offset: 1px; border-color: var(--sky-deep); }
.fx-msg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fx-msg-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.fx-msg-foot button[disabled] { opacity: .6; cursor: wait; }
.fx-msg-status { margin: 0; font-size: .9rem; }
.fx-msg-status.is-ok { color: var(--sky-deep); font-weight: 600; }
.fx-msg-status.is-err { color: #b3261e; }

/* ---------- 页脚（墨色） ---------- */
.fx-footer { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) var(--gutter) 1.5rem; color: var(--on-slate); background: var(--slate); }
.fx-footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3rem; width: min(100%, 1280px); margin: 0 auto; }
.fx-footer .fx-kicker { color: var(--sky); }
.fx-footer-big { display: inline-block; margin-top: 1rem; font: 400 clamp(2.6rem, 6vw, 5.4rem)/1.1 var(--serif); }
.fx-footer-big span { display: inline-block; color: var(--sky); transition: transform .6s var(--ease-out); }
.fx-footer-big:hover span { transform: translate(8px, -8px); }
.fx-footer-big u { text-decoration: none; background: linear-gradient(var(--sky), var(--sky)) 0 100% / 0 2px no-repeat; transition: background-size .7s var(--ease-out); }
.fx-footer-big:hover u { background-size: 100% 2px; }
.fx-footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-content: end; }
.fx-footer-cols h4 { margin-bottom: .8rem; color: rgba(240, 238, 230, .5); font-size: .8rem; font-weight: 600; }
.fx-footer-cols a, .fx-footer-cols p { display: block; padding: .2rem 0; color: rgba(240, 238, 230, .85); font-size: .95rem; line-height: 1.6; }
.fx-footer-cols a { width: fit-content; transition: color .3s ease; }
.fx-footer-cols a:hover { color: var(--sky); }
.fx-footer-word { margin: clamp(2.5rem, 5vw, 4rem) 0 0; text-align: center; font: 400 clamp(5rem, 22vw, 20rem)/.85 var(--serif); letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px rgba(240, 238, 230, .16); user-select: none; transition: -webkit-text-stroke-color .6s ease; }
.fx-footer-word:hover { -webkit-text-stroke-color: rgba(var(--sky-rgb), .6); }
.fx-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; width: min(100%, 1280px); margin: 1.4rem auto 0; padding-top: 1.1rem; border-top: 1px solid rgba(240, 238, 230, .12); color: rgba(240, 238, 230, .55); font-size: .82rem; }
.fx-footer-bottom a:hover { color: var(--sky); }
.fx-glitch::before, .fx-glitch::after { display: none; }

/* ---------- HUD 与回到顶部 ---------- */
.fx-hud { position: fixed; z-index: 1190; left: 1rem; bottom: 1rem; display: flex; gap: .85rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(250, 249, 245, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); font: 500 .7rem/1 var(--mono); pointer-events: none; }
.fx-hud span:first-child { color: var(--sky-deep); font-weight: 700; }
.fx-totop { position: fixed; z-index: 1190; right: 1rem; bottom: 3.9rem; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: rgba(250, 249, 245, .92); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(16px) scale(.85); pointer-events: none; transition: opacity .4s ease, transform .6s var(--ease-out), background .3s ease, color .3s ease; }
.fx-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fx-totop svg { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.fx-totop circle { fill: none; stroke-width: 2; }
.fx-totop circle:first-child { stroke: transparent; }
.fx-totop circle:last-child { stroke: var(--sky); stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p, 0))); }
.fx-totop:hover { color: #fff; background: var(--sky-deep); }

/* ---------- 灯箱 ---------- */
.fx-lightbox { position: fixed; inset: 0; z-index: 1700; display: grid; place-items: center; padding: 4.5rem 4.5rem 5.5rem; visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s .45s; }
.lightbox-open .fx-lightbox { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.fx-lightbox-backdrop { position: absolute; inset: 0; background: rgba(240, 238, 230, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fx-lightbox-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; max-height: 100%; margin: 0; }
.fx-lightbox-stage img { max-width: min(1400px, 100%); max-height: calc(100svh - 11rem); border-radius: 1rem; object-fit: contain; box-shadow: var(--shadow-lg); opacity: 0; transform: scale(.97); transition: opacity .6s ease, transform .8s var(--ease-out); }
.fx-lightbox-stage img.is-loaded { opacity: 1; transform: none; }
.fx-lightbox-stage figcaption { display: flex; gap: 1rem; align-items: baseline; color: var(--ink); font: 400 1.05rem/1.5 var(--serif); }
.fx-lightbox-stage figcaption span { color: var(--sky-deep); font: 600 .8rem/1 var(--sans); }
.fx-lightbox-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm); font-size: 1.05rem; cursor: pointer; transition: background .3s ease, color .3s ease, transform .4s var(--ease-out); }
.fx-lightbox-btn:hover { color: #fff; background: var(--sky-deep); transform: scale(1.06); }
.fx-lightbox-prev { left: 1.2rem; top: 50%; margin-top: -1.5rem; }
.fx-lightbox-next { right: 1.2rem; top: 50%; margin-top: -1.5rem; }
.fx-lightbox-close { top: 1.2rem; right: 1.2rem; }

/* ---------- 404 ---------- */
.fx-404 { position: relative; display: flex; min-height: 100svh; flex-direction: column; align-items: center; justify-content: flex-end; padding: 2rem var(--gutter) 4rem; overflow: hidden; text-align: center; background: var(--ivory); cursor: crosshair; }
.fx-404 .fx-layer { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.fx-404-icp { position: relative; z-index: 2; margin-top: 2.4rem; font-size: .78rem; color: rgba(12, 12, 12, .5); }
.fx-404-icp a:hover { color: var(--ink, #0c0c0c); text-decoration: underline; }
.fx-404 h1 { font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1.3 var(--serif); }

/* ---------- 暂停 ---------- */
body.motion-paused .fx-grain, body.motion-paused .fx-overlay { display: none; }
body.motion-paused .fx-card, body.motion-paused .fx-ability { transform: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .fx-nav-links a { padding: .45rem .6rem; font-size: .84rem; }
  .fx-hub-grid > :nth-child(1), .fx-hub-grid > :nth-child(2) { grid-column: span 12; grid-row: span 2; }
  .fx-hub-grid > :nth-child(3), .fx-hub-grid > :nth-child(4), .fx-hub-grid > :nth-child(5), .fx-hub-grid > :nth-child(6) { grid-column: span 6; }
  .fx-hub-grid > :nth-child(7) { grid-column: span 12; }
  .fx-caps { grid-template-columns: 1fr; }
  .fx-caps-index { position: relative; top: auto; flex-direction: row; flex-wrap: wrap; }
  .fx-chain { grid-template-columns: repeat(3, 1fr); row-gap: 2.2rem; }
  .fx-chain::before, .fx-chain::after { display: none; }
  .fx-sites { grid-template-columns: repeat(2, 1fr); }
  .fx-abilities, .fx-skills { grid-template-columns: repeat(2, 1fr); }
  .fx-globe-panel { width: min(420px, 44vw); }
}
@media (max-width: 860px) {
  .fx-nav-links, .fx-nav-cta { display: none; }
  .fx-nav-burger { display: block; }
  .fx-menu { grid-template-columns: 1fr; align-content: center; }
  .fx-menu-preview { display: none; }
  .fx-page-hero { min-height: 0; padding-top: 7.5rem; }
  .fx-page-hero-grid { grid-template-columns: 1fr; }
  .fx-split, .fx-split-even, .fx-detail-grid, .fx-footer-top, .fx-skill-row, .fx-calc-grid, .fx-videos { grid-template-columns: 1fr; }
  .fx-portrait-card { position: relative; top: auto; max-width: 420px; }
  .fx-facts { grid-template-columns: repeat(2, 1fr); }
  .fx-facts > div:nth-child(2) { border-right: 0; }
  .fx-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fx-sites, .fx-contact-grid, .fx-topics, .fx-try, .fx-msg, .fx-msg-row { grid-template-columns: 1fr; }
  .fx-moment:nth-child(n) { grid-column: span 6; grid-row: auto; aspect-ratio: 16/10; }
  .fx-cap { grid-template-columns: 1fr; }
  .fx-projects { grid-template-columns: 1fr; }
  .fx-projects .fx-card:first-child { grid-column: auto; }
  .fx-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-stat:nth-child(2n) { border-right: 0; }
  .fx-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fx-gallery > .fx-shot:nth-child(n) { grid-column: span 12; grid-row: auto; min-height: 240px; }
  .fx-pager { grid-template-columns: 1fr; }
  .fx-pager a + a { border-left: 0; border-top: 1px solid var(--line); }
  .fx-hud { display: none; }
  .fx-lightbox { padding: 4rem .8rem 5rem; }
  .fx-lightbox-prev, .fx-lightbox-next { top: auto; bottom: 1.2rem; margin: 0; }
  .fx-orbit { --s: .62; }
  .fx-resume-sec { grid-template-columns: 1fr; gap: 1.2rem; }
  .fx-resume-label { position: relative; top: auto; }
  .fx-exp { grid-template-columns: 1fr; gap: .3rem; }
  .fx-embed-frame { height: min(78vh, 680px); }
  .fx-embed-url { display: none; }
}
@media (max-width: 759px) {
  .fx-globe-hero { padding-top: calc(84px + 2 * min(42vw, 175px) + 1.5rem); justify-content: flex-start; }
  .fx-globe-panel { position: relative; right: auto; bottom: auto; order: 2; width: 100%; margin-top: 1.5rem; }
  .fx-globe-hero .fx-hero-meta { order: 3; }
  .fx-globe-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none; }
  .fx-globe-chip { flex: 0 0 auto; }
}
@media (max-width: 600px) {
  .fx-hub-grid > :nth-child(n) { grid-column: span 12; grid-row: auto; }
  .fx-card { min-height: 320px; }
  .fx-chain { grid-template-columns: repeat(2, 1fr); }
  .fx-orbit { --s: .48; }
  .fx-orbit-wrap { min-height: 380px; }
  .fx-stats { grid-template-columns: 1fr; }
  .fx-stat:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .fx-stat:last-child { border-bottom: 0; }
  .fx-masonry { columns: 2 140px; }
  .fx-filters output { width: 100%; margin-left: 0; }
  .fx-manifesto-hint { flex-direction: column; align-items: center; gap: .4rem; }
  .fx-sites, .fx-abilities, .fx-skills, .fx-courses { grid-template-columns: 1fr; }
  .fx-hero-stack { height: 300px; }
  .fx-hours li { grid-template-columns: 1fr auto; }
  .fx-hours i { grid-column: 1 / -1; grid-row: 2; }
  .fx-calc-cases li { grid-template-columns: 1fr auto; }
  .fx-calc-cases em { grid-column: 1 / -1; justify-self: start; }
  .fx-dl { grid-template-columns: 1fr; gap: .2rem; }
  .fx-dl dd { margin-bottom: .6rem; }
  .research-card-actions { justify-content: flex-start; }
}

/* =====================================================================
 * v6 · 浅色粒子文字、时间轴、论文列表、OSL 图、荧光笔、滚动数字
 * ===================================================================== */
/* 粒子文字区改为纸面浅色 */
.fx-manifesto { color: var(--ink); background: radial-gradient(ellipse at 50% 55%, rgba(var(--sky-rgb), .10), transparent 62%), var(--paper); border-block: 1px solid var(--line); }
.fx-manifesto::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(20, 20, 19, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 19, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.fx-manifesto-hint { color: var(--muted); }
.fx-manifesto-hint b { color: var(--sky-deep); }
.fx-manifesto-corner { color: var(--faint); }
.fx-text-card { background: radial-gradient(ellipse at 50% 60%, rgba(var(--sky-rgb), .12), transparent 65%), var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fx-text-card p { color: var(--muted); }

/* 荧光笔高亮 */
.fx-mark { padding: 0 .15em; color: inherit; background: linear-gradient(transparent 52%, rgba(var(--sky-rgb), .32) 52%) 0 0 / 0% 100% no-repeat; transition: background-size 1.4s var(--ease-io) .5s; }
.is-in .fx-mark, .fx-mark.is-in { background-size: 100% 100%; }
body.motion-paused .fx-mark { background-size: 100% 100%; }

/* 滚动数字（里程表） */
.fx-odo { display: inline-flex; align-items: baseline; }
.fx-odo-digit { display: inline-block; height: 1em; overflow: hidden; line-height: 1; vertical-align: top; }
.fx-odo-col { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--k, 0) * 90ms); }
.fx-odo-col span { display: block; height: 1em; line-height: 1; }

/* 横向时间轴（滚动固定） */
.fx-timeline { position: relative; background: var(--ivory); }
.fx-timeline-sticky { position: sticky; top: 0; display: flex; height: 100vh; min-height: 620px; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 4.5rem; }
.fx-timeline-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; width: min(100%, 1280px); }
.fx-timeline-head .fx-lead { margin-top: 0; max-width: 460px; }
.fx-timeline-viewport { margin-top: clamp(1.5rem, 4vh, 3rem); }
.fx-timeline-track { position: relative; display: flex; align-items: flex-start; gap: 1.1rem; width: max-content; padding: 3rem var(--gutter) 1.5rem; will-change: transform; }
.fx-timeline-line { position: absolute; left: var(--gutter); right: var(--gutter); top: 1.15rem; height: 2px; border-radius: 2px; background: var(--line-2); }
.fx-timeline-line i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #8CC6EF, var(--sky-deep)); transform: scaleX(var(--tp, 0)); transform-origin: left; }
.fx-tl-item { position: relative; display: flex; flex: 0 0 auto; width: 280px; flex-direction: column; gap: .5rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 1.3rem; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .7s var(--ease-out), box-shadow .5s ease, border-color .4s ease; }
.fx-tl-dot { position: absolute; top: -2.3rem; left: 1.3rem; width: .95rem; height: .95rem; border: 2px solid var(--line-2); border-radius: 50%; background: var(--ivory); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.fx-tl-item.is-active { transform: translateY(-6px); border-color: rgba(var(--sky-rgb), .5); box-shadow: var(--shadow); }
.fx-tl-item.is-active .fx-tl-dot { border-color: var(--sky-deep); background: var(--sky); box-shadow: 0 0 0 6px rgba(var(--sky-rgb), .15); }
.fx-tl-item time { color: var(--sky-deep); font: 400 1.5rem/1 var(--serif); }
.fx-tl-item figure { margin: .2rem 0; overflow: hidden; border-radius: .9rem; aspect-ratio: 16/10; background: var(--paper); }
.fx-tl-item figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.fx-tl-item:hover figure img { transform: scale(1.06); }
.fx-tl-item h3 { font: 400 1.22rem/1.35 var(--serif); }
.fx-tl-item p { color: var(--ink-2); font-size: .88rem; line-height: 1.65; }
.fx-tl-badge { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin: .3rem 0; border-radius: 1rem; color: var(--ink-2); background: var(--paper); font: 400 1.5rem/1 var(--serif); }
.fx-tl-item.is-next { color: #fff; background: var(--sky-deep); border-color: var(--sky-deep); }
.fx-tl-item.is-next time, .fx-tl-item.is-next p { color: rgba(255, 255, 255, .92); }
.fx-tl-item.is-next .fx-tl-badge { color: var(--sky-deep); background: #fff; }
.fx-timeline.is-static { height: auto !important; }
.fx-timeline.is-static .fx-timeline-sticky { position: relative; height: auto; min-height: 0; padding: clamp(4rem, 7vw, 6rem) 0; }
.fx-timeline.is-static .fx-timeline-track { width: auto; flex-direction: column; padding-left: calc(var(--gutter) + 1.8rem); transform: none !important; }
.fx-timeline.is-static .fx-timeline-line { left: calc(var(--gutter) + .45rem); right: auto; top: 3rem; bottom: 1.5rem; width: 2px; height: auto; }
.fx-timeline.is-static .fx-timeline-line i { transform: scaleY(var(--tp, 1)); transform-origin: top; }
.fx-timeline.is-static .fx-tl-item { width: auto; }
.fx-timeline.is-static .fx-tl-dot { top: 1.4rem; left: -1.75rem; }

/* 论文与学术成果 */
.fx-pubs { display: grid; gap: .7rem; list-style: none; }
.fx-pub { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: .3rem 1.2rem; padding: 1.15rem 1.4rem; border: 1px solid var(--line); border-radius: 1.2rem; background: var(--card); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease-out), border-color .3s ease, box-shadow .5s ease; }
.fx-pub:hover { transform: translateX(6px); border-color: rgba(var(--sky-rgb), .5); box-shadow: var(--shadow); }
.fx-pub-type { grid-row: span 2; display: grid; place-items: center; height: 3rem; border-radius: .8rem; color: var(--sky-deep); background: var(--sky-soft); font-size: .84rem; font-weight: 700; }
.fx-pub strong { font: 400 clamp(1.05rem, 1.6vw, 1.3rem)/1.45 var(--serif); }
.fx-pub-meta { color: var(--muted); font-size: .86rem; }
.fx-pub-meta mark { color: var(--ink); font-weight: 600; }
.fx-pub em { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); font-style: normal; transition: transform .5s var(--ease-out), color .3s ease; }
.fx-pub:hover em { color: var(--sky-deep); transform: translate(3px, -3px); }
.fx-campus { display: grid; gap: .3rem; margin-top: 1rem; list-style: none; }
.fx-campus li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.fx-campus b { color: var(--sky-deep); font: 400 1rem/1.5 var(--serif); }
.fx-campus span { color: var(--ink-2); line-height: 1.6; }
.fx-honors li { grid-template-columns: 4.8rem 1fr; }

/* OSL 年龄—深度交互图 */
.fx-osl { position: relative; margin: 0; padding: clamp(1rem, 2vw, 1.6rem); border: 1px solid var(--line); border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow-sm); }
.fx-osl svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-osl .osl-phase { fill: rgba(var(--sky-rgb), .06); }
.fx-osl .osl-phase.is-alt { fill: rgba(203, 202, 219, .22); }
.fx-osl .osl-phase-label { fill: var(--muted); font: 400 15px var(--serif); text-anchor: middle; }
.fx-osl .osl-grid { stroke: var(--line); stroke-width: 1; }
.fx-osl .osl-tick { fill: var(--muted); font: 500 12px var(--sans); text-anchor: middle; }
.fx-osl .osl-tick-y { text-anchor: end; }
.fx-osl .osl-axis { fill: var(--ink-2); font: 600 13px var(--sans); text-anchor: middle; }
.fx-osl .osl-line { fill: none; stroke: var(--sky-deep); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io) .3s; }
.fx-osl.is-in .osl-line { stroke-dashoffset: 0; }
.fx-osl .osl-pt { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--i) * 140ms + .4s); cursor: pointer; outline: none; }
.fx-osl.is-in .osl-pt { opacity: 1; }
.fx-osl .osl-err { stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; }
.fx-osl .osl-pt circle { fill: #fff; stroke: var(--sky-deep); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease-out), fill .3s ease; }
.fx-osl .osl-pt:hover circle, .fx-osl .osl-pt:focus circle, .fx-osl .osl-pt.is-hot circle { fill: var(--sky-deep); transform: scale(1.5); }
.fx-osl figcaption { margin-top: .8rem; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.fx-osl-tip { position: absolute; z-index: 3; left: 0; top: 0; min-width: 9rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: .8rem; background: rgba(255, 255, 255, .97); box-shadow: var(--shadow); font-size: .82rem; line-height: 1.55; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.96); transition: opacity .2s ease, transform .3s var(--ease-out); }
.fx-osl-tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.fx-osl-tip b { display: block; color: var(--sky-deep); font: 400 1.05rem/1.3 var(--serif); }
.fx-osl-table { margin-top: 1rem; }
.fx-osl-table summary { display: inline-flex; padding: .5rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: .84rem; font-weight: 600; cursor: pointer; }
.fx-osl-table[open] summary { margin-bottom: .8rem; }
.fx-osl-table .fx-table { min-width: 0; }
body.motion-paused .fx-osl .osl-line { stroke-dashoffset: 0; }
body.motion-paused .fx-osl .osl-pt { opacity: 1; }
@media (max-width: 860px) {
  .fx-pub { grid-template-columns: 3.4rem minmax(0, 1fr); }
  .fx-pub em { display: none; }
}
