﻿/* ============================================================
   星轨 Starpath · 浪漫版
   一个连续的夜：黄昏 → 深夜 → 暖窗 → 蓝调 → 破晓。
   背景的星与光由 canvas 承担，这里只负责排版、容器与界面。
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: 'Starpath Serif';
  src: url('../assets/fonts/starpath-serif.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/starpath-italic.woff2') format('woff2'),
       url('../assets/fonts/instrument-serif-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Starpath Mono';
  src: url('../assets/fonts/starpath-mono.woff2') format('woff2'),
       url('../assets/fonts/GeistMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--void-0);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-dialog-open { overflow: hidden; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 500; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a, button { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(216, 189, 130, .28); color: #fff; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; border-radius: 1px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: fixed; left: 20px; top: -80px; z-index: 200;
  padding: 10px 20px; background: var(--ink); color: var(--void-0);
  font-family: var(--sans); font-size: 13px; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.spark { width: 1em; height: 1em; fill: currentColor; vertical-align: -.08em; display: inline-block; }
.icon-down { width: 1.1em; height: 1.1em; color: currentColor; opacity: .7; }

/* ---------- 夜空层 ---------- */
#sky-nebula,
#sky-stars {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
#sky-nebula { z-index: 0; }
#sky-stars { z-index: 1; }
.grain {
  position: fixed; inset: 0;
  z-index: 6; pointer-events: none;
  opacity: .038;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='260' height='260' filter='url(%23n)'/></svg>");
}
.vignette {
  position: fixed; inset: 0;
  z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 82% 68% at 50% 42%, transparent 38%, rgba(4, 3, 11, .52) 100%),
    linear-gradient(180deg, rgba(6, 5, 14, .42) 0%, transparent 16%, transparent 84%, rgba(6, 5, 14, .5) 100%);
}
.cursor-glow {
  position: fixed; left: 0; top: 0;
  width: 640px; height: 640px;
  margin: -320px 0 0 -320px;
  z-index: 2; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 194, .09) 0%, rgba(216, 189, 130, .045) 30%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .8s ease;
  will-change: transform;
}
body.has-pointer .cursor-glow { opacity: 1; }
.scroll-progress {
  position: fixed; left: 0; right: 0; top: 0; height: 1px;
  z-index: 60; pointer-events: none;
  background: rgba(216, 189, 130, .08);
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold-bright));
  box-shadow: 0 0 12px rgba(216, 189, 130, .5);
  will-change: transform;
}

/* ---------- 通用 ---------- */
.section-shell {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gut);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .22em;
}
.figcap {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold-dim);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fig-n { color: var(--gold); letter-spacing: .1em; }
.fig-rule { width: 46px; height: 1px; background: linear-gradient(90deg, var(--line-gold), transparent); }
.section-head { margin-bottom: clamp(48px, 6vw, 84px); }
.section-head h2 {
  margin-top: 26px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.42;
  letter-spacing: .02em;
  font-weight: 500;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(4, 2, 10, .6);
}
.section-lede {
  margin-top: 24px;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 2.15;
  letter-spacing: .02em;
  text-shadow: 0 1px 4px rgba(4, 2, 10, .8);
}
.section-head { display: grid; grid-template-columns: 1.05fr .72fr; column-gap: clamp(40px, 7vw, 110px); align-items: end; }
.section-head .figcap { grid-column: 1 / -1; }
.section-head h2 { grid-column: 1; grid-row: 2; }
.section-head .section-lede { grid-column: 2; grid-row: 2; padding-bottom: 12px; }

/* 脚本未就绪时正常可见；脚本就绪后未入场的内容先隐身，避免先闪一下再淡入 */
.js-motion .reveal:not(.is-visible) { opacity: 0; }
/* 章节大标题的逐行遮罩（由 main.js 拆行后使用） */
.line-mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.line-inner { display: block; will-change: transform, opacity; }

/* 分隔符 */
.hairline { border-top: 1px solid var(--hair); }

/* 按钮与链接 */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 12px 26px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--serif); font-size: 14px; font-weight: 400; letter-spacing: .08em;
  overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .35s, color .35s, border-color .35s;
}
.btn-gold {
  background: linear-gradient(105deg, #f0dfb9 0%, #e2c894 46%, #ceb178 100%);
  color: #241e16;
  box-shadow: 0 12px 42px rgba(216, 189, 130, .14), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, .55) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 56px rgba(216, 189, 130, .24), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold .spark { font-size: 1.15em; color: #6f5a33; }
.btn-ghost { border-color: var(--hair-bright); color: var(--ink-soft); background: rgba(255, 255, 255, .015); }
.btn-ghost:hover { color: var(--gold-bright); border-color: var(--line-gold); background: rgba(216, 189, 130, .05); }
.btn .spark { transition: transform .6s var(--ease-out), opacity .4s; }
.btn:hover .spark { transform: rotate(90deg) scale(1.05); }
.link-quiet {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-soft); font-size: 14px; letter-spacing: .06em;
  padding-bottom: 7px;
}
.link-quiet::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, var(--hair-bright), transparent 85%);
  transform-origin: left; transition: transform .5s var(--ease-out), background .5s;
}
.link-quiet:hover { color: var(--gold-bright); }
.link-quiet:hover::after { transform: scaleX(.72); background: linear-gradient(90deg, var(--gold), transparent 85%); }
.text-action {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-faint); font-size: 13px; letter-spacing: .08em;
  padding-bottom: 5px; transition: color .3s;
}
.text-action .action-line { height: 1px; width: 22px; background: var(--gold-dim); transition: width .45s var(--ease-out), background .3s; }
.text-action:hover { color: var(--gold-bright); }
.text-action:hover .action-line { width: 38px; background: var(--gold); }
.gold-action { color: var(--gold); }
.pilot-note {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink-ghost); font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .18em;
}
.pilot-note i, .obs-live {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px 2px rgba(216, 189, 130, .55);
  animation: pulse-dot 3.4s ease-in-out infinite;
}

