/* ============================================================
   base.css — 结构、排版、组件
   顺序：重置 → 排版 → 骨架 → 导航 → 全屏菜单 → 组件 → 栏目页 → 页脚
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

/* ------------------------------------------------------------
   全站禁止选中文本
   深色底上拖选会出现一块反色的高亮，破坏观感；这里整体关掉。
   输入类元素保留可选中，避免真的需要复制粘贴时无从下手。
   ------------------------------------------------------------ */
html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* 拖拽选中时浏览器仍会弹出选区高亮，这里也一并中和 */
::selection {
  background: transparent;
  color: inherit;
}

/* 图片与链接不再允许被拖出「幽灵图」 */
img,
a {
  -webkit-user-drag: none;
  user-drag: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-latin), var(--font-cn);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* 内容不足一屏时把页脚压到底，避免尾部悬着一块空背景 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 栏目页：body 是 flex 列，main 吃掉剩余高度，页脚自然贴底 */
body > main {
  flex: 1 0 auto;
}

/* 首页：body > .site > main + footer */
body > .site {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.site > main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.site > main > * {
  /* flex 下 auto 边距会让区块收缩成内容宽度，这里强制撑满再由 max-width 收口 */
  width: 100%;
}

/* 首页最后一段（深色索引）撑到底，页脚上方不会露出一条页面底色 */
.site > main > :last-child {
  flex: 1 0 auto;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

figure,
blockquote,
p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  transform: translateY(-200%);
  transition: transform var(--t1) var(--ease);
}

.skip:focus-visible {
  transform: none;
}

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

/* ---------------- 排版原子 ---------------- */

.eyebrow {
  margin: 0;
  font-family: var(--font-latin);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ember);
}

.cn {
  font-family: var(--font-cn);
}

/* ---------------- 骨架 ---------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

main {
  display: block;
}

/* ---------------- 顶部导航 ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 210;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease);
}

.nav.is-stuck {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.brand {
  /* 首页/栏目页是 <a>，菜单层是 <button>：统一成同一套外观 */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.17em;
  color: var(--ink);
  transition: color var(--t1) var(--ease);
}

/* 点署名回首页（封面），给出可点的反馈 */
.brand:hover {
  color: var(--ember);
}

.brand:hover .brand__dot {
  transform: scale(1.7);
}

.brand:active {
  transform: translateY(0.5px);
}

/* 署名后面的 (BACK)：小一号、灰一档，悬停与主标一起变 Ember */
.brand__back {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  transition: color var(--t1) var(--ease);
}

.brand:hover .brand__back {
  color: var(--ember);
}

.brand__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  transition: transform var(--t1) var(--ease);
}

.brand:hover .brand__dot {
  transform: scale(1.7);
}

/* 顶栏左侧标签：现在是版块名（左栏标题块已移除，版块名挪到这里） */
.nav__label {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-latin);
  font-size: var(--fs-nano);
  letter-spacing: 0.22em;
  color: var(--muted);
  user-select: none;
}

/* 章号：暗一档，只作序号 */
.nav__label b {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

/* 中文名：用中文字体，字距收紧，避免和英文混排时被拉开 */
.nav__label__cn {
  font-family: var(--font-cn);
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ---------------- 首页 · 入场封面（Stage） ---------------- */

/* 封面是不透明层，进入时它整体淡出，内容自然露出来 */
/* ---------------- 页面转场黑场 ----------------
   每个页面首帧就被这层盖住，随后淡出；离开时先淡入再跳转。
   本地 file:// 打开时浏览器的原生跨文档过渡不可用，靠这层实现顺滑交叉淡化 */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--night);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease);
}

.page-veil.is-leaving {
  opacity: 1;
}

body.is-landing {
  overflow: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 34px var(--pad) 30px;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
  /* 退场比原来更快：配合跨文档过渡，避免淡到空白后有肉眼可见的等待 */
  transition: opacity 320ms var(--ease), transform 520ms var(--ease), visibility 320ms;
}

.stage.is-out {
  opacity: 0;
  transform: scale(1.035);
  visibility: hidden;
  pointer-events: none;
}

