/* ==========================================================================
   Aurora · 极光等轴粒子  —  黑底 · 银紫渐变 · 毛玻璃 · 圆角卡片
   可调变量由后台 theme.js 写入 :root（--accent / --accent-2 / --silver / --bg /
   --radius / --glass-blur / --font-scale）；toggle 类：.serif .grain .calm
   ========================================================================== */
:root {
  --bg: #050507;
  --accent: #b9a8ff;
  --accent-2: #7c6cf0;
  --accent-3: #f0a8e0;
  --silver: #dfe2ec;
  --radius: 22px;
  --glass-blur: 18px;
  --font-scale: 100%;

  --ink: #eceef5;
  --muted: rgba(223, 226, 236, .58);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --glass-bg: rgba(255, 255, 255, .045);
  --grad: linear-gradient(115deg, #ffffff 0%, var(--silver) 26%, var(--accent) 58%, var(--accent-3) 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,255,255,.22), rgba(185,168,255,.08) 40%, rgba(124,108,240,.28));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --sans: "Inter", "SF Pro Display", -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  --display: "Inter", "Helvetica Neue", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --nav-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--font-scale); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html.serif h2, html.serif h3, html.serif .w-title, html.serif .a-name, html.serif .manifesto p, html.serif .outro-title { font-family: var(--serif); font-weight: 600; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #0b0a12; }
.muted { color: var(--muted); }
.wrap { width: min(1320px, 100% - 8vw); margin: 0 auto; position: relative; }
@supports not (width: min(1px, 100% - 1px)) { .wrap { width: 92%; max-width: 1320px; } }

/* ---------- 渐变字 / 毛玻璃 ---------- */
.grad-text {
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.shimmer { animation: shimmer 8s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 20px 60px -30px rgba(0,0,0,.8);
}

/* ---------- 图标（mask） ---------- */
[class^="i-"], [class*=" i-"] {
  display: inline-block; width: 1em; height: 1em; flex: none; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.i-arrow-r { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>"); }
.i-arrow-l { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 12H5M11 6l-6 6 6 6'/></svg>"); }
.i-arrow-d { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 5v14M6 13l6 6 6-6'/></svg>"); }
.i-play { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5.5v13a1 1 0 0 0 1.5.86l10.4-6.5a1 1 0 0 0 0-1.72L9.5 4.64A1 1 0 0 0 8 5.5z'/></svg>"); }
.i-lock { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='4.5' y='10.5' width='15' height='10' rx='2.5'/><path d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/></svg>"); }
.i-cloud { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M7 18a4.5 4.5 0 0 1-.6-8.96A6 6 0 0 1 18 9.5a4.25 4.25 0 0 1-.5 8.5z'/><path d='M12 11v5M9.5 13.5 12 16l2.5-2.5'/></svg>"); }
.i-lock.lg { width: 34px; height: 34px; }

/* ---------- 底层：粒子 / 背景 / 颗粒 ---------- */
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
body.ready .field { opacity: 1; }
.no-webgl .field { display: none; }
.no-webgl body::before {
  content: ""; position: fixed; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 40% at 70% 40%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
    radial-gradient(30% 30% at 25% 70%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%),
    radial-gradient(25% 25% at 60% 80%, rgba(255,255,255,.08), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) rotate(8deg); } }
.fx-vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.75) 100%);
}
.fx-grain { display: none; }
html.grain .fx-grain {
  display: block; position: fixed; inset: -50%; z-index: 2; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- 导航（左 Logo / 右侧等宽字体链接） ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4vw;
  border-bottom: 1px solid transparent; transition: background .4s, border-color .4s;
}
.nav.scrolled { background: rgba(5,5,7,.55); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%); backdrop-filter: blur(var(--glass-blur)) saturate(140%); border-bottom-color: var(--line); }
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--mono); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; }
.logo-img { height: 28px; width: auto; }
.logo-mark { width: 14px; height: 14px; flex: none; border-radius: 4px; background: var(--grad); transform: rotate(45deg); box-shadow: 0 0 16px var(--accent), 0 0 30px color-mix(in srgb, var(--accent-3) 50%, transparent); }
.logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a { position: relative; padding: 6px 0; font-size: .88rem; letter-spacing: .12em; color: var(--muted); transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); transform-origin: left; }
.nav-burger { display: none; position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); }
.nav-burger i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-burger i:first-child { top: 16px; } .nav-burger i:last-child { top: 22px; }
html.menu-open .nav-burger i:first-child { top: 19px; transform: rotate(45deg); }
html.menu-open .nav-burger i:last-child { top: 19px; transform: rotate(-45deg); }
.menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 4vw; min-width: 180px; flex-direction: column; padding: 8px;
  border-radius: calc(var(--radius) * .8); background: rgba(12,11,18,.86); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
}
html.menu-open .menu { display: flex; }
.menu a { padding: 12px 16px; border-radius: 12px; font-size: .95rem; color: var(--silver); }
.menu a:hover { background: rgba(255,255,255,.05); }
.menu a.on { color: #0b0a12; background: var(--grad); font-weight: 600; }

/* ---------- 按钮 / 标签 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s, background .3s;
}
.btn.sm { padding: 10px 18px; font-size: .85rem; }
.btn-pri { background: var(--grad); background-size: 160% 100%; color: #0b0a12; box-shadow: 0 10px 40px -14px var(--accent); }
.btn-pri:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px var(--accent); background-position: 100% 0; }
.btn-ghost:hover { border-color: var(--line-2); transform: translateY(-2px); }
.btn i { transition: transform .4s var(--ease); }
.btn:hover .i-arrow-r { transform: translateX(4px); }
.btn:hover .i-arrow-d { transform: translateY(3px); }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; filter: saturate(.4); box-shadow: none; }
.btn.is-disabled:hover { transform: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; font-size: .78rem; letter-spacing: .14em; color: var(--silver); text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: .85rem; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--silver); }
.chip-pri { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.chip-link { transition: border-color .3s, color .3s; }
.chip-link:hover { border-color: var(--accent); color: #fff; }
.chip.plat img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.badges { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600;
  background: rgba(8,8,12,.55); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.badge-star { color: #0b0a12; background: var(--grad); border-color: transparent; }
.badge-on { color: #9dffc9; }
.badge-lock { color: #ffd59a; }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--c1, var(--accent)), var(--accent-2)); box-shadow: 0 0 12px var(--c1, var(--accent)); flex: none; }

/* ---------- 海报：横竖屏自适应 ---------- */
.poster { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: linear-gradient(150deg, var(--c1, #3a3360), var(--c2, #111018)); }
.poster.ratio-h { aspect-ratio: 16 / 9; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.poster-fb { display: none; }
.no-img .poster-fb {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; padding: 16px; text-align: center;
  font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; color: rgba(255,255,255,.75);
  background: radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.18), transparent 60%);
}
@supports not (aspect-ratio: 1) {
  .poster { height: 0; padding-top: 177.78%; }
  .poster.ratio-h { padding-top: 56.25%; }
}
.shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 45%);
  mix-blend-mode: soft-light;
}
.play-ring {
  position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #0b0a12; background: var(--grad); box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 10px 30px -8px var(--accent);
  transition: transform .5s var(--ease);
}
.play-ring.sm { width: 38px; height: 38px; right: 12px; bottom: 12px; font-size: .85rem; }
.play-ring i { margin-left: 2px; }

/* ==========================================================================
   首页：梦核粒子蝴蝶 Hero  →  横向滚动精选作品  →  结尾
   ========================================================================== */
.home { position: relative; z-index: 5; }
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) 7vw 90px;
}
.hero-in { position: relative; max-width: min(820px, 58vw); }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--silver); }
.hero-title {
  margin: 22px 0 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.2rem, 8.6vw, 9.2rem); line-height: .96; letter-spacing: -.01em; color: #fbf9ff;
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 46px color-mix(in srgb, var(--accent-3) 45%, transparent), 0 0 110px color-mix(in srgb, var(--accent-2) 40%, transparent);
}
.hero-title .ln { display: block; white-space: nowrap; }
.hero-title .sp { display: inline-block; width: .28em; }
.hero-title .ch {
  --dl: calc(var(--i) * 45ms + .15s);
  display: inline-block; cursor: default;
  transition: opacity .9s var(--ease) var(--dl), translate 1.2s var(--ease) var(--dl), filter 1.1s var(--ease) var(--dl), transform .45s var(--ease), color .4s;
}
.hero-title .ch:hover { transform: translateY(-.07em) scale(1.04); color: color-mix(in srgb, var(--accent) 35%, #fff); }
html.js:not(.intro) .hero-title .ch { opacity: 0; translate: 0 .55em; filter: blur(14px); }
.hi { transition: opacity 1s var(--ease) calc(.75s + var(--d, 0) * .12s), translate 1.1s var(--ease) calc(.75s + var(--d, 0) * .12s); }
html.js:not(.intro) .hi { opacity: 0; translate: 0 26px; }
.hero-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; font-family: var(--mono); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--silver); }
.hero-sub i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); }
.hero-head { margin: 14px 0 0; max-width: 480px; color: var(--muted); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-btns .btn { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; }
.hero-foot {
  position: absolute; left: 7vw; right: 7vw; bottom: 34px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; color: var(--muted);
}
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,.15); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--grad); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* 横向滚动作品区 */
.hs { position: relative; z-index: 5; }
.hs-sticky { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 20px) 0 120px; }
.hs-view { position: relative; width: 100%; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hs-view.is-dragging { cursor: grabbing; }
.hs-view.is-dragging .hc { pointer-events: none; }
.hs-view img { -webkit-user-drag: none; user-select: none; }
.hs-ghost {
  position: absolute; left: 0; top: 9vh; white-space: nowrap; pointer-events: none; will-change: transform;
  font-family: var(--display); font-weight: 900; font-size: 15vw; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.055);
}
.hs-track { position: relative; display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding: 40px 8vw; width: max-content; will-change: transform; }
.hs-intro { flex: none; width: min(380px, 78vw); padding-right: 2vw; }
.hs-intro h2 { margin: 20px 0 14px; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; }
.hs-intro p { margin: 0; font-size: .95rem; }
.hs-arrow { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-top: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); }
.hs-arrow i { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.hc { --h: min(58vh, 620px); flex: none; display: block; transform: skewX(var(--skew, 0deg)); transition: transform .3s var(--ease); }
.hc .hc-media { position: relative; }
.hc.ratio-v .hc-media { height: var(--h); aspect-ratio: 9 / 16; }
.hc.ratio-h .hc-media { width: min(var(--h) * 16 / 9 * .82, 78vw); aspect-ratio: 16 / 9; }
.hc .poster { position: absolute; inset: 0; aspect-ratio: auto; height: auto; padding: 0; }
.hc .poster img { transform: scale(1.14) translateX(var(--px, 0)); }
.hc:hover .poster img { transform: scale(1.2) translateX(var(--px, 0)); }
.hc:hover .shine { opacity: 1; }
.hc:hover .wcard-media { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 40px 90px -30px color-mix(in srgb, var(--accent-2) 75%, transparent); }
/* 悬停预览 */
.hc .hover-video { z-index: 2; }
.hv-tip {
  position: absolute; z-index: 3; right: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: .7rem; color: var(--silver);
  background: rgba(8,8,12,.55); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .35s, translate .35s var(--ease);
}
.hv-tip i { width: .8em; height: .8em; color: var(--accent); }
.hv-bar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); opacity: 0; transition: opacity .3s; }
.hv-bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.hc .play-ring { transition: transform .5s var(--ease), opacity .35s; }
.hc.is-hover .hv-tip { opacity: 0; translate: 0 -6px; }
.hc.is-playing .hv-bar, .hc.is-hover .hv-bar { opacity: 1; }
.hv-ctrl { position: absolute; z-index: 5; right: 12px; bottom: 14px; display: flex; align-items: center; gap: 8px; opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s var(--ease); }
.hc.is-hover .hv-ctrl { opacity: 1; translate: 0 0; }
.hv-time { padding: 3px 9px; border-radius: 999px; font-family: var(--mono); font-size: .7rem; color: #fff; background: rgba(8,8,12,.6); border: 1px solid rgba(255,255,255,.14); font-variant-numeric: tabular-nums; }
.hv-mute { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(8,8,12,.6); border: 1px solid rgba(255,255,255,.18); cursor: pointer; pointer-events: auto; }
.hv-mute:hover { border-color: var(--accent); color: var(--accent); }
.i-sound { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 5 6 9H3v6h3l5 4z'/><path d='m16 9 5 6M21 9l-5 6'/></svg>"); }
.hc.is-sound .i-sound { --ic: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 5 6 9H3v6h3l5 4z'/><path d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/></svg>"); }
.hc.is-hover .play-ring { opacity: 0; transform: scale(.6); }
.hs-ui .hs-nav { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: border-color .3s, opacity .3s; flex: none; }
.hs-ui .hs-nav:hover { border-color: var(--accent); color: var(--accent); }
.hs.at-start .hs-nav[data-d="-1"], .hs.at-end .hs-nav[data-d="1"] { opacity: .35; pointer-events: none; }
.hc.is-playing .play-ring { opacity: 0; transform: scale(.6); }
.hc.is-hover .wcard-media { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent), 0 40px 100px -30px color-mix(in srgb, var(--accent-3) 70%, transparent); }
.hc.is-hover .hc-tx h3 { color: #fff; }
.hc-info { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.hc.ratio-v .hc-info { width: calc(var(--h) * 9 / 16); }
.hc-n { font-family: var(--mono); font-size: .75rem; color: var(--accent); letter-spacing: .1em; }
.hc-tx { flex: 1; min-width: 0; }
.hc-tx h3 { margin: 0; font-size: 1.05rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-tx p { margin: 2px 0 0; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-info > i { color: var(--muted); transition: transform .4s var(--ease), color .3s; }
.hc:hover .hc-info > i { transform: translateX(5px); color: var(--accent); }
.hs-more {
  flex: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; width: min(300px, 70vw); height: min(58vh, 620px);
  padding: 34px; border-radius: var(--radius); transition: border-color .4s, translate .5s var(--ease);
}
.hs-more:hover { border-color: var(--accent); translate: 0 -6px; }
.hs-more-n { font-family: var(--display); font-size: 5.5rem; font-weight: 900; line-height: 1; margin-bottom: auto; }
.hs-more b { font-size: 1.3rem; }
.hs-more em { font-style: normal; font-family: var(--mono); font-size: .7rem; letter-spacing: .24em; color: var(--muted); }
.hs-more i { margin-top: 18px; width: 22px; height: 22px; color: var(--accent); }
.hs-ui { position: absolute; left: 8vw; right: 8vw; bottom: 5.5vh; display: flex; align-items: center; gap: 22px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--muted); }
.hs-ui b { color: var(--ink); font-size: .95rem; }
.hs-bar { position: relative; flex: 1; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.hs-bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }

/* 结尾 */
.outro { padding: 18vh 0 14vh; text-align: center; }
.outro-title { margin: 0 auto; max-width: 1000px; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.15; letter-spacing: -.02em; }
.outro-stats { display: inline-flex; flex-wrap: wrap; justify-content: center; margin: 48px auto 0; padding: 6px; border-radius: var(--radius); }
.stat { padding: 16px 28px; display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-size: 1.9rem; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: .75rem; color: var(--muted); letter-spacing: .08em; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 64px; text-align: left; }
.cat-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); min-height: 170px; }
.cat-card:hover { border-color: color-mix(in srgb, var(--c1) 60%, transparent); }
.cat-glow { position: absolute; width: 170px; height: 170px; right: -40px; top: -60px; border-radius: 50%; background: radial-gradient(closest-side, var(--c1), transparent); opacity: .45; filter: blur(10px); transition: opacity .4s; }
.cat-card:hover .cat-glow { opacity: .85; }
.cat-card b { position: relative; font-size: 1.15rem; }
.cat-card em { position: relative; font-style: normal; font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cat-card p { position: relative; margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.cat-n { position: relative; margin-top: auto; padding-top: 12px; font-size: .8rem; color: var(--accent); }
.outro-btns { justify-content: center; margin-top: 52px; }

/* ==========================================================================
   首次加载 Splash
   ========================================================================== */
.splash {
  display: none; position: fixed; inset: 0; z-index: 300; background: var(--bg); color: var(--ink);
  flex-direction: column; align-items: center; justify-content: center;
  clip-path: inset(0 0 0 0); transition: clip-path 1.15s var(--ease-io) .2s;
}
html.splash-on .splash { display: flex; }
html.splash-on body { overflow: hidden; }
html.splash-out .splash { clip-path: inset(0 0 100% 0); }
.sp-glow {
  position: absolute; width: 60vmin; height: 60vmin; border-radius: 50%; filter: blur(60px); opacity: .35;
  background: radial-gradient(closest-side, var(--accent-3), var(--accent-2) 55%, transparent); animation: spGlow 3s ease-in-out infinite alternate;
}
@keyframes spGlow { to { transform: scale(1.18); opacity: .5; } }
.sp-center { position: relative; display: flex; flex-direction: column; align-items: center; transition: opacity .5s, translate .6s var(--ease); }
.sp-fly { width: min(360px, 72vw); overflow: visible; animation: spFlap 1.3s ease-in-out infinite alternate; filter: drop-shadow(0 0 6px var(--accent)) drop-shadow(0 0 22px color-mix(in srgb, var(--accent-3) 60%, transparent)); }
.sp-fly path { fill: none; stroke: url(#spg); stroke-width: .55; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: spDraw 2.6s cubic-bezier(.6, .1, .3, 1) forwards; }
@keyframes spDraw { to { stroke-dashoffset: 0; } }
@keyframes spFlap { from { transform: scaleX(1); } to { transform: scaleX(.78) translateY(-4px); } }
.sp-name { margin-top: 30px; min-height: 1em; font-family: var(--mono); font-size: .78rem; letter-spacing: .6em; text-transform: uppercase; color: var(--silver); animation: spIn 1s .6s both; }
@keyframes spIn { from { opacity: 0; letter-spacing: 1.1em; } }
.sp-foot { position: absolute; left: 6vw; right: 6vw; bottom: 42px; display: flex; align-items: center; gap: 26px; transition: opacity .5s, translate .6s var(--ease); }
.sp-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; color: var(--muted); white-space: nowrap; }
.sp-bar { position: relative; flex: 1; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.sp-bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.sp-pct { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.sp-pct b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html.splash-out .sp-center, html.splash-out .sp-foot { opacity: 0; translate: 0 -24px; }

/* ==========================================================================
   内页通用
   ========================================================================== */
.works-page, .work-page, .about-page { position: relative; z-index: 5; min-height: 100vh; }
.page-head { padding: calc(var(--nav-h) + 70px) 0 30px; }
.page-title { margin: 22px 0 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 22px; font-size: clamp(3rem, 8vw, 7rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.page-title em { font-style: normal; font-size: clamp(.8rem, 1.2vw, 1rem); font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.page-desc { margin: 18px 0 0; max-width: 620px; }
.reveal { opacity: 0; translate: 0 36px; transition: opacity .9s var(--ease), translate 1s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }
.sec-h { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; font-size: 1.35rem; font-weight: 700; }
.sec-h em { font-style: normal; font-size: .7rem; letter-spacing: .3em; color: var(--muted); font-weight: 500; }
.sec-h::after { content: ""; flex: 1; height: 1px; align-self: center; background: linear-gradient(90deg, var(--line-2), transparent); }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), border-color .4s, translate .5s var(--ease), opacity .9s var(--ease); }
.empty { padding: 60px; text-align: center; border-radius: var(--radius); color: var(--muted); column-span: all; }

/* ---------- 作品列表 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip-f {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-size: .88rem; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255,255,255,.03); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: .3s var(--ease);
}
.chip-f sup { font-size: .68rem; opacity: .7; top: 0; }
.chip-f:hover { color: var(--ink); border-color: var(--line-2); }
.chip-f.on { color: #0b0a12; background: var(--grad); border-color: transparent; font-weight: 600; }
.chip-f.on .cat-dot { background: #0b0a12; box-shadow: none; }
/* 瀑布流网格：竖屏占 1 列，横屏占 2 列，行高由 JS 按实际高度计算 */
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); grid-auto-rows: 8px; grid-auto-flow: row dense; column-gap: 22px; padding: 20px 0 90px; }
.wcard { display: block; align-self: start; grid-row-end: span 60; }
.wcard.ratio-h { grid-column: span 2; }
.wcard-media {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #0c0b12;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0,0,0,.9);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .5s var(--ease);
}
.wcard:hover .wcard-media { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 30px 80px -30px color-mix(in srgb, var(--accent-2) 70%, transparent); }
.wcard:hover .poster img { transform: scale(1.06); }
.wcard:hover .shine { opacity: 1; }
.hover-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; transition: opacity .6s; }
.hover-video.on { opacity: 1; }
.wcard-info { padding: 14px 6px 0; }
.wcard-info h3 { margin: 0; font-size: 1.05rem; font-weight: 650; line-height: 1.35; transition: color .3s; }
.wcard:hover h3 { color: #fff; }
.wcard-info p { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }
.wcard-sum { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 作品详情 ---------- */
.w-backdrop { position: fixed; inset: -10%; z-index: 0; background: center / cover no-repeat; filter: blur(90px) saturate(1.2) brightness(.35); opacity: .3; pointer-events: none; }
.work-page { padding-top: calc(var(--nav-h) + 24px); }
.w-wrap { position: relative; z-index: 5; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin: 8px 0 26px; transition: color .3s, gap .3s; }
.back:hover { color: var(--ink); gap: 12px; }
.w-top { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.layout-v .w-top { grid-template-columns: auto minmax(0, 1fr); }
.layout-v .w-info { position: sticky; top: calc(var(--nav-h) + 10px); }
.layout-h .w-top { grid-template-columns: minmax(0, 1fr); }
.layout-h .w-info { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 48px; align-items: start; }
.layout-h .w-info .w-head { grid-row: span 4; }

.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px -50px color-mix(in srgb, var(--accent-2) 65%, transparent); }
.player.is-v { aspect-ratio: 9 / 16; height: min(84vh, 900px); max-height: 84vh; width: auto; margin: 0 auto; }
.player.is-h { width: 100%; aspect-ratio: 16 / 9; }
.layout-h .player.is-h { max-width: calc(80vh * 16 / 9); margin: 0 auto; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .poster { position: absolute; inset: 0; aspect-ratio: auto; height: auto; padding: 0; }
.wm { position: absolute; top: 14px; right: 16px; z-index: 5; pointer-events: none; font-size: .75rem; letter-spacing: .2em; color: rgba(255,255,255,.4); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.player-lock { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.lock-bg { position: absolute; inset: -20px; background: center / cover no-repeat; filter: blur(30px) brightness(.45); }
.lock-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 28px 30px; border-radius: var(--radius); max-width: 320px; }
.lock-in i { color: var(--accent); }
.lock-in span { font-size: .85rem; color: var(--muted); }

.sw-cat { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--silver); }
.sw-cat em { font-style: normal; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.w-title { margin: 14px 0 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.w-head .badges { position: static; margin-top: 16px; }
.w-sum { margin: 18px 0 0; color: var(--silver); font-size: 1.02rem; }
.w-meta { margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; }
.layout-h .w-meta { margin-top: 0; }
.w-meta div { padding: 16px 20px; border-bottom: 1px solid var(--line); min-width: 0; }
.w-meta div:nth-child(odd) { border-right: 1px solid var(--line); }
.w-meta div:nth-last-child(-n+2):nth-child(odd), .w-meta div:last-child { border-bottom: 0; }
.w-meta dt { font-size: .72rem; letter-spacing: .12em; color: var(--muted); }
.w-meta dd { margin: 4px 0 0; font-weight: 600; word-break: break-word; }
.w-sec { margin-top: 34px; }
.w-info .w-sec { margin-top: 28px; }
.layout-h .w-info .w-sec { margin-top: 0; }
.w-info .sec-h { font-size: 1rem; margin-bottom: 14px; }
.netdisk { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius); }
.nd-l { display: flex; align-items: center; gap: 14px; }
.nd-l > i { width: 30px; height: 30px; color: var(--accent); }
.nd-l b { display: block; }
.nd-l span { font-size: .82rem; color: var(--muted); }
.nd-l code { font-family: ui-monospace, Menlo, monospace; color: var(--ink); background: rgba(255,255,255,.08); padding: 2px 8px; border-radius: 6px; letter-spacing: .12em; }
.nd-r { display: flex; gap: 10px; }
.w-body { margin-top: 70px; }
.w-body .w-sec { margin-top: 64px; }
.prose { max-width: 820px; color: var(--silver); font-size: 1.02rem; }
.prose p { margin: 0 0 1em; }
.hl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.hl li { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); }
.hl-n { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.hl b { display: block; margin-bottom: 4px; }
.hl p { margin: 0; color: var(--muted); font-size: .92rem; }
.gallery { columns: 280px; column-gap: 16px; }
.g-item { break-inside: avoid; margin: 0 0 16px; border-radius: calc(var(--radius) * .8); overflow: hidden; position: relative; cursor: zoom-in; background: #0c0b12; box-shadow: 0 0 0 1px var(--line); }
.g-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: .8rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.g-item.no-img { display: none; }
.w-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 90px 0 80px; }
.w-nav-card { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: var(--radius); min-width: 0; }
.w-nav-card:hover { border-color: var(--line-2); }
.w-nav-card:last-child { flex-direction: row-reverse; text-align: right; }
.w-nav-thumb { width: 64px; flex: none; border-radius: 12px; overflow: hidden; }
.w-nav-thumb .poster.ratio-h { aspect-ratio: 1; }
.w-nav-thumb .poster.ratio-v { aspect-ratio: 3 / 4; }
.w-nav-card div:last-child { min-width: 0; }
.w-nav-card em { display: block; font-style: normal; font-size: .65rem; letter-spacing: .3em; color: var(--accent); }
.w-nav-card .muted { font-size: .78rem; }
.w-nav-card b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notfound { min-height: 70vh; display: grid; place-items: center; }
.nf-card { padding: 50px; border-radius: var(--radius); text-align: center; }
.nf-card h1 { margin: 0; font-size: 6rem; line-height: 1; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(3,3,6,.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: 86vw; text-align: center; }
.lightbox img { max-width: 86vw; max-height: 80vh; border-radius: 14px; margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.lightbox button { width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; background: rgba(255,255,255,.06); border: 1px solid var(--line); flex: none; }
.lightbox button:hover { border-color: var(--accent); }
.lb-x { position: absolute; top: 20px; right: 20px; }

/* ---------- 关于 ---------- */
.a-hero { padding: calc(var(--nav-h) + 70px) 0 40px; }
.a-hero-in { display: grid; grid-template-columns: minmax(220px, 360px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.avatar-wrap { position: relative; padding: 2px; border-radius: calc(var(--radius) * 1.4); }
.avatar-wrap::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: 0;
  background: conic-gradient(from var(--ang, 0deg), var(--silver), var(--accent), var(--accent-2), transparent 60%, var(--silver));
  animation: spin 6s linear infinite; filter: blur(.5px);
}
.avatar-wrap::after { content: ""; position: absolute; inset: 10%; z-index: -1; background: var(--accent-2); filter: blur(70px); opacity: .5; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.avatar { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: calc(var(--radius) * 1.4 - 2px); overflow: hidden; background: linear-gradient(150deg, #2a2545, #0c0b12); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.no-img .poster-fb { font-size: 5rem; font-weight: 800; color: rgba(255,255,255,.6); }
.a-name { margin: 20px 0 0; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.a-name small { display: block; margin-top: 12px; font-size: .9rem; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.a-role { margin-top: 18px; font-size: 1.2rem; color: var(--silver); }
.a-intro { margin: 18px 0 0; max-width: 640px; color: var(--muted); font-size: 1.02rem; }
.a-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.a-facts div { padding: 12px 18px; border-radius: calc(var(--radius) * .7); }
.a-facts dt { font-size: .7rem; letter-spacing: .14em; color: var(--muted); }
.a-facts dd { margin: 2px 0 0; font-weight: 600; }
.manifesto { position: relative; margin: 80px auto; max-width: 980px; text-align: center; }
.manifesto .q { display: block; font-size: 6rem; line-height: .6; color: var(--accent); opacity: .6; font-family: Georgia, serif; }
.manifesto p { margin: 20px 0 0; font-size: clamp(1.5rem, 3.4vw, 2.8rem); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 30px; }
.stat-card { padding: 26px 24px; border-radius: var(--radius); }
.stat-card b { display: block; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-card span { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.a-sec { margin: 90px 0; }
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 40px; padding: 28px; border-radius: var(--radius); margin-bottom: 18px; }
.skill-h { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 8px; }
.skill-h em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.skill-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.skill-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; box-shadow: 0 0 12px var(--accent); }
.in .skill-bar i { transform: scaleX(1); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), var(--accent-2) 60%, transparent); }
.timeline li { position: relative; margin-bottom: 18px; }
.tl-dot { position: absolute; left: -26px; top: 24px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 12px var(--accent); }
.tl-card { padding: 20px 24px; border-radius: var(--radius); }
.tl-card em { font-style: normal; font-size: .78rem; color: var(--accent); letter-spacing: .08em; }
.tl-card b { display: block; margin-top: 2px; font-size: 1.08rem; }
.tl-card b span { font-weight: 500; color: var(--muted); }
.tl-card p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: f; }
.flow-card { position: relative; padding: 26px 24px; border-radius: var(--radius); }
.flow-n { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.flow-card b { display: block; margin-top: 16px; font-size: 1.05rem; }
.flow-card p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
.ct-card, .ct-form { padding: 30px; border-radius: var(--radius); }
.ct-list { margin: 0 0 22px; }
.ct-row { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct-row:last-child { border-bottom: 0; }
.ct-row dt { width: 64px; flex: none; color: var(--muted); font-size: .85rem; padding-top: 1px; }
.ct-row dd { margin: 0; min-width: 0; word-break: break-all; font-weight: 600; }
.ct-row a:hover, .copyable:hover { color: var(--accent); }
.copyable { cursor: copy; }
.qr { width: 120px; border-radius: 10px; }
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-form label { display: flex; flex-direction: column; gap: 6px; }
.ct-form label span { font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
.ct-form input, .ct-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: calc(var(--radius) * .6); padding: 13px 16px; outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.ct-form input:focus, .ct-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.ct-form .btn { align-self: flex-start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; min-height: 1.4em; font-size: .88rem; color: var(--muted); }
.form-msg.ok { color: #9dffc9; }
.form-msg.err { color: #ffa3b5; }

/* ---------- 页脚 ---------- */
.footer { position: relative; z-index: 5; border-top: 1px solid var(--line); padding: 40px 0 30px; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.4)); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-name { font-size: 1.4rem; font-weight: 800; }
.footer-r { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-copy { margin-top: 26px; font-size: .78rem; }

/* ---------- 光标 ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  pointer-events: none; border: 1px solid rgba(255,255,255,.55); opacity: 0; mix-blend-mode: difference;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s;
}
.cursor.on { opacity: 1; }
.cursor.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(255,255,255,.12); border-color: transparent; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 980px) {
  .layout-v .w-top { grid-template-columns: 1fr; }
  .layout-v .w-info { position: static; }
  .layout-h .w-info { grid-template-columns: 1fr; }
  .layout-h .w-info .w-head { grid-row: auto; }
  .a-hero-in { grid-template-columns: 1fr; }
  .avatar-wrap { width: min(300px, 70vw); }
  .contact-grid { grid-template-columns: 1fr; }
}
/* 竖屏 / 窄屏：作品卡片在上，文字在下 */
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  :root { --nav-h: 64px; }
  .w-nav { grid-template-columns: 1fr; }
  .player.is-v { width: 100%; height: auto; max-height: 84vh; max-width: calc(84vh * 9 / 16); }
  .w-meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .logo-text { max-width: 34vw; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .wcard-info h3 { font-size: .92rem; }
  .wcard-sum { display: none; }
  .badges { top: 8px; left: 8px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-card { min-height: 120px; padding: 16px; }
  .cat-card p { display: none; }
  .ct-card, .ct-form { padding: 22px; }
  .lightbox button.lb-p, .lightbox button.lb-n { position: absolute; bottom: 24px; }
  .lb-p { left: 30%; } .lb-n { right: 30%; }
}
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hero { justify-content: flex-end; padding-bottom: 110px; }
  .hero-in { max-width: 100%; }
  .hero-title { font-size: clamp(2.9rem, 14.5vw, 5.4rem); }
  .hero-foot .hero-loc { display: none; }
  .hc { --h: min(52vh, 118vw); }
  .hs-intro { width: 72vw; }
  .hs-ghost { font-size: 26vw; top: 12vh; }
  .hs-ui .hs-tip { display: none; }
  .stat { padding: 12px 16px; min-width: 0; }
  .stat b { font-size: 1.4rem; }
  .sp-foot { flex-wrap: wrap; gap: 10px 16px; }
  .sp-bar { order: 3; flex-basis: 100%; }
}
@media (hover: none) { .cursor { display: none; } }

/* ---------- 克制模式 / 系统减弱动效 ---------- */
html.calm .shimmer, html.calm .fx-grain, html.calm .avatar-wrap::before { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}
