/* ============================================================
   青影溯光 · 视觉系统
   紫蓝渐变数字色场 × 青花靛蓝 × 顺滑弹动
   ============================================================ */

:root {
  --bg-0: #07060f;
  --bg-1: #0d0b1d;
  --ink: #eceaf6;
  --ink-dim: #a7a3c2;
  --ink-faint: #6f6b8f;

  --blue: #4a63d8;      /* 青花靛蓝 */
  --blue-hi: #39c5e0;
  --violet: #7c6cf0;
  --lilac: #c76cf0;
  --lavender: #b9b0e8;
  --gold: #e8c87a;

  --grad-hero: linear-gradient(120deg, #9b8cff 0%, #39c5e0 34%, #b48cf0 67%, #7c6cf0 100%);
  --grad-warm: linear-gradient(120deg, #39c5e0, #7c6cf0);

  --glass: rgba(23, 20, 45, 0.62);
  --glass-2: rgba(30, 26, 58, 0.5);
  --line: rgba(148, 138, 214, 0.22);
  --line-hi: rgba(167, 155, 255, 0.5);

  --ease-spring: cubic-bezier(0.34, 1.45, 0.5, 1);
  --ease-soft: cubic-bezier(0.22, 0.9, 0.3, 1);

  --radius: 22px;
  --radius-s: 14px;

  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Futura", "Avenir Next", "Century Gothic", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(124, 108, 240, 0.55); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(124, 108, 240, 0.4); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ---------------- 渐变数字色场 ---------------- */
.aurora-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -2; pointer-events: none;
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-2%,2%); }
  40% { transform: translate(2%,-1%); } 60% { transform: translate(-1%,-2%); } 80% { transform: translate(1%,2%); }
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-warm); z-index: 90;
  box-shadow: 0 0 14px rgba(124, 108, 240, 0.8);
}