/* Galaxy 星空背景（reactbits.dev/backgrounds/galaxy） */
.stage__galaxy {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* 没有 WebGL2 时的兜底底色，避免封面变成一片死黑 */
  background: radial-gradient(circle at 50% 42%, #14171e 0%, #08080a 68%);
}

.stage__galaxy .galaxy-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* 给文字留一口气：中心轻微压暗，上下边缘收黑 */
.stage__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
      64% 56% at 50% 46%,
      rgb(8 8 10 / 0.62) 0%,
      rgb(8 8 10 / 0.46) 46%,
      rgb(8 8 10 / 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgb(8 8 10 / 0.66) 0%,
      rgb(8 8 10 / 0.12) 20%,
      rgb(8 8 10 / 0.12) 76%,
      rgb(8 8 10 / 0.74) 100%
    );
}

.stage__top,
.stage__center,
.stage__bottom {
  position: relative;
  z-index: 2;
}

.stage__top,
.stage__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-latin);
  font-size: var(--fs-nano);
  letter-spacing: 0.22em;
  color: rgb(245 245 247 / 0.45);
}

.stage__bottom {
  align-items: flex-end;
  margin-top: auto;
}

.stage__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 4px 0;
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--night-ink);
  cursor: pointer;
  transition: color var(--t1) var(--ease);
}

.stage__brand .stage__wordmark {
  transition: color var(--t1) var(--ease);
}

.stage__back {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--night-muted);
  transition: color var(--t1) var(--ease), transform var(--t1) var(--ease);
}

.stage__brand:hover .stage__wordmark,
.stage__brand:hover .stage__back {
  color: var(--ember);
}

.stage__brand:hover .stage__back {
  transform: translateX(2px);
}

.stage__brand:focus-visible {
  outline: none;
}

.stage__brand:focus-visible .stage__wordmark {
  box-shadow: 0 0 0 2px rgb(210 105 74 / 0.5);
  border-radius: 2px;
}

.stage__brand .brand__dot {
  width: 7px;
  height: 7px;
  background: var(--ember);
}

.stage__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  text-align: center;
}

.stage__eyebrow {
  margin: 0 0 34px;
  font-family: var(--font-latin);
  font-size: var(--fs-nano);
  letter-spacing: 0.26em;
  color: rgb(245 245 247 / 0.5);
}

.stage__title {
  margin: 0;
  font-family: var(--font-latin);
  font-size: clamp(34px, min(6.6vw, 10.4vh), 98px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.042em;
  color: #f7f7f9;
}

.stage__title span {
  display: block;
}

.stage__title .serif {
  margin-top: 4px;
  font-size: 1.04em;
  color: var(--ember);
}

.stage__lede {
  max-width: 520px;
  margin: 36px 0 0;
  font-family: var(--font-cn);
  font-size: 14px;
  line-height: 1.85;
  color: rgb(245 245 247 / 0.6);
}

/* 矮屏（笔记本半屏 / 横屏手机）：整套收紧，保证一屏内完整呈现 */
@media (max-height: 720px) {
  .stage {
    padding: 22px var(--pad) 18px;
  }

  .stage__title {
    font-size: clamp(28px, min(5.8vw, 9vh), 72px);
  }

  .stage__eyebrow {
    margin-bottom: 22px;
  }

  .stage__lede {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.7;
  }
}

/* 进入后的页首细条（替代原来的大标题区） */
.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) var(--pad) 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-latin);
  font-size: var(--fs-nano);
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ---------------- 通用区块 ---------------- */

.section {
  padding: 80px var(--pad) 96px;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
}

