/* ==========================================================================
   曾琪玲 · 内容运营作品集
   设计系统参照 elenagonci.com：白底 / #fafafa 交替分区、细顶栏、
   毛玻璃可拖拽画布、macOS 窗口式文件界面、蓝色药丸按钮
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #0a0a0a;
  --ink-85: rgba(0, 0, 0, .85);
  --ink-70: rgba(0, 0, 0, .70);
  --ink-60: rgba(0, 0, 0, .60);
  --ink-55: rgba(0, 0, 0, .55);
  --ink-45: rgba(0, 0, 0, .45);
  --ink-40: rgba(0, 0, 0, .40);
  --ink-35: rgba(0, 0, 0, .35);

  --paper: #fff;
  --paper-2: #fafafa;
  --paper-3: #f5f5f5;
  --rule: rgba(0, 0, 0, .10);
  --rule-15: rgba(0, 0, 0, .15);

  --blue: #57A4F0;
  --blue-dark: #3E8FE4;
  --blue-deep: #0069d9;
  --accent: #ff3700;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --sh-card: 0 8px 32px rgba(0, 0, 0, .12);
  --sh-soft: 0 8px 30px rgba(0, 0, 0, .10);
  --sh-win: 0 18px 50px rgba(0, 0, 0, .10);
  --sh-glass: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 32px rgba(0, 0, 0, .12);

  --font: "Bricolage Grotesque", "PingFang SC", "HarmonyOS Sans SC",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui,
          -apple-system, "Segoe UI", sans-serif;

  --maxw: 1060px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--blue); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-size: 13px; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   2. 通用排版
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.sec {
  position: relative; z-index: 2;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 80px 0;
}
.sec.alt { background: var(--paper-2); }

.sec-head {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.sec-head h2 {
  font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
}
.sec-head .tail { flex: 1; height: 1px; background: var(--rule); min-width: 40px; }
.sec-head .no-dim {
  font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-35);
}
.sec-note {
  font-size: 13px; line-height: 1.7; color: var(--ink-45);
  padding: 12px 16px; background: var(--paper-2); border-radius: var(--r-md);
  border: 1px solid var(--rule);
}

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; background: var(--blue); color: #fff;
  padding: 9px 18px; font-size: 12.5px; font-weight: 700; line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  transition: background-color .18s ease, transform .18s var(--ease);
}
.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: var(--ink-70);
  border: 1px solid var(--rule-15); box-shadow: none;
}
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink-35); }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-70); transition: color .2s ease;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow .arw { display: inline-block; transition: transform .3s var(--ease); }
.link-arrow:hover .arw { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   3. 顶部细栏（首页 / 内页共用）
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  height: 28px; padding: 0 16px;
  border-bottom: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  font-size: 11px; font-weight: 500; color: var(--ink-55);
}
.topbar .tb-left { display: flex; align-items: center; gap: 14px; min-width: 0; flex: none; }
.topbar .tb-mark { font-weight: 700; color: var(--ink-70); letter-spacing: .04em; }
.topbar .tb-name { color: var(--ink); font-weight: 600; }
.topbar .tb-role { color: var(--ink-35); }
.topbar .tb-right { display: flex; align-items: center; gap: 14px; min-width: 0; }
.topbar .tb-clock { min-width: 124px; text-align: right; font-variant-numeric: tabular-nums; }
.topbar .tb-btn {
  border: 1px solid var(--rule-15); background: rgba(255, 255, 255, .6);
  border-radius: 999px; padding: 2px 10px; font-size: 11px; color: var(--ink-55);
  cursor: pointer; transition: color .18s, border-color .18s, background-color .18s;
  white-space: nowrap; flex: none;
}
.topbar .tb-btn:hover { color: var(--ink); border-color: var(--ink-35); background: #fff; }
.topbar.overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 40; }

.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }

/* --- 应用图标导航（对标站同款：毛玻璃药丸 + 渐变方形图标） --- */
.appnav-bar {
  position: sticky; top: 28px; z-index: 60;
  display: flex; justify-content: center;
  padding: 12px 16px 6px; pointer-events: none;
}
.appnav {
  pointer-events: auto;
  display: inline-flex; align-items: flex-start; gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .30);
  box-shadow: var(--sh-glass);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
}
/* 首页：药丸悬在视口底部，滚动后钉在顶部（对标站同款） */
.appnav-bar.dock {
  top: 16px;
  height: 128px; margin-top: -128px;
  align-items: flex-start; padding: 0 16px;
}
.appnav-div {
  width: 1px; align-self: flex-start; height: 32px; margin-top: 2px;
  background: rgba(0, 0, 0, .15); flex: none;
}
.appbtn {
  position: relative; width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 24%;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transition: filter .2s ease, transform .25s var(--ease);
}
.appbtn svg { width: 50%; height: 50%; }
.appbtn:hover { filter: brightness(1.05); transform: translateY(-2px); }
.appbtn[aria-current="page"] { box-shadow: 0 0 0 2px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .25); }
.appbtn.home {
  background: #fff; color: var(--ink);
  border: 1px solid rgba(0, 0, 0, .10); box-shadow: none;
}
.appbtn.home:hover { background: #f3f3f3; }
.appbtn.g-blue { background: linear-gradient(180deg, #5FB0FF, #2E7CF6); }
.appbtn.g-purple { background: linear-gradient(180deg, #C489FB, #8231E8); }
.appbtn.g-pink { background: linear-gradient(180deg, #FF7A93, #F92D50); }
.appbtn.g-green { background: linear-gradient(180deg, #4FDE73, #1FB84A); }
.appbtn.g-orange { background: linear-gradient(180deg, #FFB86B, #F97316); }
.appbtn.g-indigo { background: linear-gradient(180deg, #A5B4FC, #6366F1); }
.appbtn.g-ink { background: linear-gradient(180deg, #6B6B72, #17171B); }

/* 工具箱小图标行 */
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tool-row span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper-2); padding: 4px 11px 4px 6px;
  font-size: 11.5px; color: var(--ink-55);
}
.tool-row img { width: 18px; height: 18px; object-fit: contain; }
.tool-row svg { width: 18px; height: 18px; border-radius: 5px; flex: none; }

/* 关于我 —— 特长 / 个人优势 */
.about-grid {
  display: grid; gap: 30px 40px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.about-block .eyebrow { margin-bottom: 14px; }
.strength-list, .adv-list { margin: 0; padding: 0; list-style: none; }
.strength-list li, .adv-list li {
  position: relative; padding-left: 26px; margin-bottom: 13px;
  font-size: 14px; line-height: 1.75; color: var(--ink-70);
}
.strength-list li:last-child, .adv-list li:last-child { margin-bottom: 0; }
.strength-list li::before {
  content: counter(strength); counter-increment: strength;
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--blue-deep); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 1;
}
.strength-list { counter-reset: strength; }
.adv-list li::before {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 6px; height: 6px; border-radius: 999px; background: var(--ink-25, rgba(0, 0, 0, .25));
}
.strength-list b, .adv-list b { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   4. 首页 Hero —— 可拖拽画布
   -------------------------------------------------------------------------- */
.hero {
  position: relative; z-index: 0;
  min-height: 100svh;
  background: var(--paper-2);
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero {
    position: sticky; top: 0;
    height: 100dvh; min-height: 680px;
  }
}

.hero-canvas {
  position: relative;
  min-height: 1420px;
}
@media (min-width: 900px) {
  .hero-canvas { height: 100%; min-height: 680px; }
}

.wallpaper {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(87, 164, 240, .16), transparent 62%),
    radial-gradient(900px 560px at 14% 82%, rgba(255, 55, 0, .07), transparent 60%),
    radial-gradient(700px 500px at 46% 46%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, #fbfbfb 0%, #f6f6f6 100%);
}
.wallpaper::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, .055) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}

/* --- 拖拽卡片通用 --- */
.drg {
  position: absolute; z-index: 20;
  cursor: grab; touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
.drg:active { cursor: grabbing; }
.drg.dragging { z-index: 60; transform: scale(1.015); }
.drg.no-drag { cursor: default; }
.drag-hint {
  position: absolute; left: 24px; bottom: 22px;
  z-index: 15; pointer-events: none;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-35);
}

/* --- 毛玻璃卡片 --- */
.glass {
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .30);
  box-shadow: var(--sh-glass);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  border-radius: var(--r-lg);
  padding: 16px;
}
.glass.p-3 { padding: 14px; }

.card-150 { width: 150px; height: 150px; }
.card-320 { width: 320px; height: 150px; }

/* 时钟卡 */
.card-clock { display: flex; align-items: center; justify-content: center; padding: 12px; }
.card-clock .clock { width: 100%; height: 100%; }
.card-clock .clock svg { width: 100%; height: 100%; }
/* 指针必须绕表盘中心旋转，否则会绕自身中点打转 */
.card-clock .clock .hand {
  transform-box: view-box;
  transform-origin: 50px 50px;
}
.card-clock .clock-city {
  position: absolute; inset: auto 0 10px; text-align: center; margin: 0;
  font-size: 9.5px; letter-spacing: .06em; color: var(--ink-55);
}
.card-clock .clock-city b { color: var(--ink); font-weight: 700; }
.card-clock .widget-h {
  position: absolute; inset: 10px auto auto 12px; margin: 0;
  font-size: 8.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-40);
}

/* 日历卡 */
.card-cal { padding: 12px 12px 10px; }
.card-cal .widget-h { margin: 0 0 5px; }
.card-cal .cal-top { display: flex; align-items: baseline; justify-content: space-between; }
.card-cal .cal-day { font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.card-cal .cal-mon { font-size: 9.5px; color: var(--ink-45); }
.card-cal .cal-grid {
  margin-top: 3px; display: grid; grid-template-columns: repeat(7, 1fr);
  column-gap: 3px; row-gap: 0;
  font-size: 7px; line-height: 9px; text-align: center; color: var(--ink-45);
}
.card-cal .cal-grid .dow { font-weight: 700; color: var(--ink-40); font-size: 7px; }
.card-cal .cal-grid .d { display: block; }
.card-cal .cal-grid .d.blank { visibility: hidden; }
.card-cal .cal-grid .d.today {
  width: 10px; height: 10px; margin: 0 auto; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; line-height: 10px; font-size: 7px;
}
.card-cal .cal-foot {
  margin: 6px 0 0; font-size: 8.5px; line-height: 1.25; letter-spacing: .04em; color: var(--ink-45);
}

/* 数据卡 */
.card-numbers { width: 150px; height: auto; }
.card-numbers .widget-h {
  margin: 0 0 10px; font-size: 10px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--ink-55);
}
.card-numbers .meters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 8px; }
.card-numbers .meters div { display: flex; flex-direction: column; min-width: 0; }
.card-numbers .meters b { font-size: 17px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.card-numbers .meters span { font-size: 9px; color: var(--ink-45); line-height: 1.25; overflow-wrap: break-word; }
/* 窄桌面：数据卡再收窄一档，给右侧文件夹列让位 */
@media (min-width: 900px) and (max-width: 999px) {
  .card-music { width: 260px; }
  .card-numbers { width: 130px; }
  .card-numbers .meters b { font-size: 15px; }
}
.widget-h {
  margin: 0; font-size: 9px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-40);
}

/* 音乐卡 */
.card-music { display: flex; flex-direction: column; }
.card-music .mrow { display: flex; gap: 14px; }
.card-music .cover {
  width: 72px; height: 72px; flex: none; border-radius: 8px; object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 2px 6px rgba(0, 0, 0, .12);
  background: linear-gradient(140deg, #e05a3a, #a8243a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-align: center;
}
.card-music .track { min-width: 0; flex: 1; padding-top: 4px; }
.card-music .track b {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink-85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-music .track span {
  display: block; font-size: 11px; color: var(--ink-45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-music .transport { margin-top: 10px; display: flex; align-items: center; gap: 14px; color: var(--ink-70); }
.card-music .transport button {
  background: none; border: 0; padding: 0; cursor: pointer; line-height: 0;
  transition: color .18s, transform .18s;
}
.card-music .transport button:hover { color: var(--ink); transform: translateY(-1px); }
.card-music .transport .play { font-size: 15px; }
.card-music .transport .skip { font-size: 12px; }
.card-music .bar {
  position: relative; height: 14px; margin-top: 10px;
  cursor: pointer; touch-action: none;
}
.card-music .bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 3px; margin-top: -1.5px; border-radius: 999px; background: rgba(0, 0, 0, .12);
}
.card-music .bar i {
  position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: 999px; background: rgba(0, 0, 0, .62); width: 0;
}
.card-music .bar b {
  position: absolute; top: 50%; left: 0; width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transition: transform .15s var(--ease);
}
.card-music .bar:hover b { transform: scale(1.25); }
.card-music .bar:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 999px; }
.card-music .times {
  margin-top: 4px; display: flex; justify-content: space-between;
  font-size: 9px; color: var(--ink-35); font-variant-numeric: tabular-nums;
}
.card-music .cover.is-art { background: none; }

/* 播放按钮（卡片 & 迷你播放器共用） */
.music-btn { color: var(--ink-70); line-height: 0; }
.music-btn svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.music-btn.play svg { width: 18px; height: 18px; }
.music-btn:hover { color: var(--ink); }

/* 迷你播放器（内页常驻，右下角） */
.miniplayer {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 268px; padding: 12px 14px 10px;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  gap: 6px 12px; align-items: center;
}
.miniplayer[hidden] { display: none; }
body.has-mini { padding-bottom: 112px; }
.miniplayer .mp-cover {
  width: 38px; height: 38px; border-radius: 7px;
  background: linear-gradient(140deg, #e05a3a, #a8243a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 6px; font-weight: 800; letter-spacing: .08em; text-align: center;
}
.miniplayer .mp-meta { min-width: 0; }
.miniplayer .mp-meta b {
  display: block; font-size: 12px; font-weight: 600; color: var(--ink-85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.miniplayer .mp-meta span {
  display: block; font-size: 10px; color: var(--ink-45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.miniplayer .mp-btns { display: flex; align-items: center; gap: 10px; }
.miniplayer .mp-bar {
  position: relative; height: 14px; grid-column: 1 / -1; margin-top: 2px;
  cursor: pointer; touch-action: none;
}
.miniplayer .mp-bar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 3px; margin-top: -1.5px; border-radius: 999px; background: rgba(0, 0, 0, .12);
}
.miniplayer .mp-bar i {
  position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: 999px; background: rgba(0, 0, 0, .62); width: 0;
}
.miniplayer .mp-bar b {
  position: absolute; top: 50%; left: 0; width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
@media (max-width: 899px) {
  .miniplayer { left: 12px; right: 12px; bottom: 78px; width: auto; }
  body.has-mini { padding-bottom: 178px; }
}

/* 人像卡 —— 四张生活照自动轮换 */
.card-photo { width: 172px; height: 230px; }
.ph-stage {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  box-shadow: var(--sh-card);
  background: var(--paper-2);
  cursor: pointer;
}
.ph-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.02);
  transition: opacity .8s var(--ease), transform 3s linear;
}
.ph-shot.on { opacity: 1; transform: scale(1.06); }
.ph-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: flex-end; gap: 6px;
  padding: 18px 10px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.ph-dots { display: flex; gap: 4px; flex: none; pointer-events: auto; }
.ph-dot {
  width: 5px; height: 5px; padding: 0; border: 0; border-radius: 3px;
  background: rgba(255, 255, 255, .5); cursor: pointer;
  transition: width .28s var(--ease), background-color .22s ease;
}
.ph-dot.on { width: 13px; background: #fff; }
.ph-dot:hover { background: rgba(255, 255, 255, .85); }
@media (prefers-reduced-motion: reduce) {
  .ph-shot { transition: opacity .8s var(--ease); transform: none; }
  .ph-shot.on { transform: none; }
}

/* --- 文件夹图标 --- */
.folder { width: 80px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.folder img {
  width: 56px; height: 56px; object-fit: contain;
  transition: transform .25s var(--ease);
}
.folder:hover img { transform: scale(1.05); }
.folder span {
  border-radius: 5px; background: rgba(255, 255, 255, .7);
  padding: 2px 6px; text-align: center;
  font-size: 12px; font-weight: 500; line-height: 1.25; color: var(--ink-80, rgba(0, 0, 0, .8));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s ease, color .2s ease;
  max-width: 100%;
}
.folder:hover span { background: var(--blue-deep); color: #fff; }

/* --- Hero 居中文字 --- */
.hero-center {
  position: absolute; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px 0; pointer-events: none;
}
.hero-center .inner { max-width: 768px; text-align: center; }
.hero-center h1 {
  font-size: 34px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em;
}
@media (min-width: 768px) { .hero-center h1 { font-size: 48px; } }
@media (min-width: 1536px) { .hero-center h1 { font-size: 60px; } }
.hero-center h1 .ln { display: inline-block; animation: heroLine .7s var(--ease) both; }
.hero-center h1 .ln-2 { animation-delay: .12s; }
.hero-center h1 .ln-3 { animation-delay: .24s; }
.hero-center .sub {
  max-width: 576px; margin: 24px auto 0;
  font-size: 16px; line-height: 1.625; color: var(--ink-50, rgba(0, 0, 0, .5));
  animation: heroLine .7s var(--ease) .34s both;
}
.hero-center .hero-cta {
  margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  pointer-events: auto; animation: heroLine .7s var(--ease) .44s both;
}
.hero-center .chips { margin-top: 16px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.hero-center .chips span {
  border-radius: 999px; border: 1px solid var(--rule-15); background: rgba(255, 255, 255, .6);
  padding: 4px 12px; font-size: 11.5px; color: var(--ink-55);
}
@keyframes heroLine { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 12; font-size: 12px; color: var(--ink-35);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.hero-scroll span { animation: bob 1.9s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* --------------------------------------------------------------------------
   5. 本人战绩 —— 文件卡片
   -------------------------------------------------------------------------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--paper); padding: 13px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee-track span {
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-45);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.records {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(min(385px, 100%), 1fr));
}
/* 本人战绩整段放宽到参考图的版心宽度，让六张文件卡并成三列 */
.sec#cases .wrap { max-width: 1272px; }

.filecard {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule-15); border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--sh-soft);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.filecard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .13);
  border-color: var(--ink-25, rgba(0, 0, 0, .25));
}
.filecard-bar {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-bottom: 1px solid var(--rule);
  background: var(--paper-3);
}
.filecard-bar .fname {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 11.5px; color: var(--ink-55); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%;
}
.filecard-bar .fmeta { margin-left: auto; font-size: 10.5px; color: var(--ink-35); }
.filecard-body { display: flex; gap: 16px; padding: 18px 20px 14px; flex: 1; }
.filecard-thumb {
  width: 92px; height: 92px; flex: none; border-radius: var(--r-md); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.filecard-thumb img { width: 100%; height: 100%; object-fit: cover; }
.filecard h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35;
  margin-bottom: 6px;
}
.filecard p.desc {
  font-size: 13px; line-height: 1.65; color: var(--ink-60);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.filecard .tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  border-radius: 999px; border: 1px solid var(--rule); background: var(--paper-2);
  padding: 3px 10px; font-size: 11px; color: var(--ink-55); white-space: nowrap;
}
.tag.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.filecard-foot {
  margin-top: auto; padding: 12px 20px 16px;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-45);
}
.filecard-foot .go { color: var(--ink-70); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.filecard:hover .filecard-foot .go { color: var(--blue-deep); }

/* 本人战绩 · 文件夹图标托盘（错落悬浮的大号 App 图标 + 装饰小配件）
   托盘高度跟随右侧文字栏，图标以 50% 为中心上下错落 */
.filecard-icons {
  position: relative; flex: none;
  width: 140px; align-self: stretch; min-height: 156px;
}
.filecard-icons .ico {
  position: absolute;
  left: var(--x, 0px); top: calc(50% + var(--y, 0px));
  width: var(--s, 64px); height: var(--s, 64px);
  border-radius: 23%; object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .1), inset 0 0 0 .5px rgba(0, 0, 0, .07);
  transform: translateY(-50%) rotate(var(--r, 0deg));
}
.filecard-icons .fig {
  position: absolute;
  left: var(--x, 0px); top: calc(50% + var(--y, 0px));
  width: var(--w, 104px); height: var(--h, 147px);
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .13));
}
.filecard-icons .fig.soft { filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .22)); }
/* 装饰小配件 ✦ / ● / ❤ / 胶片 / 铅笔 / 信封 */
.filecard-icons .deco {
  position: absolute;
  left: var(--x, 0px); top: calc(50% + var(--y, 0px));
  width: var(--s, 18px); height: var(--s, 18px);
  transform: translateY(-50%);
  pointer-events: none;
}
.filecard-icons .deco.dot { border-radius: 50%; background: var(--c, #6FA8DC); }
/* 玩偶坐在方框边沿：允许溢出卡片边框 */
.filecard.pop { overflow: visible; }
.filecard.pop .filecard-bar { border-radius: 15px 15px 0 0; }

/* --------------------------------------------------------------------------
   6. 海报墙 / 视频
   -------------------------------------------------------------------------- */
.wall-grid {
  columns: 4; column-gap: 18px;
}
.wall-card {
  break-inside: avoid; margin: 0 0 18px; border-radius: var(--r-md); overflow: hidden;
  background: var(--paper-3); border: 1px solid var(--rule);
  cursor: zoom-in; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wall-card:hover { transform: translateY(-3px); box-shadow: var(--sh-soft); }
.wall-card img { width: 100%; display: block; }
.wall-card figcaption {
  padding: 9px 12px; display: flex; flex-direction: column; gap: 1px;
  border-top: 1px solid var(--rule); background: var(--paper);
}
.wall-card figcaption b { font-size: 12.5px; font-weight: 600; color: var(--ink-85); }
.wall-card figcaption span { font-size: 11px; color: var(--ink-40); }

/* 素白画廊入口（首页 → gallery.html） */
.gal-gate {
  position: relative; z-index: 2;
  background: #fbfbfa; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.gal-gate-in {
  display: flex; align-items: center; gap: 46px; flex-wrap: wrap;
  max-width: var(--maxw); margin: 0 auto; padding: 52px 28px;
  color: inherit; text-decoration: none;
}
.gal-gate-txt { flex: 1 1 320px; min-width: 0; }
.gal-kicker {
  margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-40);
}
.gal-title {
  margin: 0; font-size: clamp(26px, 4.2vw, 42px); line-height: 1.24;
  font-weight: 700; letter-spacing: -.03em; color: var(--ink);
}
.gal-title em { font-style: normal; color: #1b2a5e; }
.gal-sub { margin: 14px 0 0; font-size: 14px; color: var(--ink-55); line-height: 1.7; }
.gal-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
}
.gal-cta .arw { transition: transform .3s var(--ease); }
.gal-gate-in:hover .gal-cta .arw { transform: translateX(4px); }
.gal-gate-thumbs { display: flex; gap: 10px; flex: 0 0 auto; }
.gal-gate-thumbs img {
  width: 74px; height: 100px; object-fit: cover; object-position: top;
  border: 1px solid var(--rule); background: var(--paper-3);
  transition: transform .35s var(--ease);
}
.gal-gate-thumbs img:nth-child(1) { transform: rotate(-4deg) translateY(6px); }
.gal-gate-thumbs img:nth-child(2) { transform: rotate(-1.5deg); }
.gal-gate-thumbs img:nth-child(3) { transform: rotate(1.5deg); }
.gal-gate-thumbs img:nth-child(4) { transform: rotate(4deg) translateY(-4px); }
.gal-gate-thumbs img:nth-child(5) { transform: rotate(6deg) translateY(6px); }
.gal-gate-in:hover .gal-gate-thumbs img { transform: rotate(0deg) translateY(0); }

/* 作品墙分组标题 */
.wall-group {
  display: flex; align-items: baseline; gap: 10px;
  margin: 34px 0 16px; font-size: 15px; font-weight: 700; color: var(--ink);
  letter-spacing: -.01em;
}
.wall-group:first-of-type { margin-top: 18px; }
.wall-group span {
  font-size: 11px; font-weight: 600; color: var(--ink-40);
  letter-spacing: .08em; font-family: var(--font);
}
.wall-group::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.videos { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.videos figure { margin: 0; }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } }
.video-thumb {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9; cursor: zoom-in;
  border: 1px solid var(--rule);
}
.video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 18px; color: #fff; background: rgba(0, 0, 0, .18);
  transition: background-color .25s;
}
.video-thumb:hover .play-overlay { background: rgba(0, 0, 0, .32); }
.videos figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.videos figcaption b { font-size: 14px; font-weight: 600; }
.videos figcaption span { font-size: 12px; color: var(--ink-45); }

/* --------------------------------------------------------------------------
   7. 内页 —— 文件窗口
   -------------------------------------------------------------------------- */
.docwrap { padding: 40px 24px 80px; }
.docwin {
  max-width: 880px; margin: 0 auto;
  border: 1px solid var(--rule-15); border-radius: var(--r-md);
  background: var(--paper); box-shadow: var(--sh-win); overflow: hidden;
}
.docwin-bar {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid var(--rule); background: var(--paper-3);
}
.docwin-bar .fname {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--ink-55); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%;
}
.docwin-bar .fmeta { margin-left: auto; font-size: 11px; color: var(--ink-35); }
.doc { padding: 44px 48px 52px; }
@media (max-width: 720px) { .doc { padding: 28px 20px 36px; } .docwrap { padding: 24px 14px 56px; } }

.doc .crumb {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-45); margin-bottom: 18px;
  transition: color .2s;
}
.doc .crumb:hover { color: var(--ink); }
.doc h1 {
  font-size: 32px; font-weight: 800; line-height: 1.12; letter-spacing: -.025em;
  margin-bottom: 14px;
}
.doc .lede {
  font-size: 15px; line-height: 1.75; color: var(--ink-60); max-width: 68ch;
}
.doc .meta {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: grid; gap: 16px 28px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.doc .meta div { display: flex; flex-direction: column; gap: 3px; }
.doc .meta span {
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-40);
}
.doc .meta b { font-size: 13.5px; font-weight: 600; color: var(--ink-85); line-height: 1.45; }

.doc-body { margin-top: 40px; }
.block { margin-bottom: 44px; }
.block:last-child { margin-bottom: 0; }
.block h2 {
  font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3;
  margin-bottom: 14px; padding-top: 22px; border-top: 1px solid var(--rule);
}
.block:first-child h2 { border-top: 0; padding-top: 0; }
.sec-no {
  display: inline-block; margin-right: 10px; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; color: var(--blue-deep); vertical-align: 2px;
}
.block h3 {
  font-size: 15.5px; font-weight: 700; margin: 26px 0 10px; color: var(--ink-85);
}
.block p { font-size: 14.5px; line-height: 1.8; color: var(--ink-70); margin-bottom: 12px; }
.block p:last-child { margin-bottom: 0; }
.block b { color: var(--ink); font-weight: 700; }
.block .pull {
  border-left: 2px solid var(--blue); padding: 2px 0 2px 16px; margin: 18px 0;
  font-size: 16px; font-weight: 600; color: var(--ink);
}

/* 数据条 */
.stats {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.stat {
  border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper-2);
  padding: 16px 16px 14px;
}
.stat b {
  display: block; font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
}
.stat b small { font-size: 13px; font-weight: 800; letter-spacing: 0; }
.stat b small.pre { margin-right: 5px; }
.stat span { display: block; margin-top: 6px; font-size: 11.5px; line-height: 1.45; color: var(--ink-45); }

/* 提示块 */
.callout {
  border: 1px solid var(--rule); border-left: 3px solid var(--blue);
  border-radius: var(--r-md); background: var(--paper-2);
  padding: 18px 20px; font-size: 14px; line-height: 1.75; color: var(--ink-70);
}
.callout b { display: block; margin-bottom: 6px; font-size: 14.5px; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }

/* 网格 */
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.duo { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.duo-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* 居中固定列数：2×2 / 1×3 */
.grid.pair, .duo-cards.pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.stats.trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px; margin-left: auto; margin-right: auto;
}
@media (max-width: 640px) {
  .grid.pair, .duo-cards.pair, .stats.trio { grid-template-columns: minmax(0, 1fr); max-width: none; }
}
.duo-cards .co {
  border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper-2);
  padding: 16px 18px; transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.duo-cards .co:hover { transform: translateY(-3px); box-shadow: var(--sh-soft); }
.duo-cards .co b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.duo-cards .co span {
  display: block; font-size: 11px; color: var(--blue-deep); margin-bottom: 7px; letter-spacing: .04em;
}
.duo-cards .co p { margin: 0; font-size: 13px; color: var(--ink-60); }

/* 阶段列表 */
.stages { display: grid; gap: 12px; margin: 16px 0 4px; }
.stages li {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px;
  padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--paper);
}
@media (max-width: 640px) { .stages li { grid-template-columns: 1fr; gap: 6px; } }
.stages .sname {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14.5px; font-weight: 700; letter-spacing: -.01em;
}
.stages .sname em {
  font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-deep);
}
.stages .sdesc { font-size: 13.5px; line-height: 1.75; color: var(--ink-60); margin: 0; }
.video-types-intro { margin: 6px 0 18px; color: var(--ink-60); font-size: 14px; line-height: 1.75; }
.video-types .stages { gap: 10px; }
.video-types .stages li {
  grid-template-columns: minmax(150px, 188px) minmax(0, 1fr);
  gap: clamp(14px, 2.5vw, 30px); align-items: center;
  padding: 20px 22px; background: #fff;
}
.video-types .sname { font-size: 15.5px; line-height: 1.45; }
.video-types .sname em { margin-top: 5px; line-height: 1.4; letter-spacing: .04em; }
.video-types .sdesc { font-size: 14px; line-height: 1.75; color: #4b5868; }
.video-workflow .callout { padding: 21px 23px; background: #fff; }
.video-workflow .callout b { font-size: 15px; }
.video-workflow .callout p { font-size: 14px; line-height: 1.75; }
@media (max-width: 640px) {
  .video-types .stages li { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
}

/* 时间线 */
.timeline { display: grid; gap: 12px; }
.timeline li {
  padding: 16px 18px; border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--paper-2);
}
.timeline .org {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: 15px; font-weight: 700; margin-bottom: 7px;
}
.timeline .org span {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-40);
}
.timeline .desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-60); margin: 0; }

/* 获奖列表 */
.awards { display: grid; gap: 10px; }
.awards li {
  position: relative; padding-left: 20px;
  font-size: 14px; line-height: 1.75; color: var(--ink-70);
}
.awards li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.awards b { color: var(--ink); }

/* 《赎》B 站链接 */
.award-film { position: relative; }
.film-link {
  margin-left: 6px; font-size: 12.5px; font-weight: 600;
  color: var(--blue-deep); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.film-link:hover { border-bottom-color: currentColor; }

/* 技能网格 */
.skill-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.skill-grid h3 { margin: 0 0 7px; font-size: 14.5px; }
.skill-grid p { margin: 0; font-size: 13.5px; color: var(--ink-60); }
.skill-grid .skill-wide { grid-column: 1 / -1; }

/* 表格 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-md); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.tbl thead th {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-45); background: var(--paper-2);
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td { color: var(--ink-60); }
.tbl b { color: var(--ink); }

/* 图片 */
.figure { margin: 18px 0 0; }
.figure img {
  width: 100%; border-radius: var(--r-md); border: 1px solid var(--rule);
  cursor: zoom-in; background: var(--paper-3);
}
.figure figcaption {
  margin-top: 8px; font-size: 12px; color: var(--ink-45);
}

/* Prompt 块 */
.prompt-wrap { margin: 14px 0; }
.prompt {
  position: relative; border: 1px solid var(--rule); border-radius: var(--r-md);
  background: var(--paper-2); padding: 16px 18px;
  font-size: 12.5px; line-height: 1.8; color: var(--ink-60);
  word-break: break-word;
}
.prompt .pk {
  display: inline-block; margin-right: 6px; border-radius: 4px;
  background: var(--ink); color: #fff; padding: 1px 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
}

/* 翻页 */
.pager {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.pager a {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14px; font-weight: 600; color: var(--ink-70);
  transition: color .2s, transform .25s var(--ease);
}
.pager a:hover { color: var(--ink); }
.pager a.next { text-align: right; }
.pager a.next:hover { transform: translateX(3px); }
.pager small {
  font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-35);
}

/* --------------------------------------------------------------------------
   8. 页脚
   -------------------------------------------------------------------------- */
.foot {
  position: relative; z-index: 2;
  background: var(--paper); border-top: 1px solid var(--rule);
  padding: 56px 0 64px;
}
.foot-in {
  display: grid; gap: 36px;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: start;
}
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav a {
  font-size: 13.5px; color: var(--ink-70); position: relative; width: fit-content;
}
.foot nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.foot nav a:hover { color: var(--ink); }
.foot nav a:hover::after { transform: scaleX(1); }
.foot .foot-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   9. 灯箱
   -------------------------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(14, 14, 16, .95); padding: 24px; overflow: auto;
}
.lb[data-open="true"] { display: grid; place-items: center; }
.lb img, .lb video { max-height: 84vh; width: auto; max-width: 100%; background: #000; border-radius: 10px; }
/* The compressed campus film has fewer pixels, but should open at the same
   visual size as the other 16:9 campus film. Keep its full frame visible. */
.lb video[src$="video-xinhua.mp4"] {
  width: 1280px;
  max-width: min(calc(100vw - 128px), 149vh);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.lb figcaption { color: rgba(255, 255, 255, .7); font-size: 13px; margin-top: 12px; text-align: center; }
.lb button {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  font: inherit; font-size: 13px; padding: 7px 14px; cursor: pointer; border-radius: 999px;
}
.lb .prev, .lb .next-btn { top: 50%; transform: translateY(-50%); padding: 7px 12px; }
.lb .prev { left: 14px; right: auto; }
.lb .next-btn { right: 16px; }

/* --------------------------------------------------------------------------
   10. 企鹅表情包
   -------------------------------------------------------------------------- */
/* 企鹅表情包：只出现在首页「关于我」板块右下角，鼠标移入板块时淡入，点击可放大 */
.about-foot { display: flex; align-items: flex-end; gap: 28px; margin-top: 22px; }
.about-foot .tool-row { flex: 1; margin-top: 0; }
.about-sticker { flex: none; width: 150px; }
.about-sticker .penguin {
  display: block; width: 100%; height: auto;
  border-radius: 16px; border: 1px solid var(--rule);
  box-shadow: var(--sh-card); cursor: zoom-in;
  opacity: 0; transform: translateY(12px) scale(.94); pointer-events: none;
  visibility: hidden;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
#about:hover .about-sticker .penguin,
#about:focus-within .about-sticker .penguin {
  opacity: 1; transform: none; pointer-events: auto;
  visibility: visible;
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s;
}
.about-sticker .penguin:hover { transform: scale(1.05) rotate(-2deg); }
@media (hover: none) {
  .about-sticker .penguin {
    opacity: 1; transform: none; pointer-events: auto; visibility: visible;
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s;
  }
}

/* --------------------------------------------------------------------------
   11. 进场动画
   -------------------------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   12. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) { .wall-grid { columns: 3; } }
@media (max-width: 720px) { .wall-grid { columns: 2; column-gap: 12px; } }

@media (max-width: 899px) {
  .sec { padding: 56px 0; }
  .sec-head h2 { font-size: 24px; }
  .doc h1 { font-size: 26px; }
  .hero-center h1 { font-size: 26px; }
  .hero-center {
    position: static; display: block; padding: 58px 20px 0;
  }
  .hero-center .inner { max-width: none; }
  .hero-center .sub { font-size: 14px; }
  .hero-center .hero-cta { margin-top: 18px; }
  .drag-hint { display: none; }
  .hero-scroll { display: none; }
  .about-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .about-sticker { width: 124px; align-self: flex-end; }
  .card-320 { width: calc(100vw - 48px); }
  .topbar .tb-role { display: none; }
  .topbar .tb-name { display: none; }
  .topbar .tb-clock { display: none; }
  .appnav { gap: 7px; padding: 7px 9px; }
  .appbtn { width: 36px; height: 36px; }
  .appnav-div { height: 28px; }
  /* 移动端：药丸固定在屏幕底部，随时可点 */
  .appnav-bar, .appnav-bar.dock {
    position: fixed; top: auto; bottom: 12px; left: 0; right: 0;
    height: auto; margin-top: 0; padding: 0 12px; z-index: 70;
  }
  .card-numbers { width: calc(100vw - 32px); }
  .card-numbers .meters { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .card-numbers .meters b { font-size: 19px; }
  .gal-gate-in { gap: 26px; padding: 40px 20px; }
  .gal-gate-thumbs { flex-wrap: wrap; }
  .gal-gate-thumbs img { width: 56px; height: 76px; }
  body { padding-bottom: 76px; }
  .marquee-track { gap: 18px; }
}
/* 矮屏（笔记本/分屏）：文件夹整列上移时缩小图标，保证六个都在首屏里 */
@media (min-width: 900px) and (max-height: 700px) {
  .folder img { width: 48px; height: 48px; }
  .folder { width: 72px; }
}

/* --------------------------------------------------------------------------
   13. 账号卡片 + iPhone 样机
   -------------------------------------------------------------------------- */
.acct-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }

.acct-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 18px; border: 1px solid var(--rule); border-radius: var(--r-lg);
  background: var(--paper); color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.acct-card:hover { transform: translateY(-4px); box-shadow: var(--sh-soft); border-color: var(--rule-15); }
.acct-card .ac-top { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.acct-card .ac-logo { max-height: 38px; max-width: 110px; width: auto; object-fit: contain; }
.acct-card .ac-plat {
  margin-left: auto; font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  color: var(--blue-deep); background: rgba(87, 164, 240, .13);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.acct-card .ac-name { display: block; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.acct-card .ac-org { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-45); line-height: 1.55; }
.acct-card .ac-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.acct-card .ac-stats > span { display: flex; flex-direction: column; }
.acct-card .ac-stats b { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.acct-card .ac-stats i { font-style: normal; font-size: 10.5px; color: var(--ink-45); margin-top: 3px; }
.acct-card .ac-thumbs { display: flex; gap: 6px; margin-top: 15px; }
.acct-card .ac-thumbs img {
  width: 58px; height: 78px; object-fit: cover; object-position: top;
  border-radius: 6px; border: 1px solid var(--rule); background: var(--paper-3);
}
.acct-card .ac-cta {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 15px;
  font-size: 12px; font-weight: 600; color: var(--blue-deep);
}
.acct-card .ac-cta .arw { display: inline-block; transition: transform .3s var(--ease); }
.acct-card:hover .ac-cta .arw { transform: translateX(3px); }

/* 小红书：账号卡 + 后台数据截图 */
.xhs-layout {
  display: grid; gap: 20px; align-items: stretch;
  grid-template-columns: minmax(216px, 258px) 1fr;
  margin: 18px 0 22px;
}
.xhs-layout .acct-grid { grid-template-columns: 1fr; align-content: start; }
.xhs-shots { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.xhs-shot { margin: 0; position: relative; display: flex; }
.xhs-shot img {
  display: block; width: 100%; flex: 1 1 auto; height: auto; min-height: 340px;
  object-fit: cover; object-position: top;
  border: 1px solid var(--rule); border-radius: 18px;
  background: var(--paper-2); box-shadow: var(--sh-soft);
}
/* 桌面双栏时让右列高度由左卡决定，两列齐平 */
@media (min-width: 901px) {
  .xhs-shots { min-height: 0; }
  .xhs-shot { min-height: 0; }
  .xhs-shot img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; }
}
.xhs-shot figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: 12px 13px 13px;
  border: 1px solid var(--rule); border-radius: var(--r-md);
  background: rgba(255, 255, 255, .95); box-shadow: 0 12px 32px rgba(10, 10, 10, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.xhs-shot:hover figcaption, .xhs-shot:focus-within figcaption {
  opacity: 1; transform: translateY(0);
}
.xhs-shot::after {
  content: "悬停看数据"; position: absolute; right: 14px; bottom: 14px; z-index: 2;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(14, 14, 16, .72); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .2s var(--ease);
}
.xhs-shot:hover::after { opacity: 0; }
.xhs-shot figcaption > b { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.xhs-shot .shot-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 9px; }
.xhs-shot .shot-chips > span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 4px; border: 1px solid var(--rule); border-radius: 9px; background: var(--paper-2);
}
.xhs-shot .shot-chips b { font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.xhs-shot .shot-chips i { font-style: normal; font-size: 10px; color: var(--ink-45); line-height: 1.25; }
@media (max-width: 900px) {
  .xhs-layout { grid-template-columns: minmax(0, 1fr); }
  .xhs-shots { gap: 18px; }
}
@media (max-width: 560px) {
  .xhs-shots { grid-template-columns: minmax(0, 1fr); }
}

.pm { position: fixed; inset: 0; z-index: 210; display: none; }
.pm[data-open="true"] { display: block; }
.pm-bg {
  position: absolute; inset: 0; background: rgba(12, 12, 14, .88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pm-wrap {
  position: relative; z-index: 1; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 40px 16px;
}
.pm-device {
  --pmw: 330px;
  position: relative; width: var(--pmw); flex: none;
  border-radius: calc(var(--pmw) * .08); overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .5);
}
.pm-frame { display: block; width: 100%; height: auto; }
.pm-screen {
  position: absolute; overflow: hidden;
  border-radius: calc(var(--pmw) * .0935);
  background: #fff;
}
.pm [hidden] { display: none !important; }
.pm-veil {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 14, 22, .42);
  backdrop-filter: blur(7px) saturate(120%); -webkit-backdrop-filter: blur(7px) saturate(120%);
  cursor: pointer;
}
.pm-hint {
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  max-width: 82%; text-align: center;
  padding: 20px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.pm-hint-t { display: block; font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: .01em; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.pm-go {
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: #fff; color: #14161a;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease);
}
.pm-go:hover { transform: scale(1.07); }
.pm-go svg { width: 19px; height: 19px; fill: currentColor; }
.pm-body { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; background: #fff; scrollbar-width: none; }
.pm-body::-webkit-scrollbar { width: 0; height: 0; }
.pm-back {
  position: absolute; z-index: 3; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: rgba(20, 24, 32, .55); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.pm-back:hover { background: rgba(20, 24, 32, .74); }
.pm-content { display: flex; flex-direction: column; }
.pm-content img { width: 100%; display: block; }
.pm-cap { color: rgba(255, 255, 255, .72); font-size: 13px; text-align: center; max-width: 520px; margin: 0; }
.pm-cap b { color: #fff; }
.pm-close {
  position: absolute; top: 18px; right: 20px; z-index: 5;
  border: 0; background: rgba(255, 255, 255, .14); color: #fff;
  border-radius: 999px; padding: 7px 14px; font-size: 12px; cursor: pointer;
}
.pm-close:hover { background: rgba(255, 255, 255, .28); }
@media (max-width: 520px) {
  .pm-device { --pmw: min(330px, 82vw); }
}

@media (max-width: 460px) {
  .card-320 { width: calc(100vw - 40px); }
  .hero-center h1 { font-size: 23px; }
  .filecard-body { flex-direction: column; }
  .filecard-icons { width: 140px; height: 230px; align-self: flex-start; }
  .appnav { gap: 5px; padding: 6px 7px; }
  .appbtn { width: 32px; height: 32px; }
  .appnav-div { height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .topbar, .hero, .penguin, .lb, .pm, .appnav-bar, .pager { display: none !important; }
  .docwin { box-shadow: none; border: 0; }
}

/* 2026-10-22 · shared visual polish */
:root {
  --color-accent: #205e9c;
  --ink: #17212d;
  --paper-2: #f8fafc;
  --paper-3: #f2f5f8;
  --rule: rgba(23, 33, 45, .09);
  --rule-15: rgba(23, 33, 45, .14);
  --blue: #2769ad;
  --blue-dark: #1c578f;
  --blue-deep: #205e9c;
  --accent: #2769ad;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --sh-card: 0 12px 36px rgba(23, 33, 45, .09);
  --sh-soft: 0 8px 28px rgba(23, 33, 45, .065);
  --sh-win: 0 24px 64px rgba(23, 33, 45, .09);
}

body { letter-spacing: -.008em; }
.sec { padding-block: clamp(64px, 7vw, 96px); }
.sec-head { margin-bottom: 32px; }
.sec-head h2, .doc h1 { letter-spacing: -.04em; }
.eyebrow, .sec-head .no-dim, .doc .meta span { letter-spacing: .11em; }

.btn {
  min-height: 38px;
  justify-content: center;
  box-shadow: 0 2px 7px rgba(28, 87, 143, .12);
  transition: background-color 180ms var(--ease), transform 140ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:active, .appbtn:active, .topbar .tb-btn:active,
.card-music .transport button:active, .lb button:active,
.pm-go:active, .pm-close:active, .pm-back:active { transform: scale(.97); }
.btn.ghost { background: rgba(255, 255, 255, .8); }
.btn.ghost:hover { background: #fff; }

.appnav {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 34px rgba(23, 33, 45, .12), inset 0 1px rgba(255, 255, 255, .8);
}
.appbtn { box-shadow: 0 2px 7px rgba(23, 33, 45, .16); transition: filter 160ms ease, transform 160ms var(--ease); }
.appbtn.g-blue { background: linear-gradient(155deg, #79d2ff, #1685ef 70%, #0867cf); }
.appbtn.g-purple { background: linear-gradient(155deg, #d4a1ff, #9457ed 70%, #763bcf); }
.appbtn.g-pink { background: linear-gradient(155deg, #ffabbf, #fa5e91 70%, #db4675); }
.appbtn.g-green { background: linear-gradient(155deg, #85e8cb, #36bd9d 70%, #209d83); }
.appbtn.g-orange { background: linear-gradient(155deg, #ffd18b, #fa9951 70%, #e47b38); }
.appbtn.g-indigo { background: linear-gradient(155deg, #aac5ff, #668df0 70%, #4d70d5); }
.appbtn.g-ink { background: linear-gradient(155deg, #8fd7e7, #3f9ab4 70%, #267991); }

.filecard, .docwin, .wall-card, .stat, .callout,
.duo-cards .co, .stages li, .timeline li, .tbl-wrap, .prompt {
  border-color: var(--rule-15);
}
.filecard { box-shadow: 0 5px 22px rgba(23, 33, 45, .055); }
.filecard:hover { box-shadow: 0 16px 36px rgba(23, 33, 45, .11); }
.filecard-bar, .docwin-bar { background: #f7f9fb; }
.filecard-icons .deco { display: none; }
.filecard-icons .ico { box-shadow: 0 7px 17px rgba(23, 33, 45, .14); }
.tag { background: #f5f8fb; }
.tag.solid { background: var(--blue-deep); border-color: var(--blue-deep); }
.stat, .callout, .duo-cards .co, .timeline li, .prompt { background: #f8fafc; }
.callout { border-left-color: var(--blue-deep); }
.wall-card:hover, .duo-cards .co:hover { box-shadow: 0 12px 28px rgba(23, 33, 45, .085); }
.gal-gate { background: #f8fafc; }
.gal-title em { color: var(--blue-deep); }
.gal-gate-thumbs img { border-radius: 7px; }
.gal-gate-thumbs img:nth-child(n) { transform: none; }
.gal-gate-in:hover .gal-gate-thumbs img { transform: translateY(-2px); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .filecard:hover { transform: translateY(-3px); }
  .wall-card:hover, .duo-cards .co:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .hero-center h1 .ln, .hero-scroll span { animation: none !important; }
}

/* Apple Design: floating material, clear typography, direct touch feedback. */
body { font-optical-sizing: auto; }
.hero-center h1 { letter-spacing: -.045em; line-height: 1.08; }
.hero-center .sub, .doc .lede { letter-spacing: 0; }
.topbar {
  background: rgba(248, 250, 252, .76);
  border-bottom-color: rgba(255, 255, 255, .7);
  box-shadow: 0 4px 18px rgba(23, 33, 45, .045);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
}
.appnav, .glass, .miniplayer {
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .82);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}
.glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 14px 34px rgba(23,33,45,.11); }
.wallpaper {
  background:
    radial-gradient(900px 550px at 77% 15%, rgba(73, 134, 189, .14), transparent 70%),
    radial-gradient(780px 500px at 18% 85%, rgba(130, 169, 194, .10), transparent 72%),
    linear-gradient(180deg, #fcfdfe, #f3f7fa);
}
.wallpaper::after { opacity: .18; }
.ph-stage { touch-action: pan-y; will-change: transform; }
.ph-dot { min-width: 12px; min-height: 12px; border-radius: 999px; }
.ph-dot.on { width: 19px; }
.drg.dragging { box-shadow: 0 22px 48px rgba(23, 33, 45, .14); }
.docwin { box-shadow: 0 22px 60px rgba(23, 33, 45, .08); }
.docwin-bar { background: rgba(247, 249, 251, .9); }

@media (prefers-reduced-transparency: reduce) {
  .topbar, .appnav, .glass, .miniplayer { background: #f8fafc; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--rule-15); }
}
@media (prefers-contrast: more) {
  .topbar, .appnav, .glass, .miniplayer { background: #fff; border-color: #52606d; }
  .topbar, .glass { color: #17212d; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-stage { will-change: auto; }
  .ph-shot, .ph-shot.on { transform: none; transition: opacity 160ms ease; }
}

/* Keep the work visible while a touch gesture pages through the lightbox. */
.lb img { touch-action: pan-y; user-select: none; -webkit-user-drag: none; }
.lb[data-open="true"] { animation: lightbox-arrive 220ms var(--ease) both; }
@keyframes lightbox-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .lb[data-open="true"] { animation-duration: 120ms; }
}

/* Proximity dock: JavaScript springs from each icon's current scale. */
.appnav { overflow: visible; }
.appbtn { transform-origin: 50% 100%; will-change: transform; }
.appnav[data-motion-bound="1"] .appbtn { transition: filter 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .appnav .appbtn:hover { filter: brightness(1.06); }
}
@media (prefers-reduced-motion: reduce) { .appbtn { will-change: auto; } }

/* Window controls remain quiet until the pointer reaches them. */
.lights { align-items: center; }
.lights i { cursor: default; transform-origin: center; transition: transform 180ms var(--ease), box-shadow 180ms ease; }
.lights i:first-child { cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .lights:hover i { transform: scale(1.08); }
  .lights i:hover { transform: scale(1.32); box-shadow: 0 2px 7px rgba(23,33,45,.22); }
}
.lights i:first-child:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
.lights i:first-child:active { transform: scale(.94); }

/* Refined identity artwork on the six project files. */
.filecard:first-child .filecard-icons .ico[alt*="国家技术创新中心"] {
  object-fit: contain; border-radius: 20px; background: transparent; box-shadow: none;
  filter: drop-shadow(0 8px 15px rgba(24,102,171,.2));
}
.filecard:nth-child(3) .filecard-icons .fig {
  left: 4px; width: 128px; height: 160px; filter: drop-shadow(0 10px 18px rgba(23,49,70,.14));
}
.filecard.pop { position: relative; z-index: 1; }
.filecard.pop:hover { z-index: 3; }
.filecard.pop .filecard-icons .fig {
  left: -18px; top: calc(50% - 16px); width: 154px; height: 204px;
  filter: drop-shadow(4px 17px 17px rgba(23,33,45,.23));
  transition: transform 220ms var(--ease), filter 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .filecard.pop:hover .filecard-icons .fig { transform: translateY(-53%) scale(1.04) rotate(-2deg); filter: drop-shadow(9px 20px 21px rgba(23,33,45,.26)); }
}

/* The national innovation center output reads as a set of tactile work cards. */
.gj-output-grid .figure, .gj-output-feature {
  padding: 12px; background: #fff; border: 1px solid var(--rule-15);
  border-radius: 18px; box-shadow: 0 8px 23px rgba(23,33,45,.065);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
  transform-style: preserve-3d;
}
.gj-output-grid .figure img, .gj-output-feature img { border-radius: 10px; border: 0; }
.gj-output-grid .figure figcaption, .gj-output-feature figcaption { padding: 4px 4px 2px; }
@media (hover: hover) and (pointer: fine) {
  .gj-output-grid .figure:hover, .gj-output-feature:hover { box-shadow: 0 18px 36px rgba(23,33,45,.13); }
}
@media (prefers-reduced-motion: reduce) { .gj-output-grid .figure, .gj-output-feature { transition: none; transform: none !important; } }

/* Phone preview starts with the supplied iPhone screenshot, then opens one article. */
.pm { overflow-y: auto; }
.pm-bg { position: fixed; background: rgba(236,241,246,.91); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); }
.pm-wrap {
  width: min(940px, 100%); min-height: 100svh; margin: 0 auto; padding: 64px 40px;
  display: grid; grid-template-columns: minmax(265px, 350px) minmax(275px, 1fr);
  align-items: center; gap: clamp(28px, 6vw, 72px);
}
.pm-device {
  --pmw: 100%; width: 100%; border-radius: 0; overflow: visible; background: transparent; box-shadow: none;
  filter: drop-shadow(0 25px 32px rgba(19,35,52,.21));
}
.pm-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  clip-path: inset(5.8% 10.6% 5.1% 10.6% round 12%);
}
.pm-frame {
  display: block; width: 100%; max-width: none; height: auto;
  mix-blend-mode: multiply;
}
.pm-screen { background: transparent; border-radius: 12%; }
.pm-hotspots { position: absolute; inset: 0; z-index: 2; }
.pm-phone-tip { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); z-index: 4; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 5px 20px rgba(23,33,45,.13); color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.pm[data-reading="true"] .pm-phone-tip { display: none; }
.pm-hotspot { position: absolute; padding: 0; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; transition: background-color 130ms ease, border-color 130ms ease; }
.pm-hotspot:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: -3px; background: rgba(39,105,173,.12); }
@media (hover: hover) and (pointer: fine) { .pm-hotspot:hover { background: rgba(39,105,173,.10); border-color: rgba(39,105,173,.22); } }
.pm-body { background: #fff; overscroll-behavior: contain; }
.pm-article { display: block; width: 100%; height: auto; }
.pm-info {
  align-self: center; padding: clamp(22px, 3vw, 34px); color: var(--ink);
  border: 1px solid rgba(255,255,255,.83); border-radius: 26px;
  background: rgba(255,255,255,.76); box-shadow: 0 18px 48px rgba(23,33,45,.08);
  backdrop-filter: blur(25px) saturate(160%); -webkit-backdrop-filter: blur(25px) saturate(160%);
}
.pm-eyebrow { margin: 0 0 8px; color: var(--blue-deep); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.pm-title { margin: 0; font-size: clamp(22px,2.5vw,29px); line-height: 1.2; letter-spacing: -.035em; }
.pm-guide { margin: 12px 0 22px; color: var(--ink-60); font-size: 13px; line-height: 1.7; }
.pm-linklist { display: grid; gap: 8px; }
.pm-link {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px;
  width: 100%; min-height: 47px; padding: 9px 12px; text-align: left;
  border: 1px solid var(--rule); border-radius: 12px; background: rgba(255,255,255,.76);
  color: var(--ink); font-size: 12px; line-height: 1.4; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms ease, border-color 160ms ease;
}
.pm-link-num { color: var(--blue-deep); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pm-link[aria-current="true"] { border-color: rgba(32,94,156,.34); background: #eaf2f9; }
.pm-extra { margin-top: 16px; border-top: 1px solid var(--rule); padding-top: 13px; }
.pm-extra summary { color: var(--ink-55); font-size: 12px; cursor: pointer; }
.pm-extra-list { display: grid; gap: 8px; margin-top: 12px; }
.pm-extra-list .pm-link { background: rgba(248,250,252,.8); }
@media (hover: hover) and (pointer: fine) { .pm-link:hover { transform: translateX(3px); background: #fff; border-color: rgba(32,94,156,.28); } }
.pm-link:active { transform: scale(.99); }
.pm-back {
  position: static; margin-top: 18px; background: #eaf2f9; color: var(--blue-deep);
  border: 1px solid rgba(32,94,156,.14); border-radius: 999px; padding: 9px 15px;
  backdrop-filter: none; font-size: 12px; font-weight: 700;
}
.pm-back:hover { background: #dfeefa; }
.pm-cap { margin: 18px 0 0; max-width: none; color: var(--ink-45); font-size: 11px; text-align: left; }
.pm-close { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.85); border: 1px solid var(--rule); color: var(--ink); font-size: 25px; line-height: 1; box-shadow: 0 5px 20px rgba(23,33,45,.1); }
.pm-close:hover { background: #fff; }
@media (max-width: 700px) {
  .pm-wrap { display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; padding: 48px 16px 36px; }
  .pm-device { --pmw: min(330px, 88vw); width: var(--pmw); margin-bottom: 14px; }
  .pm-info { width: min(390px, 100%); }
  .pm-close { position: fixed; top: 12px; right: 12px; z-index: 10; }
}
@media (prefers-reduced-transparency: reduce) { .pm-bg { background: #edf2f6; backdrop-filter: none; -webkit-backdrop-filter: none; } .pm-info { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .pm-link, .pm-hotspot { transition: none; } }

/* The supplied phone screenshots remain untouched on the account cover. */
.ac-phone-cover { min-height: 148px; justify-content: center; align-items: center; }
.acct-card .ac-phone-cover img {
  width: auto; height: 148px; max-width: 100%; object-fit: contain;
  border: 0; border-radius: 0; background: transparent;
}
.pm-visual { clip-path: none; overflow: visible; }
.pm-frame { mix-blend-mode: normal; }
.pm[data-reading="true"] .pm-visual {
  aspect-ratio: 941 / 1672; box-sizing: border-box;
  border: 8px solid #13171c; border-radius: 48px;
  overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 2px #3b4249, 0 18px 38px rgba(18,29,42,.16);
}
.pm[data-reading="true"] .pm-frame { display: none; }
.pm[data-reading="true"] .pm-screen {
  left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important;
  border-radius: 39px; overflow: hidden; background: #fff;
}
.pm[data-reading="true"] .pm-body {
  inset: 0; box-sizing: border-box; padding: 38px 0 24px;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
}
.pm[data-reading="true"] .pm-article { display: block; width: 100%; height: auto; max-width: 100%; }
.pm[data-reading="true"] .pm-visual::after {
  content: ""; position: absolute; z-index: 5; top: 8px; left: 50%;
  width: 84px; height: 24px; transform: translateX(-50%);
  border-radius: 20px; background: #0a0d10; pointer-events: none;
}
.pm[data-reading="true"] .pm-visual::before {
  content: ""; position: absolute; z-index: 5; bottom: 7px; left: 50%;
  width: 94px; height: 4px; transform: translateX(-50%);
  border-radius: 4px; background: #11161b; pointer-events: none;
}

/* The six records use their original artwork and open with a direct click. */
.records .filecard-body { align-items: center; }
.records .filecard-icons { width: 145px; height: 215px; min-height: 215px; align-self: center; }
.records .filecard-icons .ico {
  box-shadow: none; filter: drop-shadow(0 8px 11px rgba(24,42,62,.14));
  transition: transform 240ms cubic-bezier(.23,1,.32,1), filter 240ms ease;
}
.records .filecard-icons .fig { transition: transform 240ms cubic-bezier(.23,1,.32,1), filter 240ms ease; }
.records .filecard.pop .filecard-icons .fig { left: -8px; top: 50%; width: 150px; height: 194px; }
@media (hover: hover) and (pointer: fine) {
  .records .filecard:hover .filecard-icons .ico { transform: translateY(-53%) rotate(var(--r, 0deg)) scale(1.045); }
  .records .filecard:hover .filecard-icons .fig { transform: translateY(-52%) scale(1.025); }
}
@media (max-width: 460px) {
  .records .filecard-icons { width: 145px; height: 215px; min-height: 215px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .records .filecard-icons .ico, .records .filecard-icons .fig { transition: none; }
}

/* The dock follows the mixed light, vivid and dark app-icon rhythm of iOS. */
.appbtn {
  border-radius: 24%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.44),
              0 5px 13px rgba(25,42,63,.16),
              0 1px 2px rgba(25,42,63,.09);
  overflow: hidden;
}
.appbtn:not(.home)::before {
  content: ""; position: absolute; inset: 1px 1px auto; height: 45%;
  border-radius: 24% 24% 55% 55%;
  background: linear-gradient(180deg, rgba(255,255,255,.25), transparent);
  pointer-events: none;
}
.appbtn svg { position: relative; z-index: 1; width: 58%; height: 58%; stroke-width: 2.05; }
.appbtn.home { background: linear-gradient(160deg, #fff, #f1f4f7); color: #17202b; }
.appbtn.g-blue { background: linear-gradient(160deg, #69c5ff 0%, #128ef5 48%, #1468df 100%); color: #fff; }
.appbtn.g-blue svg path { fill: rgba(255,255,255,.96); stroke: rgba(255,255,255,.98); }
.appbtn.g-purple { background: linear-gradient(160deg, #fff, #f6f3ff); color: #7950c9; }
.appbtn.g-purple svg circle { fill: #905ce3; stroke: #905ce3; }
.appbtn.g-purple svg path { stroke: #905ce3; }
.appbtn.g-pink { background: linear-gradient(160deg, #ffae8c, #fa686f 52%, #e93d69); color: #fff; }
.appbtn.g-pink svg path:first-child { fill: rgba(255,255,255,.96); stroke: #fff; }
.appbtn.g-green { background: linear-gradient(160deg, #68e6c2, #16bc9e 55%, #069478); color: #fff; }
.appbtn.g-green svg path { fill: rgba(255,255,255,.94); }
.appbtn.g-orange { background: linear-gradient(160deg, #fff, #fff8f5); color: #ea6972; }
.appbtn.g-orange svg rect { stroke: #ee7177; }
.appbtn.g-orange svg circle { fill: #ffbf43; stroke: #ffbf43; }
.appbtn.g-orange svg path { stroke: #5993e7; }
.appbtn.g-indigo { background: linear-gradient(160deg, #313b51, #111827 70%); color: #fff; }
.appbtn.g-indigo svg path { fill: #fff; }
.appbtn.g-ink { background: linear-gradient(160deg, #fff, #eef2f8); color: #25364b; }
.appbtn.g-ink svg rect { fill: #6b8fd3; stroke: none; }
.appbtn.g-ink svg rect:nth-child(2) { fill: #ed8c8a; }
.appbtn.g-ink svg rect:nth-child(3) { fill: #e8bc63; }
.appbtn.g-ink svg rect:nth-child(4) { fill: #79b79d; }
.appbtn:active { filter: brightness(.96); }

/* Use the exact Photos app image supplied for the poster shortcut. */
.appbtn.g-orange {
  background: #f8fbf8 url('img/icon-photos-reference.png') center 49% / 153% auto no-repeat;
}
.appbtn.g-orange svg, .appbtn.g-orange::before { display: none; }

/* Keep the desktop photo widget dimensions while showing the new portraits. */
.ph-shot-garden { object-position: 50% 50%; }
.ph-shot-carousel { object-position: 56% 50%; }
.ph-shot { transition-duration: .55s, 2.1s; }

/* School experience cards: a quiet response that never competes with the text. */
.timeline li {
  position: relative;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(.23,1,.32,1),
              box-shadow 220ms cubic-bezier(.23,1,.32,1),
              border-color 220ms ease;
}
@media (hover:hover) and (pointer:fine) {
  .timeline li:hover {
    transform: translate3d(0,-4px,0);
    border-color: rgba(62,143,228,.24);
    box-shadow: 0 16px 34px rgba(23,33,45,.09);
  }
}
.thai-gallery { margin-top: 14px; }
.thai-gallery-toggle {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 38px; padding: 0 13px;
  border: 1px solid rgba(23,33,45,.13); border-radius: 999px;
  background: rgba(255,255,255,.82); color: #17212e;
  font: 600 12px var(--font); cursor: pointer;
  transition: transform 160ms cubic-bezier(.23,1,.32,1), background-color 160ms ease;
}
.thai-gallery-toggle span:first-child { font-size: 10px; color: var(--ink-45); font-weight: 500; }
.thai-gallery-toggle:hover { transform: translateY(-2px); background: #fff; }
.thai-gallery-toggle:active { transform: scale(.98); }
.thai-gallery-toggle:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; }
.thai-gallery-content { margin-top: 22px; }
.thai-gallery-content[hidden] { display: none; }
.thai-stack-host { width: 224px; height: 248px; margin: 4px auto 0; }
.thai-gallery-content p { margin: 15px 0 0; text-align: center; color: var(--ink-45); font-size: 11px; }
.timeline li.thai-active { display: grid; grid-template-columns: minmax(0,1fr) 278px; column-gap: 16px; }
.thai-active > .org, .thai-active > .desc { grid-column: 1; }
.thai-active > .thai-gallery { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
@media (max-width:720px) {
  .timeline li.thai-active { display: block; }
  .thai-active > .thai-gallery { margin-top: 16px; }
}
/* Exact React Bits Stack, sized as a compact group of photographs. */
.thai-stack-host .stack-card-content { background: #f6f7f8; }
.thai-stack-host .stack-card-content img { object-fit: contain; }

/* Reflection is limited to two featured posters; the full wall uses composited hover light. */
.wall-card, .gal-work { --poster-x: 50%; --poster-y: 50%; }
.wall-card::after {
  content: ''; position: absolute; inset: 0 0 42px; z-index: 3;
  pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--poster-x) var(--poster-y), rgba(255,255,255,.27), transparent 38%);
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
}
@media (hover:hover) and (pointer:fine) { .wall-card:hover::after { opacity: 1; } }
.wall-card.poster-tracking { transform: perspective(850px) translateY(-4px) rotateX(var(--poster-rx,0deg)) rotateY(var(--poster-ry,0deg)); transition: box-shadow 180ms ease; }
.rb-reflective-poster { position: absolute; inset: 0 0 43px; z-index: 2; }
.rb-reflective-poster .reflective-card { width: 100%; height: 100%; }
.rb-reflective-poster .reflective-card__body { box-shadow: none; }
.rb-reflective-poster .reflective-card__content { padding: 0; }
.rb-reflective-poster button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.rb-reflective-poster button img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .91; mix-blend-mode: multiply; }
.rb-reflective-poster button:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) {
  .timeline li, .wall-card::after, .thai-gallery-toggle { transition: none; }
  .timeline li:hover, .thai-gallery-toggle:hover { transform: none; }
  .rb-reflective-poster { display: none; }
}
.miniplayer .music-btn {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
  border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}
.miniplayer .music-btn:hover { background: rgba(71,93,118,.1); }
.miniplayer .music-btn:active { transform: scale(.94); }
.miniplayer .music-btn:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 2px; }

/* Account cards show real work previews, cropped only at the top of long articles. */
.acct-card .ac-case-preview { width: 100%; gap: 8px; align-items: stretch; }
.acct-card .ac-case-preview img {
  width: calc((100% - 16px) / 3); height: 136px; max-width: none;
  object-fit: cover; object-position: center top;
  border: 1px solid rgba(29,46,64,.12); border-radius: 9px;
  background: transparent; box-shadow: 0 5px 13px rgba(24,39,57,.08);
  transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .acct-card:hover .ac-case-preview img:nth-child(1) { transform: translateY(-3px); }
  .acct-card:hover .ac-case-preview img:nth-child(2) { transform: translateY(-6px); }
  .acct-card:hover .ac-case-preview img:nth-child(3) { transform: translateY(-4px); }
}

/* The four supplied Xiaohongshu screenshots already include the iPhone shell. */
.pm[data-preframed="true"] .pm-device { width: min(350px, 42svh, 88vw); justify-self: center; }
.pm[data-preframed="true"] .pm-visual { overflow: visible; clip-path: none; }
.pm[data-preframed="true"] .pm-frame { width: 100%; height: auto; object-fit: contain; }
.pm[data-preframed="true"] .pm-screen,
.pm[data-preframed="true"] .pm-phone-tip { display: none; }

/* Responsive feedback on content cards uses compositor-friendly transforms. */
.stat, .callout, .stages li, .figure img, .xhs-shot img {
  transition: transform 220ms cubic-bezier(.22,1,.36,1),
              box-shadow 220ms ease, border-color 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .stat:hover, .callout:hover, .stages li:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(27,45,65,.085);
    border-color: rgba(48,80,110,.18);
  }
  .figure img:hover, .xhs-shot img:hover {
    transform: translateY(-3px) scale(1.006);
    box-shadow: 0 14px 30px rgba(27,45,65,.11);
  }
}
.acct-card:active, .filecard:active, .wall-card:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) {
  .stat, .callout, .stages li, .figure img, .xhs-shot img,
  .acct-card .ac-case-preview img { transition: none; transform: none !important; }
}

/* October updates: keep the supplied icon and all of the final portrait visible. */
.appbtn.g-orange { background: #fff url('img/icon-photos-user.jpg') center 50% / 140% auto no-repeat; }
.ph-shot-carousel, .ph-shot-carousel.on { object-fit: contain; object-position: center; transform: none; background: transparent; }
.thai-stack-host .stack-card-face, .thai-stack-host .stack-card-content { background: transparent !important; box-shadow: none; }
.thai-stack-host .stack-card-content img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; margin: auto; }
@media (hover:hover) and (pointer:fine) {
  .hero-center .chips span, .tool-row span { transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease; }
  .hero-center .chips span:hover, .tool-row span:hover { transform: translateY(-3px) scale(1.035); border-color: rgba(75,125,190,.27); background: rgba(255,255,255,.94); box-shadow: 0 9px 20px rgba(32,58,92,.1); }
  .hero-center .hero-cta .btn { transition: transform 200ms cubic-bezier(.2,.8,.2,1), box-shadow 200ms ease, background-color 200ms ease; }
  .hero-center .hero-cta .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(35,89,155,.15); }
  .hero-center .hero-cta .btn:active { transform: scale(.97); }
}
@media (prefers-reduced-motion: reduce) { .hero-center .chips span, .tool-row span, .hero-center .hero-cta .btn { transition: none !important; transform: none !important; } }
/* The AI prompt is a restrained, looping note card beside its video. */
.lb[data-open="true"][data-prompt] {
  display: grid; grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  align-items: center; justify-items: center; gap: clamp(18px, 3vw, 48px);
  padding: 52px clamp(24px, 5vw, 74px) 34px;
}
.lb[data-prompt] figure { width: 100%; margin: 0; text-align: center; }
.lb[data-prompt] video { max-height: 78vh; max-width: 100%; }
.lb .prompt-panel {
  width: 100%; max-height: min(78vh, 690px); height: min(78vh, 690px);
  background: #fff; color: #17212e; border-radius: 20px;
  overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.22);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent);
}
.lb .prompt-panel[hidden] { display: none; }
.prompt-track { animation: prompt-rise 110s linear infinite; }
.prompt-panel:hover .prompt-track, .prompt-panel:focus-within .prompt-track { animation-play-state: paused; }
.prompt-copy { padding: 24px 24px 34px; }
.prompt-copy + .prompt-copy { border-top: 1px solid #e5e8ee; }
.prompt-kicker { margin: 0 0 8px; color: #6b7a8d; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.prompt-copy h2 { margin: 0 0 22px; font-size: 18px; line-height: 1.35; letter-spacing: -.02em; }
.prompt-copy h3 { margin: 22px 0 7px; font-size: 12px; font-weight: 750; }
.prompt-copy p { margin: 0; font-size: 11.5px; line-height: 1.75; color: #475466; }
@keyframes prompt-rise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (max-width:760px) {
  .lb[data-open="true"][data-prompt] { display: flex; flex-direction: column-reverse; gap: 12px; justify-content: flex-end; padding: 56px 14px 20px; }
  .lb[data-prompt] figure { flex: none; }
  .lb[data-prompt] video { max-height: 46vh; }
  .lb .prompt-panel { height: 26vh; max-height: 26vh; }
}
@media (prefers-reduced-motion:reduce) {
  .prompt-track { animation: none; }
  .lb .prompt-panel { overflow-y: auto; }
  .prompt-copy + .prompt-copy { display: none; }
}
.thai-stack-host .stack-card-content { display: flex; align-items: center; justify-content: center; }
.thai-stack-host .stack-card-shade { display: none; }
.thai-stack-host .thai-landscape-mat {
  width: 184px; height: 248px; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0; box-sizing: border-box; background: #fff;
}
.thai-stack-host .thai-landscape-mat img {
  display: block; width: 100%; height: auto; max-height: 100%;
  object-fit: contain;
}
.ph-stage:has(.ph-shot-carousel.on)::before {
  content: ""; position: absolute; inset: -12px;
  background: url('img/me-6.jpg') center / cover no-repeat;
  filter: blur(12px) brightness(.86);
  z-index: 0;
}
.ph-stage .ph-shot { z-index: 1; }
.ph-stage .ph-foot { z-index: 2; }


.prompt-body { white-space: pre-wrap; color: #475466; font-size: 11.5px; line-height: 1.75; }
.prompt-track { animation-duration: 220s; }

.prompt-body { color: #475466; font-size: 11.5px; line-height: 1.75; }
.prompt-body p { margin: 0 0 5px; }
.prompt-body h3 { color: #17212e; font-size: 12px; margin: 18px 0 7px; }
.prompt-gap { height: 9px; }
.prompt-track { animation-duration: 220s; }
@media (max-width:760px) {
  .lb[data-prompt] .prev, .lb[data-prompt] .next-btn { display: none; }
}

/* 2026-10: paired video/prompt composition, synchronized to video progress. */
.lb[data-open="true"][data-prompt] {
  --prompt-frame-height: min(82vh, 800px);
  grid-template-columns: minmax(280px, 380px) minmax(300px, 470px);
  align-items: start;
  align-content: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 58px 58px 30px;
}
.lb[data-prompt] figure { width: 100%; align-self: start; }
.lb[data-prompt] video {
  display: block; width: 100%; height: var(--prompt-frame-height);
  max-height: none; max-width: none; object-fit: contain;
}
.lb .prompt-column { width: 100%; align-self: start; position: relative; }
.lb .prompt-column[hidden] { display: none; }
.lb .prompt-label {
  display: inline-flex; position: absolute; left: 0; bottom: calc(100% + 10px);
  margin: 0; padding: 5px 10px;
  border-radius: 5px; background: #f8eef0; color: #77283a;
  font-size: 11px; font-weight: 750; letter-spacing: .2em;
  text-transform: uppercase;
}
.lb .prompt-panel {
  height: var(--prompt-frame-height); max-height: var(--prompt-frame-height);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 18px 48px rgba(0,0,0,.18), inset 0 1px rgba(255,255,255,.9);
}
.prompt-track { animation: none !important; will-change: transform; }
.prompt-copy { padding: 26px 23px 36px; }
.prompt-copy h2, .prompt-copy h3 {
  font-family: 'STKaiti', 'KaiTi', 'Noto Serif CJK SC', Georgia, serif;
  letter-spacing: .01em;
}
.prompt-copy h2 { font-size: 21px; }
.prompt-copy h3 { font-size: 14px; }
.prompt-copy p { font-size: 12px; line-height: 1.72; }
.ph-stage:has(.ph-shot-carousel.on)::before { display: none; }
@media (max-width:760px) {
  .lb[data-open="true"][data-prompt] {
    --prompt-frame-height: min(49vh, 510px);
    padding: 54px 14px 18px; gap: 30px;
  }
  .lb[data-prompt] figure { width: 100%; }
  .lb[data-prompt] video { height: var(--prompt-frame-height); }
  .lb .prompt-panel { height: 25vh; max-height: 25vh; }
}
/* A distinct glass reflection follows the cursor without rendering 34 WebGL canvases. */
.wall-card::after {
  background: radial-gradient(ellipse 43% 38% at var(--poster-x) var(--poster-y), rgba(255,255,255,.64), rgba(255,255,255,.18) 44%, transparent 100%),
    linear-gradient(112deg, transparent 27%, rgba(255,255,255,.28) 46%, transparent 64%);
  mix-blend-mode: screen;
}
.wall-card::before {
  content: ''; position: absolute; inset: 0 0 42px; z-index: 3;
  pointer-events: none; border-radius: 9px;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.18), inset -1px -1px 0 rgba(255,255,255,.10);
  opacity: 0; transition: opacity 180ms ease;
}
@media (hover:hover) and (pointer:fine) {
  .wall-card:hover::before { opacity: 1; }
  .wall-card:hover::after { opacity: .88; }
  .wall-card:hover img { filter: saturate(1.08) contrast(1.045); }
}
.rb-reflective-poster button img { opacity: .79; mix-blend-mode: normal; }
@media (prefers-reduced-motion: reduce) { .wall-card::before { transition: none; } }

/* GlassSurface-inspired lens and moving mirror highlight on existing link buttons. */
.btn.specular-link {
  position: relative;
  isolation: isolate;
  color: #173451;
  border: 1px solid rgba(83, 143, 196, .34);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(226,240,251,.84));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(87,143,192,.12), 0 5px 14px rgba(28,80,133,.08);
  transition: transform 140ms var(--ease), box-shadow 180ms var(--ease),
    border-color 180ms var(--ease), color 180ms var(--ease);
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  --glass-x: 50%;
  --glass-y: 50%;
  --glass-slide: 50%;
  --glass-light: .42;
  --spec-angle: -32deg;
  --spec-strength: .36;
  --spec-peak: rgba(36, 116, 190, .98);
  --spec-fade: rgba(113, 185, 232, .64);
}
.btn.specular-link:hover {
  color: #102c4a;
  background: linear-gradient(135deg, #fff, #dcecf8);
  border-color: rgba(83, 143, 196, .34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(87,143,192,.12), 0 5px 14px rgba(28,80,133,.08);
}
.btn.specular-link .glass-motion-layer {
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--glass-light);
  background:
    radial-gradient(ellipse 125px 46px at var(--glass-x) var(--glass-y),
      rgba(255,255,255,.97), rgba(177,219,250,.42) 44%, transparent 100%),
    linear-gradient(105deg, transparent 13%, rgba(255,255,255,.08) 30%,
      rgba(119,183,226,.35) 49%, rgba(255,255,255,.12) 68%, transparent 83%);
  background-size: 100% 100%, 180% 100%;
  background-position: center, var(--glass-slide) center;
  transition: opacity 150ms ease, background-position 110ms ease;
}
.btn.specular-link .glass-motion-label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: inherit;
  text-shadow: none;
}
.btn.specular-link.rb-glass-host { overflow: visible; }
.btn.specular-link.rb-glass-host .glass-motion-layer { z-index: 1; background-color: transparent; }
.btn.specular-link::before,
.btn.specular-link::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  background: conic-gradient(from var(--spec-angle),
    transparent 0deg, var(--spec-fade) 12deg,
    var(--spec-peak) 28deg, var(--spec-fade) 44deg,
    transparent 68deg 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 220ms ease;
}
.btn.specular-link::before {
  inset: -1.5px;
  z-index: 2;
  padding: 1.5px;
  opacity: var(--spec-strength);
}
.btn.specular-link::after {
  inset: -5px;
  z-index: 1;
  padding: 5px;
  filter: blur(5px);
  opacity: calc(var(--spec-strength) * .48);
}
.btn.specular-link:focus-visible { --spec-strength: 1 !important; }
@media (hover: none) {
  .btn.specular-link:active { --spec-strength: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.specular-link { transition: none; }
  .btn.specular-link .glass-motion-layer { transition: none; }
  .btn.specular-link::before,
  .btn.specular-link::after { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .btn.specular-link { background: #f5f9fd; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn.specular-link .glass-motion-layer { display: none; }
}

/* Frosted skill labels: tactile movement without the button light sweep. */
.hero-center .chips { pointer-events: auto; gap: 8px; }
.hero-center .chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #29445c;
  border-color: rgba(103, 143, 177, .3);
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(231,242,251,.42));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(88,143,188,.08), 0 4px 12px rgba(41,82,122,.06);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  .hero-center .chips span:hover {
    transform: translateY(-2px) scale(1.025);
    border-color: rgba(87, 137, 181, .4);
    background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(231,242,251,.5));
    box-shadow: inset 0 1px 0 #fff, 0 7px 15px rgba(41,82,122,.1);
  }
}
.hero-center .chips span:active { transform: translateY(1px) scale(.965); }
@media (prefers-reduced-transparency: reduce) {
  .hero-center .chips span { background: #f5f9fd; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* AIGC character video: references beside the finished portrait film. */
.lb video[src$="video-city.mp4"] {
  width: 1280px; max-width: min(calc(100vw - 128px), 149vh);
  height: auto; aspect-ratio: 16 / 9; object-fit: contain;
}
.lb .process-column[hidden] { display: none; }
.lb[data-open="true"][data-process="character"] {
  grid-template-columns: minmax(300px, 720px) minmax(270px, 450px);
  place-items: center; align-content: center; gap: clamp(18px, 2.3vw, 34px);
  padding: 64px 44px 32px; background: #fafaf8;
}
.lb[data-process="character"] .process-column {
  width: 100%; max-height: calc(100vh - 100px); overflow-y: auto;
  padding: 2px 8px 4px 2px; color: #172720;
}
.lb[data-process="character"] .process-kicker {
  margin: 0 0 12px; color: #315c48; font-size: 11px; font-weight: 700;
  letter-spacing: .25em;
}
.lb[data-process="character"] .process-column h2 {
  margin: 0; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.12;
  letter-spacing: -.035em; color: #141b17;
}
.lb[data-process="character"] .process-subtitle {
  margin: 10px 0 22px; color: #617167; font-size: 15px; letter-spacing: .08em;
}
.lb[data-process="character"] .process-reference {
  margin: 0 0 16px; padding: 10px; border: 1px solid #e6eae6;
  border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(30,50,38,.05);
}
.lb[data-process="character"] .process-reference h3 {
  margin: 0 0 8px; font-size: 15px; color: #172720;
}
.lb[data-process="character"] .process-reference h3 em {
  margin-right: 8px; color: #315c48; font-style: normal; font-weight: 800;
}
.lb[data-process="character"] .process-reference img {
  display: block; width: 100%; height: auto; max-width: none; max-height: none;
  border-radius: 8px; background: #fff;
}
.lb[data-process="character"] .process-scene {
  position: relative; overflow: hidden; width: 100%; aspect-ratio: 2.72;
  border-radius: 8px; background: #ecece6;
}
.lb[data-process="character"] .process-scene img {
  position: absolute; width: 234.8%; height: auto; max-width: none; max-height: none;
  left: -8.85%; top: -231%; border-radius: 0;
}
.lb[data-process="character"] figure {
  width: 100%; margin: 0; text-align: center;
}
.lb[data-process="character"] figure video {
  display: block; width: 100%; height: min(76vh, 760px); max-width: 100%;
  max-height: none; object-fit: contain; border-radius: 14px; background: #111;
}
.lb[data-process="character"] figcaption { color: #52665a; }
.lb[data-process="character"] .close { color: #24372c; border-color: #9baea1; }
.lb[data-process="character"] .prev, .lb[data-process="character"] .next-btn { display: none; }
@media (max-width: 860px) {
  .lb[data-open="true"][data-process="character"] {
    grid-template-columns: 1fr; gap: 20px; padding: 56px 18px 24px;
  }
  .lb[data-process="character"] figure { order: -1; }
  .lb[data-process="character"] figure video { height: min(54vh, 540px); }
  .lb[data-process="character"] .process-column { max-height: none; overflow: visible; }
}

@media (min-width: 861px) and (max-height: 720px) {
  .lb[data-process="character"] .process-column h2 { font-size: 31px; }
  .lb[data-process="character"] .process-subtitle { margin: 6px 0 12px; font-size: 13px; }
  .lb[data-process="character"] .process-reference { margin-bottom: 9px; padding: 7px; }
  .lb[data-process="character"] .process-reference img[src$="character-reference.jpg"] {
    height: 170px; object-fit: contain;
  }
}

/* Video viewer: one light surface and predictable visual sizes for all eight films. */
.lb[data-open="true"] { background: #fafaf8; }
.lb figcaption { color: #52605a; }
.lb button { color: #24372c; border-color: #aab6ad; background: rgba(250,250,248,.92); }
.lb button:hover { background: #e9eee9; }
.lb video { background: #fafaf8; }
.lb[data-open="true"]:not([data-prompt]):not([data-process]) figure {
  width: min(1280px, calc(100vw - 128px), 149vh);
  max-width: 100%; margin: 0; text-align: center;
}
.lb:not([data-prompt]):not([data-process]) figure video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  max-width: 100%; max-height: 82vh; object-fit: contain;
}
.lb:not([data-prompt]):not([data-process]) video[src$="video-talking.mp4"],
.lb:not([data-prompt]):not([data-process]) video[src$="video-feed.mp4"] {
  width: min(46vh, 440px, calc(100vw - 110px));
  height: min(82vh, 780px); aspect-ratio: 9 / 16;
  margin-inline: auto;
}
.lb[data-open="true"][data-process="character"] {
  align-items: center; overflow: hidden; background: #fafaf8;
}
.lb[data-process="character"] .process-column {
  max-height: none; overflow: visible; padding: 0;
}
.lb[data-process="character"] .process-kicker { margin-bottom: 8px; }
.lb[data-process="character"] .process-reference {
  margin-bottom: 10px; padding: 8px;
}
.lb[data-process="character"] .process-reference h3 { margin-bottom: 5px; font-size: 14px; }
.lb[data-process="character"] .process-reference img[src$="character-reference.jpg"] {
  height: min(34vh, 300px); object-fit: contain;
}
.lb[data-process="character"] .process-scene {
  width: min(100%, 59.84vh); max-height: min(22vh, 200px);
  margin-inline: auto;
}
.lb[data-process="character"] figure video { background: #fafaf8; }
@media (max-width: 860px) {
  .lb[data-open="true"][data-process="character"] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px; padding: 52px 12px 20px;
  }
  .lb[data-process="character"] figure { order: 0; }
  .lb[data-process="character"] figure video { height: min(72vh, 680px); }
  .lb[data-process="character"] .process-reference img[src$="character-reference.jpg"] { height: min(29vh, 230px); }
  .lb[data-process="character"] .process-scene { width: min(100%, 51.68vh); max-height: 19vh; }
}
@media (max-width: 600px) {
  .lb[data-open="true"][data-process="character"] {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center; align-content: center; gap: 8px;
    padding: 48px 8px 12px; overflow: hidden;
  }
  .lb[data-process="character"] .process-kicker { font-size: 8px; letter-spacing: .06em; margin-bottom: 5px; }
  .lb[data-process="character"] .process-reference { padding: 4px; margin-bottom: 6px; border-radius: 8px; }
  .lb[data-process="character"] .process-reference h3 { font-size: 10px; margin-bottom: 3px; }
  .lb[data-process="character"] .process-reference h3 em { margin-right: 3px; }
  .lb[data-process="character"] .process-reference img[src$="character-reference.jpg"] { height: min(22vh, 90px); }
  .lb[data-process="character"] .process-scene { width: 100%; max-height: none; }
  .lb[data-process="character"] figure { order: 0; }
  .lb[data-process="character"] figure video { height: min(62vh, 400px); }
  .lb[data-process="character"] figcaption { font-size: 9px; }
  .lb[data-open="true"]:not([data-prompt]):not([data-process]) figure { width: calc(100vw - 76px); }
}