/* ---------- 顶栏 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; gap: 32px;
  height: 82px; padding-inline: var(--gut);
  border-bottom: 1px solid transparent;
  transition: background .5s, border-color .5s, backdrop-filter .5s, height .5s var(--ease-out);
}
.site-header.scrolled {
  height: 66px;
  background: linear-gradient(180deg, rgba(9, 7, 19, .94), rgba(9, 7, 19, .82));
  border-color: var(--hair);
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 25px; height: 25px; stroke: var(--gold); stroke-width: 1; fill: none; opacity: .92; }
.brand-name { display: flex; align-items: baseline; gap: 13px; font-size: 18px; font-weight: 400; letter-spacing: .16em; }
.brand-en { font-family: var(--mono); font-size: 9px; letter-spacing: .3em; color: var(--gold-dim); }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); margin-left: auto; }
.desktop-nav a {
  position: relative; color: var(--ink-soft); font-size: 13px; letter-spacing: .1em;
  padding-block: 4px; transition: color .3s;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 0; height: 1px;
  background: var(--gold); transform: translateX(-50%); transition: width .4s var(--ease-out);
}
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--gold-bright); }
.desktop-nav a.is-active::after, .desktop-nav a:hover::after { width: 16px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 38px; padding: 7px 17px;
  border: 1px solid var(--line-gold); border-radius: 2px;
  color: var(--gold-bright); font-size: 12.5px; letter-spacing: .1em;
  background: rgba(216, 189, 130, .05);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.header-cta .spark { font-size: 1.1em; color: var(--gold); transition: transform .7s var(--ease-out); }
.header-cta:hover { background: rgba(216, 189, 130, .12); border-color: var(--gold); box-shadow: 0 0 30px rgba(216, 189, 130, .12); }
.header-cta:hover .spark { transform: rotate(90deg) scale(1.1); }
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 30px; height: 44px; margin-left: 4px; padding: 4px;
}
.menu-toggle span { display: block; width: 21px; height: 1px; background: var(--ink-soft); transition: transform .3s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav {
  position: fixed; z-index: 39; left: 0; right: 0; top: 66px;
  display: grid; gap: 4px; padding: 18px var(--gut) 26px;
  background: rgba(9, 7, 19, .985);
  border-bottom: 1px solid var(--hair);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 11px 0; color: var(--ink-soft); font-size: 15px; letter-spacing: .06em; border-bottom: 1px solid var(--hair); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .mobile-enter { color: var(--gold-bright); display: flex; align-items: center; gap: 10px; }

/* ---------- 右侧章节刻度 ---------- */
.chapter-rail {
  position: fixed; right: clamp(16px, 2vw, 30px); top: 50%; transform: translateY(-50%);
  z-index: 32; pointer-events: none;
}
.chapter-rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.chapter-rail li {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  height: 30px; color: var(--ink-ghost);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em;
  transition: color .4s;
}
.chapter-rail li i {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(190, 178, 232, .28);
  transition: background .4s, box-shadow .4s, transform .4s;
}
.chapter-rail li span { opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .4s var(--ease-out); }
.chapter-rail li.is-active { color: var(--gold-bright); }
.chapter-rail li.is-active i { background: var(--gold); box-shadow: 0 0 12px 2px rgba(216, 189, 130, .45); transform: scale(1.25); }
.chapter-rail li.is-active span { opacity: 1; transform: none; }
.chapter-rail li:hover span { opacity: 1; transform: none; }