.section--now {
  padding-top: 52px;
  padding-bottom: 72px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section__title {
  margin: 18px 0 0;
  font-family: var(--font-cn);
  font-size: var(--fs-h2);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.now__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 36px;
}

.now__label {
  margin: 0 0 20px;
  font-family: var(--font-cn);
  font-size: var(--fs-micro);
  color: var(--muted);
}

.now__track {
  display: flex;
  align-items: center;
  gap: 16px;
}

.album {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 3px;
  background: linear-gradient(135deg, #4f453c 0%, #17151a 100%);
}

.now__song {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 500;
}

.now__artist {
  margin: 6px 0 0;
  font-family: var(--font-cn);
  font-size: 12px;
  color: var(--muted);
}

.wave {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 32px;
  margin-top: 20px;
}

.wave i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: var(--muted-2);
  height: calc(var(--h) * 1%);
  transform-origin: bottom;
}

.wave i.is-played {
  background: var(--ember);
}

.wave i.is-live {
  animation: wave-pulse 1.6s var(--ease) infinite alternate;
}

@keyframes wave-pulse {
  from {
    transform: scaleY(0.55);
  }
  to {
    transform: scaleY(1);
  }
}

.now__progress {
  position: relative;
  height: 2px;
  margin-top: 16px;
  background: var(--line);
}

.now__progress b {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: var(--ember);
}

.now__time {
  margin: 12px 0 0;
  font-size: var(--fs-nano);
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.now__title {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 20px;
  font-weight: 500;
}

.now__meta {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.now__note {
  margin: 14px 0 0;
  font-family: var(--font-cn);
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--muted-2);
}

/* ---------------- 卡片 / 媒体 ---------------- */

.card {
  display: block;
}

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface);
  /* 深色底上给照片一道极细内描边，避免边缘糊进背景 */
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t3) var(--ease);
}

.card:hover .media img,
.media:hover img {
  transform: scale(1.04);
}

.media--4x5 {
  aspect-ratio: 4 / 5;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

.media--3x2 {
  aspect-ratio: 3 / 2;
}

/* 占位图（未接入真实照片前使用） */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: var(--fs-nano);
  letter-spacing: 0.16em;
  color: rgb(255 255 255 / 0.6);
  background: linear-gradient(140deg, #24211e, #0e0d0f);
}

.ph--cool {
  background: linear-gradient(140deg, #1d2124, #0c0e0f);
}

.ph--dark {
  background: linear-gradient(160deg, #38342f, #17161a);
}

.ph--warm {
  background: linear-gradient(140deg, #3a2f27, #1a1512);
}

/* 真实素材（免费图库）作为 <img> 插入：深色底上整体压一档，悬停还原 */
.ph-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.86) saturate(0.9);
  transition: filter var(--t2) var(--ease);
}

.card:hover .ph-img {
  filter: brightness(1) saturate(1);
}

.card__cat {
  margin: 20px 0 0;
  font-size: var(--fs-nano);
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.card__title {
  margin: 10px 0 0;
  font-family: var(--font-cn);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---------------- 深色 INDEX 段 ---------------- */

.index-sec {
  padding: 104px var(--pad) 88px;
  background: var(--night);
  color: var(--night-ink);
  border-top: 1px solid var(--line);
}

.index-sec__inner {
  max-width: var(--content);
  margin-inline: auto;
}

.index-sec .eyebrow {
  color: var(--night-muted);
}

.index-sec__title {
  margin: 20px 0 0;
  font-family: var(--font-cn);
  font-size: var(--fs-h2);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--night-ink);
}

.chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; /* 12 项按列排：01–04 / 05–08 / 09–12 */
  gap: 0 48px;
  margin-top: 56px;
  list-style: none;
  padding: 0;
}

.chapter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--night-line);
}

.chapter-row__num {
  width: 26px;
  flex: none;
  font-size: var(--fs-nano);
  letter-spacing: 0.16em;
  color: #5c5c63;
}

.chapter-row__en {
  flex: 1;
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.008em;
  transition: color var(--t1) var(--ease), transform var(--t2) var(--ease);
}

.chapter-row__cn {
  font-family: var(--font-cn);
  font-size: var(--fs-micro);
  color: var(--night-muted);
}

.chapter-row:hover .chapter-row__en {
  color: var(--ember);
  transform: translateX(4px);
}

/* ---------------- 页脚 ---------------- */

.foot {
  background: var(--night);
  color: var(--night-ink);
  padding: 0 var(--pad) 56px;
}

.foot__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--content);
  margin-inline: auto;
  padding-top: 40px;
  border-top: 1px solid var(--night-line);
}

.foot__tag {
  margin: 0;
  font-size: 12px;
  color: var(--night-muted);
}

.foot__note {
  font-family: var(--font-cn);
  font-size: var(--fs-nano);
  color: var(--night-muted);
}

/* ---------------- 栏目页 ---------------- */

