/* =============================================================================
   屿声 YUSHENG — 个人作品站
   1. 变量与基础   2. 通用组件   3. 顶栏   4. 首屏   5. 跑马灯
   6. 作品         7. 约稿       8. 日常   9. 关于   10. 联系与页脚
   11. 播放器      12. 灯箱       13. 动效与响应式
   ========================================================================== */

/* ---------------------------------------------------------------- 1. 基础 */
:root {
  --bg: #08080b;
  --bg-soft: #0b0b10;
  --panel: #101016;
  --cream: #f2ece2;
  --text: #e6e1d8;
  --muted: #a9a5b2;
  --muted-2: #82808e;
  --line: rgba(242, 236, 226, 0.11);
  --line-2: rgba(242, 236, 226, 0.06);
  --accent: #ff8552;
  --accent-2: #8ad7c4;

  /* 语义色：浅色主题会在这里整体换掉 */
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --scrim: rgba(8, 8, 11, 0.78);
  --scrim-strong: rgba(8, 8, 11, 0.96);
  --glass: rgba(12, 12, 17, 0.78);
  --text-2: #b7b2bd;
  --img-bg: #121218;
  --btn-fg: #0b0b0f;
  --shadow-color: rgba(0, 0, 0, 0.9);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "PingFang SC",
    "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
  --header-h: 78px;
  --player-h: 78px;
}

/* 浅色主题：后台「风格」里切换，html[data-theme="light"] */
[data-theme="light"] {
  --bg: #f7f2e8;
  --bg-soft: #f1ead9;
  --panel: #fffaf2;
  --panel-2: #f0e8da;
  --cream: #17150f;
  --text: #2b2822;
  --muted: #635d52;
  --muted-2: #8a8275;
  --line: rgba(23, 21, 15, 0.15);
  --line-2: rgba(23, 21, 15, 0.08);
  --surface: rgba(23, 21, 15, 0.035);
  --surface-2: rgba(23, 21, 15, 0.06);
  --scrim: rgba(247, 242, 232, 0.84);
  --scrim-strong: rgba(247, 242, 232, 0.97);
  --glass: rgba(255, 250, 242, 0.82);
  --text-2: #4a453c;
  --img-bg: #e9e1d2;
  --btn-fg: #f7f2e8;
  --shadow-color: rgba(70, 52, 28, 0.18);
}

/* 标题字体：衬线 / 无衬线（后台可切换） */
[data-heading="sans"] {
  --serif: var(--sans);
}

* { box-sizing: border-box; }

/* hidden 必须能盖过 .btn / .mobile-menu 这类带 display 的类 */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: var(--player-h);
}

body.is-locked,
body.is-menu-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; }

::selection { background: var(--accent); color: #100d0a; }

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 400;
  padding: 10px 18px;
  background: var(--cream);
  color: #111;
  border-radius: 4px;
  font-size: 13px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ 2. 通用组件 */
.container {
  width: min(1180px, 100% - 96px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 124px 0;
  scroll-margin-top: var(--header-h);
}
.section + .section { border-top: 1px solid var(--line-2); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.24;
  letter-spacing: 0.02em;
  margin-top: 18px;
  color: var(--cream);
  font-feature-settings: "palt" 1;
}
.section__note {
  font-size: 12.5px;
  line-height: 2.1;
  color: var(--muted-2);
  text-align: right;
  letter-spacing: 0.02em;
  padding-bottom: 6px;
}
.section__lead {
  font-size: 15px;
  line-height: 2.05;
  color: var(--muted);
  max-width: 42ch;
  margin-top: 26px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 133, 82, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--cream); color: var(--btn-fg); }
.btn--primary:hover { background: var(--accent); color: #100e0b; transform: translateY(-2px); }
.btn--line { border-color: var(--line); color: var(--text); }
.btn--line:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost {
  height: 40px;
  padding: 0 20px;
  border-color: var(--line);
  font-size: 13px;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  transition: color 0.3s, background 0.3s;
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { color: var(--cream); background: var(--surface-2); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------------------- 3. 顶栏 */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--scrim);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-2);
}
.header__inner {
  width: min(1320px, 100% - 64px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  transition: transform 0.8s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(90deg); }
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cream);
}
.brand__text i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
  padding: 6px 0;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover,