/* ---------------- 启动页 Splash ---------------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 20% 8%, rgba(124,108,240,0.55), transparent 55%),
    radial-gradient(110% 90% at 82% 90%, rgba(57,197,224,0.35), transparent 55%),
    linear-gradient(160deg, #221a4d 0%, #17123a 45%, #0d0b24 100%);
  transition: opacity 0.9s var(--ease-soft), visibility 0.9s;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-aurora {
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 34% at 30% 26%, rgba(199,108,240,0.32), transparent 70%),
    radial-gradient(46% 40% at 74% 68%, rgba(74,99,216,0.4), transparent 70%);
  filter: blur(46px);
  animation: auroraDrift 11s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate(-2%, -1%) scale(1); }
  to { transform: translate(2%, 2%) scale(1.08); }
}
.splash-ring { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.splash-orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(185, 176, 232, 0.25);
}
.splash-orbit.o1 { width: 46vmin; height: 46vmin; animation: spin 26s linear infinite; }
.splash-orbit.o2 { width: 66vmin; height: 66vmin; border-style: dotted; animation: spin 40s linear infinite reverse; }
.splash-orbit.o3 { width: 88vmin; height: 88vmin; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.splash-inner { position: relative; text-align: center; padding: 24px; }
.splash-vase {
  position: relative; width: min(200px, 44vw); margin: 0 auto 26px;
  animation: vaseIn 1.5s var(--ease-spring) both;
}
.splash-vase img {
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(57, 197, 224, 0.28), 0 8px 30px rgba(0,0,0,0.6);
}
.splash-glow {
  position: absolute; inset: -14%;
  background: radial-gradient(50% 42% at 50% 46%, rgba(124,108,240,0.5), transparent 70%);
  filter: blur(22px); z-index: -1;
  animation: breathe 3.2s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: 0.55; transform: scale(0.94); } to { opacity: 1; transform: scale(1.06); } }
@keyframes vaseIn { from { opacity: 0; transform: translateY(46px) scale(0.9); } to { opacity: 1; transform: none; } }

.splash-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 9vw, 76px); letter-spacing: 0.18em; text-indent: 0.18em;
}
.splash-title span { display: inline-block; animation: charIn 0.9s var(--ease-spring) both; }
.splash-title span:nth-child(1) { animation-delay: 0.35s; }
.splash-title span:nth-child(2) { animation-delay: 0.5s; }
.splash-title span:nth-child(3) { animation-delay: 0.65s; }
.splash-title span:nth-child(4) { animation-delay: 0.8s; }
@keyframes charIn { from { opacity: 0; transform: translateY(34px) scale(0.86); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

.splash-en {
  margin-top: 12px; font-family: var(--font-en); letter-spacing: 0.34em; text-indent: 0.34em;
  font-size: 12px; color: var(--lavender); text-transform: uppercase;
  animation: fadeUp 1s 1s var(--ease-soft) both;
}
.splash-sub { color: var(--ink-dim); font-size: 14px; margin-top: 6px; animation: fadeUp 1s 1.15s var(--ease-soft) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.splash-bands {
  display: flex; justify-content: center; gap: 10px; margin-top: 30px;
}
.splash-bands img {
  width: clamp(52px, 9vw, 84px); aspect-ratio: 1; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--line-hi);
  opacity: 0; animation: bandIn 1s var(--ease-spring) both;
}
.splash-bands img:nth-child(1) { animation-delay: 1.1s; }
.splash-bands img:nth-child(2) { animation-delay: 1.25s; }
.splash-bands img:nth-child(3) { animation-delay: 1.4s; }
.splash-bands img:nth-child(4) { animation-delay: 1.55s; }
@keyframes bandIn { from { opacity: 0; transform: scale(0.4) rotate(-40deg); } to { opacity: 1; transform: none; } }

.splash-skip {
  position: absolute; right: 26px; bottom: 24px; font-size: 13px; color: var(--ink-faint);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  transition: all 0.3s var(--ease-spring);
}
.splash-skip:hover { color: var(--ink); border-color: var(--line-hi); transform: translateY(-2px); }

/* ---------------- 顶栏 ---------------- */
.site { position: relative; min-height: 100vh; }
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: linear-gradient(180deg, rgba(9,8,22,0.85), rgba(9,8,22,0.35) 80%, transparent);
  backdrop-filter: blur(14px);
  transition: transform 0.5s var(--ease-soft), background 0.4s;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  color: #fff; border-radius: 12px;
  background: var(--grad-warm);
  box-shadow: 0 6px 18px rgba(124, 108, 240, 0.45);
  transition: transform 0.4s var(--ease-spring);
}
.brand:hover .brand-seal { transform: rotate(-8deg) scale(1.08); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; line-height: 1.2; display: flex; flex-direction: column; }
.brand-name i { font-style: normal; font-family: var(--font-en); font-weight: 400; font-size: 8.5px; letter-spacing: 0.3em; color: var(--ink-faint); }
.topnav { display: flex; gap: 4px; }
.topnav a {
  position: relative; padding: 9px 16px; font-size: 14.5px; color: var(--ink-dim);
  border-radius: 999px; transition: color 0.3s, background 0.3s;
}
.topnav a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; translate: -50% 0;
  width: 0; height: 2px; border-radius: 2px; background: var(--grad-warm);
  transition: width 0.4s var(--ease-spring);
}
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: var(--ink); }
.topnav a.active::after { width: 22px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ---------------- 页面切换 ---------------- */
.page { display: none; }
.page.is-active { display: block; animation: pageIn 0.8s var(--ease-soft) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.page-footpad { height: 110px; }

/* ---------------- 通用标题 ---------------- */
.kicker {
  font-family: var(--font-en); font-size: 11.5px; letter-spacing: 0.32em;
  color: var(--blue-hi); text-transform: uppercase;
}
.h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.25; margin-top: 10px; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.04em; }
.h3 small { font-family: var(--font-body); font-weight: 400; font-size: 12px; color: var(--ink-faint); margin-left: 10px; letter-spacing: 0.06em; }
.grad-text {
  background: var(--grad-hero);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-head { padding: 130px 0 34px; }
.page-lead { color: var(--ink-dim); max-width: 640px; margin-top: 14px; }

/* 入场揭示 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-spring); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 首页 ---------------- */
.home-hero { position: relative; min-height: 92vh; display: grid; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: blur(10px) brightness(0.55) saturate(1.1); transform: scale(1.1); }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(80% 70% at 24% 40%, rgba(13, 11, 29, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(7,6,15,0.6), rgba(7,6,15,0.25) 45%, var(--bg-0) 96%);
}
.hero-content { padding: 120px 0 60px; }
.display { font-family: var(--font-display); font-weight: 900; font-size: clamp(52px, 9.5vw, 118px); letter-spacing: 0.1em; line-height: 1.1; }
.hero-en { font-family: var(--font-en); letter-spacing: 0.42em; text-transform: uppercase; font-size: 12.5px; color: var(--lavender); margin-top: 14px; }
.hero-lead { max-width: 560px; color: var(--ink-dim); margin-top: 18px; font-size: 16.5px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 14.5px; letter-spacing: 0.06em;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-primary { background: var(--grad-warm); color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(74, 99, 216, 0.45); }
.btn-ghost { border: 1px solid var(--line-hi); color: var(--ink); background: rgba(124, 108, 240, 0.06); }
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(124, 108, 240, 0.6); }
.btn-ghost:hover { background: rgba(124, 108, 240, 0.16); border-color: var(--lavender); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.hero-scrollcue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; color: var(--ink-faint);
  writing-mode: vertical-rl;
}
.hero-scrollcue span { width: 1px; height: 42px; background: linear-gradient(180deg, transparent, var(--blue-hi)); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; } }

/* 四大入口卡片 */
.entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 0 10px; }
.entry-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(12px); cursor: pointer;
  transition: transform 0.55s var(--ease-spring), border-color 0.4s, box-shadow 0.55s;
}
.entry-card:nth-child(odd) { margin-top: 26px; }
.entry-card:hover, .entry-card:focus-visible {
  transform: translateY(-10px) scale(1.025);
  border-color: var(--line-hi);
  box-shadow: 0 26px 60px rgba(74, 99, 216, 0.28);
  outline: none;
}
.entry-fig { aspect-ratio: 4 / 3; overflow: hidden; }
.entry-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-soft), filter 0.6s; filter: saturate(1.05); }
.entry-card:hover .entry-fig img { transform: scale(1.09); }
.entry-body { padding: 18px 20px 22px; position: relative; }
.entry-body em { font-family: var(--font-en); font-style: normal; font-size: 12px; letter-spacing: 0.2em; color: var(--blue-hi); }
.entry-body h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; margin: 6px 0 8px; letter-spacing: 0.1em; }
.entry-body p { font-size: 13px; color: var(--ink-dim); line-height: 1.7; }
.entry-arrow {
  position: absolute; right: 18px; bottom: 18px; font-size: 18px; color: var(--lavender);
  transition: transform 0.5s var(--ease-spring), color 0.3s;
}
.entry-card:hover .entry-arrow { transform: translateX(6px); color: #fff; }

/* 流动青花装饰带 */
.vine-strip { overflow: hidden; padding: 44px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.vine-track { display: flex; gap: 26px; width: max-content; animation: vineFlow 36s linear infinite; }
.vine-track img {
  width: 108px; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); opacity: 0.8;
  filter: hue-rotate(18deg) saturate(0.95);
  transition: transform 0.6s var(--ease-spring), opacity 0.4s;
}
.vine-track img:hover { transform: scale(1.14) rotate(4deg); opacity: 1; }
@keyframes vineFlow { to { transform: translateX(-50%); } }

/* 数据速览 */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0 60px; }
.stat { text-align: center; padding: 26px 10px; border-radius: var(--radius-s); background: var(--glass-2); border: 1px solid var(--line); transition: transform 0.5s var(--ease-spring), border-color 0.3s; }
.stat:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; }
.stat span { font-size: 12.5px; color: var(--ink-dim); letter-spacing: 0.08em; }

