/* ===================================================================
   星屑茶会 · 样式总表
   茶桌 = 手作亚麻、奶油、瓷器与暖光；
   星空与创作室 = 深蓝紫、彩色星屑、清楚的阅读面。
   =================================================================== */

:root {
  --paper: #f8eedd;
  --tea-ink: #3a2a1d;
  --tea-gold: #b8862f;
  --tea-rose: #d2748a;
  --space-ink: #ecf1ff;
  --ink: var(--tea-ink);
  --ink-soft: rgba(58, 42, 29, .68);
  --rule: rgba(184, 130, 47, .5);
  --shadow: 0 18px 40px rgba(38, 24, 12, .22);
  --serif: Georgia, 'Times New Roman', 'Songti SC', 'STSong', SimSun, serif;
  --sans: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --kai: 'KaiTi', 'STKaiti', KaiTi_GB2312, var(--serif);
  --mono: ui-monospace, Consolas, 'Cascadia Mono', monospace;
  --vh: 100vh;
  --exp-ink: #493b31;
  --exp-muted: #796c60;
  --exp-line: rgba(93, 72, 52, .23);
  --exp-surface: rgba(255, 250, 237, .8);
  --exp-accent: #a65b39;
  --work-accent: #ffd76e;
  --work-bg: #1b1833;
  --work-text: #f6f1ff;
}

body.is-space {
  --exp-ink: #f5f0e6;
  --exp-muted: #c3bdd5;
  --exp-line: rgba(237, 226, 255, .24);
  --exp-surface: rgba(29, 24, 52, .82);
  --exp-accent: #ead4a4;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #f3e2c4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-space { color: var(--space-ink); }
body.no-webgl #stage { display: none; }

h1, h2, h3, p, blockquote, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------- 舞台与滚动 ---------------- */
#stage {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0;
  display: block; touch-action: pan-y;
}
#scroll { position: relative; z-index: 2; }
.pane { position: relative; }
.pane--tea { min-height: 170vh; }
.pane--corridor { min-height: 190vh; }
.pane--about { min-height: 210vh; }
.pane--work { min-height: 1400vh; }
.pane--end { min-height: 190vh; }
.pane__inner { position: sticky; top: 0; height: var(--vh); overflow: hidden; }

#anchor-layer { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
#anchor-layer > * { position: absolute; left: 0; top: 0; will-change: transform; }
#anchor-layer [data-anchor] { pointer-events: auto; }