/* ---------- 01 黄昏 · HERO ---------- */
.hero {
  position: relative; z-index: 3;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(130px, 17vh, 190px) var(--gut) 92px;
  isolation: isolate;
}
.hero-inner {
  position: relative; z-index: 4;
  width: 100%; max-width: 860px;
  text-align: center;
}
.hero-eyebrow {
  color: #c9b89c;
  animation: arrive .9s var(--ease-out) both;
}
.small-orbit {
  position: relative; display: inline-block;
  width: 20px; height: 9px;
  border: 1px solid rgba(216, 189, 130, .5);
  border-radius: 50%;
  transform: rotate(-28deg);
}
.small-orbit::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px 1px rgba(216, 189, 130, .7);
}
.hero h1 {
  margin-top: clamp(26px, 4vh, 40px);
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: .015em;
  text-shadow: 0 4px 50px rgba(4, 2, 12, .72), 0 0 120px rgba(216, 189, 130, .06);
}
.title-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.title-line > span { display: block; animation: title-unfold 1.25s var(--ease-soft) both; }
.title-line:nth-child(1) > span { animation-delay: .1s; }
.title-line:nth-child(2) > span { animation-delay: .26s; }
.gold-em {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(112deg, #f6e9c9 6%, #d8bd86 52%, #f0ddb0 96%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .04em;
  filter: drop-shadow(0 0 26px rgba(216, 189, 130, .22));
}
.hero-signature {
  margin-top: 18px;
  font-family: var(--latin);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: .015em;
  color: #b6a184;
  animation: arrive 1.1s var(--ease-out) .36s both;
}
.hero-lede {
  margin: clamp(24px, 3.4vh, 34px) auto 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 2.1;
  letter-spacing: .03em;
  text-shadow: 0 1px 4px rgba(4, 2, 10, .9);
  animation: arrive 1.1s var(--ease-out) .48s both;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 30px;
  margin-top: clamp(26px, 3.6vh, 36px);
  animation: arrive 1.1s var(--ease-out) .6s both;
}
.hero .pilot-note { margin-top: 20px; animation: arrive 1.1s var(--ease-out) .72s both; }
.hero-bottom {
  position: absolute; z-index: 4; left: var(--gut); right: var(--gut); bottom: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--hair);
  padding-top: 17px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  color: var(--ink-ghost);
  text-transform: uppercase;
}
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-family: var(--serif); font-size: 12px; letter-spacing: .14em; }
.scroll-line {
  display: block; width: 1px; height: 22px;
  background: linear-gradient(0deg, var(--gold), transparent);
  animation: scroll-line 2.6s var(--ease-in-out) infinite;
}
.hero-bottom-coord { color: var(--ink-ghost); }
.hero-bottom-en { color: #8d84a6; }

/* 首屏漂浮的日常片段 */
.hero-fragments { display: contents; }
.orbit-fragment {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 15px;
  width: 250px; padding: 14px 18px 14px 14px;
  text-align: left;
  border: 1px solid rgba(216, 189, 130, .13);
  border-radius: 3px;
  background: linear-gradient(140deg, rgba(26, 22, 26, .84), rgba(12, 10, 22, .74));
  box-shadow: 0 26px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
  animation: fragment-in 1.6s var(--ease-out) both;
  transition: border-color .4s, background .4s, box-shadow .6s;
}
.orbit-fragment:hover {
  border-color: rgba(216, 189, 130, .44);
  background: linear-gradient(140deg, rgba(34, 28, 28, .92), rgba(15, 12, 24, .82));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 40px rgba(216, 189, 130, .06), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.fragment-one { left: clamp(20px, 6.5vw, 120px); top: 60%; rotate: -4deg; animation-delay: .78s; }
.fragment-two { right: clamp(20px, 6vw, 110px); top: 67%; rotate: 4deg; animation-delay: 1s; }
.fragment-image { width: 56px; height: 70px; object-fit: cover; border-radius: 2px; opacity: .92; filter: saturate(.92) brightness(.96); }
.fragment-symbol { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 24px; color: var(--gold); }
.fragment-copy { display: block; min-width: 0; }
.fragment-kind { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: #a2957e; margin-bottom: 6px; text-transform: uppercase; }
.fragment-text { display: block; font-size: 13px; line-height: 1.85; letter-spacing: .02em; color: #ded9cf; }
.fragment-dot {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  left: 58%; top: -18px;
  background: var(--star-warm);
  box-shadow: 0 0 16px 3px rgba(216, 189, 130, .5);
}
.fragment-dot::after { content: ""; position: absolute; top: 5px; left: 2px; width: 1px; height: 12px; background: linear-gradient(180deg, rgba(216, 189, 130, .5), transparent); }
.fragment-two .fragment-dot { left: 34%; top: auto; bottom: -18px; }
.fragment-two .fragment-dot::after { top: -12px; background: linear-gradient(0deg, rgba(216, 189, 130, .5), transparent); }
.hero-example-label {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 82px;
  text-align: center; color: var(--ink-ghost);
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em;
}

/* ---------- 观测栏 ---------- */
.obs-bar-wrap { position: relative; z-index: 3; padding-inline: var(--gut); }
.obs-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--maxw); margin: 0 auto;
  padding-block: 15px;
  border-block: 1px solid var(--hair);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--ink-ghost); text-transform: uppercase;
}
.obs-cell { display: flex; align-items: center; gap: 12px; }
.obs-k { color: var(--gold-dim); }
.obs-v { color: var(--ink-faint); }
.obs-dots { display: inline-flex; align-items: center; gap: 6px; }
.obs-dots i { display: block; border-radius: 50%; background: var(--star-blue); opacity: .75; }
.obs-dots i:nth-child(1) { width: 6px; height: 6px; background: #fff; opacity: 1; }
.obs-dots i:nth-child(2) { width: 4.5px; height: 4.5px; }
.obs-dots i:nth-child(3) { width: 3px; height: 3px; opacity: .6; }
.obs-dots i:nth-child(4) { width: 2px; height: 2px; opacity: .4; }
.obs-live { display: inline-block; margin-right: 7px; }

/* ---------- 02 日常 ---------- */
.life { position: relative; z-index: 3; padding-block: var(--section-gap); }
.plates {
  display: grid; grid-template-columns: 1.14fr 1fr 1fr;
  gap: clamp(26px, 3.4vw, 48px);
  align-items: start;
}
.plate { min-width: 0; }
.plate-offset { margin-top: clamp(40px, 6vw, 78px); }
.plate-visual {
  position: relative; display: block; width: 100%;
  overflow: hidden; padding: 0;
  border: 1px solid var(--hair);
  border-radius: 2px;
  background: rgba(255, 255, 255, .015);
  transition: border-color .5s, box-shadow .6s;
}
.plate-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 5, 14, .1), rgba(6, 5, 14, .34));
  transition: opacity .6s;
}
.plate-visual:hover { border-color: var(--line-gold); box-shadow: 0 30px 90px rgba(0, 0, 0, .35), 0 0 40px rgba(216, 189, 130, .05); }
.plate-visual:hover::after { opacity: .6; }
.plate-photo { aspect-ratio: 4 / 4.55; }
.plate-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.9) brightness(.95); transition: transform 1.6s var(--ease-out), filter .8s; }
.plate-visual:hover img { transform: scale(1.045); filter: saturate(1) brightness(1); }
.image-caption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  color: #f6ead6; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  text-shadow: 0 1px 8px rgba(8, 6, 14, .8);
}
.plate-pin {
  position: absolute; z-index: 2; right: 16px; top: 16px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(216, 189, 130, .45);
  opacity: .8;
  transition: opacity .4s, transform .4s;
}
.plate-visual:hover .plate-pin { opacity: 1; transform: scale(1.4); }