.nav a.is-active { color: var(--cream); }
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__music span { letter-spacing: 0.1em; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 50%;
  width: 15px;
  height: 1px;
  background: var(--cream);
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 22px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 19px; transform: translateX(-50%) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 19px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--scrim-strong);
  backdrop-filter: blur(20px);
  padding: calc(var(--header-h) + 32px) 32px calc(var(--player-h) + 26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--serif);
  font-size: 30px;
  color: var(--cream);
}
.mobile-menu nav a em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.2em;
}
.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------- 4. 首屏 */
.hero {
  position: relative;
  min-height: calc(100svh - var(--player-h));
  padding: calc(var(--header-h) + 64px) 0 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow--1 {
  width: 620px;
  height: 620px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 133, 82, 0.32), transparent 68%);
}
.glow--2 {
  width: 520px;
  height: 520px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(138, 215, 196, 0.18), transparent 68%);
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 12.5% 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
  opacity: 0.6;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
  position: relative;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow { margin-bottom: 30px; }

.hero__title { line-height: 0.94; }
.hero__title-cn {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.2rem, 9.6vw, 8.6rem);
  letter-spacing: 0.06em;
  color: var(--cream);
  font-feature-settings: "palt" 1;
}
/* 名字比较长时缩小一点，避免撑破首屏 */
.brand-long .hero__title-cn { font-size: clamp(2.6rem, 6.2vw, 5.4rem); letter-spacing: 0.02em; }
.hero__title-en {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.62em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.hero__meta {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.hero__meta i { font-style: normal; color: var(--accent); margin: 0 10px; }
.hero__lead {
  margin-top: 26px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 38px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.hero__status b { color: var(--accent); font-weight: 600; }
.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent-2);
  opacity: 0;
  animation: pulse 2.6s ease-out infinite;
}

/* 首屏图片堆叠 */
.hero__visual {
  position: relative;
  height: clamp(420px, 46vw, 580px);
  perspective: 1000px;
}
.stack { position: absolute; inset: 0; }
.stack__card {
  position: absolute;
  margin: 0;
  padding: 9px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px var(--shadow-color);
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--rot, 0deg));
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.stack__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.stack__card figcaption {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -26px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.stack__card--1 {
  --rot: -5deg;
  width: 62%;
  left: 2%;
  top: 8%;
  z-index: 3;
}
.stack__card--2 {
  --rot: 6deg;
  width: 45%;
  right: 1%;
  top: 0;
  z-index: 2;
}
.stack__card--3 {
  --rot: 10deg;
  width: 40%;
  right: 6%;
  bottom: 2%;
  z-index: 1;
}

.now-chip {
  position: absolute;
  left: -18px;
  bottom: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 16px 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -18px var(--shadow-color);
  text-align: left;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.now-chip:hover { border-color: rgba(255, 133, 82, 0.5); transform: translateY(-2px); }
.now-chip__bars { display: flex; align-items: flex-end; gap: 2.5px; height: 16px; }
.now-chip__bars i {
  display: block;
  width: 2px;
  height: 5px;
  background: var(--accent);
  border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
  animation-play-state: paused;
}
.now-chip.is-playing .now-chip__bars i { animation-play-state: running; }
.now-chip__bars i:nth-child(2) { animation-delay: 0.18s; }
.now-chip__bars i:nth-child(3) { animation-delay: 0.36s; }
.now-chip__bars i:nth-child(4) { animation-delay: 0.54s; }
.now-chip__text { display: flex; flex-direction: column; line-height: 1.35; }
.now-chip__text b { font-size: 12.5px; color: var(--cream); font-weight: 500; letter-spacing: 0.06em; }
.now-chip__text em { font-style: normal; font-size: 9.5px; color: var(--muted-2); letter-spacing: 0.1em; }
.now-chip__play { width: 15px; height: 15px; color: var(--accent); margin-left: 4px; }

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i {
  display: block;
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: cue 2.4s ease-in-out infinite;
}

/* -------------------------------------------------------------- 5. 跑马灯 */
.marquee {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  padding: 20px 0;
  background: var(--surface);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.34em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee b { color: var(--accent); font-size: 9px; }

/* ---------------------------------------------------------------- 6. 作品 */
.works__grid {
  column-count: 3;
  column-gap: 30px;
}
.work {
  position: relative;
  break-inside: avoid;
  margin-bottom: 44px;
  display: block;
}
.work[hidden] { display: none; }
.work.is-fresh { animation: cardIn 0.55s var(--ease) both; }

.work__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--ratio, 4 / 5);
  background: var(--img-bg);
  border: 1px solid var(--line-2);
}
.work__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.96);
}
.work:hover .work__media img { transform: scale(1.045); filter: saturate(1.06); }
.work__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 11, 0.5), transparent 42%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.work:hover .work__media::after { opacity: 1; }