.footer { text-align: center; padding: 40px 0 120px; color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.14em; }
.footer p + p { margin-top: 4px; font-size: 11px; opacity: 0.7; }

/* ---------------- 器物解析 ---------------- */
.artifact-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start; }
.vessel-stage { position: sticky; top: 96px; }
.vessel-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--glass);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.vessel-frame img { width: 100%; max-height: 66vh; object-fit: cover; object-position: center 42%; display: block; }
.vessel-hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute; left: 0; right: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 7%;
  transition: background 0.4s;
}
.hotspot::before {
  content: ""; position: absolute; left: 26%; width: 46%; top: 0; bottom: 0;
  background: radial-gradient(46% 60% at 50% 50%, rgba(124,108,240,0.34), transparent 75%);
  opacity: 0; transition: opacity 0.45s;
}
.hotspot .dot {
  position: relative; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,0.14); border: 1.5px solid rgba(255,255,255,0.75);
  display: grid; place-items: center;
  transition: transform 0.5s var(--ease-spring), background 0.3s, box-shadow 0.4s;
}
.hotspot .dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.hotspot .dot i {
  position: absolute; right: 30px; font-style: normal; white-space: nowrap;
  font-size: 12.5px; letter-spacing: 0.2em; color: #fff; opacity: 0;
  transition: opacity 0.3s; pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}
.hotspot:hover .dot, .hotspot.active .dot {
  transform: scale(1.35); background: rgba(124, 108, 240, 0.8);
  box-shadow: 0 0 0 7px rgba(124, 108, 240, 0.25), 0 0 24px rgba(124, 108, 240, 0.9);
  animation: pulse 1.6s ease-out infinite;
}
.hotspot.active .dot { animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 5px rgba(124,108,240,0.35), 0 0 18px rgba(124,108,240,0.8); } 70% { box-shadow: 0 0 0 14px rgba(124,108,240,0), 0 0 26px rgba(124,108,240,0.5); } 100% { box-shadow: 0 0 0 5px rgba(124,108,240,0); } }
.hotspot:hover .dot i, .hotspot.active .dot i { opacity: 1; }
.hotspot.active::before { opacity: 1; }