/* ---------------- 开场 ---------------- */
#opening {
  position: fixed; inset: 0; z-index: 80;
  background: radial-gradient(120% 90% at 50% 78%, #f6e3c2 0%, #d9b98d 45%, #4a2f1c 100%);
  display: grid; place-items: center; transition: opacity .5s ease;
}
#opening.is-out { opacity: 0; pointer-events: none; }
#opening[hidden] { display: none; }
.op-star {
  position: absolute; left: -60px; top: 22%; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff 0 20%, #ffd76e 45%, rgba(255, 215, 110, 0) 70%);
  box-shadow: 0 0 30px 10px rgba(255, 215, 110, .6);
  animation: opFly 1s cubic-bezier(.5, 0, .3, 1) forwards;
}
@keyframes opFly {
  0% { left: -8%; top: 8%; transform: scale(.5) rotate(0); opacity: 0; }
  25% { opacity: 1; }
  70% { left: 62%; top: 62%; transform: scale(1) rotate(160deg); }
  100% { left: 50%; top: 62%; transform: scale(3.4) rotate(220deg); opacity: 0; }
}
.op-line { font-family: var(--kai); letter-spacing: .3em; color: #5a3a20; font-size: 14px; }
.op-skip {
  position: absolute; right: 18px; bottom: 18px; background: none;
  border: 1px solid rgba(90, 58, 32, .5); color: #5a3a20;
  border-radius: 999px; padding: .4em 1.1em; font-size: 12px; letter-spacing: .12em;
}

.skiplinks { position: fixed; z-index: 90; top: 0; left: 0; display: flex; gap: 8px; padding: 8px; }
.skiplinks a {
  transform: translateY(-140%); background: var(--paper); color: var(--tea-ink);
  padding: 8px 14px; border: 1.5px solid var(--tea-gold); border-radius: 999px;
  font-size: 14px; text-decoration: none; transition: transform .18s ease;
}
.skiplinks a:focus-visible { transform: none; }

/* ---------------- 场景文字：标签 / 玻璃 / 星笺 / 气泡 ---------------- */
.thing-tag {
  transform: translate(-50%, -130%); padding: .42em .85em; border-radius: 999px;
  white-space: nowrap; background: rgba(38, 27, 20, .9); color: #fff3dd;
  font-size: 13px; letter-spacing: .05em; box-shadow: var(--shadow);
  opacity: 0; transition: opacity .16s ease; pointer-events: none;
}
.thing-tag.is-on { opacity: 1; }
.thing-tag small { display: block; margin-top: .16em; font-size: 10.5px; opacity: .72; letter-spacing: .02em; }
body.is-space .thing-tag { background: rgba(15, 13, 38, .94); color: #f3f2ff; }

.about-lead {
  width: min(88vw, 660px); max-height: min(62vh, 460px); overflow-y: auto;
  padding: clamp(18px, 3vh, 30px) clamp(18px, 3vw, 34px);
  border: 1px solid rgba(220, 231, 255, .12); border-radius: 24px;
  background: radial-gradient(ellipse at 50% 58%, rgba(16, 17, 48, .86) 0%, rgba(12, 13, 36, .58) 48%, rgba(12, 13, 36, .08) 76%);
  box-shadow: 0 24px 80px rgba(3, 4, 20, .22); text-align: center;
  text-shadow: 0 2px 24px rgba(7, 9, 29, .85); color: #f7f6ff;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.24) transparent;
  transition: opacity .28s ease, filter .28s ease;
}
.about-lead .about-eyebrow { margin-bottom: .8em; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: rgba(225, 238, 255, .55); }
.about-lead h2 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 31px); line-height: 1.5; letter-spacing: .03em; }
.about-lead .sub { max-width: 560px; margin: 1em auto 0; font-size: clamp(12px, 1.3vw, 14px); line-height: 1.85; color: rgba(240, 243, 255, .72); }
.about-lead.is-reading { opacity: .34; filter: blur(.3px); }
.star-keys { margin-top: 1.4em; display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; pointer-events: auto; }
.star-key {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .26); color: var(--space-ink);
  border-radius: 999px; padding: .42em 1em; font-size: 13px; letter-spacing: .06em;
  display: inline-flex; align-items: center; gap: .5em; backdrop-filter: blur(9px);
  transition: background .2s, border-color .2s, transform .2s;
}
.star-key i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--sp-accent, #ffd76e); display: block; }
.star-key:hover, .star-key:focus-visible { background: rgba(255, 255, 255, .18); border-color: #fff; transform: translateY(-2px); outline: none; }
.star-key[aria-expanded="true"] { background: var(--sp-accent, #ffd76e); color: #1a1530; border-color: transparent; }

.star-panel {
  width: min(86vw, 370px); max-height: min(62vh, 440px); overflow-y: auto;
  padding: 1.2em 1.35em 1.15em 1.55em;
  border-radius: 18px 18px 18px 5px; border: 1px solid rgba(233, 240, 255, .2);
  border-left: 2px solid var(--sp-accent, #ffd76e);
  background: linear-gradient(135deg, rgba(255,255,255,.095), rgba(255,255,255,.025) 38%, rgba(7,8,26,.78)), rgba(16, 15, 43, .78);
  box-shadow: 0 0 0 1px rgba(255,255,255,.035) inset, 0 24px 70px rgba(3, 3, 20, .56), 0 0 42px rgba(255, 220, 137, .14);
  color: var(--space-ink); text-align: left;
  transform-origin: 0 54%; scale: .12; opacity: 0; filter: blur(7px); pointer-events: none;
  transition: opacity .28s ease, scale .34s cubic-bezier(.2,.9,.2,1), filter .28s ease;
}
.star-panel::before {
  content: ''; position: absolute; left: -30px; top: 54%; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sp-accent, #ffd76e)); opacity: .8;
}
.star-panel::after {
  content: '✦'; position: absolute; left: -39px; top: calc(54% - 10px);
  color: var(--sp-accent, #ffd76e); font-size: 13px; text-shadow: 0 0 20px var(--sp-accent, #ffd76e);
}
.star-panel.is-open { scale: 1; opacity: 1; filter: none; pointer-events: auto; }
.star-panel h3 { font-family: var(--serif); font-size: clamp(17px, 2vw, 22px); letter-spacing: .05em; margin-bottom: .45em; }
.star-panel h3::before { content: '◆'; color: var(--sp-accent, #ffd76e); margin-right: .5em; font-size: .66em; }
.star-panel p { font-size: 13.5px; line-height: 1.9; color: rgba(236, 241, 255, .86); }
.star-panel .sp-close {
  margin-top: .9em; background: rgba(255,255,255,.04); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; padding: .3em 1em; font-size: 12px; letter-spacing: .1em; color: var(--space-ink);
}
.star-panel .sp-close:hover, .star-panel .sp-close:focus-visible { border-color: #fff; }

.bubble {
  width: max-content; max-width: min(80vw, 320px); padding: .7em 1em;
  border-radius: 14px 14px 14px 4px; font-size: 13.5px; line-height: 1.7;
  background: rgba(255, 250, 240, .95); color: #3a2a1d; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
.bubble.is-on { opacity: 1; pointer-events: auto; }
.bubble--space { background: rgba(236, 241, 255, .95); }
.bubble--cat { border-radius: 14px 14px 4px 14px; }
#anchor-layer .bubble { pointer-events: none; }
#anchor-layer .bubble.is-on { pointer-events: auto; }

/* ---------------- 邀请卡 ---------------- */
.invite {
  width: min(86vw, 540px); max-height: 88vh; overflow-y: auto;
  padding: clamp(20px, 3.6vw, 34px); text-align: center;
  background: linear-gradient(160deg, rgba(255, 250, 240, .97), rgba(240, 226, 205, .96));
  color: var(--tea-ink); border-radius: 4px; box-shadow: 0 30px 70px rgba(4, 2, 18, .55);
  border: 1px solid rgba(184, 130, 47, .5); position: relative;
  scrollbar-width: thin; scrollbar-color: rgba(120,90,50,.3) transparent;
}
.invite::before, .invite::after {
  content: ''; position: absolute; left: 10px; right: 10px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--tea-gold) 0 6px, transparent 6px 12px);
}
.invite::before { top: 8px; }
.invite::after { bottom: 8px; }
.invite .iv-kicker { font-family: var(--kai); letter-spacing: .3em; font-size: 12px; color: var(--tea-gold); text-transform: uppercase; }
.invite .iv-gather { margin: .55em 0 .3em; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--tea-gold); text-transform: uppercase; }
.invite h2 { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 34px); margin: .3em 0 .25em; }
.invite p.iv-sub, .invite p.iv-closing { font-size: clamp(13px, 1.4vw, 15px); line-height: 1.8; color: var(--ink-soft); }
.invite .iv-signoff { margin-top: .8em; font-family: var(--kai); font-size: 12px; letter-spacing: .16em; color: var(--tea-gold); }
.invite .iv-contact { margin: 1.2em auto 0; }
.iv-contact-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1em;
  font-size: 14px; padding-bottom: .55em; border-bottom: 1px dotted rgba(184, 130, 47, .55); text-align: left;
}
.iv-contact-row .k { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(58, 42, 29, .6); }
.iv-contact-row .v { font-weight: 600; overflow-wrap: anywhere; }
.iv-lines { margin: 1em auto 0; }
.iv-empty-contact { color: var(--ink-soft); font-size: 12px; }
.iv-actions { margin-top: 1.25em; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.iv-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px;
  border: 1.5px solid var(--tea-ink); background: transparent; color: var(--tea-ink);
  padding: .55em 1.1em; border-radius: 999px; font-size: 13px; letter-spacing: .06em;
  text-decoration: none; transition: background .2s, color .2s, transform .2s;
}
.iv-btn:hover, .iv-btn:focus-visible { background: var(--tea-ink); color: #fff6e8; transform: translateY(-2px); outline: none; }
.iv-btn.is-ghost { border-color: rgba(58, 42, 29, .38); }
.copy-hint { margin-top: .9em; min-height: 1.2em; font-size: 11.5px; color: var(--tea-gold); font-family: var(--mono); letter-spacing: .06em; overflow-wrap: anywhere; }

/* ---------------- 旅程外壳 ---------------- */
#experience { color: var(--exp-ink); pointer-events: none; }
#experience button, #experience a, #experience input { pointer-events: auto; }
body.booting #experience { opacity: 0; }
body.world-ready #experience { opacity: 1; transition: opacity .8s; }

.tea-wash {
  position: fixed; z-index: 3; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(255, 244, 222, .86), rgba(255, 244, 222, .18) 54%, transparent 78%),
    linear-gradient(180deg, rgba(245, 228, 205, .5), transparent 62%);
  opacity: 1; transition: opacity .65s;
}
body.is-space .tea-wash { background: radial-gradient(ellipse at 50% 20%, rgba(35, 27, 70, .45), transparent 62%); }
#experience.past-tea .tea-wash { opacity: 0; }

.exp-header {
  position: fixed; z-index: 35; top: 0; left: 0; right: 0; height: 100px;
  padding: 0 3.4vw; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  pointer-events: none; background: linear-gradient(180deg, rgba(250,240,216,.55), transparent);
}
body.is-space .exp-header { background: linear-gradient(180deg, rgba(14,10,34,.66), transparent); }
.exp-header > * { pointer-events: auto; }
.exp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--exp-ink); }
.brand-mark { font-size: 34px; line-height: 1; display: inline-block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.exp-brand:hover .brand-mark { transform: rotate(90deg); }
.brand-copy { display: grid; gap: 4px; }
.brand-copy b { font: 500 14px var(--mono); letter-spacing: .14em; }
.brand-copy small { font: 8.5px var(--sans); letter-spacing: .22em; opacity: .72; }
.header-note { font: 9px var(--mono); letter-spacing: .2em; color: var(--exp-muted); }
.header-tools { display: flex; align-items: center; gap: 9px; }
.work-index-toggle, .settings-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px;
  border: 1px solid var(--exp-line); border-radius: 999px; padding: 9px 14px;
  background: var(--exp-surface); color: var(--exp-ink); backdrop-filter: blur(18px);
  font-size: 11px; letter-spacing: .05em; transition: transform .2s, background .2s;
}
.work-index-toggle:hover, .settings-toggle:hover, .work-index-toggle:focus-visible, .settings-toggle:focus-visible { transform: translateY(-2px); outline: none; }
.work-index-toggle > span:first-child { font-size: 16px; line-height: 1; }
.work-index-toggle b { font: 9px var(--mono); opacity: .55; }
.settings-toggle > span:first-child { font-size: 15px; line-height: 1; }

.exp-hero {
  position: fixed; z-index: 6; left: 50%; top: 6vh; width: min(760px, 86vw);
  transform: translateX(-50%); text-align: center; pointer-events: none;
  will-change: opacity, translate;
}
.exp-hero > * { pointer-events: none; }
.exp-hero button, .exp-hero a, .exp-hero .hero-tea-entries { pointer-events: auto; }
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; color: #6e4d3c; font-size: 10px; letter-spacing: .12em; }
body.is-space .hero-eyebrow { color: #c7bdd8; }
.hero-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #a0683d; box-shadow: 0 0 0 4px #a0683d12; }
.hero-eyebrow b { font: 9px var(--mono); letter-spacing: .06em; margin-left: 12px; opacity: .5; }
.exp-hero h1 { position: relative; margin-top: 12px; font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 4.4vw, 62px); line-height: 1.12; letter-spacing: .02em; color: #452c25; text-shadow: 0 2px 0 rgba(255,240,218,.35); }
body.is-space .exp-hero h1 { color: #f4ecff; text-shadow: 0 4px 40px rgba(6,4,24,.6); }
.exp-hero h1 > span { display: inline; }
.hero-line-two { padding-left: .12em; }
.hero-spark { position: absolute; left: 3.9em; top: -.18em; color: #a67440; font-size: .6em; font-style: normal; animation: heroTwinkle 5s ease-in-out infinite; }
@keyframes heroTwinkle { 50% { transform: rotate(25deg) scale(.8); opacity: .5; } }
.hero-byline { margin: 11px 0 0; color: #745b4a; font-size: 11.5px; letter-spacing: .12em; }
body.is-space .hero-byline { color: #c7bdd8; }
.hero-description { max-width: 560px; margin: 10px auto 0; color: #654d3e; font-size: 12px; line-height: 1.8; white-space: pre-line; }
body.is-space .hero-description { color: #d8d2e8; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.explore-button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 13px 18px 13px 22px; border: 1px solid #44372e; border-radius: 999px;
  background: #44372e; color: #fff4df; font-size: 12px; letter-spacing: .06em;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.explore-button i { font-size: 18px; font-style: normal; line-height: 16px; transition: transform .25s; }
.explore-button:hover, .explore-button:focus-visible { transform: translateY(-3px); background: #604333; box-shadow: 0 9px 25px #69432d26; outline: none; }
.explore-button:hover i { transform: translate(2px,-2px); }
.hero-index-button, .random-button {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 0;
  background: none; border: 0; border-bottom: 1px solid #9d856760;
  color: #6d5746; font-size: 11px;
}
body.is-space .hero-index-button { color: #d3c9e4; border-color: #d3c9e455; }
.hero-tea-entries { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tea-entry {
  display: inline-flex; align-items: center; gap: .45em; min-height: 34px;
  padding: .36em .72em; border: 1px solid rgba(91, 58, 31, .32);
  background: rgba(255, 248, 233, .72); color: #4a321e; border-radius: 999px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .03em;
  box-shadow: 0 7px 18px rgba(68, 39, 19, .1); backdrop-filter: blur(8px);
  transition: transform .18s, background .18s;
}
body.is-space .tea-entry { background: rgba(25, 20, 45, .7); color: #f1eaff; border-color: rgba(240,230,255,.28); }
.tea-entry:hover, .tea-entry:focus-visible { transform: translateY(-3px); background: #fff8e9; outline: 2px solid var(--tea-gold); }
body.is-space .tea-entry:hover { background: rgba(50, 40, 80, .92); }
.tea-entry__index { opacity: .48; font-size: 9px; }
.tea-entry i { font-style: normal; color: var(--tea-gold); }
.hero-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 11px; color: #947e66; font-size: 9px; letter-spacing: .07em; }
body.is-space .hero-footnote { color: #b9b0ca; }
.hero-footnote > span:first-child { font-size: 12px; }
html[lang="en"] .exp-hero h1 { font-size: clamp(40px, 4.1vw, 56px); line-height: 1.12; }
html[lang="en"] .hero-line-two { padding-left: 0; }
html[lang="en"] .hero-spark { left: 4.5em; top: -.4em; }

.journey-nav {
  position: fixed; z-index: 31; left: 25px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; pointer-events: auto;
}
.journey-stop { display: flex; align-items: center; gap: 9px; min-height: 27px; padding: 3px; border: 0; background: none; color: var(--exp-muted); position: relative; text-align: left; }
.stop-number { font: 8px var(--mono); opacity: .5; }
.stop-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: transform .25s, box-shadow .25s; }
.stop-label {
  position: absolute; left: 42px; white-space: nowrap; opacity: 0; font-size: 10px; letter-spacing: .1em;
  padding: 7px 11px; background: var(--exp-surface); border: 1px solid var(--exp-line);
  border-radius: 999px; backdrop-filter: blur(15px); pointer-events: none; transition: opacity .2s;
}
.journey-stop:hover .stop-label, .journey-stop:focus-visible .stop-label { opacity: 1; }
.journey-stop[aria-current] { color: var(--exp-accent); }
.journey-stop[aria-current] .stop-dot { transform: scale(1.6); box-shadow: 0 0 0 3px var(--exp-surface), 0 0 0 4px var(--exp-line); }
.journey-stop[aria-current] .stop-number { opacity: 1; }

.journey-caption { position: fixed; z-index: 8; left: 3.4vw; bottom: 28px; display: flex; gap: 12px; align-items: center; color: var(--exp-muted); font-size: 10px; pointer-events: none; }
.caption-number { font: 9px var(--mono); }
.caption-label { color: var(--exp-ink); }
.caption-line { width: 42px; height: 1px; background: var(--exp-line); }
.scroll-note { font-size: 9px; letter-spacing: .07em; }
.journey-caption i { font-size: 19px; font-style: normal; animation: scrollNudge 2s ease-in-out infinite; }
@keyframes scrollNudge { 50% { transform: translateY(4px); } }

.chapter-action { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); z-index: 24; pointer-events: auto; }
.context-action {
  background: var(--exp-surface); color: var(--exp-ink); border: 1px solid var(--exp-line);
  border-radius: 999px; padding: 13px 23px; font-size: 12px; backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px #17102b25; white-space: nowrap; transition: transform .25s, background .2s;
}
.context-action:hover, .context-action:focus-visible { transform: translateY(-3px); outline: none; }

.journey-toast {
  position: fixed; z-index: 95; left: 50%; top: 96px; transform: translate(-50%, -10px);
  width: max-content; max-width: min(86vw, 520px); padding: 11px 19px;
  background: #3d3344ed; color: #fff3de; font-size: 11px; line-height: 1.7; text-align: center;
  border: 1px solid #fff2d82b; border-radius: 999px; backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.journey-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

#journey-settings {
  position: fixed; z-index: 50; right: 3.4vw; top: 84px; width: 286px; padding: 22px;
  background: var(--exp-surface); border: 1px solid var(--exp-line); border-radius: 20px;
  box-shadow: 0 15px 45px #0002; backdrop-filter: blur(24px) saturate(1.1); pointer-events: auto;
}
.micro-label { font: 9px/1.7 var(--mono); letter-spacing: .16em; color: var(--exp-muted); }
#journey-settings h2 { margin: 12px 0 16px; font: 21px/1.4 var(--serif); font-weight: 500; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--exp-line); }
.settings-row-label { font-size: 12px; }
.settings-lang, .settings-motion {
  border: 1px solid var(--exp-line); border-radius: 999px; padding: 8px 13px;
  background: transparent; color: var(--exp-ink); font-size: 11px; min-height: 34px;
}
.settings-lang:hover, .settings-motion:hover, .settings-lang:focus-visible, .settings-motion:focus-visible { border-color: var(--exp-accent); outline: none; }
.settings-guide { margin-top: 14px; font-size: 10px; line-height: 1.8; color: var(--exp-muted); }

/* ---------------- 作品场景卡 ---------------- */
.work-stage { position: absolute; inset: 0; }
.work-card {
  position: absolute; inset: 0; display: grid; align-items: center;
  padding: 10vh 6vw 8vh; opacity: 0; visibility: hidden;
  pointer-events: none; transition: opacity .5s ease, visibility .5s ease;
}
.work-card.is-in { opacity: 1; visibility: visible; }
.work-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; }
.work-card--object-right { justify-items: start; text-align: left; }
.work-card--object-left { justify-items: end; text-align: left; }
.work-card--object-center { align-items: end; justify-items: start; padding-bottom: 10vh; text-align: left; }
.work-card--object-right::before { background: linear-gradient(90deg, rgba(7,6,20,.88) 0%, rgba(7,6,20,.58) 32%, rgba(7,6,20,.1) 55%, transparent 68%); }
.work-card--object-left::before { background: linear-gradient(270deg, rgba(7,6,20,.88) 0%, rgba(7,6,20,.58) 32%, rgba(7,6,20,.1) 55%, transparent 68%); }
.work-card--object-center::before { background: linear-gradient(0deg, rgba(7,6,20,.9) 0%, rgba(7,6,20,.55) 26%, transparent 55%); }
.work-card__inner {
  position: relative; z-index: 1; width: min(430px, 38vw); max-height: 78vh; overflow-y: auto;
  padding: 2.5vh 4px 2.5vh 0; color: var(--work-text);
  text-shadow: 0 2px 22px rgba(5, 4, 18, .62); pointer-events: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.24) transparent;
  opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease;
}
.work-card.is-content-in .work-card__inner { opacity: 1; transform: none; }
.work-card--object-left .work-card__inner { margin-left: auto; }
.work-card__eyebrow { display: flex; align-items: baseline; gap: .7em; flex-wrap: wrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--work-accent); }
.work-card__index { opacity: .7; }
.work-card__group { color: var(--work-text); opacity: .75; }
.work-card__medium { margin-left: auto; opacity: .45; font-size: 9px; }
.work-card__title { margin: .32em 0 .12em; font-family: var(--serif); font-size: clamp(26px, 4vw, 48px); line-height: 1.14; font-weight: 500; overflow-wrap: anywhere; }
.work-card__kind { font-size: clamp(12px, 1.25vw, 14.5px); letter-spacing: .1em; color: color-mix(in srgb, var(--work-text) 72%, transparent); }
.work-card__meta { margin-top: .7em; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; opacity: .5; }
.work-card__blurb { margin-top: 1.15em; font-size: clamp(13px, 1.35vw, 15.5px); line-height: 1.9; color: color-mix(in srgb, var(--work-text) 84%, transparent); }
.work-card__quote { margin-top: 1.1em; padding: .15em 0 .15em 1em; border-left: 2px solid var(--work-accent); font-family: var(--serif); font-size: clamp(14px, 1.5vw, 17px); line-height: 1.75; color: color-mix(in srgb, var(--work-text) 90%, transparent); }
.work-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.4em; }
.work-card__open, .work-card__share, .viewer-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 38px;
  padding: .55em 1.1em; border-radius: 999px; font-size: 12px; letter-spacing: .05em;
  border: 1px solid var(--work-accent); background: transparent; color: var(--work-accent);
  transition: background .2s, color .2s, transform .2s; text-decoration: none;
}
.work-card__open { background: var(--work-accent); color: #14122a; }
.work-card__open:hover, .work-card__open:focus-visible, .work-card__share:hover, .work-card__share:focus-visible { transform: translateY(-2px); outline: none; }
.work-card__share { border-color: color-mix(in srgb, var(--work-text) 38%, transparent); color: var(--work-text); opacity: .78; }
.work-card__share:hover { opacity: 1; }
.work-card__actions .work-card__open { min-width: 128px; }

/* ---------------- 作品索引 ---------------- */
.work-index {
  width: min(900px, calc(100vw - 36px)); max-height: min(88svh, 900px); padding: 0;
  border: 1px solid rgba(184, 130, 47, .45); border-radius: 24px;
  background: linear-gradient(160deg, #fbf3e4, #f2e2c8); color: var(--tea-ink);
  box-shadow: 0 40px 120px rgba(4, 3, 16, .52); overflow: auto;
}
.work-index::backdrop { background: rgba(10, 8, 24, .64); backdrop-filter: blur(10px); }
.work-index[open] { animation: dialogIn .28s ease; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.work-index__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px clamp(22px, 4vw, 38px) 10px; background: linear-gradient(#fbf3e4 74%, rgba(251,243,228,0)); }
.work-index__bar h2 { margin-top: 4px; font: 400 clamp(24px, 3.2vw, 34px)/1.2 var(--serif); }
.work-index__intro { padding: 0 clamp(22px, 4vw, 38px); color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.work-index__groups { padding: 4px clamp(22px, 4vw, 38px) 4px; }
.work-index__group { padding: 10px 0 4px; border-top: 1px solid rgba(184, 130, 47, .28); }
.work-index__group:first-child { border-top: 0; }
.work-index__group header { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 5px 10px; align-items: baseline; }
.work-index__num { font: 10px var(--mono); color: var(--tea-gold); letter-spacing: .1em; }
.work-index__group h3 { font: 400 19px var(--serif); }
.work-index__group header p { grid-column: 2; color: var(--ink-soft); font-size: 10.5px; line-height: 1.6; }
.work-index__group ul { list-style: none; margin: 7px 0 0; padding: 0; display: grid; gap: 4px; }
.work-index__item {
  width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 18px; gap: 10px; align-items: center;
  min-height: 41px; padding: 7px 11px; border: 1px solid transparent; border-radius: 10px;
  background: rgba(255, 250, 240, .38); color: var(--tea-ink); text-align: left;
  transition: background .2s, border-color .2s, transform .2s;
}
.work-index__item:hover, .work-index__item:focus-visible { background: #fffaf0; border-color: rgba(184, 130, 47, .5); transform: translateX(3px); outline: none; }
.work-index__item[aria-current="true"] { border-color: var(--tea-gold); background: #fff7e7; }
.work-index__index { font: 10px var(--mono); color: var(--tea-gold); }
.work-index__title { font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.work-index__meta { font: 9.5px var(--mono); color: var(--ink-soft); white-space: nowrap; }
.work-index__arrow { color: var(--tea-gold); font-size: 14px; }
.work-index__foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px clamp(22px, 4vw, 38px) 16px; background: linear-gradient(rgba(247,237,220,0), #f7eddc 30%); font-size: 10px; color: var(--ink-soft); }
.work-index__foot .viewer-btn { border-color: rgba(58,42,29,.35); color: var(--tea-ink); }

/* ---------------- 放映 ---------------- */
.viewer-close {
  width: 44px; height: 44px; flex: none; border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%; background: rgba(20,18,40,.4); color: #fff; font-size: 22px; line-height: 1;
}
.viewer-close:hover, .viewer-close:focus-visible { background: #fff; color: #14122a; outline: none; }

.screening {
  width: min(1120px, calc(100vw - 30px)); max-height: min(93svh, 1000px); padding: 0;
  border: 1px solid rgba(255,244,215,.2); border-radius: 24px; overflow: auto;
  background: #08070f; color: #f5f0ff; box-shadow: 0 40px 130px rgba(0,0,0,.7);
}
.screening::backdrop { background: rgba(3,3,10,.86); backdrop-filter: blur(10px); }
.screening[open] { animation: dialogIn .3s ease; }
.screening__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 22px; }
.screening__eyebrow { font: 9px var(--mono); letter-spacing: .18em; color: #cbb68a; text-transform: uppercase; }
.screening__bar h2 { margin-top: 5px; font: 400 clamp(20px, 2.8vw, 30px)/1.25 var(--serif); }
.screening__stage { background: #000; }
.screening__stage video { display: block; width: 100%; max-height: 60vh; background: #000; }
.screening__copy { padding: 18px 24px 26px; }
.screening__kind { font-size: 11px; letter-spacing: .1em; color: #cbb68a; }
.screening__blurb { margin-top: 9px; font-size: 13.5px; line-height: 1.85; color: rgba(245,240,255,.78); }
.screening__quote { margin-top: 12px; padding-left: 1em; border-left: 2px solid #cbb68a; font-family: var(--serif); font-size: 15px; line-height: 1.75; color: #efe1bd; }
.screening__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.screening .viewer-btn { border-color: rgba(255,255,255,.32); color: #f5f0ff; }
.screening .viewer-btn:hover, .screening .viewer-btn:focus-visible { background: #fff; color: #14122a; }
.screening .viewer-btn.is-ghost { border-color: rgba(255,255,255,.2); }
.viewer-status { min-height: 1.2em; margin-top: 8px; font-size: 10px; line-height: 1.6; color: #e8c57d; letter-spacing: .03em; overflow-wrap: anywhere; }

/* ---------------- 文稿阅读 ---------------- */
.reader {
  width: min(1020px, calc(100vw - 26px)); height: min(93svh, 1100px); max-height: 93svh;
  padding: 0; border: 1px solid rgba(255,244,215,.18); border-radius: 22px;
  background: radial-gradient(ellipse at 50% 0%, #1b1830, #0a0914 70%); color: #f2edff;
  box-shadow: 0 40px 130px rgba(0,0,0,.7); overflow: hidden;
  display: flex; flex-direction: column;
}
.reader::backdrop { background: rgba(3,3,10,.9); backdrop-filter: blur(10px); }
.reader[open] { animation: dialogIn .3s ease; }
.reader__bar { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 18px; background: rgba(12,10,24,.94); border-bottom: 1px solid rgba(255,255,255,.1); }
.reader__eyebrow { font: 9px var(--mono); letter-spacing: .16em; color: #cbb68a; text-transform: uppercase; }
.reader__heading h2 { margin-top: 4px; font: 400 clamp(17px, 2.1vw, 24px)/1.25 var(--serif); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reader__tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.reader__counter { min-width: 58px; text-align: center; font: 10px var(--mono); color: rgba(242,237,255,.65); }
.reader__tools button, .reader__tools .reader__pdf {
  min-height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: transparent; color: #f2edff; padding: 6px 11px; font-size: 10px; letter-spacing: .04em;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.reader__tools button:hover, .reader__tools button:focus-visible, .reader__tools .reader__pdf:hover { background: rgba(255,255,255,.14); outline: none; }
.reader__body { flex: 1; overflow: auto; overflow-anchor: none; padding: 20px clamp(12px, 3vw, 34px) 34px; scroll-behavior: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.24) transparent; }
.reader__page {
  width: var(--reader-width, 820px); max-width: 100%; margin: 0 auto 24px;
  background: #fff; box-shadow: 0 22px 60px rgba(0,0,0,.5); cursor: zoom-in;
  transition: width .25s ease;
}
.reader__page img { display: block; width: 100%; height: auto; background: #fff; }
.reader__page figcaption { padding: 7px 10px; font: 9px var(--mono); letter-spacing: .14em; color: #6c6357; background: #f7f2e8; text-align: right; }
.reader[data-zoom="wide"] { --reader-width: 1080px; }
.reader[data-zoom="actual"] { --reader-width: 1240px; }
.reader__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 18px; border-top: 1px solid rgba(255,255,255,.1); background: rgba(12,10,24,.94); font-size: 9.5px; color: rgba(242,237,255,.5); letter-spacing: .05em; }
.reader__foot .viewer-status { margin-top: 0; text-align: right; }

/* ---------------- 大图 ---------------- */
.lightbox {
  width: 100vw; height: 100svh; max-width: none; max-height: none; padding: 54px 4vw 76px;
  border: 0; background: rgba(4, 3, 12, .95); color: #f3efff;
  display: grid; grid-template-rows: minmax(0, 1fr) auto auto; place-items: center; gap: 10px;
}
.lightbox::backdrop { background: rgba(2, 2, 8, .8); backdrop-filter: blur(8px); }
.lightbox:not([open]) { display: none; }
.lightbox[open] { animation: lbIn .22s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-close { position: fixed; top: 16px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(20,18,40,.5); color: #fff; font-size: 24px; line-height: 1; }
.lb-close:hover, .lb-close:focus-visible { background: #fff; color: #14122a; outline: none; }
.lb-body { min-height: 0; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.lb-body img { max-width: 92vw; max-height: 78svh; width: auto; height: auto; object-fit: contain; display: block; border-radius: 4px; box-shadow: 0 30px 90px rgba(0,0,0,.6); background: #fff; }
.lightbox.lb--transparent { background: radial-gradient(ellipse at 50% 46%, #1b1d4a 0%, #0b0b1e 64%, #05050f 100%); }
.lightbox.lb--transparent .lb-body img { background: transparent; box-shadow: 0 0 90px rgba(120, 150, 255, .18); }
.lightbox.lb--paper .lb-body img { background: #fff; }
.lb-cap { max-width: min(760px, 84vw); text-align: center; color: #e8e3ff; font-size: 13px; line-height: 1.6; }
.lb-controls { display: flex; align-items: center; justify-content: center; gap: 18px; }
.lb-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 18px; }
.lb-controls button:disabled { opacity: .3; cursor: default; }
.lb-counter { min-width: 54px; text-align: center; font: 10px var(--mono); color: #f1e8da; }

/* 观看/阅读时把场景界面让开 */
body.viewer-open .exp-header,
body.viewer-open .journey-nav,
body.viewer-open .journey-caption,
body.viewer-open .chapter-action,
body.viewer-open #journey-settings,
body.viewer-open .tea-wash,
body.lb-open .exp-header { visibility: hidden !important; }
body:has(dialog[open]) .bubble { visibility: hidden !important; }

/* ---------------- 静态作品集 ---------------- */
#static-fallback { position: relative; z-index: 3; }
body.static-mode { background: #10142c; }
body.static-mode #stage,
body.static-mode #scroll,
body.static-mode #opening,
body.static-mode #anchor-layer,
body.static-mode #experience,
body.static-mode .skiplinks { display: none !important; }
body.static-mode #static-fallback { display: block !important; }
.sf-hero {
  min-height: 82vh; display: grid; place-content: center; justify-items: center; text-align: center;
  padding: 9vh 6vw; gap: .55em;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 239, 206, .22), transparent 60%),
    repeating-conic-gradient(from 45deg, #201a2c 0% 25%, #191524 25% 50%) 0 0/44px 44px;
  color: #f4eddc;
}
.sf-kicker { font-family: var(--kai); letter-spacing: .3em; color: #d8b56a; font-size: 12px; }
.sf-title { font-family: var(--serif); font-size: clamp(34px, 7vw, 72px); font-weight: 500; }
.sf-byline { color: #e8dfcd; font-size: 14px; letter-spacing: .1em; }
.sf-sub { max-width: 620px; color: rgba(244,237,220,.72); font-size: 14px; line-height: 1.9; }
.sf-note { max-width: 680px; margin-top: 1.2em; padding: .9em 1.2em; border: 1px solid rgba(216,181,106,.35); border-radius: 10px; color: #e8dcc4; font-size: 11.5px; line-height: 1.75; }
.sf-start { display: inline-block; margin-top: 1.4em; padding: .65em 1.3em; border: 1px solid var(--tea-gold); border-radius: 999px; color: #f4eddc; text-decoration: none; font-size: 13px; letter-spacing: .08em; }
.sf-fallback-list { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 6px; width: min(760px, 86vw); text-align: left; }
.sf-fallback-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 12.5px; }
.sf-fallback-list a { color: #ffd76e; text-decoration: none; }
.sf-fallback-list a:hover { text-decoration: underline; }
.sf-fallback-list span { color: rgba(244,237,220,.5); white-space: nowrap; }
.sf-body { background: #10142c; color: #edf1ff; padding: 0 6vw 10vh; }
.sf-about, .sf-works, .sf-contact { max-width: 1120px; margin: 0 auto; padding: 9vh 0 3vh; }
.sf-eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: #8e9bc7; text-transform: uppercase; }
.sf-about h2, .sf-contact h2 { margin: .55em 0 1.1em; font-family: var(--serif); font-size: clamp(25px, 4vw, 44px); line-height: 1.35; font-weight: 500; }
.sf-star-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.sf-star-grid article { padding: 1.4em; background: #131832; min-height: 160px; }
.sf-star-grid i { display: block; width: 10px; height: 10px; margin-bottom: 1em; background: var(--sc); transform: rotate(45deg); box-shadow: 0 0 22px var(--sc); }
.sf-star-grid h3 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: .55em; }
.sf-star-grid p { color: rgba(237,241,255,.66); font-size: 13px; line-height: 1.8; }
.sf-group { margin-top: 7vh; }
.sf-group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 1em; border-bottom: 1px solid rgba(255,255,255,.14); }
.sf-group > header > p:last-child { color: rgba(237,241,255,.55); font-size: 12px; }
.sf-work { display: grid; grid-template-columns: 1.08fr .92fr; gap: 4vw; align-items: start; margin: 5vh 0 0; }
.sf-work:nth-child(even) { grid-template-columns: .92fr 1.08fr; }
.sf-work:nth-child(even) .sf-work-media { order: 2; }
.sf-work-media { min-width: 0; }
.sf-video, .sf-page-cover, .sf-transparent img { display: block; width: 100%; height: auto; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 70px rgba(0,0,0,.4); background: #000; }
.sf-transparent { background: radial-gradient(ellipse at center, #1b1d4a, #0b0b1e); padding: 14px; }
.sf-transparent img { background: transparent; box-shadow: none; }
.sf-work-copy { padding-top: 4px; }
.sf-index { color: #d8b56a; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.sf-work-copy h3 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 38px); font-weight: 500; margin: .25em 0 .5em; overflow-wrap: anywhere; }
.sf-meta { color: rgba(237,241,255,.45); font: 9.5px var(--mono); letter-spacing: .14em; }
.sf-work-copy > p { margin-top: .8em; color: rgba(237,241,255,.72); font-size: 13.5px; line-height: 1.85; }
.sf-work-copy blockquote { margin-top: 1em; padding-left: 1em; border-left: 2px solid #d8b56a; font-family: var(--serif); font-size: 15px; line-height: 1.75; color: #eadfc4; }
.sf-link { display: inline-block; margin-top: 1em; color: #ffd76e; font-size: 12px; text-decoration: none; border-bottom: 1px solid #ffd76e66; }
.sf-pages { margin-top: 1em; }
.sf-pages summary { cursor: pointer; color: #d8b56a; font-size: 12px; }
.sf-pages img { display: block; width: 100%; height: auto; margin-top: 10px; background: #fff; }
.sf-contact { padding-bottom: 12vh; border-top: 1px solid rgba(255,255,255,.13); }
.sf-contact p { color: rgba(237,241,255,.65); line-height: 1.8; }
.sf-mail { display: inline-block; margin-top: 1em; color: #ffd76e; font-size: 19px; }
.sf-signoff { margin-top: 1em; font-family: var(--kai); letter-spacing: .12em; color: #b9a77f !important; }

.noscript-portfolio { display: none; background: #10142c; color: #edf1ff; padding: 8vh 6vw 12vh; font-family: var(--sans); }
.noscript-portfolio h1 { font: 400 clamp(32px, 6vw, 60px)/1.2 var(--serif); margin: .2em 0; }
.noscript-portfolio h2 { margin: 1.6em 0 .4em; font: 400 24px var(--serif); color: #ffd76e; }
.noscript-portfolio p, .noscript-portfolio li { color: rgba(237,241,255,.76); font-size: 14px; line-height: 1.9; }
.noscript-portfolio a { color: #ffd76e; }
.ns-kicker { font-family: var(--mono); letter-spacing: .2em; color: #8e9bc7 !important; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .header-note { display: none; }
  .exp-hero { top: 10vh; width: 88vw; }
  .exp-hero h1 { font-size: clamp(48px, 7vw, 74px); }
  .work-card__inner { width: min(430px, 46vw); }
}

@media (max-width: 1100px) and (max-aspect-ratio: 1 / 0.95) {
  .work-card, .work-card--object-right, .work-card--object-left, .work-card--object-center {
    align-items: end; justify-items: start; text-align: left; padding: 0 6vw 7vh;
  }
  .work-card::before, .work-card--object-left::before, .work-card--object-center::before {
    background: linear-gradient(0deg, rgba(7,6,20,.94) 0%, rgba(7,6,20,.72) 34%, rgba(7,6,20,.1) 66%, transparent 80%);
  }
  .work-card__inner { width: 100%; max-width: 620px; max-height: 45vh; margin: 0; padding: 0 0 1.4em; }
  .work-card--object-left .work-card__inner { margin-left: 0; }
  .work-card--object-left .work-card__medium { margin-left: auto; }
}

@media (max-width: 720px) {
  :root { --vh: 100svh; }
  .pane--tea { min-height: 155vh; }
  .pane--corridor { min-height: 185vh; }
  .pane--about { min-height: 195vh; }
  .pane--work { min-height: 1200vh; }
  .pane--end { min-height: 175vh; }

  .exp-header { height: 78px; padding: 0 5vw; gap: 8px; }
  .brand-mark { font-size: 26px; }
  .brand-copy b { font-size: 11px; letter-spacing: .1em; }
  .brand-copy small { font-size: 8px; letter-spacing: .1em; }
  .header-tools { gap: 6px; }
  .work-index-toggle, .settings-toggle { min-height: 34px; padding: 7px 10px; font-size: 10px; }
  .work-index-toggle > span:first-child { font-size: 14px; }
  .work-index-toggle b { display: none; }

  .exp-hero { top: 8.5vh; width: 90vw; }
  .hero-eyebrow { font-size: 8.5px; letter-spacing: .05em; }
  .hero-eyebrow b { display: none; }
  .exp-hero h1 { margin-top: 12px; font-size: clamp(38px, 10.4vw, 56px); line-height: 1.2; }
  .hero-spark { left: 4.1em; }
  .hero-byline { font-size: 10px; letter-spacing: .04em; margin-top: 12px; }
  .hero-description { font-size: 11px; line-height: 1.75; margin-top: 10px; max-width: 330px; }
  .hero-actions { gap: 14px; margin-top: 18px; }
  .explore-button { padding: 11px 16px 11px 19px; gap: 18px; font-size: 11px; }
  .hero-index-button { font-size: 10px; }
  .hero-tea-entries { margin-top: 16px; gap: 5px; }
  .tea-entry { font-size: 9px; padding: .3em .55em; min-height: 32px; }
  .hero-footnote { display: none; }

  .journey-nav {
    left: 50%; top: auto; bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%); flex-direction: row; gap: 0;
    border: 1px solid var(--exp-line); padding: 8px 7px; border-radius: 999px;
    background: var(--exp-surface); backdrop-filter: blur(22px); box-shadow: 0 5px 25px #1d142318;
  }
  .journey-stop { width: 52px; display: grid; justify-items: center; justify-content: center; gap: 3px; padding: 4px 2px; min-height: 34px; text-align: center; }
  .stop-number { display: none; }
  .stop-dot { width: 3px; height: 3px; }
  .stop-label { position: static; font-size: 9px; letter-spacing: .02em; padding: 2px 0 0; opacity: .65; border: 0; background: none; border-radius: 0; backdrop-filter: none; }
  .journey-stop[aria-current] .stop-label { opacity: 1; }
  .journey-caption { left: 5vw; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); gap: 8px; font-size: 9px; }
  .caption-line, .scroll-note { display: none; }
  .chapter-action { bottom: calc(137px + env(safe-area-inset-bottom, 0px)); }
  .context-action { padding: 10px 17px; font-size: 11px; }

  #journey-settings { top: 70px; right: 5vw; width: min(300px, 90vw); }
  .journey-toast { top: 76px; font-size: 10px; border-radius: 14px; max-width: 90vw; }

  .about-lead { width: 90vw; max-height: 52svh; padding: 18px 5vw; border-radius: 20px; }
  .about-lead h2 { font-size: 21px; line-height: 1.5; }
  .about-lead .sub { font-size: 11px; }
  .star-key { padding: .35em .72em; font-size: 10.5px; }
  .star-panel, .star-panel.is-mobile {
    position: fixed !important; left: 14px !important; right: 14px !important;
    top: auto !important; bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important; max-height: 42svh; transform: none !important;
    scale: .9; transform-origin: 50% 100%;
  }
  .star-panel.is-open, .star-panel.is-mobile.is-open { scale: 1; }
  .star-panel::before, .star-panel::after { display: none; }

  .exp-hero { width: 92vw; }

  .work-card, .work-card--object-right, .work-card--object-left, .work-card--object-center {
    align-items: end; justify-items: start; text-align: left;
    padding: 0 5vw calc(128px + env(safe-area-inset-bottom, 0px));
  }
  .work-card::before, .work-card--object-left::before, .work-card--object-center::before {
    background: linear-gradient(0deg, rgba(7,6,20,.96) 0%, rgba(7,6,20,.78) 38%, rgba(7,6,20,.12) 72%, transparent 86%);
  }
  .work-card__inner { width: 100%; max-width: 100%; max-height: 48svh; margin: 0; padding: 0 2px 1.2em; }
  .work-card--object-left .work-card__inner { margin-left: 0; }
  .work-card__title { font-size: clamp(25px, 7.2vw, 36px); }
  .work-card__kind { font-size: 11px; }
  .work-card__blurb { font-size: 12.5px; line-height: 1.8; margin-top: .85em; }
  .work-card__quote { font-size: 13.5px; margin-top: .8em; }
  .work-card__actions { margin-top: 1em; }
  .work-card__open, .work-card__share { min-height: 36px; font-size: 11px; }
  .work-card__share { width: 38px; min-width: 38px; padding: 0; font-size: 0; }
  .work-card__share::before { content: '↗'; font-size: 16px; }

  .invite { width: 92vw; max-height: 82svh; padding: 22px 18px 18px; }
  .invite h2 { font-size: 25px; }
  .iv-actions { gap: 6px; }
  .iv-btn { font-size: 11.5px; min-height: 34px; padding: .45em .9em; }
  .bubble { max-width: 74vw; }
  .bubble.is-mobile { position: fixed !important; left: 50% !important; right: auto !important; top: auto !important; bottom: 15vh !important; transform: translateX(-50%) !important; width: min(86vw, 360px); max-width: 86vw; z-index: 22; }

  .work-index { width: calc(100vw - 18px); max-height: calc(100svh - 16px); border-radius: 18px; }
  .work-index__bar { padding: 18px 18px 12px; }
  .work-index__bar h2 { font-size: 26px; }
  .work-index__intro, .work-index__groups { padding-left: 18px; padding-right: 18px; }
  .work-index__group header { grid-template-columns: 28px minmax(0, 1fr); }
  .work-index__item { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 7px; padding: 8px 9px; }
  .work-index__arrow { display: none; }
  .work-index__title { font-size: 12.5px; }
  .work-index__foot { padding: 12px 18px calc(16px + env(safe-area-inset-bottom, 0px)); }

  .screening { width: 100vw; height: 100svh; max-height: none; border-radius: 0; border: 0; }
  .screening__bar { padding: 14px 16px; }
  .screening__stage video { max-height: 42svh; }
  .screening__copy { padding: 14px 16px 24px; }
  .screening__blurb { font-size: 12.5px; }

  .reader { width: 100vw; height: 100svh; max-height: none; border-radius: 0; border: 0; }
  .reader__bar { position: relative; padding: 10px 12px 8px; flex-direction: column; align-items: stretch; gap: 8px; }
  .reader__heading h2 { max-width: 74vw; font-size: 17px; }
  .reader__close { position: absolute; top: 9px; right: 10px; }
  .reader__tools { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .reader__tools button { flex: 0 0 auto; white-space: nowrap; }
  .reader__pdf { display: none; }
  .reader__tools::-webkit-scrollbar { display: none; }
  .reader__body { padding: 12px 8px 24px; }
  .reader__page { margin-bottom: 14px; }
  .reader__foot { padding: 7px 12px; font-size: 8.5px; }

  .lightbox { padding: 52px 3vw 70px; }
  .lb-body img { max-width: 96vw; max-height: 74svh; }
  .lb-cap { font-size: 11.5px; }

  .sf-hero { min-height: 88vh; padding: 10vh 5vw; }
  .sf-star-grid { grid-template-columns: 1fr; }
  .sf-work, .sf-work:nth-child(even) { grid-template-columns: 1fr; gap: 1.2em; margin-top: 4vh; }
  .sf-work:nth-child(even) .sf-work-media { order: 0; }
  .sf-body { padding-inline: 5vw; }
  .sf-group > header { display: block; }
  .sf-group > header > p:last-child { margin-top: .4em; }
  .sf-work-copy blockquote { font-size: 14px; }
}

@media (max-height: 720px) and (min-width: 721px) {
  .exp-hero { top: 7vh; }
  .exp-hero h1 { font-size: clamp(46px, 6.2vw, 72px); margin-top: 10px; }
  .hero-description { margin-top: 12px; }
  .hero-actions { margin-top: 16px; }
  .hero-tea-entries { margin-top: 14px; }
  .hero-footnote { display: none; }
}

@media (max-width: 720px) and (max-height: 700px) {
  .exp-hero { top: 6.5vh; }
  .exp-hero h1 { font-size: 42px; margin-top: 9px; }
  .hero-description { font-size: 10.5px; margin-top: 9px; }
  .hero-actions { margin-top: 12px; }
  .hero-tea-entries { margin-top: 10px; }
  .work-card__inner { max-height: 44svh; }
}

@media (prefers-reduced-motion: reduce) {
  .op-star { animation-duration: .01s; }
  .hero-spark, .journey-caption i { animation: none; }
  .work-card, .work-card__inner, .star-panel, .bubble, .work-index, .screening, .reader, .lightbox { transition-duration: .01s !important; animation-duration: .01s !important; }
}
body.is-motion-reduced .hero-spark,
body.is-motion-reduced .journey-caption i { animation: none; }
body.is-motion-reduced .work-card,
body.is-motion-reduced .work-card__inner,
body.is-motion-reduced .star-panel,
body.is-motion-reduced .bubble { transition-duration: .01s !important; }

/* Glazed miniature theatre — deliberate silhouettes and warm paper notes. */
.about-lead {
  width: min(82vw, 620px); padding: 12px 18px; border: 0; border-radius: 0;
  background: none; box-shadow: none; overflow: visible; max-height: none;
  color: #f4eadb; text-shadow: 0 2px 24px #10132299;
}
.about-lead .about-eyebrow { color: #cfbb96; font-size: 10px; letter-spacing: .26em; margin-bottom: 14px; }
.about-lead h2 { font-weight: 400; font-size: clamp(24px, 2.9vw, 39px); line-height: 1.5; }
.about-lead .sub { color: #bbb7c6; font-size: 12px; margin-top: 13px; }
.star-keys { gap: 7px 16px; margin-top: 21px; }
.star-key { background: none; border: 0; border-bottom: 1px solid #d7c9b130; border-radius: 0; padding: 8px 0; font-size: 11px; letter-spacing: .025em; backdrop-filter: none; color: #d5d0d8; min-height: 36px; }
.star-key i { width: 5px; height: 5px; border-radius: 50%; transform: none; }
.star-key:hover, .star-key:focus-visible { background: none; border-color: #e3cda3; color: #fff1d9; transform: translateY(-2px); outline: 0; }
.star-key[aria-expanded="true"] { background: none; color: #f4ddae; border-color: #f4ddae; }
.star-panel {
  width: min(86vw, 340px); padding: 26px 27px 23px; color: #493d40;
  background: linear-gradient(120deg, #f6eedf, #eae0d0); border: 1px solid #e4d3b8;
  border-radius: 3px 18px 18px 18px; border-left: 1px solid #e4d3b8;
  box-shadow: 0 18px 55px #06081250, 0 1px 0 #fff8ed inset;
  transform-origin: 50% 50%; scale: .94; filter: none;
}
.star-panel::before, .star-panel::after { display: none; }
.star-panel__edition { color: #8c7968; font: 9px var(--mono); letter-spacing: .2em; padding-bottom: 17px; margin-bottom: 17px; border-bottom: 1px solid #b9a18544; }
.star-panel h3 { font-size: 23px; font-weight: 400; padding-right: 4px; }
.star-panel h3::before { content: none; }
.star-panel p { color: #6a5b58; font-size: 13px; line-height: 1.95; }
.star-panel .sp-close { color: #6e5d50; border: 0; border-bottom: 1px solid #a9906b80; background: none; border-radius: 0; padding: 5px 0; font-size: 11px; margin-top: 18px; }
.star-panel .sp-close:hover, .star-panel .sp-close:focus-visible { color: #382b23; border-color: #6f5739; }
body.is-space .thing-tag { color: #f1dfbc; background: #242536ed; border: 1px solid #bbaa8350; box-shadow: 0 8px 26px #080b1c44; font-size: 11px; }
@media (max-width: 720px) {
  .about-lead { width: 89vw; padding: 8px; max-height: none; }
  .about-lead h2 { font-size: clamp(21px, 5.9vw, 29px); }
  .about-lead .about-eyebrow { font-size: 9px; margin-bottom: 10px; }
  .about-lead .sub { font-size: 11px; max-width: 270px; margin-top: 11px; }
  .star-keys { max-width: 295px; margin: 13px auto 0; gap: 2px 17px; }
  .star-key { font-size: 10px; min-height: 32px; padding: 7px 0; }
  .star-panel { padding: 22px; }
}
@media (min-width: 721px) {
  body[data-chapter="about"] .chapter-action { bottom: 32px; }
  body[data-chapter="about"] .context-action { padding: 9px 21px; font-size: 11px; background: #252536d9; border-color: #d5c3a34a; color: #e5d2ad; }
}
body.reading[data-chapter="about"] .chapter-action,
body.reading[data-chapter="about"] .journey-caption { visibility: hidden; pointer-events: none; }

/* ===================================================================
   创作大厅与三间房
   =================================================================== */

/* 短序章：只保留茶桌与玻璃两段 */
.pane--tea { min-height: 90vh; }
.pane--corridor { min-height: 135vh; }
html.stage-locked, body.stage-locked { overflow: hidden; }

#scroll { transition: opacity .3s; }

.prologue-ui { position: fixed; inset: 0; z-index: 10; pointer-events: none; }
.prologue-ui .exp-hero { pointer-events: none; }
.prologue-ui button, .prologue-ui a { pointer-events: auto; }

.prologue-actions { display: flex; justify-content: center; margin-top: 8px; }
.prologue-enter { display: none; }
.prologue-skip {
  border: 1px solid rgba(196, 184, 214, .28); border-radius: 999px;
  background: rgba(24, 20, 40, .34); color: #c9c0da; font-size: 10px;
  letter-spacing: .12em; padding: 6px 13px; min-height: 30px;
  backdrop-filter: blur(6px);
}
.prologue-skip:hover, .prologue-skip:focus-visible {
  color: #f4ecff; border-color: rgba(244, 236, 255, .6); background: rgba(40, 34, 62, .55); outline: 0;
}

.prologue-scroll {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); z-index: 11;
  display: flex; align-items: center; gap: 8px;
  color: #7d6753; font-size: 9.5px; letter-spacing: .18em;
  opacity: calc(1 - var(--prologue-progress, 0) * 2.4);
  transition: opacity .3s; pointer-events: none; white-space: nowrap;
}
.prologue-scroll span:first-child { font-size: 16px; animation: scrollNudge 2s ease-in-out infinite; }

/* 顶栏：大厅与房间的上下文 */
.exp-context { display: flex; align-items: baseline; gap: 10px; flex: 1; justify-content: center; pointer-events: none !important; }
.context-kicker { font: 9px var(--mono); letter-spacing: .2em; opacity: .55; }
.context-name { font-family: var(--serif); font-size: 15px; letter-spacing: .06em; color: var(--exp-ink); }
.exp-header.is-prologue .exp-context { display: none; }

.about-toggle, .work-index-toggle, .settings-toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px;
  padding: 8px 12px; border: 1px solid var(--exp-line); border-radius: 999px;
  background: var(--exp-surface); color: var(--exp-ink);
  font-size: 10.5px; letter-spacing: .04em; backdrop-filter: blur(9px);
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
}
.about-toggle:hover, .work-index-toggle:hover, .settings-toggle:hover,
.about-toggle:focus-visible, .work-index-toggle:focus-visible, .settings-toggle:focus-visible {
  transform: translateY(-2px); border-color: var(--exp-accent); outline: none;
}
.about-toggle > span:first-child { font-size: 13px; line-height: 1; }
.about-toggle span:last-child { white-space: nowrap; }

.hall-back {
  position: fixed; z-index: 36; top: 116px; left: 3.4vw;
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px;
  padding: 9px 15px; border: 1px solid rgba(242, 232, 216, .22);
  border-radius: 999px; background: rgba(20, 20, 36, .62);
  color: #F2E8D8; font-size: 11px; letter-spacing: .08em;
  backdrop-filter: blur(10px);
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .25s, background .25s;
}
.hall-back:hover, .hall-back:focus-visible {
  transform: translateX(-2px); border-color: #B99A63; background: rgba(28,28,48,.8); outline: none;
}
.hall-back[hidden] { display: none !important; }

/* 大厅 */
.hall-ui { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
.hall-heading {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%);
  width: min(660px, 88vw); text-align: center; color: #F2E8D8;
  text-shadow: 0 2px 24px rgba(5, 5, 14, .6);
}
.hall-heading .micro-label { color: #C9B48D; letter-spacing: .28em; }
.hall-heading h2 {
  margin: .25em 0 .2em; font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3vw, 40px); line-height: 1.15; letter-spacing: .04em;
}
.hall-lead { font-size: clamp(12px, 1.25vw, 14px); line-height: 1.85; color: rgba(242, 232, 216, .72); }

.hall-note {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(178px + env(safe-area-inset-bottom, 0px));
  font: 9.5px var(--mono); letter-spacing: .12em;
  color: rgba(242, 232, 216, .48); white-space: nowrap;
}
.part-cards {
  position: fixed; z-index: 13; left: 50%; transform: translateX(-50%);
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(1180px, 92vw); display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  pointer-events: auto;
}
.part-card {
  position: relative; display: grid; gap: 5px; text-align: left;
  padding: 15px 17px 14px; border-radius: 14px;
  border: 1px solid rgba(242, 232, 216, .17);
  background: linear-gradient(180deg, rgba(30, 30, 50, .8), rgba(16, 17, 30, .88));
  color: #F2E8D8; backdrop-filter: blur(14px);
  transition: transform .22s cubic-bezier(.22,1,.36,1), border-color .22s, background .22s, box-shadow .22s;
  overflow: hidden;
}
.part-card::before {
  content: ''; position: absolute; left: 0; top: 14%; bottom: 14%;
  width: 3px; background: var(--part-accent, #B99A63); opacity: .85; border-radius: 0 3px 3px 0;
}
.part-card:hover, .part-card:focus-visible {
  transform: translateY(-4px); border-color: var(--part-accent, #B99A63);
  background: linear-gradient(180deg, rgba(38, 38, 60, .9), rgba(20, 21, 36, .94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3); outline: none;
}
.part-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.part-card__number { font: 9.5px var(--mono); letter-spacing: .2em; color: var(--part-accent, #B99A63); text-transform: uppercase; }
.part-card__enter { font: 9.5px var(--mono); letter-spacing: .1em; color: rgba(242, 232, 216, .55); }
.part-card__name { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 23px); font-weight: 400; letter-spacing: .03em; }
.part-card__room { font-size: 10.5px; letter-spacing: .1em; color: rgba(242, 232, 216, .58); }
.part-card__short { font-size: 11.5px; line-height: 1.65; color: rgba(242, 232, 216, .74); }
.part-card__count { margin-top: 2px; font: 9px var(--mono); letter-spacing: .12em; color: rgba(242, 232, 216, .42); }

/* 房间 */
.room-ui { position: fixed; inset: 0; z-index: 12; pointer-events: none; }
.room-heading {
  position: fixed; top: 176px; left: 3.6vw; width: min(210px, 18vw); text-align: left;
  color: #F2E8D8; text-shadow: 0 2px 20px rgba(5, 5, 14, .62);
}
.room-heading .micro-label { color: #C9B48D; letter-spacing: .22em; }
.room-heading h2 {
  margin: .28em 0 .24em; font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px); line-height: 1.18; letter-spacing: .035em;
}
.room-sub { max-width: 660px; font-size: 12px; line-height: 1.82; color: rgba(242, 232, 216, .8); }

.room-hint {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  font: 9px var(--mono); letter-spacing: .1em;
  color: rgba(242, 232, 216, .42); white-space: nowrap;
}
.work-strip {
  position: fixed; z-index: 13; left: 50%; transform: translateX(-50%);
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: min(1180px, 92vw); display: flex; gap: 9px; pointer-events: auto;
}
.room-work {
  flex: 1 1 0; min-width: 0; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px;
  padding: 12px 14px; text-align: left;
  border: 1px solid rgba(242, 232, 216, .16); border-radius: 12px;
  background: linear-gradient(180deg, rgba(25, 26, 42, .84), rgba(14, 15, 27, .9));
  color: #F2E8D8; backdrop-filter: blur(12px);
  transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s, background .2s;
}
.room-work::before { content: ''; width: 3px; height: 26px; border-radius: 2px; background: var(--work-accent, #B99A63); opacity: .8; }
.room-work__index { display: none; }
.room-work__copy { display: grid; gap: 3px; min-width: 0; }
.room-work__title { font-family: var(--serif); font-size: 14px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-work__kind { font-size: 9.5px; letter-spacing: .04em; color: rgba(242, 232, 216, .5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-work__meta { font: 9px var(--mono); letter-spacing: .08em; color: rgba(242, 232, 216, .46); white-space: nowrap; }
.room-work:hover, .room-work:focus-visible {
  transform: translateY(-3px); border-color: var(--work-accent, #B99A63);
  background: linear-gradient(180deg, rgba(34, 35, 54, .92), rgba(19, 20, 34, .94)); outline: none;
}
.room-work[hidden] { display: none !important; }
.room-work.is-selected { border-color: var(--work-accent); background: #25263c; }

/* 场景遮罩：过渡时遮住切换，不出现黑屏闪烁 */
.scene-veil {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(25, 27, 48, .94) 0%, rgba(12, 13, 24, .985) 62%, #08080F 100%);
  transition: opacity .32s cubic-bezier(.22, 1, .36, 1);
}
#experience.veil-on .scene-veil { opacity: 1; }
#experience.is-busy .part-card, #experience.is-busy .room-work { pointer-events: none; }
#experience.is-busy .hall-back { pointer-events: auto; }

/* 关于作者 */
.about-dialog {
  width: min(980px, 92vw); max-height: 88svh; overflow: auto;
  padding: 0; border: 1px solid rgba(184, 130, 47, .35); border-radius: 20px;
  background: #F7EDDC; color: var(--tea-ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
  font-family: var(--sans);
}
.about-dialog::backdrop { background: rgba(6, 6, 14, .7); backdrop-filter: blur(10px); }
.about-dialog[open] { animation: dialogIn .28s ease; }
.about-dialog__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px clamp(20px, 4vw, 40px) 8px; }
.about-dialog__bar h2 { margin-top: 5px; font: 400 clamp(24px, 3vw, 34px)/1.2 var(--serif); }
.about-dialog__lead { padding: 0 clamp(20px, 4vw, 40px) 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.8; }
.about-stars { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: rgba(184, 130, 47, .24); border-top: 1px solid rgba(184, 130, 47, .24); border-bottom: 1px solid rgba(184, 130, 47, .24); }
.about-star { padding: 20px clamp(18px, 3vw, 30px); background: #FBF3E4; }
.about-star i { display: block; width: 8px; height: 8px; margin-bottom: 14px; background: var(--sp-accent, #B99A63); border-radius: 50%; box-shadow: 0 0 18px var(--sp-accent, #B99A63); }
.about-star h3 { margin-bottom: .5em; font: 400 18px/1.4 var(--serif); }
.about-star p { color: var(--ink-soft); font-size: 12.5px; line-height: 1.85; }
.about-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px clamp(20px, 4vw, 40px) 26px; }
.about-sign { font-family: var(--kai); font-size: 12px; letter-spacing: .14em; color: var(--tea-gold); }
.about-mail { color: var(--tea-ink); font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(184, 130, 47, .5); }
.about-mail:hover { color: var(--tea-gold); }
.about-dialog .viewer-close { background: rgba(58, 42, 29, .08); border-color: rgba(58, 42, 29, .3); color: var(--tea-ink); }
.about-dialog .viewer-close:hover, .about-dialog .viewer-close:focus-visible { background: var(--tea-ink); color: #fff6e8; }

.sf-group-title { margin: 1.5em 0 .5em; font-family: var(--serif); font-size: 20px; font-weight: 500; color: #e8dcc4; }

/* 房间/大厅在窄屏 */
@media (max-width: 720px) {
  .pane--tea { min-height: 88vh; }
  .pane--corridor { min-height: 135vh; }

  .prologue-scroll { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 8.5px; letter-spacing: .12em; }
  .prologue-skip { font-size: 10px; min-height: 40px; }

  .exp-header { height: 76px; }
  .exp-context { display: none !important; }
  .header-tools { gap: 5px; }
  .about-toggle, .work-index-toggle, .settings-toggle { min-height: 44px; padding: 8px 9px; font-size: 10px; }
  .about-toggle span:last-child { display: none; }
  .about-toggle { min-width: 44px; justify-content: center; }
  .about-toggle > span:first-child { font-size: 14px; }

  .hall-back { top: 84px; left: 5vw; min-height: 44px; padding: 9px 14px; font-size: 10px; }

  .hall-heading { top: 88px; width: 90vw; }
  .hall-heading h2 { font-size: 30px; }
  .hall-lead { font-size: 11px; line-height: 1.75; }
  .hall-note { display: none; }
  .part-cards {
    width: 92vw; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: 1fr; gap: 7px;
  }
  .part-card { padding: 10px 14px 10px 17px; gap: 3px; border-radius: 12px; }
  .part-card__name { font-size: 17px; }
  .part-card__room { display: none; }
  .part-card__short { font-size: 10.5px; line-height: 1.5; }
  .part-card__count { position: absolute; right: 14px; bottom: 11px; margin: 0; }
  .part-card__enter { margin-right: 62px; }

  .room-heading { top: 134px; left: 5vw; right: 5vw; width: auto; transform: none; text-align: left; }
  .room-heading h2 { font-size: 27px; }
  .room-sub { font-size: 11px; line-height: 1.7; }
  .room-hint { display: block; bottom: calc(196px + env(safe-area-inset-bottom, 0px)); width: 90vw; white-space: normal; text-align: center; line-height: 1.6; font-size: 10px; }
  .work-strip {
    width: 94vw; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: 1fr; gap: 6px; padding-bottom: 2px;
  }
  .work-strip::-webkit-scrollbar { display: none; }
  .room-work { min-height: 48px; padding: 9px 11px; gap: 8px; }
  .room-work__title { font-size: 12.5px; }
  .room-work__kind { font-size: 9px; }
  .room-work__meta { font-size: 8px; }
  .room-work__index { display: block; font: 10px var(--mono); color: #c9b48d; }
  .room-work::before { display: none; }
  .reader__tools { display: grid; grid-template-columns: minmax(56px, 1fr) repeat(3, 44px); gap: 6px; overflow: visible; }
  .reader__tools .reader__pdf { display: flex; grid-column: 1 / 3; white-space: nowrap; min-height: 40px; justify-content: center; }
  .reader__tools button { min-width: 44px; min-height: 44px; }
  .reader__tools .reader__share { grid-column: 3 / 5; min-width: 96px; min-height: 40px; }

  .about-dialog { width: calc(100vw - 18px); max-height: calc(100svh - 20px); border-radius: 16px; }
  .about-stars { grid-template-columns: 1fr; }
  .about-dialog__bar { padding: 18px 18px 6px; }
  .about-dialog__lead { padding: 0 18px 16px; font-size: 12px; }
  .about-star { padding: 16px 18px; }
  .about-dialog__foot { padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .about-sign { font-size: 11px; }
  .about-mail { font-size: 12.5px; }
}

@media (max-width: 720px) and (max-height: 700px) {
  .hall-heading h2 { font-size: 26px; }
  .hall-lead { display: none; }
  .part-card__short { display: none; }
  .part-card { padding-block: 9px; }
  .room-heading { top: 130px; }
  .room-heading h2 { font-size: 23px; }
  .room-sub { display: none; }
  .room-hint { display: none; }
}

@media (min-width: 721px) and (max-aspect-ratio: 3 / 2) {
  .room-heading, .hall-lead { display: none; }
}
@media (min-width: 721px) and (max-height: 500px) {
  .hall-heading, .room-heading, .room-hint, .hall-note { display: none; }
  .part-cards { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .part-card { padding: 9px 13px; }
  .part-card__short { display: none; }
  .work-strip { bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .hall-back { top: 78px; }
}

@media (min-width: 721px) and (max-height: 760px) {
  .hall-heading { top: 96px; }
  .hall-heading h2 { font-size: 36px; }
  .hall-lead { display: none; }
  .hall-note { display: none; }
  .part-card { padding: 12px 15px; }
  .part-card__short { display: none; }
  .room-heading { top: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-veil { transition-duration: .1s; }
  .part-card, .room-work, .hall-back, .prologue-skip, .prologue-scroll { transition-duration: .01s !important; }
  .prologue-scroll span:first-child { animation: none; }
}

body.is-motion-reduced .scene-veil { transition-duration: .1s; }
body.is-motion-reduced .part-card,
body.is-motion-reduced .room-work,
body.is-motion-reduced .hall-back,
body.is-motion-reduced .prologue-skip,
body.is-motion-reduced .prologue-scroll { transition-duration: .01s !important; }
body.is-motion-reduced .prologue-scroll span:first-child { animation: none; }

/* 横屏手机：首屏让位给茶桌与星空，标题与按钮压成一行高度 */
@media (min-width: 640px) and (max-height: 540px) {
  .exp-header { height: 54px; padding: 0 18px; gap: 6px; }
  .brand-mark { font-size: 20px; }
  .brand-copy { gap: 2px; }
  .brand-copy b { font-size: 10px; letter-spacing: .1em; }
  .brand-copy small { display: none; }
  .exp-header .exp-nav { gap: 6px; }
  .exp-header .pill, .exp-header .exp-nav button { padding: 5px 10px; font-size: 10px; }

  .exp-hero { top: 54px; width: min(540px, 72vw); }
  .hero-eyebrow { display: none; }
  .exp-hero h1 { margin-top: 0; font-size: clamp(30px, 5.6vh, 40px); line-height: 1.1; }
  html[lang="en"] .exp-hero h1 { font-size: clamp(28px, 5.2vh, 36px); }
  .hero-spark { top: -.32em; font-size: .5em; }
  .hero-byline { margin-top: 4px; font-size: 10px; }
  .hero-description { display: none; }
  .hero-actions { margin-top: 8px; gap: 12px; }
  .explore-button { padding: 8px 14px 8px 16px; gap: 12px; font-size: 11px; letter-spacing: .1em; }
  .explore-button i { font-size: 14px; }
  .hero-index-button, .random-button { font-size: 10px; }
  .hero-tea-entries { display: none; }
  .prologue-skip { display: none; }
  .hero-footnote { display: none; }
  .prologue-scroll { display: none; }
}