.work__peek {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -40%);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.work__peek i { font-style: normal; color: var(--accent); }
.work:hover .work__peek { opacity: 1; transform: translate(-50%, -50%); }

.work__cap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px 0;
}
.work__cap-main h3 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: color 0.3s;
}
.work:hover .work__cap-main h3 { color: var(--accent); }
.work__cap-main p {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 7px;
}
.work__cap-main i { font-style: normal; opacity: 0.5; }
.work__cat { color: var(--muted); }
.work__idx {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.2;
  padding-top: 2px;
  transition: color 0.3s, transform 0.4s var(--ease);
}
.work:hover .work__idx { color: var(--accent); transform: translate(2px, -2px); }
.work__open {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 0;
}
.work__open:focus-visible { outline-offset: 4px; }

.works__empty {
  padding: 60px 0;
  color: var(--muted-2);
  font-size: 14px;
  text-align: center;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 46px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.chip:hover { border-color: rgba(255, 133, 82, 0.45); color: var(--cream); }
.chip.is-active { background: var(--cream); border-color: var(--cream); color: var(--btn-fg); }
.chip.is-active em { color: var(--btn-fg); opacity: 0.55; }

/* ---------------------------------------------------------------- 7. 约稿 */
.commission { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.commission__inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 90px;
  align-items: start;
}
.commission__intro { position: sticky; top: calc(var(--header-h) + 40px); }

.slots {
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 22px;
}
.slots__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}
.slots__row:last-child { border-bottom: 0; }
.slots__k { font-size: 12px; color: var(--muted-2); letter-spacing: 0.12em; }
.slots__v { font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }
.slots__v b { color: var(--cream); font-weight: 500; }

.notice { margin-top: 30px; padding-left: 18px; border-left: 1px solid rgba(255, 133, 82, 0.45); }
.notice p { font-size: 12.5px; line-height: 1.95; color: var(--muted-2); }
.notice p + p { margin-top: 8px; }
.notice b { color: var(--accent); font-weight: 500; letter-spacing: 0.08em; }