/* 朝代器型切换 */
.dynasty-switch { display: flex; gap: 10px; margin-top: 18px; }
.dynasty-switch button {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--glass-2);
  transition: all 0.45s var(--ease-spring);
}
.dynasty-switch button img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.dynasty-switch button b { font-family: var(--font-display); font-size: 17px; }
.dynasty-switch button span { font-size: 11.5px; color: var(--ink-faint); display: block; }
.dynasty-switch button:hover { transform: translateY(-3px); border-color: var(--line-hi); }
.dynasty-switch button.active {
  border-color: var(--violet); background: rgba(124, 108, 240, 0.2);
  box-shadow: 0 10px 26px rgba(124, 108, 240, 0.35);
}
.shape-panel {
  margin-top: 16px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--line-hi);
  animation: pageIn 0.6s var(--ease-spring) both;
}
.shape-panel h4 { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.06em; }
.shape-panel h4 small { font-weight: 400; color: var(--ink-faint); font-size: 12px; margin-left: 10px; }
.shape-panel p { font-size: 13.5px; color: var(--ink-dim); margin-top: 8px; }
.shape-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.shape-tags i {
  font-style: normal; font-size: 12px; padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line-hi); color: var(--lavender);
}
.shape-figs { display: flex; gap: 10px; margin-top: 14px; }
.shape-figs img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); }

/* 右侧部位解析面板 */
.part-panel {
  position: sticky; top: 96px; min-height: 380px;
  border-radius: var(--radius); padding: 28px;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: border-color 0.4s, box-shadow 0.5s;
}
.part-panel.lit { border-color: var(--line-hi); box-shadow: 0 24px 60px rgba(74, 99, 216, 0.25); }
.panel-hint { color: var(--ink-faint); font-size: 14px; letter-spacing: 0.1em; }
.part-panel h3 { font-family: var(--font-display); font-size: 30px; font-weight: 900; letter-spacing: 0.12em; }
.part-panel .part-forms { margin-top: 6px; color: var(--blue-hi); font-size: 13px; letter-spacing: 0.12em; }
.part-panel .part-desc { margin-top: 14px; color: var(--ink-dim); font-size: 14.5px; }
.part-patterns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.part-patterns figure { border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); background: #f2ecda; transition: transform 0.5s var(--ease-spring); }
.part-patterns figure:hover { transform: scale(1.05) rotate(-1deg); }
.part-patterns img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.part-patterns figcaption { font-size: 11.5px; text-align: center; padding: 7px 4px; color: #5a5470; background: #f2ecda; letter-spacing: 0.1em; }
.part-in { animation: partIn 0.6s var(--ease-spring) both; }
@keyframes partIn { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }

/* 边饰预览 */
.border-strip-sec { padding: 30px 0 10px; }
.border-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.border-item {
  display: flex; gap: 14px; align-items: center; padding: 14px;
  border-radius: var(--radius-s); background: var(--glass-2); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-spring), border-color 0.3s;
}
.border-item:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.border-item img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-hi); }
.border-item b { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.14em; display: block; }
.border-item p { font-size: 11.5px; color: var(--ink-dim); line-height: 1.6; margin-top: 3px; }