/* 门票 */
.plate-ticket {
  aspect-ratio: 4 / 4.55; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 90% 70% at 78% 4%, rgba(120, 96, 56, .22), transparent 62%),
    linear-gradient(165deg, #191d20 0%, #12151a 58%, #0d1014 100%);
}
.plate-ticket::before {
  content: ""; position: absolute; inset: 20px;
  border-inline: 1px solid rgba(178, 179, 156, .14);
}
.plate-ticket::after { background: radial-gradient(ellipse at 50% 110%, rgba(0, 0, 0, .4), transparent 70%); }
.ticket-rule { position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: rgba(178, 179, 156, .14); }
.ticket-rule.bottom { top: auto; bottom: 24px; }
.ticket-title {
  font-family: Georgia, serif;
  font-size: clamp(44px, 4.4vw, 64px); line-height: .9;
  letter-spacing: -.05em; color: #c3c9bd;
}
.ticket-title i { display: block; margin-top: 14px; font-family: var(--latin); font-style: italic; font-size: .44em; letter-spacing: 0; color: #98a392; }
.ticket-star { position: absolute; right: 30px; top: 31px; color: #bcb58e; font-size: 24px; opacity: .9; }
/* 手记 */
.plate-journal {
  aspect-ratio: 4 / 4.55;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  padding: 22px 24px;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(196, 177, 139, .09) 31px, rgba(196, 177, 139, .09) 32px),
    linear-gradient(160deg, #211e1b 0%, #1a1816 60%, #141311 100%);
  border-color: rgba(208, 179, 124, .12);
}
.plate-journal::after { background: radial-gradient(ellipse at 80% 0%, rgba(216, 189, 130, .1), transparent 60%); }
.journal-date { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: #a89a83; }
.journal-stem { position: absolute; left: 25px; top: 0; bottom: 0; width: 1px; background: rgba(185, 161, 123, .16); }
.journal-handwriting {
  position: absolute; left: 40px; top: 30%;
  width: min(212px, 70%); height: auto;
  transform: rotate(-4deg); transform-origin: left top;
  overflow: visible;
}
.journal-handwriting text {
  font-family: var(--serif);
  font-size: 27px; font-weight: 300;
  fill: #d8cab2;
  letter-spacing: .05em;
}
.journal-corner { position: absolute; top: 10px; right: -16px; rotate: 42deg; width: 82px; height: 18px; background: rgba(201, 185, 136, .1); }

.plate-meta {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 22px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em;
  color: var(--gold-dim); text-transform: uppercase;
}
.plate-meta span:last-child { color: var(--ink-ghost); }
.plate h3 { margin-top: 13px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.55; letter-spacing: .02em; }
.plate h3 button { font: inherit; text-align: left; transition: color .35s; }
.plate h3 button:hover { color: var(--gold-bright); }
.plate > p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; line-height: 2.05; letter-spacing: .015em; }
.plate .text-action { margin-top: 20px; }
.plate-note {
  margin-top: clamp(44px, 5vw, 64px);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--ink-ghost); text-align: right;
}
.life-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  margin-top: clamp(40px, 5vw, 58px);
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.life-foot > span { font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; letter-spacing: .02em; color: #d9cbb3; }
.life-foot > p { color: var(--ink-soft); font-size: 13.5px; line-height: 2; text-align: right; }

/* ---------- 03 星图 ---------- */
.chart-section { position: relative; z-index: 3; padding-block: var(--section-gap); }
.chart-frame {
  position: relative;
  border-block: 1px solid var(--hair);
  padding-block: clamp(26px, 3.4vw, 44px);
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(74, 58, 118, .12), transparent 64%),
    radial-gradient(ellipse 50% 80% at 84% 100%, rgba(216, 189, 130, .03), transparent 70%);
}
.chart-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-bottom: clamp(20px, 2.6vw, 32px);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em;
  color: var(--ink-ghost); text-transform: uppercase;
}
.chart-hint { display: inline-flex; align-items: center; gap: 11px; color: var(--ink-faint); }
.chart-hint i {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px 2px rgba(216, 189, 130, .5);
  animation: pulse-dot 3.2s ease-in-out infinite;
}
.chart-credits { color: var(--ink-ghost); }
.chart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 368px); }
#story-chart { min-width: 0; }
.chart-reading {
  position: relative;
  align-self: center;
  padding: clamp(20px, 3vw, 40px) 0 clamp(20px, 3vw, 40px) clamp(28px, 4vw, 52px);
  border-left: 1px solid var(--hair);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.chart-reading.is-swapping { opacity: 0; transform: translateY(8px); }
.reading-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--gold-dim); }
.reading-kind { color: var(--ink-ghost); }
.chart-reading h3 {
  margin-top: 20px;
  font-size: clamp(20px, 1.7vw, 24px); line-height: 1.68; font-weight: 500;
  letter-spacing: .02em; color: var(--ink);
}
.chart-reading > p { margin-top: 14px; color: var(--ink-soft); font-size: 14px; line-height: 2.05; }
.reading-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hair);
}
.reading-meta { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--ink-ghost); text-transform: uppercase; }
.noscript { margin-top: 24px; color: var(--ink-faint); font-size: 13px; }

/* ---------- 04 星语 ---------- */
.xingyu {
  position: relative; z-index: 3; overflow: hidden;
  padding-block: clamp(110px, 13vw, 168px);
  border-block: 1px solid var(--hair);
  background:
    radial-gradient(ellipse 62% 78% at 8% 60%, rgba(96, 66, 40, .19), transparent 62%),
    radial-gradient(ellipse 44% 64% at 82% 52%, rgba(122, 84, 52, .12), transparent 66%),
    radial-gradient(ellipse 50% 70% at 92% 20%, rgba(48, 40, 92, .18), transparent 66%),
    linear-gradient(180deg, rgba(9, 7, 17, .5), rgba(11, 8, 20, .28));
}
.xingyu::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: 2%; top: 22%;
  width: clamp(320px, 40vw, 560px); height: clamp(320px, 40vw, 560px);
  background: radial-gradient(circle, rgba(216, 189, 130, .075), transparent 68%);
}
.xingyu-orbit {
  position: absolute; z-index: 0; pointer-events: none;
  left: -220px; top: calc(50% - 330px);
  width: 760px; height: 640px;
  border: 1px solid rgba(216, 189, 130, .08);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.xingyu-orbit::before, .xingyu-orbit::after { content: ""; position: absolute; border: 1px solid rgba(216, 189, 130, .05); border-radius: 50%; }
.xingyu-orbit::before { inset: 52px; }
.xingyu-orbit::after { inset: 108px; }
.xingyu-orbit span {
  position: absolute; left: 68%; top: 3.5%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 16px 4px rgba(216, 189, 130, .4);
}
.xingyu-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.xingyu-copy h2 {
  margin-top: 26px;
  font-size: clamp(34px, 4.2vw, 58px); line-height: 1.42; letter-spacing: .02em;
}
.xingyu-pledge {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--hair);
  color: var(--ink-faint); font-size: 13.5px; line-height: 1.95;
}
.spark-line { flex: 0 0 auto; width: 26px; height: 1px; margin-top: 13px; background: linear-gradient(90deg, var(--gold), transparent); }
.xingyu-copy .gold-link { margin-top: 30px; color: var(--gold-bright); }
.xingyu-copy .gold-link .spark { font-size: 1em; margin-left: 4px; }
.conversation {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(204, 182, 140, .22);
  border-radius: 4px;
  background: linear-gradient(158deg, rgba(34, 27, 34, .86), rgba(13, 11, 22, .94));
  box-shadow: 0 40px 110px rgba(0, 0, 0, .45), 0 0 80px rgba(216, 189, 130, .04), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.conversation-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; margin-inline: 26px;
  border-bottom: 1px solid var(--hair);
}
.conversation-name { display: flex; align-items: center; gap: 11px; font-size: 15px; letter-spacing: .1em; color: var(--ink); }
.xingyu-mark { display: inline-flex; color: var(--gold); font-size: 19px; }
.xingyu-mark .spark { animation: slow-spin 26s linear infinite; }
.demo-label { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--ink-ghost); text-transform: uppercase; }
.conversation-body { display: flex; flex-direction: column; gap: 20px; min-height: 292px; padding: 28px 26px; }
.chat-message { max-width: 92%; font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
.chat-message.user {
  align-self: flex-end;
  padding: 11px 15px;
  border: 1px solid rgba(216, 189, 130, .14);
  border-radius: 3px 1px 3px 3px;
  background: rgba(216, 189, 130, .055);
  color: #ddd6c8;
}
.chat-message.ai { display: flex; align-items: flex-start; gap: 10px; align-self: flex-start; }
.chat-message.ai::before {
  content: "✧"; flex: 0 0 auto; color: var(--gold); font-size: 15px; line-height: 1.7;
  text-shadow: 0 0 14px rgba(216, 189, 130, .5);
}
.chat-message.is-typing .msg-text::after {
  content: ""; display: inline-block;
  width: 1px; height: 1.05em; margin-left: 3px;
  background: var(--gold); vertical-align: -.16em;
  animation: caret 1s steps(1) infinite;
}
.conversation-bottom { margin-inline: 26px; border-top: 1px solid var(--hair); padding: 17px 0 22px; }
.conversation-label { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--ink-ghost); text-transform: uppercase; }
.topic-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.topic {
  min-height: 36px; padding: 6px 15px;
  border: 1px solid rgba(195, 194, 182, .16);
  border-radius: 999px;
  color: var(--ink-faint); font-size: 12px; letter-spacing: .06em;
  transition: color .3s, border-color .3s, background .3s;
}
.topic:hover, .topic.active { color: var(--gold-bright); border-color: rgba(216, 189, 130, .42); background: rgba(216, 189, 130, .07); }