.price__row {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr auto;
  align-items: center;
  gap: 24px;
  padding: 26px 12px;
  margin-inline: -12px;
  border-top: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.price__row:last-child { border-bottom: 1px solid var(--line); }
.price__row:hover { background: var(--surface); padding-inline: 20px; }
.price__name h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.08em;
}
.price__name span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.price__desc { font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.price__num { text-align: right; }
.price__num b { display: block; font-size: 17px; font-weight: 500; color: var(--text); letter-spacing: 0.02em; }
.price__num span {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  margin-top: 54px;
}
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps__n {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.steps h4 { font-size: 13.5px; font-weight: 500; color: var(--cream); letter-spacing: 0.08em; }
.steps p { margin-top: 6px; font-size: 12px; line-height: 1.85; color: var(--muted-2); }

.commission__cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.commission__cta p { font-size: 11.5px; color: var(--muted-2); }

/* ---------------------------------------------------------------- 8. 日常 */
.journal__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 76px;
  align-items: start;
}
.journal__head { position: sticky; top: calc(var(--header-h) + 40px); }
.journal__head .section__title { font-size: clamp(1.7rem, 2.8vw, 2.45rem); }
.journal__hint { margin-top: 24px; font-size: 12px; color: var(--muted-2); letter-spacing: 0.08em; }
.journal__list { border-top: 1px solid var(--line); }

.entry {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 26px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line-2);
  transition: padding 0.4s var(--ease);
}
.entry time {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  padding-top: 5px;
}
.entry__body h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: color 0.3s;
}
.entry:hover .entry__body h3 { color: var(--accent); }
.entry__body p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
  max-width: 54ch;
}
.entry__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  height: fit-content;
  white-space: nowrap;
}
.entry__idx { display: none; }
.journal__peek {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 220px;
  height: 165px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  box-shadow: 0 30px 60px -20px var(--shadow-color);
}
.journal__peek.is-on { opacity: 1; }

/* ---------------------------------------------------------------- 9. 关于 */
.about__inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 86px;
  align-items: center;
}
.about__card { position: relative; }
.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(158deg, #ff9a68 0%, #d4543a 38%, #4a2233 78%, #12101a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.about__portrait::before,
.about__portrait::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
.about__portrait::before { width: 72%; aspect-ratio: 1; }
.about__portrait::after { width: 40%; aspect-ratio: 1; }
.about__glyph {
  position: relative;
  z-index: 2;
  font-family: var(--serif);
  font-size: clamp(7rem, 15vw, 11rem);
  color: rgba(12, 10, 14, 0.82);
  line-height: 1;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.about__caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.78);
}
.about__stamp {
  position: absolute;
  right: -14px;
  top: 26px;
  z-index: 3;
  transform: rotate(6deg);
  border: 1px solid var(--line);
  background: rgba(8, 8, 11, 0.55);
  backdrop-filter: blur(6px);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.about__stamp span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}
.about__stamp b { font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--cream); }

.about__bio {
  margin-top: 24px;
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--text-2);
  max-width: 52ch;
}
.about__bio--dim { color: var(--muted-2); font-size: 13.5px; margin-top: 14px; }
.about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about__cols h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.stats dd {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--cream);
}
.stats dd i { font-style: normal; color: var(--accent); font-size: 0.6em; margin-left: 2px; }

/* ----------------------------------------------------------- 10. 联系页脚 */
.contact { padding-bottom: 0; overflow: hidden; }
.contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__inner .eyebrow { justify-content: center; }
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.28;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-top: 26px;
}
.contact__title em { font-style: normal; color: var(--accent); }
.contact__lead {
  margin-top: 26px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--muted-2);
  max-width: 52ch;
}
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.4s;
}
.contact__mail:hover { border-color: var(--accent); }
.contact__mail a {
  font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  letter-spacing: 0.02em;
  color: var(--cream);
  transition: color 0.3s;
}
.contact__mail:hover a { color: var(--accent); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn:hover { color: var(--cream); border-color: rgba(242, 236, 226, 0.3); }
.copy-btn.is-done { color: #10100c; background: var(--accent-2); border-color: var(--accent-2); }

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 52px;
}
.socials a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  transition: border-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.socials a:hover { border-color: rgba(255, 133, 82, 0.5); color: var(--cream); transform: translateY(-2px); }
.socials__label { letter-spacing: 0.08em; }
.socials__handle { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }
.socials i { font-style: normal; color: var(--accent); font-size: 11px; }

.footer { margin-top: 120px; border-top: 1px solid var(--line-2); padding: 38px 0 44px; }
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer__brand b { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.14em; color: var(--cream); }
.footer__brand span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em; color: var(--muted-2); }
.footer__brand em { font-style: normal; }