/* ---------------- 丝路贸易 ---------------- */
.route-map-sec { padding: 10px 0 8px; }
.route-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.route-tabs button {
  padding: 10px 20px; border-radius: 999px; font-size: 14px; letter-spacing: 0.1em;
  border: 1px solid var(--line); background: var(--glass-2); color: var(--ink-dim);
  transition: all 0.45s var(--ease-spring);
}
.route-tabs button:hover { transform: translateY(-3px); color: var(--ink); }
.route-tabs button.active { color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 26px rgba(74, 99, 216, 0.4); }
.route-tabs button.active:nth-child(1) { background: linear-gradient(120deg, #7c6cf0, #4a63d8); }
.route-tabs button.active:nth-child(2) { background: linear-gradient(120deg, #39c5e0, #2a8fc0); }
.route-tabs button.active:nth-child(3) { background: linear-gradient(120deg, #c76cf0, #7c6cf0); }
.route-stage {
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 80% 10%, rgba(124,108,240,0.14), transparent 60%),
    radial-gradient(50% 80% at 12% 90%, rgba(57,197,224,0.12), transparent 60%),
    var(--glass);
  overflow: hidden;
}
.route-stage svg { width: 100%; height: auto; display: block; }
.route-desc { padding: 16px 22px 20px; font-size: 13.5px; color: var(--ink-dim); border-top: 1px dashed var(--line); }
.route-play { margin-top: 14px; }
.route-flow { stroke-dasharray: 3 9; animation: flowDash 1.2s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -12; } }
.ship-dot { filter: drop-shadow(0 0 6px rgba(255,255,255,0.9)); }

.charts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 22px 0 0; }
.charts-grid.two { padding-top: 20px; }
.chart-card {
  border-radius: var(--radius); padding: 24px 26px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
/* 柱状图 */
.bar-chart { display: flex; align-items: flex-end; gap: 14px; height: 240px; margin-top: 20px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar-col em { font-style: normal; font-size: 12px; color: var(--lavender); opacity: 0; transform: translateY(8px); transition: 0.6s var(--ease-spring); }
.bar-col em.show { opacity: 1; transform: none; }
.bar-col .bar {
  width: 100%; max-width: 46px; border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #8f7bff, #4a63d8 78%);
  box-shadow: 0 0 20px rgba(124, 108, 240, 0.3), inset 0 1px 0 rgba(255,255,255,0.35);
  transform-origin: bottom; animation: barUp 1s var(--ease-spring) both;
  transition: height 0.9s var(--ease-spring), filter 0.3s;
}
.bar-col .bar:hover { filter: brightness(1.25); }
.bar-col:nth-child(even) .bar { background: linear-gradient(180deg, #56d2ea, #2a8fc0 78%); box-shadow: 0 0 20px rgba(57, 197, 224, 0.3), inset 0 1px 0 rgba(255,255,255,0.35); }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bar-col .bar-x { font-size: 12px; color: var(--ink-dim); letter-spacing: 0.06em; }

/* 环形图 */
.donut-row { display: flex; justify-content: space-around; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.donut { position: relative; width: 118px; text-align: center; }
.donut svg { width: 118px; height: 118px; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 13; stroke-linecap: round; transition: stroke-dasharray 1s var(--ease-spring); }
.donut .d-center { position: absolute; inset: 0; display: grid; place-items: center; }
.donut .d-center b { font-family: var(--font-display); font-size: 21px; font-weight: 900; }
.donut .d-label { margin-top: 8px; font-size: 13px; color: var(--ink-dim); letter-spacing: 0.1em; }
.donut-legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--ink-dim); flex-wrap: wrap; }
.donut-legend .lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.lg0 { background: #7c6cf0; } .lg1 { background: #39c5e0; } .lg2 { background: #b48cf0; } .lg3 { background: rgba(185,176,232,0.35); }

/* 横向条形图 */
.hbar-chart { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.hbar-row { display: grid; grid-template-columns: 74px 1fr 44px; align-items: center; gap: 12px; }
.hbar-row .h-x { font-size: 12.5px; color: var(--ink-dim); letter-spacing: 0.06em; }
.hbar-track { height: 22px; border-radius: 999px; background: rgba(148, 138, 214, 0.12); overflow: hidden; }
.hbar-fill {
  height: 100%; border-radius: 999px; width: 0;
  background: linear-gradient(90deg, #39c5e0, #7c6cf0);
  box-shadow: 0 0 16px rgba(124, 108, 240, 0.5);
  transition: width 1.1s var(--ease-spring);
}
.hbar-row .h-v { font-size: 13px; color: var(--lavender); font-family: var(--font-en); text-align: right; }

/* 标签环 */
.ring-switch { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ring-switch button {
  padding: 7px 18px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); color: var(--ink-dim);
  transition: all 0.4s var(--ease-spring);
}
.ring-switch button.active { background: var(--grad-warm); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(74,99,216,0.4); }
.tag-ring { position: relative; height: 330px; margin-top: 10px; }
.tag-ring .ring-core {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 26px; font-weight: 900; letter-spacing: 0.1em;
  background: radial-gradient(60% 60% at 40% 34%, rgba(124,108,240,0.55), rgba(74,99,216,0.35));
  border: 1px solid var(--line-hi);
  box-shadow: 0 0 44px rgba(124, 108, 240, 0.45);
}
.tag-ring .tag {
  position: absolute; left: 50%; top: 50%; font-size: 12.5px; white-space: nowrap;
  padding: 6px 14px; border-radius: 999px; letter-spacing: 0.08em;
  background: var(--glass-2); border: 1px solid var(--line-hi); color: var(--ink);
  transition: transform 0.9s var(--ease-spring), opacity 0.6s, border-color 0.3s;
}
.tag-ring .tag:hover { border-color: var(--blue-hi); background: rgba(57, 197, 224, 0.18); }
.tag-ring .tag.t-shape { border-style: dashed; }
.tag-ring .tag.t-motif { color: var(--lavender); }

.data-comment {
  margin: 26px 0 8px; padding: 20px 24px; border-left: 3px solid;
  border-image: linear-gradient(180deg, #39c5e0, #7c6cf0) 1;
  background: var(--glass-2); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--ink-dim); font-size: 14px;
}

/* ---------------- 发展溯源 ---------------- */
.timeline-scroller { overflow-x: auto; padding: 10px 0 26px; scrollbar-width: thin; }
.timeline-track {
  display: flex; gap: 18px; width: max-content;
  padding: 18px calc((100vw - min(1180px, 100vw - 48px)) / 2);
}
.tl-card {
  position: relative; width: 300px; flex: none;
  border-radius: var(--radius); overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(10px); cursor: pointer;
  transition: transform 0.55s var(--ease-spring), border-color 0.4s, box-shadow 0.5s;
}
.tl-card:hover, .tl-card.open { transform: translateY(-8px); border-color: var(--line-hi); box-shadow: 0 24px 54px rgba(74, 99, 216, 0.3); }
.tl-card figure { height: 190px; overflow: hidden; position: relative; }
.tl-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-soft); }
.tl-card:hover figure img { transform: scale(1.08); }
.tl-era {
  position: absolute; left: 16px; top: 14px; padding: 5px 15px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.16em;
  background: rgba(10, 8, 26, 0.75); border: 1px solid var(--line-hi); backdrop-filter: blur(6px);
}
.tl-years { position: absolute; right: 16px; top: 18px; font-family: var(--font-en); font-size: 11px; letter-spacing: 0.18em; color: var(--lavender); text-shadow: 0 1px 6px #000; }
.tl-body { padding: 18px 20px 22px; }
.tl-dig { font-size: 12px; color: var(--blue-hi); letter-spacing: 0.14em; font-family: var(--font-en); }
.tl-feature { margin-top: 10px; font-size: 13px; color: var(--ink-dim); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s var(--ease-soft), opacity 0.5s, margin-top 0.5s; }
.tl-card.open .tl-feature { max-height: 260px; opacity: 1; }
.timeline-track::after {
  content: ""; position: absolute; margin-top: -26px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet) 12%, var(--blue-hi) 50%, var(--violet) 88%, transparent);
  opacity: 0.4;
}
.timeline-hint { text-align: center; color: var(--ink-faint); font-size: 12px; letter-spacing: 0.24em; padding-bottom: 8px; }

.culture-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 20px; padding-top: 24px; }
.culture-card, .craft-card {
  border-radius: var(--radius); padding: 26px; background: var(--glass);
  border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.culture-text { font-size: 14px; color: var(--ink-dim); margin-top: 12px; }
.culture-fig { margin-top: 16px; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); }
.culture-fig img { width: 100%; height: 220px; object-fit: cover; object-position: center 62%; transition: transform 0.9s var(--ease-soft); }
.culture-fig:hover img { transform: scale(1.05); }

/* 工艺环形流程 */
.craft-ring { position: relative; height: 360px; margin: 12px auto 0; max-width: 420px; }
.craft-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 232px; height: 232px; border-radius: 50%;
  border: 1.5px dashed rgba(148, 138, 214, 0.4);
  animation: spin 60s linear infinite;
}
.craft-node {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px;
  margin: -38px 0 0 -38px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; text-align: center;
  background: var(--glass-2); border: 1px solid var(--line-hi);
  font-family: var(--font-display); font-size: 14.5px; font-weight: 700; letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-spring), background 0.3s, box-shadow 0.4s, border-color 0.3s;
}
.craft-node em { display: block; font-style: normal; font-family: var(--font-en); font-size: 9px; color: var(--blue-hi); margin-top: 2px; }
.craft-node:hover { transform: scale(1.14); border-color: var(--blue-hi); }
.craft-node.active {
  background: var(--grad-warm); border-color: transparent; color: #fff;
  transform: scale(1.18);
  box-shadow: 0 0 0 8px rgba(124, 108, 240, 0.22), 0 0 34px rgba(124, 108, 240, 0.7);
}
.craft-node.active em { color: rgba(255,255,255,0.85); }
.craft-node .n-dot {
  position: absolute; right: 2px; top: 2px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-hi); box-shadow: 0 0 8px var(--blue-hi);
}
.craft-detail {
  margin-top: 18px; padding: 18px 20px; border-radius: var(--radius-s);
  background: rgba(57, 197, 224, 0.07); border: 1px dashed var(--line-hi);
  font-size: 13.5px; color: var(--ink-dim); min-height: 86px;
}
.craft-detail b { font-family: var(--font-display); color: var(--ink); font-size: 16px; letter-spacing: 0.1em; display: block; margin-bottom: 6px; }
.craft-detail.in { animation: partIn 0.55s var(--ease-spring) both; }

/* 出土数量 / 工具 */
.tools-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.tool-row { display: flex; gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-s); background: var(--glass-2); border: 1px solid var(--line); transition: transform 0.5s var(--ease-spring), border-color 0.3s; }
.tool-row:hover { transform: translateX(6px); border-color: var(--line-hi); }
.tool-row b { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.14em; flex: none; color: var(--lavender); }
.tool-row p { font-size: 13px; color: var(--ink-dim); }

.scenes-sec { padding: 30px 0 6px; }
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.scene-card {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 24px 14px; border-radius: var(--radius-s); text-align: center;
  font-family: var(--font-display); font-size: 16.5px; font-weight: 700; letter-spacing: 0.14em;
  background: var(--glass-2); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-spring), border-color 0.3s, background 0.3s;
}
.scene-card i { font-style: normal; font-size: 20px; }
.scene-card:hover { transform: translateY(-6px); border-color: var(--line-hi); background: rgba(124, 108, 240, 0.14); }
.craft-note { margin-top: 26px; padding: 22px 26px; border-radius: var(--radius); background: var(--glass-2); border: 1px solid var(--line); color: var(--ink-dim); font-size: 13.5px; }