/* ---------- 05 自己的空间 ---------- */
.space { position: relative; z-index: 3; padding-block: var(--section-gap); }
.space-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 7vw, 100px); align-items: center; }
.space-copy h2 { margin-top: 26px; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.42; letter-spacing: .02em; }
.space-detail {
  display: flex; align-items: flex-start; gap: 15px;
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid var(--hair);
  color: var(--ink-faint); font-size: 13.5px; line-height: 2;
}
.space-detail .spark { color: var(--gold); font-size: 1.4em; margin-top: 2px; }
.space-preview {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--hair);
  border-radius: 3px;
  background: linear-gradient(158deg, rgba(26, 22, 34, .8), rgba(12, 10, 21, .9));
  box-shadow: 0 36px 100px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .03);
}
.space-preview::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold), transparent);
}
.space-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--ink-faint); text-transform: uppercase; }
.space-preview-top > span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.space-preview-top .spark { color: var(--gold); }
.space-note { margin-top: 26px; font-size: clamp(18px, 1.8vw, 21px); line-height: 2; letter-spacing: .02em; color: #ded4c2; }
.audience-label { margin-top: 26px; margin-bottom: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.audience-control { display: flex; gap: 4px; padding: 4px; width: max-content; max-width: 100%; border: 1px solid var(--hair); border-radius: 3px; background: rgba(255, 255, 255, .015); }
.audience-control button {
  min-height: 36px; padding: 6px 15px; border-radius: 2px;
  color: var(--ink-faint); font-size: 12px; white-space: nowrap;
  transition: color .3s, background .35s;
}
.audience-control button.selected { color: #f1e1c4; background: rgba(216, 189, 130, .13); }
.audience-visual { position: relative; height: 232px; margin-top: 14px; }
.audience-visual::before {
  content: ""; position: absolute; left: 50%; top: 46%;
  width: 300px; height: 174px; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(216, 189, 130, .09), transparent 70%);
  pointer-events: none;
}
.audience-visual svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.orbit-haze { opacity: .55; transition: opacity .8s var(--ease-out); }
/* 星环：内圈（仅自己）常亮，外圈随可见范围展开 */
.orbit-ring {
  fill: none; stroke: rgba(216, 189, 130, .18); stroke-width: .9;
  transition: opacity .8s var(--ease-out), stroke .8s;
}
.orbit-ring--self { stroke-dasharray: 2 5; opacity: .9; stroke: rgba(216, 189, 130, .34); }
.orbit-ring--followers { opacity: .24; }
.orbit-ring--public { opacity: .17; }
/* 环上一小段流动的光，表示轨道在转 */
.orbit-shimmer {
  fill: none; stroke: rgba(240, 220, 174, 0); stroke-width: 1;
  stroke-dasharray: 30 560; stroke-dashoffset: 0; opacity: 0;
  transition: opacity .8s;
}

.orbit-layer { opacity: 0; transition: opacity .5s var(--ease-out); }
.orbit-star {
  opacity: 0;
  transition: opacity .55s var(--ease-out) var(--sd, 0s), fill .55s;
}
.orbit-dust {
  opacity: 0;
  transition: opacity .55s var(--ease-out) var(--sd, 0s);
}
.orbit-label {
  fill: var(--gold-dim); opacity: 0;
  font-family: var(--mono); font-size: 8px; letter-spacing: .18em;
  transition: opacity .7s;
}

/* 关注我的人：中圈亮起，一圈星点出现 */
.audience-visual[data-mode="followers"] .orbit-ring--followers,
.audience-visual[data-mode="public"] .orbit-ring--followers { opacity: .58; stroke: rgba(216, 189, 130, .4); }
.audience-visual[data-mode="followers"] .orbit-layer--followers,
.audience-visual[data-mode="public"] .orbit-layer--followers { opacity: 1; }
.audience-visual[data-mode="followers"] .orbit-layer--followers .orbit-star,
.audience-visual[data-mode="public"] .orbit-layer--followers .orbit-star { opacity: var(--o, .9); }
.audience-visual[data-mode="followers"] .orbit-label--followers,
.audience-visual[data-mode="public"] .orbit-label--followers { opacity: .72; }
.audience-visual[data-mode="followers"] .orbit-shimmer--followers,
.audience-visual[data-mode="public"] .orbit-shimmer--followers {
  opacity: 1; stroke: rgba(240, 220, 174, .3);
  animation: orbit-shimmer 11s linear infinite;
}

/* 公开：外圈展开，星星成倍变多，最外圈开始转 */
.audience-visual[data-mode="public"] .orbit-ring--public { opacity: .6; stroke: rgba(216, 189, 130, .4); }
.audience-visual[data-mode="public"] .orbit-ring--self { opacity: .72; }
.audience-visual[data-mode="public"] .orbit-layer--public { opacity: 1; }
.audience-visual[data-mode="public"] .orbit-layer--public .orbit-star { opacity: var(--o, .9); }
.audience-visual[data-mode="public"] .orbit-layer--public .orbit-dust { opacity: .55; }
.audience-visual[data-mode="public"] .orbit-label--public { opacity: .72; }
.audience-visual[data-mode="public"] .orbit-haze { opacity: .9; }
.audience-visual[data-mode="public"] .orbit-shimmer--public {
  opacity: 1; stroke: rgba(240, 220, 174, .26);
  animation: orbit-shimmer 17s linear infinite;
}

.audience-self .core { fill: var(--gold-bright); }
.audience-self .halo { opacity: 1; }
.audience-self .diffraction { stroke: rgba(240, 220, 174, .62); stroke-width: .8; }
.orbit-status {
  fill: var(--ink-soft);
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  transition: fill .5s;
}
.audience-visual[data-mode="public"] .orbit-status { fill: var(--gold-bright); }
.audience-description { margin-top: 6px; text-align: center; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--ink-ghost); min-height: 1.6em; }
@keyframes orbit-shimmer {
  to { stroke-dashoffset: -620; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-shimmer { display: none; }
  .orbit-star, .orbit-dust, .orbit-ring, .orbit-label, .orbit-layer { transition: none; }
}

/* ---------- 06 你可能想问 ---------- */
.faq { position: relative; z-index: 3; padding-block: clamp(80px, 9vw, 128px) clamp(70px, 8vw, 108px); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-head h2 { margin-top: 26px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.5; letter-spacing: .02em; }
.faq-head .section-lede { max-width: 24em; }
.faq-list { border-top: 1px solid var(--hair); }
.faq-list details { border-bottom: 1px solid var(--hair); transition: border-color .4s; }
.faq-list details[open] { border-color: var(--line-gold); }
.faq-list summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 2px; list-style: none;
  color: var(--ink); font-size: clamp(16px, 1.4vw, 18px); letter-spacing: .02em;
  cursor: pointer; transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-bright); }
.faq-toggle { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1px;
  background: var(--gold-dim); transition: transform .4s var(--ease-out), background .3s;
}
.faq-toggle::after { transform: rotate(90deg); }
details[open] .faq-toggle::before { background: var(--gold); }
details[open] .faq-toggle::after { transform: rotate(0deg); background: var(--gold); }
.faq-answer { padding: 0 2px 24px; max-width: 38em; }
.faq-answer p { color: var(--ink-soft); font-size: 14px; line-height: 2.05; }
details[open] .faq-answer { animation: answer-in .55s var(--ease-out) both; }

/* ---------- 07 今晚 ---------- */
.closing { position: relative; z-index: 3; padding-top: clamp(84px, 9.5vw, 136px); }
.closing-inner { text-align: center; }
.closing .figcap { justify-content: center; }
.closing h2 {
  margin-top: 28px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.38; letter-spacing: .02em; font-weight: 500;
  text-shadow: 0 4px 60px rgba(4, 2, 12, .7);
}
.closing-lede { margin-top: 22px; color: var(--ink-soft); font-size: 15px; letter-spacing: .04em; }
.star-write {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  max-width: 660px; margin: clamp(34px, 4.4vw, 48px) auto 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-bright);
  transition: border-color .4s;
}
.star-write:focus-within { border-color: var(--gold); }
.star-write input {
  flex: 1 1 auto; min-width: 0;
  padding: 10px 4px;
  background: none; border: 0; outline: none;
  color: var(--ink); font-family: var(--serif); font-size: 16px; font-weight: 300; letter-spacing: .03em;
}
.star-write input::placeholder { color: #8f88ab; }
.star-write .btn { flex: 0 0 auto; }
.star-hint { margin-top: 16px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--ink-ghost); text-transform: uppercase; }
.night-sky {
  position: relative; overflow: hidden;
  margin-top: clamp(44px, 6vw, 70px);
  height: clamp(200px, 26vw, 320px);
  border-block: 1px solid var(--hair);
  background:
    radial-gradient(ellipse 60% 90% at 50% 108%, rgba(216, 189, 130, .2), transparent 66%),
    radial-gradient(ellipse 40% 60% at 78% 0%, rgba(84, 62, 120, .18), transparent 70%),
    linear-gradient(180deg, rgba(9, 7, 18, .55), rgba(19, 14, 28, .3));
}
.sky-horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(0deg, rgba(216, 189, 130, .13), transparent 78%);
  pointer-events: none;
}
.sky-horizon::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 24%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 189, 130, .18), transparent);
}
.sky-meta {
  position: absolute; left: var(--gut); right: var(--gut); bottom: 16px;
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--ink-ghost);
  text-transform: uppercase;
}
.sky-empty {
  position: absolute; left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  width: min(250px, 34vw);
  opacity: .8;
  pointer-events: none;
}
.sky-empty svg { width: 100%; height: auto; overflow: visible; }
.sky-empty .empty-ring { fill: none; stroke: rgba(216, 189, 130, .46); stroke-width: .9; stroke-dasharray: 2 4; }
.sky-empty .empty-line { fill: none; stroke: rgba(190, 178, 232, .28); stroke-width: .7; }
.sky-empty .empty-star { fill: rgba(207, 220, 255, .78); }
.sky-empty text {
  fill: #a08f6d;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: .22em;
}
.lifted-notes { position: absolute; inset: 0; }
.lifted-note {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  transform: translate(-50%, 0);
  animation: lift-in 2.4s var(--ease-out) both;
}
.lifted-note .note-star {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 18px 4px rgba(216, 189, 130, .5);
  animation: pulse-dot 4s ease-in-out infinite;
}
.lifted-note .note-text {
  max-width: 34ch;
  font-size: 12.5px; line-height: 1.8; letter-spacing: .03em;
  color: rgba(238, 231, 214, .82);
  text-align: center; text-shadow: 0 1px 10px rgba(4, 2, 10, .9);
}
.lifted-note .note-coord { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: rgba(216, 189, 130, .55); }
.closing-cta { padding-block: clamp(64px, 8vw, 96px) clamp(80px, 10vw, 120px); text-align: center; }
.closing-cta .pilot-note { display: flex; justify-content: center; margin-top: 18px; }
.site-footer { position: relative; z-index: 3; border-top: 1px solid var(--hair); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 26px;
  color: var(--ink-ghost); font-size: 12px; letter-spacing: .06em;
}
.footer-wordmark { display: flex; align-items: baseline; gap: 12px; font-size: 16px; letter-spacing: .14em; color: #cfc7b8; }
.footer-wordmark span { font-family: var(--mono); font-size: 8.5px; letter-spacing: .26em; color: var(--gold-dim); }
.footer-year { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- 读故事面板 ---------- */
.story-dialog {
  width: min(680px, calc(100vw - 36px));
  max-height: min(86svh, 860px);
  padding: 0;
  border: 1px solid rgba(216, 189, 130, .28);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(94, 70, 116, .22), transparent 66%),
    linear-gradient(170deg, #14101e 0%, #0b0813 68%, #080610 100%);
  color: var(--ink);
  box-shadow: 0 50px 160px rgba(0, 0, 0, .72);
  overflow: hidden auto;
}
.story-dialog::backdrop { background: rgba(4, 3, 10, .72); backdrop-filter: blur(16px); }
.story-dialog[open] { animation: dialog-in .55s var(--ease-out) both; }
.story-dialog[open]::backdrop { animation: backdrop-in .5s ease both; }
.dialog-head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px clamp(22px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(17, 13, 27, .97), rgba(17, 13, 27, .82));
  border-bottom: 1px solid var(--hair);
  backdrop-filter: blur(14px);
}
.dialog-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: var(--ink-faint); border: 1px solid transparent; border-radius: 2px; transition: color .3s, border-color .3s; }
.dialog-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
.dialog-close:hover { color: var(--gold-bright); border-color: var(--hair-bright); }
.dialog-body { padding: clamp(26px, 4.4vw, 46px) clamp(22px, 4vw, 44px) 10px; }
.dialog-kind { font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--gold-dim); text-transform: uppercase; }
.dialog-body h2 { margin-top: 16px; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.5; letter-spacing: .02em; }
.dialog-image { position: relative; margin-top: 26px; overflow: hidden; border-radius: 2px; border: 1px solid var(--hair); }
.dialog-image img { width: 100%; max-height: 300px; object-fit: cover; object-position: center 42%; }
.dialog-image .image-caption { left: 16px; bottom: 13px; }
.story-text { margin-top: 26px; color: var(--ink-soft); font-size: 15px; line-height: 2.15; letter-spacing: .015em; }
.story-text p + p { margin-top: 18px; }
.story-text .mirror { color: #d6c8ad; font-size: 16px; line-height: 2; padding-left: 18px; border-left: 1px solid var(--line-gold); }
.dialog-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 22px clamp(22px, 4vw, 44px) clamp(26px, 4vw, 40px);
  border-top: 1px solid var(--hair);
  margin-top: 28px;
}
.dialog-foot .btn { min-height: 44px; padding: 10px 20px; font-size: 13px; }