.contact__guestbook {
  margin-top: 34px;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.contact__guestbook a {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 133, 82, 0.5);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.contact__guestbook a:hover { color: var(--accent); }
.footer__note { font-size: 11px; line-height: 1.9; color: var(--muted-2); text-align: right; }
.footer__top { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--muted-2); transition: color 0.3s; }
.footer__top:hover { color: var(--accent); }

/* -------------------------------------------------------------- 11. 播放器 */
.player {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: var(--scrim);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--line);
  height: var(--player-h);
}
.player__bar {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 22px;
}
.player__now {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  max-width: 260px;
  text-align: left;
  border-radius: 6px;
}
.player__cover {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__cover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
}
.player.is-playing .player__cover { animation: spin 9s linear infinite; }
.player__meta { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.player__title {
  font-size: 12.5px;
  color: var(--cream);
  letter-spacing: 0.06em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__artist {
  font-style: normal;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; max-width: 640px; margin-inline: auto; }
.player__controls { display: flex; align-items: center; gap: 6px; }
.pbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.pbtn svg { width: 18px; height: 18px; }
.pbtn:hover { color: var(--cream); background: var(--surface-2); }
.pbtn.is-active { color: var(--accent); }
.pbtn--play {
  width: 38px;
  height: 38px;
  margin-inline: 6px;
  background: var(--cream);
  color: var(--btn-fg);
}
.pbtn--play:hover { background: var(--accent); color: #0b0b0f; transform: scale(1.04); }
.pbtn--play svg { width: 17px; height: 17px; }
.pbtn--play .i-pause { display: none; }
.pbtn--play.is-playing .i-play { display: none; }
.pbtn--play.is-playing .i-pause { display: block; }
.pbtn__badge {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  color: #110d0a;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 12px;
  text-align: center;
  display: none;
}
.pbtn.is-one .pbtn__badge { display: block; }
.pbtn.is-one { color: var(--accent); }
.pbtn--small { width: 28px; height: 28px; }
.pbtn--small svg { width: 16px; height: 16px; }

.player__progress { width: 100%; display: flex; align-items: center; gap: 11px; }
.player__time {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  min-width: 34px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.player__track {
  position: relative;
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
  touch-action: none;
}
.player__track::before {
  content: "";
  position: absolute;
  inset: -8px 0;
}
.player__buffer { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--line); border-radius: 999px; }
.player__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #ff9a68, var(--accent)); border-radius: 999px; }
.player__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s var(--ease);
  pointer-events: none;
}
.player__track:hover .player__thumb,
.player__track:focus-visible .player__thumb { transform: translate(-50%, -50%) scale(1); }
.player__track:hover .player__fill { box-shadow: 0 0 12px rgba(255, 133, 82, 0.55); }

.player__extras { display: flex; align-items: center; gap: 10px; min-width: 210px; justify-content: flex-end; }
.volume { display: flex; align-items: center; gap: 4px; }
.volume__range {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
  cursor: pointer;
}
.volume__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
}
.volume__range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
}
.pbtn.is-muted { color: var(--muted-2); }
.pbtn.is-muted .vol-wave { display: none; }
.pbtn:not(.is-muted) .vol-cross { display: none; }