/* ---------------- 纹样库 ---------------- */
.lib-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 18px; border-radius: 999px; font-size: 13px; letter-spacing: 0.08em;
  border: 1px solid var(--line); color: var(--ink-dim); background: var(--glass-2);
  transition: all 0.4s var(--ease-spring);
}
.chip:hover { transform: translateY(-3px); color: var(--ink); border-color: var(--line-hi); }
.chip.active { background: var(--grad-warm); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(74,99,216,0.45); }
#libFavOnly.on { color: #ff8fb8; border-color: rgba(255, 143, 184, 0.6); background: rgba(255, 143, 184, 0.1); }

.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-bottom: 20px; }
.pattern-card {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: #efe8d8; border: 1px solid var(--line);
  transition: transform 0.55s var(--ease-spring), box-shadow 0.5s, border-color 0.3s;
}
.pattern-card:hover { transform: translateY(-9px) scale(1.02); box-shadow: 0 28px 60px rgba(74, 99, 216, 0.32); border-color: var(--line-hi); }
.pattern-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.8s var(--ease-soft); }
.pattern-card:hover img { transform: scale(1.06); }
.pattern-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(180deg, transparent, rgba(9, 7, 22, 0.88)); }
.pattern-meta b { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.12em; color: #fff; display: block; }
.pattern-meta span { font-size: 11px; color: var(--lavender); letter-spacing: 0.14em; }
.pattern-shape {
  position: absolute; left: 12px; top: 12px; font-size: 10.5px; padding: 4px 11px;
  border-radius: 999px; letter-spacing: 0.14em; color: #4a4470;
  background: rgba(242, 236, 218, 0.92); font-family: var(--font-en);
}
.fav-btn {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; color: #fff; background: rgba(10, 8, 26, 0.55); backdrop-filter: blur(6px);
  transition: transform 0.45s var(--ease-spring), background 0.3s, color 0.3s;
}
.fav-btn:hover { transform: scale(1.2); background: rgba(10, 8, 26, 0.8); }
.fav-btn.on { color: #ff8fb8; animation: favPop 0.5s var(--ease-spring); }
@keyframes favPop { 40% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* 纹样放大 Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150; display: grid; grid-template-columns: 1.4fr 1fr;
  background: rgba(6, 5, 14, 0.9); backdrop-filter: blur(16px);
  animation: fadeIn 0.45s var(--ease-soft);
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { display: grid; place-items: center; padding: 5vh 4vw; }
.lb-stage img {
  max-width: 100%; max-height: 88vh; border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(185, 176, 232, 0.14);
  animation: zoomIn 0.65s var(--ease-spring) both;
}
@keyframes zoomIn { from { opacity: 0; transform: scale(0.86) translateY(20px); } to { opacity: 1; transform: none; } }
.lb-side { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 6vh 6vw 6vh 0; }
.lb-meaning { color: var(--ink-dim); font-size: 14.5px; max-width: 420px; }
.lb-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.lb-close {
  position: absolute; right: 26px; top: 22px; width: 44px; height: 44px;
  border-radius: 50%; font-size: 24px; color: var(--ink);
  border: 1px solid var(--line); background: var(--glass-2);
  transition: transform 0.5s var(--ease-spring), background 0.3s;
}
.lb-close:hover { transform: rotate(90deg) scale(1.1); background: rgba(199, 108, 240, 0.3); }

/* 收藏抽屉 */
.fav-fab {
  position: fixed; right: 26px; bottom: 96px; z-index: 85;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; color: #fff; background: var(--grad-warm);
  box-shadow: 0 14px 34px rgba(124, 108, 240, 0.5);
  transition: transform 0.5s var(--ease-spring);
}
.fav-fab:hover { transform: scale(1.12) rotate(-6deg); }
.fav-fab em {
  position: absolute; right: -3px; top: -3px; font-style: normal;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: #ff5f96; color: #fff; font-family: var(--font-en);
}
.fav-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; z-index: 140; width: min(380px, 92vw);
  background: rgba(13, 11, 29, 0.96); border-left: 1px solid var(--line-hi);
  backdrop-filter: blur(18px); transform: translateX(105%);
  transition: transform 0.6s var(--ease-spring);
  display: flex; flex-direction: column;
}
.fav-drawer.open { transform: none; }
.fav-drawer header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.fav-drawer header h3 { font-family: var(--font-display); letter-spacing: 0.16em; }
.fav-drawer header button { font-size: 24px; color: var(--ink-dim); transition: transform 0.4s var(--ease-spring); }
.fav-drawer header button:hover { transform: rotate(90deg); color: var(--ink); }
.fav-list { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.fav-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--glass-2); }
.fav-item img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.fav-item div { flex: 1; min-width: 0; }
.fav-item b { font-size: 14px; letter-spacing: 0.08em; display: block; }
.fav-item span { font-size: 11.5px; color: var(--ink-faint); }
.fav-item .fi-go { font-size: 12px; color: var(--blue-hi); flex: none; }
.fav-item .fi-go:hover { text-decoration: underline; }
.fav-empty { text-align: center; color: var(--ink-faint); font-size: 13px; padding: 40px 10px; letter-spacing: 0.1em; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 110px; translate: -50% 20px; z-index: 160;
  padding: 11px 24px; border-radius: 999px; font-size: 13.5px; letter-spacing: 0.08em;
  background: rgba(20, 17, 42, 0.92); border: 1px solid var(--line-hi);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5); opacity: 0; pointer-events: none;
  transition: opacity 0.4s, translate 0.5s var(--ease-spring);
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------------- 底部导航 ---------------- */
.bottomnav {
  position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 85;
  display: flex; gap: 4px; padding: 7px;
  border-radius: 999px; background: rgba(16, 13, 36, 0.88);
  border: 1px solid var(--line-hi); backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}
.bottomnav a {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 7px 20px; border-radius: 999px; font-size: 11.5px; color: var(--ink-dim);
  letter-spacing: 0.12em; transition: all 0.4s var(--ease-spring);
}
.bottomnav a i { font-style: normal; font-size: 15px; line-height: 1.2; }
.bottomnav a:hover { color: var(--ink); transform: translateY(-2px); }
.bottomnav a.active { color: #fff; background: var(--grad-warm); box-shadow: 0 6px 18px rgba(74, 99, 216, 0.5); }

/* ---------------- 关于页 ---------------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; align-items: start; padding-bottom: 20px; }
.about-fig { position: sticky; top: 100px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about-fig img { width: 100%; object-fit: cover; max-height: 72vh; }
.about-text h3 { margin: 22px 0 8px; }
.about-text p { color: var(--ink-dim); font-size: 14.5px; }
.about-list { margin-top: 8px; padding-left: 2px; list-style: none; display: grid; gap: 8px; }
.about-list li { font-size: 13.5px; color: var(--ink-dim); padding-left: 20px; position: relative; }
.about-list li::before { content: "❋"; position: absolute; left: 0; color: var(--violet); font-size: 11px; top: 3px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .entries { grid-template-columns: repeat(2, 1fr); }
  .entry-card:nth-child(odd) { margin-top: 0; }
  .lib-grid { grid-template-columns: repeat(3, 1fr); }
  .artifact-layout, .culture-grid, .about-grid, .charts-grid { grid-template-columns: 1fr; }
  .vessel-stage, .part-panel { position: static; }
  .border-strip { grid-template-columns: repeat(2, 1fr); }
  .lightbox { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-side { padding: 0 6vw 8vh; }
}
@media (max-width: 720px) {
  .topnav { position: fixed; top: 62px; right: 18px; flex-direction: column; padding: 10px; border-radius: 18px; background: rgba(16,13,36,0.96); border: 1px solid var(--line-hi); backdrop-filter: blur(16px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.4s var(--ease-spring); }
  .topnav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .entries { grid-template-columns: 1fr; }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip, .scenes, .border-strip { grid-template-columns: repeat(2, 1fr); }
  .charts-grid { grid-template-columns: 1fr; }
  .page-head { padding-top: 108px; }
  .bottomnav a { padding: 7px 13px; }
  .hbar-row { grid-template-columns: 62px 1fr 40px; }
  .craft-ring { transform: scale(0.86); }
  .tl-card { width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