.chapter-hero {
  padding: calc(var(--nav-h) + 120px) var(--pad) 64px;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.chapter-hero__num {
  font-size: var(--fs-micro);
  letter-spacing: 0.24em;
  color: var(--muted);
}

.chapter-hero__title {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  font-family: var(--font-latin);
  font-size: var(--fs-h1);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.chapter-hero__title .cn {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.chapter-hero__lede {
  max-width: 620px;
  margin: 32px 0 0;
  font-family: var(--font-cn);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink-2);
}

.chapter-body {
  padding: 64px var(--pad) 120px;
  max-width: calc(var(--content) + var(--pad) * 2);
  margin-inline: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px var(--gap);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}

.masonry {
  column-count: 3;
  column-gap: var(--gap);
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 40px;
}

.list {
  display: grid;
  gap: 0;
}

.list__row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.list__date {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.list__title {
  font-family: var(--font-cn);
  font-size: 20px;
  font-weight: 500;
}

.list__meta {
  font-family: var(--font-cn);
  font-size: 12px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.stat__num {
  margin: 0;
  font-family: var(--font-latin);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin: 12px 0 0;
  font-family: var(--font-cn);
  font-size: 12px;
  color: var(--muted);
}

/* 标签（口味、类型这类短词） */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-cn);
  font-size: 12px;
  color: var(--ink-2);
}

.tag--on {
  border-color: color-mix(in srgb, var(--ember) 55%, transparent);
  color: var(--ember);
}

.media--wide {
  aspect-ratio: 16 / 7;
}

.badge-mock {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-cn);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  vertical-align: middle;
}

/* 地图占位（TRAVEL / PLACES 用，后续接真实地图时替换此节点） */
.map {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.map__hint {
  font-family: var(--font-cn);
  font-size: var(--fs-small);
  color: var(--muted-2);
}

.map__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ember) 18%, transparent);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.map.is-in .map__dot {
  opacity: 1;
  transform: none;
}

.note {
  margin: 40px 0 0;
  padding: 20px 24px;
  border-left: 2px solid var(--ember);
  background: var(--surface);
  font-family: var(--font-cn);
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------- 沉浸式看图 ---------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgb(8 8 10 / 0.94);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t2) var(--ease), visibility var(--t2);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  color: #f5f5f7;
  font-size: var(--fs-nano);
  letter-spacing: 0.16em;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  padding: 0 var(--pad);
  overflow: hidden;
}

.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--r);
  transition: transform var(--t3) var(--ease);
}

.lightbox__cap {
  padding: 20px var(--pad) 28px;
  text-align: center;
  font-family: var(--font-cn);
  font-size: 12px;
  color: #9a9aa0;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #f5f5f7;
  background: rgb(255 255 255 / 0.08);
  transition: background-color var(--t1) var(--ease), transform var(--t1) var(--ease);
}

.lightbox__nav:hover {
  background: rgb(255 255 255 / 0.18);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1180px) {
  :root {
    --pad: 56px;
  }

  .grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 28px;
    --nav-h: 60px;
  }

  .now__grid,
  .grid,
  .chapters {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 16px;
    padding-bottom: 48px;
  }

  .stat__num {
    font-size: 34px;
  }

  .chapters {
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .masonry {
    column-count: 2;
  }

  .stage {
    padding: 26px var(--pad) 24px;
  }

  .stage__title {
    font-size: clamp(34px, 9vw, 56px);
  }

  .stage__lede {
    /* 34ch 而不是 30ch：简介变长后 30ch 会把最后「事物。」挤成孤零零一行，
       34ch 在 320 / 360 / 390 三种宽度下都稳定断成两行 */
    max-width: 34ch;
    font-size: 13px;
  }

  .stage__bottom {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .list__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .chapter-hero__title {
    gap: 14px;
  }

  .foot__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .stage__top > span:first-child {
    display: inline;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .stage__brand {
    margin-left: auto;
    gap: 6px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .masonry {
    column-count: 1;
  }

  .stat__num {
    font-size: 28px;
  }

  .stat__label {
    font-size: 11px;
  }
}

/* 小屏：顶栏的装饰性标签让位给 T1RYAN (BACK) */
@media (max-width: 480px) {
  .stage__top > span:first-child {
    display: inline;
  }

  .stage__back {
    letter-spacing: 0.12em;
  }
}