.playlist {
  position: absolute;
  right: 22px;
  bottom: calc(100% + 12px);
  width: 372px;
  max-width: calc(100vw - 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 40px 80px -30px var(--shadow-color);
  padding: 16px 10px 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.playlist[hidden] { display: none; }
.playlist.is-open { opacity: 1; transform: none; }
.playlist__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px 12px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
.playlist__head em { font-style: normal; color: var(--accent); }
.playlist__note { font-size: 9px; letter-spacing: 0.06em; color: var(--muted-2); text-transform: none; }
.playlist__items { max-height: 284px; overflow-y: auto; padding-top: 6px; scrollbar-width: thin; }
.playlist__items::-webkit-scrollbar { width: 4px; }
.playlist__items::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.pl-item button {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 6px;
  text-align: left;
  transition: background 0.25s;
}
.pl-item button:hover { background: var(--surface-2); }
.pl-item__n { font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); display: flex; align-items: center; }
.pl-item__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.pl-item__t b { font-size: 12.5px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-item__t em { font-style: normal; font-size: 9.5px; color: var(--muted-2); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-item__d { font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); }
.pl-item.is-current button { background: rgba(255, 133, 82, 0.08); }
.pl-item.is-current .pl-item__t b { color: var(--accent); }
.pl-item.is-current .pl-item__n { color: var(--accent); }
.pl-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.pl-eq b { display: block; width: 2px; height: 3px; background: var(--accent); border-radius: 2px; }
.player.is-playing .pl-eq b { animation: eq 1s ease-in-out infinite; }
.player.is-playing .pl-eq b:nth-child(2) { animation-delay: 0.2s; }
.player.is-playing .pl-eq b:nth-child(3) { animation-delay: 0.4s; }

.player__toast {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translate(-50%, 8px);
  background: rgba(20, 20, 26, 0.95);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.player__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- 12. 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: var(--scrim-strong);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  width: min(1080px, 100%);
  max-height: 86vh;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -40px var(--shadow-color);
  opacity: 0;
  transform: translateY(16px) scale(0.995);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
}
.lightbox.is-open .lightbox__panel { opacity: 1; transform: none; }
.lightbox__media {
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 320px;
}
.lightbox__media img {
  width: 100%;
  height: 100%;
  max-height: 86vh;
  object-fit: contain;
}
.lightbox__media.is-swap { animation: lbIn 0.45s var(--ease); }
.lightbox__info {
  padding: 46px 40px 34px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.lightbox__cat {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: var(--accent);
  text-transform: uppercase;
}
.lightbox__info h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.lightbox__en { margin-top: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted-2); text-transform: uppercase; }
.lightbox__desc { margin-top: 26px; font-size: 13px; line-height: 2.05; color: var(--muted); }
.lightbox__tags { margin-top: 24px; }
.lightbox__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.lightbox__meta dt { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; color: var(--muted-2); text-transform: uppercase; }
.lightbox__meta dd { margin-top: 6px; font-size: 12px; color: var(--text-2); }
.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.lightbox__nav .btn { height: 38px; padding: 0 16px; font-size: 11.5px; }
.lightbox__nav span { font-family: var(--mono); font-size: 10px; color: var(--muted-2); letter-spacing: 0.1em; }
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--cream);
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close:hover { background: rgba(255, 133, 82, 0.9); color: #100d0a; transform: rotate(90deg); }
.lightbox__close svg { width: 16px; height: 16px; }

/* ------------------------------------------------------- 13. 动效与响应式 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes eq {
  0%, 100% { height: 4px; }
  50% { height: 15px; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cue {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .container { width: min(1180px, 100% - 64px); }
  .commission__inner { gap: 60px; }
  .journal__inner { gap: 56px; }
  .about__inner { gap: 60px; }
}

/* 笔记本屏幕比较矮时，首屏收紧一点，保证「向下」提示不被挡住 */
@media (min-width: 901px) and (max-height: 810px) {
  .hero { padding-top: calc(var(--header-h) + 26px); padding-bottom: 20px; }
  .hero__inner { gap: 46px; }
  .hero__eyebrow { margin-bottom: 20px; }
  .hero__title-cn { font-size: clamp(3.6rem, 8vw, 6.6rem); }
  .hero__title-en { margin-top: 14px; }
  .hero__meta { margin-top: 16px; }
  .hero__lead { margin-top: 18px; font-size: 14px; line-height: 2; }
  .hero__actions { margin-top: 26px; }
  .hero__status { margin-top: 24px; }
  .hero__foot { margin-top: 24px; }
  .hero__visual { height: clamp(330px, 37vw, 430px); }
  .now-chip { bottom: 2px; }
}

@media (max-width: 1024px) {
  .nav { gap: 26px; }
  .hero__inner { gap: 36px; }
  .hero__visual { height: clamp(380px, 44vw, 500px); }
  .works__grid { column-count: 2; column-gap: 24px; }
  .section { padding: 100px 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .header__cta { display: none; }
  .header__inner { width: calc(100% - 36px); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { max-width: none; }
  .hero__visual { height: clamp(360px, 78vw, 460px); width: min(100%, 480px); }
  .now-chip { left: 0; }
  .hero__foot { margin-top: 40px; }

  .commission__inner,
  .journal__inner,
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .commission__intro,
  .journal__head { position: static; }
  .about__card { max-width: 420px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section__note { text-align: left; }
  .footer__inner { flex-direction: column; gap: 22px; }
  .footer__note { text-align: left; }

  /* 播放器：平板简化 */
  .volume { display: none; }
  .player__now { min-width: 0; max-width: 190px; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 40px); }
  .section { padding: 80px 0; }
  .header__music span { display: none; }
  .header__music { padding: 0 10px; }

  .hero__title-cn { font-size: clamp(4rem, 20vw, 6rem); }
  .hero__lead { font-size: 14px; }
  .hero__actions .btn { flex: 1; }
  .stack__card figcaption { display: none; }
  .now-chip { padding: 9px 13px; }

  .works__grid { column-count: 1; }
  .work { margin-bottom: 34px; }

  .price__row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 20px 10px; margin-inline: -10px; }
  .price__desc { grid-column: 1 / -1; grid-row: 2; }
  .price__num { grid-row: 1; }

  .steps { grid-template-columns: 1fr; gap: 20px; }
  .entry { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; }
  .entry time { grid-column: 1; grid-row: 1; padding-top: 0; }
  .entry__tag { grid-column: 2; grid-row: 1; justify-self: end; }
  .entry__body { grid-column: 1 / -1; grid-row: 2; }

  .about__cols { grid-template-columns: 1fr; gap: 24px; }
  .stats dd { font-size: 1.9rem; }
  .contact__title br { display: none; }

  .lightbox { padding: 0; }
  .lightbox__panel {
    grid-template-columns: 1fr;
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
  }
  .lightbox__media { min-height: 0; height: 46vh; }
  .lightbox__media img { max-height: 46vh; }
  .lightbox__info { padding: 24px 20px 20px; }
  .lightbox__meta { margin-top: 20px; }
  .lightbox__nav { position: sticky; bottom: 0; background: var(--panel); padding-bottom: 6px; }

  /* 播放器：手机紧凑 */
  .player__bar { gap: 12px; padding: 0 14px; }
  .player__now { max-width: 46%; min-width: 0; }
  .player__cover { width: 38px; height: 38px; }
  .player__artist { display: none; }
  .player__center { flex: 1; gap: 0; max-width: none; }
  .player__controls { gap: 4px; }
  .player__controls .pbtn:not(.pbtn--play) { display: none; }
  .player__progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    gap: 0;
    z-index: 2;
  }
  .player__track { height: 2px; border-radius: 0; }
  .player__track::before { inset: 0 0 -12px; }
  .player__time { display: none; }
  .player__extras { min-width: 0; }
  .playlist { right: 8px; left: 8px; width: auto; bottom: calc(100% + 8px); }
  .player__toast { font-size: 10.5px; }
}

@media (max-width: 420px) {
  .brand__text i { display: none; }
  .hero__status { font-size: 11px; }
  .socials a { padding: 8px 14px; }
}

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