/* ---------- 夜的时间层：快到天亮时，地平线回暖 ---------- */
.dawn-veil {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: clamp(0, calc((var(--p, 0) - .52) / .48), 1);
  background: radial-gradient(ellipse 130% 52% at 50% 108%, rgba(216, 189, 130, .26), rgba(190, 112, 82, .07) 42%, transparent 72%);
  mix-blend-mode: screen;
}
.hero::before,
.hero::after { content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }
.hero::before {
  left: 50%; bottom: -30%; width: min(1180px, 132vw); height: 64vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 58%, rgba(201, 113, 74, .17), rgba(216, 189, 130, .05) 46%, transparent 68%);
  animation: horizon-breathe 9s var(--ease-in-out) infinite;
}
.hero::after {
  right: 4%; top: 14%;
  width: clamp(260px, 34vw, 520px); height: clamp(260px, 34vw, 520px);
  background: radial-gradient(circle, rgba(122, 104, 182, .09), transparent 68%);
}
.hero-vertical {
  position: absolute; z-index: 4;
  left: calc(var(--gut) - 10px); top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--mono); font-size: 9px; letter-spacing: .32em;
  color: var(--ink-ghost); opacity: .72;
  pointer-events: none;
}
.chart-reading { min-height: 232px; }

/* ---------- 自己的空间：仅自己可见 = 只有你的光最清楚 ---------- */
.space-preview.is-private .space-note { transition: -webkit-mask-image .5s, mask-image .5s; }
.space-preview.torch-ready.is-private .space-note.is-torched {
  -webkit-mask-image: radial-gradient(190px circle at var(--mx, 50%) var(--my, 50%), #000 26%, rgba(0, 0, 0, .74) 62%, rgba(0, 0, 0, .42) 100%);
  mask-image: radial-gradient(190px circle at var(--mx, 50%) var(--my, 50%), #000 26%, rgba(0, 0, 0, .74) 62%, rgba(0, 0, 0, .42) 100%);
}
.space-preview.is-private::before {
  background: linear-gradient(90deg, transparent, rgba(216, 189, 130, .5), transparent);
}

/* ---------- 页脚：一夜的收束 ---------- */
.footer-finale-wrap {
  position: relative; z-index: 3;
  padding-block: clamp(76px, 9.5vw, 128px) clamp(18px, 3vw, 32px);
  text-align: center;
}
.footer-orbit { display: block; width: 150px; height: 42px; margin: 0 auto 22px; opacity: .85; }
.footer-finale {
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.38; letter-spacing: .08em; font-weight: 400;
  color: #d9cbb3;
  text-shadow: 0 2px 40px rgba(4, 2, 10, .7), 0 0 90px rgba(216, 189, 130, .08);
}

/* ---------- 动效 ---------- */
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes horizon-breathe {
  0%, 100% { opacity: .58; transform: translateX(-50%) scale(1); }
  50% { opacity: .92; transform: translateX(-50%) scale(1.035); }
}
@keyframes title-unfold { from { opacity: 0; transform: translateY(108%) rotate(.4deg); } to { opacity: 1; transform: none; } }
@keyframes fragment-in { from { opacity: 0; transform: translateY(26px); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes scroll-line { 0%, 100% { transform: scaleY(.5); opacity: .45; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes pulse-dot { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lift-in {
  0% { opacity: 0; transform: translate(-50%, 46px) scale(.9); }
  22% { opacity: 1; }
  100% { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .chapter-rail { display: none; }
  .hero-vertical { display: none; }
  .orbit-fragment { width: 224px; }
  .fragment-one { left: 3vw; }
  .fragment-two { right: 3vw; }
  .chart-grid { grid-template-columns: minmax(0, 1fr) minmax(270px, 300px); }
}
@media (max-width: 1020px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .section-lede { grid-column: 1; grid-row: 3; padding-bottom: 0; }
  .plates { grid-template-columns: 1fr 1fr; }
  .plate:first-child { grid-column: 1 / -1; }
  .plate-photo { aspect-ratio: 16 / 10; }
  .plate-photo img { object-position: center 46%; }
  .plate-offset { margin-top: 0; }
  .xingyu-grid { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .space-grid { grid-template-columns: 1fr; gap: 44px; }
  .space-preview { max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .orbit-fragment { display: none; }
  .hero-example-label { display: none; }
  .hero-bottom-coord { display: none; }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-reading { border-left: 0; border-top: 1px solid var(--hair); padding: 30px 0 6px; }
  .reading-foot { margin-top: 20px; }
}
/* 竖屏平板 / 笔记本：日常片段不再悬浮，落进首屏的内容流里，避免压到标题区 */
@media (max-width: 1400px) {
  .hero { padding-bottom: 26px; }
  .hero-fragments { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 720px); margin: 30px auto 0; }
  .orbit-fragment {
    display: flex; position: static;
    width: 100%; padding: 12px 13px 12px 10px;
    gap: 11px; rotate: 0deg;
    animation: fragment-in 1.4s var(--ease-out) both;
    background: linear-gradient(140deg, rgba(26, 22, 26, .84), rgba(12, 10, 22, .74));
  }
  .orbit-fragment:hover { background: linear-gradient(140deg, rgba(34, 28, 28, .92), rgba(15, 12, 24, .82)); }
  .fragment-one, .fragment-two { left: auto; right: auto; top: auto; }
  .fragment-image { width: 44px; height: 56px; }
  .fragment-symbol { width: 30px; height: 30px; font-size: 18px; }
  .fragment-kind { font-size: 8.5px; letter-spacing: .1em; margin-bottom: 4px; }
  .fragment-text { font-size: 12px; line-height: 1.8; }
  .fragment-dot { display: none; }
  .hero-example-label { display: block; position: static; margin-top: 12px; font-size: 8px; }
  .hero-bottom { position: static; left: auto; right: auto; bottom: auto; margin-top: 26px; }
}
@media (max-width: 760px) {
  :root { --gut: 22px; --section-gap: 88px; }
  html { scroll-padding-top: 82px; }
  .site-header { height: 68px; gap: 0; }
  .site-header.scrolled { height: 62px; }
  .desktop-nav { display: none; }
  .brand-en { display: none; }
  .header-cta { margin-left: auto; min-height: 34px; padding: 6px 12px; font-size: 11.5px; gap: 8px; }
  .menu-toggle { display: flex; }
  .hero { padding: 116px var(--gut) 0; min-height: auto; }
  .hero-inner { max-width: 100%; }
  .hero h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.42; }
  .hero-signature { font-size: 19px; margin-top: 14px; }
  .hero-lede { font-size: 14px; line-height: 2; }
  .br-d { display: none; }
  .hero-actions { flex-wrap: wrap; gap: 20px; }
  .hero .pilot-note { margin-top: 16px; }
  .hero-bottom { position: relative; left: auto; right: auto; bottom: auto; margin-top: 34px; padding-top: 14px; }
  .hero-bottom-en { display: none; }
  .scroll-cue { font-size: 11px; }
  .obs-bar-wrap { padding-inline: var(--gut); }
  .obs-bar { gap: 10px; font-size: 8.5px; letter-spacing: .12em; padding-block: 12px; }
  .obs-cell:nth-child(2) { display: none; }
  .obs-dots i:nth-child(3), .obs-dots i:nth-child(4) { display: none; }
  .section-head h2 { margin-top: 20px; font-size: clamp(28px, 7.6vw, 34px); }
  .section-lede { font-size: 14px; line-height: 2.05; margin-top: 18px; }
  .plates { grid-template-columns: 1fr; gap: 44px; }
  .plate:first-child { grid-column: auto; }
  .plate-photo { aspect-ratio: 4 / 4.2; }
  .plate-ticket, .plate-journal { aspect-ratio: 4 / 3.7; }
  .plate h3 { font-size: 20px; }
  .plate-note { text-align: left; margin-top: 34px; line-height: 2; }
  .life-foot { display: block; margin-top: 34px; }
  .life-foot > span { font-size: 17px; }
  .life-foot > p { text-align: left; margin-top: 14px; font-size: 13px; }
  .chart-bar { flex-wrap: wrap; gap: 8px; }
  .chart-reading { padding-top: 26px; }
  .chart-reading h3 { font-size: 21px; margin-top: 16px; }
  .xingyu { padding-block: 82px; }
  .xingyu-copy h2, .space-copy h2 { font-size: clamp(28px, 7.6vw, 34px); }
  .conversation-top { margin-inline: 20px; height: 56px; }
  .conversation-body { padding: 22px 20px; min-height: 260px; gap: 18px; }
  .conversation-bottom { margin-inline: 20px; }
  .chat-message { font-size: 14px; }
  .space-preview { padding: 20px 16px; max-width: none; }
  .space-note { font-size: 17px; }
  .audience-control { width: 100%; }
  .audience-control button { flex: 1; padding: 6px 4px; font-size: 11.5px; }
  .audience-visual { height: 206px; margin-top: 10px; }
  .faq-list summary { padding: 20px 0; font-size: 16px; }
  .closing { padding-top: 84px; }
  .closing h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .closing-lede { font-size: 14px; }
  .star-write { flex-direction: column; align-items: stretch; gap: 14px; max-width: 100%; padding-bottom: 0; border-bottom: 0; }
  .star-write input { width: 100%; padding: 12px 2px; font-size: 15px; border-bottom: 1px solid var(--hair-bright); }
  .star-write .btn { width: 100%; }
  .night-sky { height: 240px; margin-top: 40px; }
  .sky-meta { font-size: 8px; letter-spacing: .14em; }
  .closing-cta { padding-block: 56px 72px; }
  .footer-inner { flex-wrap: wrap; gap: 12px; padding-block: 22px; }
  .footer-inner .footer-line { width: 100%; order: 3; }
  .story-dialog { width: calc(100vw - 20px); max-height: 90svh; }
  .dialog-foot .btn { flex: 1 1 auto; }
  .lifted-note .note-text { font-size: 11.5px; }
  .conversation, .space-preview { backdrop-filter: none; }
  .grain { opacity: .04; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 33px; }
  .hero-signature { font-size: 17px; }
  .brand-name { font-size: 16px; }
  .ticket-title { font-size: 38px; }
  .journal-handwriting { font-size: 20px; left: 38px; }
}

/* ---------- 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .scroll-line { animation: none; opacity: .7; }
  .lifted-note { animation: none; }
  .cursor-glow { display: none; }
}




