/* PaddiPhotograph
   深色画廊：炭灰底色呼应雾与夜，金色只用于小标签与强调；中文标题用粗宋体。 */

:root {
  --bg: #0d0e0f;
  --bg-2: #17181a;
  --ink: #ece8e1;
  --ink-2: #aaa59c;
  --ink-3: #78736b;
  --line: rgba(236, 232, 225, .14);
  --accent: #c9a35c;
  --gold: #d6b26e;

  --serif: "PP Cormorant", "PP Serif SC", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --gap: clamp(6px, .7vw, 12px);
  --row: 290px;
  --nav-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1200px) { :root { --row: 240px; } }
@media (max-width: 900px)  { :root { --row: 180px; --nav-h: 64px; } }
@media (max-width: 560px)  { :root { --row: 120px; } }

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--bg);
  color: var(--ink);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  font: 400 15px/1.8 var(--sans);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--bg); }
html.menu-open, html.lb-open { overflow: hidden; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -64px; z-index: 100;
  padding: 8px 14px; background: var(--ink); color: var(--bg);
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* 金色小标签（英文大写 + 字距） */
.label {
  margin: 0;
  font: 600 11px/1.6 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
}
.label a { transition: color .3s; }
.label a:hover { color: var(--ink); }
.label .sep { margin: 0 .5em; opacity: .5; }
.label .num { margin-right: 1em; font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  height: 46px; padding: 0 22px;
  border: 1px solid rgba(236, 232, 225, .4);
  border-radius: 999px;
  font: 600 14px/1 var(--sans); letter-spacing: .14em;
  color: var(--ink);
  transition: background-color .3s, border-color .3s, color .3s;
}
.btn em { font: italic 400 1.05rem var(--serif); letter-spacing: .02em; opacity: .8; }
.btn:hover { border-color: var(--ink); background: rgba(236, 232, 225, .08); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #17140e; }
.btn--gold:hover { background: #e2c283; border-color: #e2c283; }

.js .fade-img { opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.js .fade-img.is-in { opacity: 1; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 6px 0;
  font: 400 1.25rem/1.2 var(--serif);
  letter-spacing: .12em;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow em { color: var(--ink-2); letter-spacing: .02em; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.link-arrow:hover { border-color: var(--accent); gap: .9em; }

/* ---------------------------------------------------------------- brand & nav */

.brand {
  display: inline-flex; align-items: center; gap: .48em;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-mark {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  transition: transform .45s var(--ease);
}
.brand:hover .brand-mark { transform: translateY(-1px) scale(1.04); }
.brand-text { display: inline-flex; align-items: baseline; }
.brand span { font-weight: 500; }
.brand-dot {
  font-style: normal; font-size: .65em; color: var(--accent);
  margin: 0 .28em; opacity: .85;
}
.brand em { font-weight: 400; color: var(--ink-2); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: transform .5s var(--ease), background-color .5s, -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity .5s;
}
.nav.is-solid {
  background: rgba(13, 14, 15, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
.nav.is-solid::after { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.has-cover .nav:not(.is-solid) { text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.has-cover .nav:not(.is-solid) .brand-mark { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .4)); }
.menu-open .nav { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .nav::after { opacity: 0; }

.nav-links { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav-links a {
  display: grid; justify-items: center;
  line-height: 1.3;
  color: var(--ink-2);
  transition: color .3s;
}
.nav-links .zh { font-family: var(--serif); font-size: 15px; letter-spacing: .18em; margin-right: -.18em; }
.nav-links .en { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-3); transition: color .3s; }
.has-cover .nav:not(.is-solid) .nav-links a,
.has-cover .nav:not(.is-solid) .nav-links .en,
.has-cover .nav:not(.is-solid) .brand em { color: rgba(236, 232, 225, .85); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a:hover .en { color: var(--ink-2); }
.nav-links a[aria-current] .en { color: var(--accent); }

.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; }
.menu-icon, .menu-icon::before {
  position: absolute; left: 11px; right: 11px; height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-icon { top: 18px; }
.menu-icon::before { content: ""; left: 0; right: 0; top: 7px; }
[aria-expanded="true"] .menu-icon { top: 22px; transform: rotate(45deg); }
[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .brand { font-size: 1.35rem; }
}

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; align-items: flex-start;
  padding: calc(var(--nav-h) + 20px + env(safe-area-inset-top)) var(--gutter) calc(40px + env(safe-area-inset-bottom));
  background: rgba(11, 12, 13, .97);
  opacity: 0;
  transition: opacity .45s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu nav { width: 100%; margin: auto 0; }
.menu ol { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.menu li a {
  display: grid; grid-template-columns: 2.4em auto 1fr auto; align-items: baseline; gap: .7em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(12px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.menu.is-open li a { transform: none; opacity: 1; }
.menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.menu.is-open li:nth-child(n+6) a { transition-delay: .2s; }
.menu .num { font: italic 1rem var(--serif); color: var(--accent); }
.menu .zh { font: 700 1.55rem/1.15 var(--serif); letter-spacing: .1em; }
.menu .en { font: italic 1.1rem var(--serif); color: var(--ink-2); }
.menu .count { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.menu a[aria-current] .zh, .menu-more a[aria-current] { color: var(--accent); }
.menu-more {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin: 0 0 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.menu-more a { font: 700 1.35rem var(--serif); letter-spacing: .12em; }
.menu-more em { color: var(--ink-2); font-weight: 400; letter-spacing: 0; margin-left: .2em; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg-2);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03) translateZ(0);
  -webkit-transform: scale(1.03) translateZ(0);
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  transition: opacity 1.8s var(--ease), transform 9s cubic-bezier(.25, .1, .25, 1);
}
.hero-img.is-active {
  opacity: 1;
  transform: scale(1) translateZ(0);
  -webkit-transform: scale(1) translateZ(0);
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 0% 80%, rgba(8, 9, 10, .5), rgba(8, 9, 10, 0) 70%),
    linear-gradient(to top, rgba(8, 9, 10, .85) 0%, rgba(8, 9, 10, .5) 28%, rgba(8, 9, 10, .12) 55%, rgba(8, 9, 10, 0) 70%),
    linear-gradient(to bottom, rgba(8, 9, 10, .6) 0%, rgba(8, 9, 10, .25) 12%, rgba(8, 9, 10, 0) 24%);
}
.hero-text {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: clamp(96px, 14vh, 150px);
  max-width: 64rem;
}
.hero-text .label { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.hero-title {
  margin: .4em 0 .3em;
  font: 700 clamp(2.5rem, 6.4vw, 5.8rem)/1.2 var(--serif);
  letter-spacing: .06em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(22px, 3vw, 36px) 0 0; }
.hero-en {
  max-width: 26em;
  margin: 0;
  font: italic 400 clamp(1.15rem, 1.9vw, 1.7rem)/1.4 var(--serif);
  color: rgba(236, 232, 225, .78);
}
.hero-meta {
  position: absolute;
  right: var(--gutter);
  bottom: calc(clamp(24px, 5vh, 52px) + env(safe-area-inset-bottom));
  text-align: right;
}
.hero-caption { display: inline-block; margin: 0; font: 400 1rem/1.4 var(--serif); color: rgba(236, 232, 225, .78); transition: opacity .6s, color .3s; }
.hero-caption:hover { color: var(--ink); }
.hero-caption .zh { letter-spacing: .14em; }
.hero-caption em { color: rgba(236, 232, 225, .6); }
.hero-dots { display: flex; justify-content: flex-end; gap: 14px; margin-top: 10px; }
.hero-dot {
  display: grid; gap: 8px;
  width: 44px; padding: 8px 0;
  text-align: left;
  font: 500 11px/1 var(--sans); letter-spacing: .12em;
  color: rgba(236, 232, 225, .45);
  transition: color .4s;
}
.hero-dot::after {
  content: ""; height: 1px;
  background: rgba(236, 232, 225, .25) linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 0 100%;
}
.hero-dot:hover, .hero-dot.is-active { color: var(--ink); }
.hero-dot.is-active::after { animation: hero-progress var(--hero-ms, 7000ms) linear forwards; }
@keyframes hero-progress { to { background-size: 100% 100%; } }

@media (max-width: 700px) {
  .hero-text { bottom: calc(132px + env(safe-area-inset-bottom)); }
  .btn { height: 42px; padding: 0 18px; font-size: 13px; }
  .hero-meta { left: var(--gutter); text-align: left; }
  .hero-dots { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- sections */

.section { padding-top: clamp(96px, 12vw, 176px); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 48px;
  padding: 0 var(--gutter);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-title {
  margin: .3em 0 0;
  font: 700 clamp(2.1rem, 4.6vw, 3.6rem)/1.15 var(--serif);
  letter-spacing: .1em;
}
.section-title--sm { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-head--sub { margin-top: clamp(64px, 8vw, 120px); }
.more-link { padding: clamp(32px, 4vw, 56px) var(--gutter) 0; margin: 0; text-align: center; }
.section-title em { margin-left: .55em; font-size: .52em; letter-spacing: .01em; color: var(--ink-2); }
.section-note { max-width: 26em; margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.section-note span { display: block; font: italic 15px/1.5 var(--serif); letter-spacing: .01em; }

/* 开篇引言与数字 */
.intro {
  padding: clamp(80px, 11vw, 160px) var(--gutter) 0;
  text-align: center;
}
.quote { margin: 1.4em auto 0; max-width: 46rem; }
.quote p {
  margin: 0;
  font: 400 clamp(1.4rem, 2.6vw, 2.2rem)/1.8 var(--serif);
  letter-spacing: .06em;
  color: var(--ink-2);
}
.quote .hl { font-style: normal; font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, rgba(214, 178, 110, .32) 62%, rgba(214, 178, 110, .32) 92%, transparent 92%); }
.quote .quote-en { margin-top: .9em; font: italic 400 clamp(1.05rem, 1.6vw, 1.35rem)/1.5 var(--serif); letter-spacing: .01em; color: var(--ink-3); }
.stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 64rem; margin: clamp(48px, 6vw, 88px) auto 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats > div { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(20px, 3vw, 34px) 8px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dd { margin: 0; white-space: nowrap; font: 600 clamp(1.8rem, 3.6vw, 3rem)/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .02em; }
.stats dt { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.stats dt span { display: block; font: italic 13px var(--serif); letter-spacing: .04em; }
.stats > div:last-child dd { font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(odd) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats > div:last-child { grid-column: 1 / -1; border-left: 0; }
}

/* 系列卡片：封面按原画幅排成两端对齐的行，不裁切 */
.rows--series { --row: 330px; margin: 0 var(--gutter); }
.scard {
  position: relative; display: block; overflow: hidden;
  flex-grow: calc(var(--ar) * 100);
  flex-basis: calc(var(--ar) * var(--row));
  aspect-ratio: var(--ar);
  background: var(--bg-2);
  isolation: isolate;
}
.rows.is-laid-out > .scard { flex: none; aspect-ratio: auto; }
.scard-media { position: absolute; inset: 0; background: var(--c, var(--bg-2)); }
.scard-video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.scard:hover .scard-video { transform: scale(1.035); }
.scard-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.scard:hover .scard-media img { transform: scale(1.035); }
.scard-shade {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(8, 9, 10, .82) 0%, rgba(8, 9, 10, .3) 32%, rgba(8, 9, 10, 0) 55%);
  transition: opacity .5s;
}
.scard-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: clamp(14px, 1.8vw, 26px);
  transition: transform .6s var(--ease);
}
.scard-title { margin: .3em 0 .15em; font: 700 clamp(1.3rem, 2vw, 2rem)/1.2 var(--serif); letter-spacing: .08em; }
.scard-sub { margin: 0; font-size: 13px; color: rgba(236, 232, 225, .8); letter-spacing: .05em; }
.scard-count { margin: .6em 0 0; font-size: 12px; letter-spacing: .12em; color: rgba(236, 232, 225, .6); }
@media (hover: hover) {
  .scard-sub, .scard-count { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s; }
  .scard:hover .scard-sub, .scard:hover .scard-count, .scard:focus-visible .scard-sub, .scard:focus-visible .scard-count { max-height: 4em; opacity: 1; }
  .scard:hover .scard-shade { opacity: 1.2; }
}
@media (max-width: 560px) {
  .rows--series { --row: 230px; }
  .scard-sub { display: none; }
  .scard .label { letter-spacing: .12em; font-size: 10px; }
  .scard-title { font-size: 1.25rem; }
}

/* 主题入口 */
.theme-links {
  list-style: none; margin: 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  column-gap: clamp(20px, 3vw, 48px);
}
.theme-links a {
  display: flex; align-items: baseline; gap: .6em;
  padding: 20px 4px;
  border-top: 1px solid var(--line);
  transition: color .3s, padding .4s var(--ease);
}
.theme-links .zh { font: 700 1.35rem var(--serif); letter-spacing: .12em; }
.theme-links em { font: italic 1rem var(--serif); color: var(--ink-3); }
.theme-links .count { margin-left: auto; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.theme-links a:hover { color: var(--gold); padding-left: 12px; }

/* 画廊：通栏大图与两端对齐的照片行交替出现 */
.gallery {
  display: flex; flex-direction: column;
  gap: var(--gap);
  padding: 0 var(--gutter);
}
/* 照片行：每张宽度按比例伸缩，同一行高度一致、不裁切 */
.rows { display: flex; flex-wrap: wrap; gap: var(--gap); }
.rows::after { content: ""; flex-grow: 1000000; }
.tile {
  position: relative; display: block;
  flex-grow: calc(var(--ar) * 100);
  flex-basis: calc(var(--ar) * var(--row));
  aspect-ratio: var(--ar);
  overflow: hidden;
  background: var(--c, var(--bg-2));
  cursor: zoom-in;
}
/* JS 计算好每张的精确尺寸后，关闭 flex 伸缩 */
.rows.is-laid-out::after { display: none; }
.rows.is-laid-out > * { flex: none; aspect-ratio: auto; }

/* 通栏大图：横幅铺满宽度（最高不超过一屏），竖幅与说明文字并排 */
.feature {
  width: min(100%, calc(84vh * var(--ar)));
  width: min(100%, calc(84svh * var(--ar)));
  margin: clamp(28px, 5vw, 88px) auto;
}
.feature:first-child { margin-top: 0; }
.feature:last-child { margin-bottom: 0; }
.feature .tile { width: 100%; flex: none; }
.feature .tile-cap { display: none; }
.feature-cap {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 4px 16px;
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 12px; letter-spacing: .08em;
}
.feature-cap .where { font: 400 1.15rem/1.4 var(--serif); letter-spacing: .12em; color: var(--ink); }
.feature-cap .where em { margin-left: .45em; letter-spacing: .01em; color: var(--ink-2); }
.feature-cap .exif { margin-left: auto; font-variant-numeric: tabular-nums; }

.feature.is-tall {
  width: auto;
  display: grid;
  grid-template-columns: auto minmax(12rem, 22rem);
  justify-content: center; align-items: end;
  column-gap: clamp(28px, 5vw, 88px);
}
.feature.is-tall .tile { width: auto; height: min(84vh, 1000px); height: min(84svh, 1000px); aspect-ratio: var(--ar); }
.feature.is-tall .feature-cap { display: grid; gap: 10px; margin: 0 0 6px; }
.feature.is-tall .where { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.3; }
.feature.is-tall .where em { display: block; margin: .2em 0 0; font-size: .6em; }
.feature.is-tall .exif { margin-left: 0; line-height: 1.7; }
@media (max-width: 760px) {
  .feature-cap .exif { margin-left: 0; flex-basis: 100%; }
  .feature.is-tall { grid-template-columns: 1fr; }
  .feature.is-tall .tile { width: 100%; height: auto; }
  .feature.is-tall .feature-cap { margin: 14px 0 0; }
}
/* 全景：贴边铺满整个屏幕宽度，完整呈现 */
.pano { margin: clamp(28px, 5vw, 88px) calc(-1 * var(--gutter)); }
.pano .tile { width: 100%; flex: none; }
.pano .tile-cap { display: none; }
.pano .feature-cap { padding: 0 var(--gutter); }
.gallery > .pano:first-child { margin-top: 0; }

/* 双联：两张竖幅并排等高，整体不超过一屏高 */
.pair {
  display: flex; gap: var(--gap); align-items: flex-start;
  width: min(100%, calc(84svh * var(--sum) + var(--gap)));
  margin: clamp(28px, 5vw, 88px) auto;
}
.pair figure { margin: 0; flex: var(--ar) 1 0; min-width: 0; }
.pair .tile { width: 100%; flex: none; }
.pair .tile-cap { display: none; }
.pair .feature-cap .exif { margin-left: 0; flex-basis: 100%; }

/* 偏置大图：横幅放大到约三分之二宽，另一侧留白写地点 */
.offset {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr);
  align-items: end; column-gap: clamp(24px, 4vw, 72px);
  margin: clamp(28px, 5vw, 88px) 0;
}
.offset .tile { width: min(100%, calc(80svh * var(--ar))); flex: none; }
.offset .tile-cap { display: none; }
.offset--r { grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); }
.offset--r .tile { order: 2; justify-self: end; }
.offset--r .offset-cap { text-align: right; justify-items: end; }
.offset-cap { display: grid; gap: 10px; margin: 0 0 6px; }
.offset-cap .where { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.3; }
.offset-cap .where em { display: block; margin: .2em 0 0; font-size: .6em; }
.offset-cap .exif { margin-left: 0; line-height: 1.7; }
@media (max-width: 760px) {
  .pair { flex-direction: column; width: 100%; }
  .pair figure { flex: none; width: 100%; }
  .offset, .offset--r { grid-template-columns: 1fr; }
  .offset .tile, .offset--r .tile { width: 100%; order: 0; }
  .offset-cap, .offset--r .offset-cap { margin: 14px 0 0; text-align: left; justify-items: start; }
}
.tile img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* 模糊占位图：照片加载前先显示 */
.tile::before, .scard-media::before, .about-photo .frame::before {
  content: "";
  position: absolute; inset: -16px;
  background: var(--lqip) center / cover no-repeat;
  filter: blur(14px);
}
.tile.is-loaded::before, .scard-media.is-loaded::before, .about-photo .frame.is-loaded::before { display: none; }
.js .tile img { opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.js .tile img.is-in { opacity: 1; }
.tile:hover img { transform: scale(1.025); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 36px 14px 12px;
  font: 400 15px/1.3 var(--serif);
  letter-spacing: .08em;
  background: linear-gradient(transparent, rgba(0, 0, 0, .6));
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s, transform .5s var(--ease);
  pointer-events: none;
}
.tile-cap em { color: var(--ink-2); letter-spacing: .01em; }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
@media (hover: none) { .tile-cap { display: none; } }

/* 首页结尾 */
.outro {
  padding-left: var(--gutter); padding-right: var(--gutter);
  padding-bottom: clamp(40px, 6vw, 80px);
  max-width: calc(46rem + 2 * var(--gutter));
}
.outro-text {
  margin: 1.1em 0 .6em;
  font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.75 var(--serif);
  letter-spacing: .08em;
}
.outro-en { margin: 0 0 2em; font: italic clamp(1.1rem, 1.6vw, 1.35rem)/1.55 var(--serif); color: var(--ink-2); }

/* ---------------------------------------------------------------- series page */

.shero {
  position: relative; display: grid; align-items: end;
  height: 92vh; height: 92svh; min-height: 560px;
  overflow: hidden; background: var(--bg-2);
}
.shero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8, 9, 10, .9) 0%, rgba(8, 9, 10, .5) 30%, rgba(8, 9, 10, .1) 60%, rgba(8, 9, 10, 0) 75%),
    linear-gradient(to bottom, rgba(8, 9, 10, .55) 0%, rgba(8, 9, 10, 0) 22%);
}
.shero-text { position: relative; padding: 0 var(--gutter) clamp(56px, 9vh, 110px); max-width: 70rem; }
.shero-text .label { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.shero-title { margin: .25em 0 0; font: 700 clamp(3rem, 9vw, 7.5rem)/1.1 var(--serif); letter-spacing: .08em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.shero-en { margin: .2em 0 0; font: italic 400 clamp(1.3rem, 2.6vw, 2.3rem)/1.2 var(--serif); color: rgba(236, 232, 225, .8); }
.shero-sub { margin: 1em 0 0; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .1em; color: rgba(236, 232, 225, .85); }
.shero-sub em { margin-left: .6em; font: italic 1.1em var(--serif); letter-spacing: .01em; color: rgba(236, 232, 225, .6); }
.shero-meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 1.4em 0 0; font-size: 12px; letter-spacing: .16em; color: rgba(236, 232, 225, .65); }
.shero-meta span + span::before { content: "·"; margin: 0 .9em; opacity: .6; }
/* 竖幅封面：照片完整显示在右侧，文字在左 */
.shero--tall { height: auto; min-height: 100svh; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.shero--tall .shero-img { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: auto; height: 100svh; aspect-ratio: var(--ar); max-width: 60vw; object-fit: contain; }
.shero--tall .shero-shade { display: none; }
.shero--tall .shero-text { grid-column: 1; grid-row: 1; }
.shero--tall .scroll-cue { display: none; }
/* 全景封面：完整的长条，文字放在下方 */
.shero--pano { height: auto; min-height: 0; display: block; padding-top: var(--nav-h, 72px); background: var(--bg); }
.shero--pano .shero-img { position: relative; inset: auto; height: auto; aspect-ratio: var(--ar); object-fit: contain; }
.shero--pano .shero-shade, .shero--pano .scroll-cue { display: none; }
.shero--pano .shero-text { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(16px, 3vw, 32px); }
@media (max-width: 760px) {
  .shero--tall { grid-template-columns: 1fr; padding-top: var(--nav-h, 64px); }
  .shero--tall .shero-img { grid-column: 1; width: 100%; height: auto; max-width: none; }
  .shero--tall .shero-text { grid-row: 2; padding-top: 28px; }
}
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 110px);
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid rgba(236, 232, 225, .4); border-radius: 50%;
  transition: background-color .3s, color .3s, border-color .3s;
}
.scroll-cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.scroll-cue:hover { background: var(--gold); border-color: var(--gold); color: #17140e; }
@media (max-width: 700px) { .scroll-cue { display: none; } }

.sdesc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(32px, 4vw, 56px);
}
.sdesc p { margin: 0; }
.sdesc-zh { font: 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.9 var(--serif); letter-spacing: .06em; color: var(--ink); }
.sdesc-en { font: italic 400 clamp(1.1rem, 1.5vw, 1.3rem)/1.6 var(--serif); color: var(--ink-3); }
@media (max-width: 860px) { .sdesc { grid-template-columns: 1fr; } }
.works-anchor { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* 筛选条 */
.filters {
  position: sticky; top: 0; z-index: 20;
  margin: 0 0 clamp(18px, 2vw, 28px);
  padding: 12px var(--gutter);
  background: rgba(13, 14, 15, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, top .5s var(--ease);
}
.filters.is-stuck { border-color: var(--line); }
body:has(.nav:not(.is-hidden)) .filters.is-stuck { top: calc(var(--nav-h) + env(safe-area-inset-top)); }
.filters-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group + .chip-group { padding-left: 22px; border-left: 1px solid var(--line); }
.chip {
  display: inline-flex; align-items: baseline; gap: .45em;
  height: 34px; padding: 0 14px; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; letter-spacing: .1em; color: var(--ink-2);
  transition: color .25s, border-color .25s, background-color .25s;
}
.chip span { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.chip:hover { color: var(--ink); border-color: rgba(236, 232, 225, .4); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: #17140e; font-weight: 600; }
.chip.is-on span { color: rgba(23, 20, 14, .7); }
.select select {
  height: 34px; padding: 0 34px 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23aaa59c' stroke-width='1.5'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  color: var(--ink-2); font: 13px var(--sans); letter-spacing: .08em;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.select select:hover, .select select:focus { color: var(--ink); border-color: rgba(236, 232, 225, .4); }
.select option { background: var(--bg-2); color: var(--ink); }
.filters-count { margin: 0 0 0 auto; font-size: 12px; letter-spacing: .1em; color: var(--ink-3); }
@media (max-width: 760px) {
  .filters { position: relative; top: auto !important; }
  .filters-inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .filters-inner::-webkit-scrollbar { display: none; }
  .chip-group { flex-wrap: nowrap; }
  .chip, .select select { flex: none; white-space: nowrap; }
  .filters-count { display: none; }
}
.empty { padding: 60px var(--gutter); text-align: center; color: var(--ink-3); }

/* 全部作品页 */
.page-head { padding: calc(var(--nav-h) + clamp(48px, 8vw, 120px)) var(--gutter) clamp(28px, 4vw, 48px); }
.page-title { margin: .25em 0 .2em; font: 700 clamp(3rem, 8vw, 6.5rem)/1.1 var(--serif); letter-spacing: .1em; }
.page-sub { max-width: 40em; margin: 0; color: var(--ink-2); }
.page-sub span { display: block; margin-top: .4em; font: italic 1.15rem/1.5 var(--serif); color: var(--ink-3); }
.load-more { margin: 0; padding: clamp(32px, 4vw, 56px) var(--gutter) 0; text-align: center; color: var(--ink-3); }

.pager {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(80px, 10vw, 150px);
  border-top: 1px solid var(--line);
}
.pager a {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 4px;
  padding: clamp(36px, 5vw, 80px) var(--gutter);
  transition: background-color .4s;
}
.pager a::before {
  content: ""; position: absolute; inset: -20px; z-index: -1;
  background: var(--lqip) center / cover no-repeat; filter: blur(18px) brightness(.45);
  opacity: 0; transition: opacity .6s;
}
.pager a:hover::before { opacity: 1; }
.pager a + a { align-items: flex-end; text-align: right; border-left: 1px solid var(--line); }
.pager a:hover { background: var(--bg-2); }
.pager .label { margin-bottom: 10px; }
.pager .zh { font: 700 clamp(1.8rem, 4vw, 3rem)/1.2 var(--serif); letter-spacing: .1em; }
.pager .en { font: italic clamp(1rem, 1.6vw, 1.35rem) var(--serif); color: var(--ink-2); }
@media (max-width: 640px) {
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- about */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: start;
  gap: clamp(36px, 6vw, 110px);
  padding: calc(var(--nav-h) + clamp(32px, 6vw, 96px)) var(--gutter) 0;
}
.about-photo { margin: 0; position: sticky; top: calc(var(--nav-h) + 24px); }
.about-photo .frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c, var(--bg-2));
}
.about-photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { margin-top: 12px; font: 400 14px var(--serif); letter-spacing: .08em; color: var(--ink-3); }
.about-body { padding-top: clamp(0px, 4vw, 48px); }
.about-title { margin: .3em 0 .6em; font: 700 clamp(3.2rem, 8vw, 6.5rem)/1.05 var(--serif); letter-spacing: .1em; }
.about-title em { margin-left: .45em; font-size: .4em; letter-spacing: .01em; color: var(--ink-2); }
.about-body p { max-width: 34em; margin: 0 0 1.1em; color: var(--ink-2); font-size: 16px; }
.about-body .lead { font: 400 clamp(1.3rem, 2vw, 1.65rem)/1.75 var(--serif); letter-spacing: .08em; color: var(--ink); }
.about-body .en-p { font: italic 1.25rem/1.55 var(--serif); color: var(--ink-3); }
.facts {
  margin: clamp(32px, 4vw, 48px) 0 clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--line);
}
.facts > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 11px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { margin: 8px 0 0; font: 400 1.2rem/1.5 var(--serif); letter-spacing: .04em; }
.facts dd a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.facts dd a:hover { border-color: var(--accent); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; }
}

/* ---------------------------------------------------------------- 404 */

.lost { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; display: grid; align-items: end; }
.lost-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lost-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8, 9, 10, .85), rgba(8, 9, 10, .1) 60%),
    linear-gradient(to bottom, rgba(8, 9, 10, .55), rgba(8, 9, 10, 0) 22%);
}
.lost-text { position: relative; padding: 0 var(--gutter) clamp(56px, 10vh, 110px); }
.lost-title { margin: .3em 0 .25em; font: 700 clamp(2.8rem, 7vw, 6rem)/1.15 var(--serif); letter-spacing: .1em; }
.lost-en { margin: 0 0 2em; font: italic clamp(1.1rem, 1.8vw, 1.5rem) var(--serif); color: var(--ink-2); }
.page-notfound .foot { display: none; }

/* ---------------------------------------------------------------- footer */

.foot {
  margin-top: clamp(96px, 12vw, 176px);
  padding: clamp(40px, 5vw, 64px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 28px 48px;
  color: var(--ink-3);
}
.page-series .foot { margin-top: 0; }
.foot-top { display: grid; gap: 14px; }
.foot .brand { color: var(--ink); }
.foot-tag { margin: 0; font: 400 15px/1.7 var(--serif); letter-spacing: .1em; color: var(--ink-2); }
.foot-tag em { letter-spacing: .01em; color: var(--ink-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: start; justify-content: flex-end; font-family: var(--serif); font-size: 15px; letter-spacing: .14em; }
.foot-links a { color: var(--ink-2); transition: color .3s; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; margin: 0; font-size: 12px; letter-spacing: .06em; }
@media (max-width: 700px) {
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

/* ---------------------------------------------------------------- lightbox */

.lb {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #08090a;
  color: var(--ink);
  overflow: hidden;
}
.lb::backdrop { background: #08090a; }
.lb[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }

/* 顶部进度指示条 */
.lb-progress {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 25; pointer-events: none;
}
.lb-progress-bar {
  height: 100%; width: 100%;
  background: linear-gradient(90deg, rgba(214, 178, 110, 0.6), var(--gold, #d6b26e));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 动态环境模糊背景 (Ambient Blurred Backdrop) */
.lb-ambient {
  position: absolute; inset: -40px;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.lb-ambient-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: blur(42px) brightness(0.56);
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lb-ambient-img.is-active {
  opacity: 1;
}
.lb-ambient-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.55) 0%, transparent 16%, transparent 82%, rgba(8, 9, 10, 0.7) 100%);
  pointer-events: none;
}

/* 顶部状态与功能栏：三列等比网格，确保中间工具绝对水平居中于视口 */
.lb-topbar {
  position: absolute; top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: max(14px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
  z-index: 15; pointer-events: none;
  transition: opacity .3s, margin-right .35s var(--ease);
}
.lb.is-clean .lb-topbar { opacity: 0; pointer-events: none; }
.lb-top-left, .lb-tools, .lb-actions { pointer-events: auto; }
.lb-top-left { justify-self: start; }
.lb-tools { justify-self: center; }
.lb-actions { justify-self: end; }
.lb-top-left .lb-count {
  margin: 0;
  font: 400 13px/1 var(--sans);
  letter-spacing: 0.24em;
  color: rgba(236, 232, 225, 0.85);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* 右上角圆形操作组：全屏、分享、下载、关闭 */
.lb-actions {
  display: flex; align-items: center; gap: 12px;
}
.lb-action {
  width: 40px; height: 40px;
  min-width: 40px; min-height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(18, 19, 21, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(236, 232, 225, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  padding: 0;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.lb-action:hover {
  background: var(--gold, #d6b26e);
  border-color: var(--gold, #d6b26e);
  color: #08090a;
  transform: scale(1.05);
}
.lb-action:active {
  transform: scale(0.95);
}
.lb-action.is-active {
  background: var(--gold, #d6b26e);
  border-color: var(--gold, #d6b26e);
  color: #08090a;
}
.lb-action:disabled {
  cursor: wait;
  opacity: 0.65;
  pointer-events: none;
}
.lb-action svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* 悬浮 Toast 提示 - 居中胶囊 */
.lb-toast {
  position: absolute;
  bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px));
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 10px 24px;
  border-radius: 999px;
  background: rgba(18, 19, 21, 0.94);
  border: 1px solid rgba(214, 178, 110, 0.55);
  color: var(--gold, #d6b26e);
  font: 500 13px/1.4 var(--sans);
  letter-spacing: 0.12em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  text-align: center;
  white-space: nowrap;
}
.lb-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lb-stage {
  position: relative;
  display: grid; place-items: center;
  min-height: 0;
  padding: calc(64px + env(safe-area-inset-top)) clamp(12px, 6vw, 96px) 8px;
  touch-action: pinch-zoom;
  z-index: 1;
}
.lb-img {
  background: var(--c, var(--bg-2)) var(--ph) center / 100% 100% no-repeat;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  cursor: default;
  box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.6);
}
.lb-img img, .lb-img { transition: opacity .35s; }
.lb-img.is-loading { opacity: .92; }
.lb-bar {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline;
  gap: 6px 32px;
  padding: 14px clamp(16px, 6vw, 96px) calc(20px + env(safe-area-inset-bottom));
  font-size: 12px; color: var(--ink-3);
  transition: opacity .3s;
}
.lb-bar p { margin: 0; }
.lb-where { font: 400 1.1rem/1.4 var(--serif); letter-spacing: .1em; color: var(--ink); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
.lb-where em { margin-left: .4em; letter-spacing: .01em; color: var(--ink-2); }
.lb-where .date { margin-left: .9em; font: 400 12px var(--sans); letter-spacing: .1em; color: var(--ink-3); }
.lb-where .lb-series { margin-left: .9em; font: 600 11px var(--sans); letter-spacing: .2em; color: var(--gold); text-transform: uppercase; border-bottom: 1px solid rgba(214, 178, 110, .4); }
.lb-where .lb-series:hover { color: var(--ink); border-color: var(--ink); }
.lb-exif { letter-spacing: .05em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
.lb-hint { font: 400 11px/1.4 var(--sans); letter-spacing: 0.1em; color: var(--ink-3); opacity: 0.72; }
.lb-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: color .2s, opacity .3s, transform .2s;
}
.lb-btn:hover { color: var(--ink); transform: translateY(-50%) scale(1.1); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(4px, 1.6vw, 28px); }
.lb-next { right: clamp(4px, 1.6vw, 28px); }
.lb.is-clean .lb-bar, .lb.is-clean .lb-btn { opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
  .lb-hint { display: none; }
}
@media (max-width: 768px) {
  .lb-topbar {
    grid-template-columns: 1fr auto;
    padding: max(10px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 6px max(14px, env(safe-area-inset-left));
  }
  .lb-prev, .lb-next { display: none; }
  .lb-stage {
    padding: calc(56px + env(safe-area-inset-top)) 10px calc(118px + env(safe-area-inset-bottom));
  }
  .lb-bar {
    position: absolute; bottom: 0; left: 0; right: 0;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 18px max(14px, env(safe-area-inset-bottom));
    text-align: center;
    pointer-events: none;
  }
  .lb-where { font-size: 0.98rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85); }
  .lb-where em { display: block; margin: 2px 0 0; }
  .lb-where .lb-series { pointer-events: auto; }
  .lb-exif { font-size: 11px; opacity: 0.85; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85); }
}
@media (max-width: 600px) {
  .lb-top-left .lb-count {
    font-size: 12px;
    letter-spacing: 0.16em;
  }
  .lb-actions { gap: 8px; }
  .lb-action {
    width: 38px; height: 38px;
    min-width: 38px; min-height: 38px;
  }
  .lb-action.lb-close {
    width: 38px; height: 38px;
    min-width: 38px; min-height: 38px;
  }
  .lb-action svg { width: 17px; height: 17px; }
}
@media (max-width: 390px) {
  .lb-actions { gap: 6px; }
  .lb-action { width: 34px; height: 34px; min-width: 34px; min-height: 34px; }
  .lb-action svg { width: 15px; height: 15px; }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-img { transform: none; }
  .hero-dot.is-active::after { background-size: 100% 100%; }
}
.scard.has-video .scard-media::before { display: none; }

/* ---------------------------------------------------------------- 看图工具：喜欢、留言 */
.lb-tools {
  display: flex; gap: 6px;
  padding: 3px 6px; border-radius: 999px;
  background: rgba(20, 21, 23, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 232, 225, .1);
  transition: opacity .3s;
}
.lb-tool {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2);
  font: 500 12px/1 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: background-color .25s, color .25s;
}
.lb-tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.lb-tool:hover { background: rgba(236, 232, 225, .08); color: var(--ink); }
.lb-tool[aria-pressed="true"], .lb-tool[aria-expanded="true"] { color: var(--gold); }
.lb-like[aria-pressed="true"] svg { fill: var(--gold); stroke: var(--gold); }
.lb-like.is-pop svg { animation: lb-pop .45s var(--ease); }
@keyframes lb-pop { 40% { transform: scale(1.35); } }

/* 原尺寸：图片可拖动 */
.lb.is-panning .lb-stage { cursor: grabbing; }
.lb.is-zoomed .lb-prev, .lb.is-zoomed .lb-next { opacity: 0; pointer-events: none; }

/* 留言面板 */
.lb-panel {
  position: absolute; z-index: 4; top: 0; right: 0; bottom: 0;
  width: min(380px, 100%);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(14, 15, 16, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid rgba(236, 232, 225, .08);
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));
  animation: lb-panel-in .35s var(--ease);
}
.lb-panel[hidden] { display: none; }
@keyframes lb-panel-in { from { transform: translateX(24px); opacity: 0; } }
.lb-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lb-panel-head .label { margin: 0; }
.lb-panel-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.lb-panel-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lb-panel-close:hover { color: var(--ink); }
.lb-comments { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.lb-comment { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lb-c-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; font-size: 12px; color: var(--ink-3); }
.lb-c-head b { font-weight: 600; color: var(--ink); font-size: 13px; }
.lb-c-loc { color: var(--gold); letter-spacing: .04em; }
.lb-c-time { margin-left: auto; }
.lb-c-text { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.lb-c-empty { padding: 28px 0; color: var(--ink-3); font-size: 13px; text-align: center; }
.lb-form { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.lb-form input, .lb-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(236, 232, 225, .14); border-radius: 4px;
  background: rgba(236, 232, 225, .04); color: var(--ink); font: 14px/1.5 var(--sans); resize: vertical;
}
.lb-form input:focus, .lb-form textarea:focus { outline: none; border-color: var(--gold); }
.lb-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb-note { font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.lb-form .btn { padding: 8px 18px; }
@media (min-width: 900px) { .lb.has-panel .lb-stage, .lb.has-panel .lb-bar, .lb.has-panel .lb-topbar { margin-right: 380px; } .lb.has-panel .lb-next { right: calc(380px + 12px); } }
@media (max-width: 768px) {
  .lb-tools {
    position: fixed;
    top: auto;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 16;
    white-space: nowrap;
  }
  .lb.has-panel .lb-tools { display: none; }
  .lb-tool { padding: 0 9px; }
  .lb-panel { top: auto; height: 74%; width: 100%; border-left: 0; border-top: 1px solid rgba(236, 232, 225, .08); border-radius: 14px 14px 0 0; }
}

/* ---------------------------------------------------------------- 旅程地图 */
.globe { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 1fr); gap: clamp(20px, 4vw, 64px); padding: 0 var(--gutter); align-items: center; }
.globe-stage { position: relative; aspect-ratio: 1; max-height: 78vh; }
.globe canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1.2s var(--ease); }
.globe.is-ready canvas { opacity: 1; }
.globe canvas { -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); }
.globe canvas:active { cursor: grabbing; }
.globe-card { position: absolute; left: 0; bottom: 4%; width: min(300px, 70%); animation: globe-card-in .5s var(--ease); }
@keyframes globe-card-in { from { opacity: 0; transform: translateY(10px); } }
.globe-card-link { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; background: rgba(14, 15, 16, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(236, 232, 225, .1); }
.globe-card-link img { width: 96px; height: 72px; object-fit: cover; }
.globe-card-body .label { margin: 0 0 4px; font-size: 10px; }
.globe-card-title { margin: 0; font: 700 1.25rem/1.25 var(--serif); letter-spacing: .08em; }
.globe-card-en { margin: 2px 0 0; font: italic .95rem var(--serif); color: var(--ink-3); }
.globe-card-n { margin: 6px 0 0; font-size: 11px; letter-spacing: .12em; color: var(--gold); }
.globe-side { display: grid; gap: 26px; align-content: center; }
.globe-group .label { margin: 0 0 8px; }
.globe-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.globe-group button {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 14px; border: 1px solid rgba(236, 232, 225, .14); border-radius: 999px;
  background: none; color: var(--ink-2); font: 400 14px var(--serif); letter-spacing: .08em; cursor: pointer;
  transition: color .25s, border-color .25s, background-color .25s;
}
.globe-group button .n { font: 400 11px var(--sans); color: var(--ink-3); letter-spacing: 0; }
.globe-group button:hover, .globe-group button.is-on { color: var(--ink); border-color: var(--gold); background: rgba(214, 178, 110, .08); }
.globe-group button.is-on .n { color: var(--gold); }
@media (max-width: 860px) { .globe { grid-template-columns: 1fr; } .globe-stage { max-height: none; } .globe-card { left: 50%; transform: translateX(-50%); bottom: 0; width: min(320px, 92%); } }

/* 系列页的小地球 */
.sdesc.has-globe { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.globe--mini { display: block; padding: 0; }
.globe--mini .globe-stage { width: 100%; max-width: 220px; }
.globe-places { margin: 10px 0 0 !important; display: flex; flex-wrap: wrap; gap: 4px 12px; font: 400 13px var(--serif); letter-spacing: .08em; color: var(--ink-2); }
.globe-places em { color: var(--ink-3); font-size: .9em; }
@media (max-width: 860px) { .sdesc.has-globe { grid-template-columns: 1fr; } .globe--mini .globe-stage { max-width: 180px; } }

.lb-zoomctl {
  display: inline-flex;
  align-items: center;
  border-right: 1px solid rgba(236, 232, 225, .14);
  padding-right: 4px;
  margin-right: 2px;
}
.lb-zoomctl .lb-tool { padding: 0 8px; }
.lb-zoomctl .lb-tool svg { width: 14px; height: 14px; }
.lb-zoom-pct { min-width: 56px; justify-content: center; color: var(--ink); }
.lb.is-transform .lb-stage { display: block; overflow: hidden; touch-action: none; }
.lb.is-transform .lb-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; }
.lb.is-zoomed .lb-stage { cursor: grab; }
.lb.is-panning .lb-stage { cursor: grabbing; }
.lb-mini {
  position: absolute; z-index: 3; right: clamp(12px, 2vw, 28px); bottom: calc(76px + env(safe-area-inset-bottom));
  width: 160px; line-height: 0; border: 1px solid rgba(236, 232, 225, .25); background: #000; cursor: crosshair;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .5); touch-action: none;
}
.lb-mini[hidden] { display: none; }
.lb-mini img { width: 100%; height: auto; opacity: .55; }
.lb-mini-view { position: absolute; border: 1.5px solid var(--gold); background: rgba(214, 178, 110, .12); pointer-events: none; }
@media (max-width: 760px) { .lb-mini { width: 110px; bottom: calc(140px + env(safe-area-inset-bottom)); } }

/* 题记 */
.epigraph { padding: clamp(96px, 12vw, 176px) var(--gutter) 0; display: grid; justify-items: center; }
.epigraph blockquote { margin: 0; max-width: 34em; text-align: center; }
.epigraph p { margin: 0; font: 400 clamp(1.15rem, 1.9vw, 1.55rem)/2.1 var(--serif); letter-spacing: .1em; color: var(--ink); text-wrap: pretty; }
.epigraph footer { margin-top: 1.6em; font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.about-epigraph { margin: 2.2em 0; padding-left: 1.2em; border-left: 1px solid var(--gold); }
.about-epigraph p { margin: 0; font: 400 1.05rem/2 var(--serif); letter-spacing: .06em; color: var(--ink-2); }
.about-epigraph .en-p { margin-top: .6em; font: italic 1.05rem/1.6 var(--serif); letter-spacing: .01em; color: var(--ink-3); }
.about-epigraph footer { margin-top: .8em; font-size: 12px; letter-spacing: .25em; color: var(--gold); }
.about-epigraph footer em { margin-left: .5em; font: italic 13px var(--serif); letter-spacing: .05em; opacity: .85; }

/* 关于页 · 自述：红格黄笺 */
.story { padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(48px, 6vw, 96px); }
.letter {
  --line-h: 2.65rem;
  --ink-c: #251c14;
  --rule: rgba(178, 34, 34, .28);
  --border-rule: rgba(178, 34, 34, .52);
  --frame-inset: clamp(14px, 2.5vw, 24px);
  --pad-inner: clamp(20px, 3.8vw, 40px);
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: calc(var(--frame-inset) + clamp(24px, 3.5vw, 38px)) calc(var(--frame-inset) + var(--pad-inner)) calc(var(--frame-inset) + clamp(28px, 4vw, 44px));
  color: var(--ink-c);
  background:
    linear-gradient(to bottom, transparent 33%, rgba(90, 55, 15, .06) 33.2%, rgba(255, 250, 235, .35) 33.5%, transparent 33.8%),
    linear-gradient(to bottom, transparent 66.5%, rgba(90, 55, 15, .06) 66.7%, rgba(255, 250, 235, .35) 67%, transparent 67.3%),
    radial-gradient(ellipse at 50% 40%, rgba(255, 250, 235, .35), transparent 75%),
    linear-gradient(160deg, #f7eed6, #efe1bc 60%, #e8d5a6);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .48), inset 0 0 80px rgba(120, 80, 20, .14);
  border-radius: 2px;
}
.letter::before {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: 1.5px solid var(--border-rule);
  outline: 1px solid rgba(178, 34, 34, .2);
  outline-offset: -5px;
  pointer-events: none;
}
.letter-head {
  text-align: center;
  padding-bottom: .45rem;
  margin-bottom: 1.4rem;
  border-bottom: 3px double rgba(178, 34, 34, .42);
}
.letter-title {
  margin: 0;
  font: 400 clamp(2.1rem, 4.2vw, 2.85rem)/1.35 "PP Hand", var(--serif);
  letter-spacing: .16em;
  text-indent: .16em;
  color: #8b1a1a;
  opacity: .92;
}
.letter-photo {
  position: relative;
  margin: 1.5rem auto 1.8rem;
  max-width: min(26rem, 100%);
  padding: 10px 10px 28px;
  background: #fbf7ee;
  box-shadow: 0 6px 18px rgba(60, 40, 10, .22), 0 1px 3px rgba(60, 40, 10, .15);
  transform: rotate(-1.1deg);
}
.letter-photo::before { /* 半透明胶带贴在信纸上 */
  content: "";
  position: absolute;
  top: -9px; left: 50%;
  width: 76px; height: 20px;
  transform: translateX(-50%) rotate(1.8deg);
  background: rgba(245, 236, 210, .62);
  border-left: 1px dashed rgba(160, 130, 80, .25);
  border-right: 1px dashed rgba(160, 130, 80, .25);
  box-shadow: 0 1px 2px rgba(60, 40, 10, .1);
}
.letter-photo img { display: block; width: 100%; height: auto; }
.letter-body {
  opacity: .9;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(var(--line-h) - 1px),
    var(--rule) calc(var(--line-h) - 1px),
    var(--rule) var(--line-h)
  );
  background-position: 0 -0.24rem;
}
.letter-body p {
  margin: 0;
  font: 400 clamp(1.54rem, 2.4vw, 1.74rem)/var(--line-h) "PP Hand", var(--serif);
  letter-spacing: 0;
  text-indent: 2em;
  text-align: left;
  text-shadow: 0 0 .35px rgba(37, 28, 20, .22);
}
.letter-body .letter-sign {
  text-align: right;
  text-indent: 0;
  font-size: clamp(1.75rem, 2.9vw, 2.15rem);
  line-height: var(--line-h);
  color: var(--ink-c);
  margin: var(--line-h) 0 0;
  letter-spacing: .02em;
}
.letter-body .letter-date {
  text-align: right;
  text-indent: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.32rem);
  line-height: var(--line-h);
  color: var(--ink-c);
  margin: 0;
  letter-spacing: .06em;
  opacity: .84;
}
@media (max-width: 760px) { .letter { --line-h: 2.35rem; } .letter-body p { font-size: 1.4rem; } }

/* 关于页 · 信封：默认封着，点开才是上面的信笺 */
.envelope { max-width: 44rem; margin: 0 auto; scroll-margin-top: calc(var(--nav-h) + 24px); }
.envelope > summary { list-style: none; }
.envelope > summary::-webkit-details-marker { display: none; }
.envelope[open] > summary { display: none; }
.env-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding-top: clamp(76px, 9vw, 110px); /* 给抽出的信纸留位置 */
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.env-wrap:focus { outline: none; }
.env-wrap:focus-visible .env { outline: 1px solid var(--gold); outline-offset: 8px; }
.env {
  --paper: #f3e6c6;
  --env-ink: #2b2118;
  --seal: #8b1a1a;
  position: relative; display: block;
  width: min(34rem, 100%); aspect-ratio: 1.6;
  color: var(--env-ink);
  perspective: 1400px;
  transition: transform .5s var(--ease), opacity .4s ease;
}
.env::before { /* 信封背面（内侧） */
  content: ""; position: absolute; inset: 0; border-radius: 3px;
  background: linear-gradient(170deg, #d9c18e, #c9ad74);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
}
.env-paper { /* 里面那张红格信纸，拆开时往上抽出 */
  position: absolute; left: 6%; right: 6%; top: 6%; height: 88%; z-index: 1;
  background:
    repeating-linear-gradient(to bottom, transparent 0 15px, rgba(178, 34, 34, .28) 15px 16px),
    linear-gradient(160deg, #f6ecd2, #efe0b9);
  box-shadow: 0 0 0 1px rgba(178, 34, 34, .35) inset, 0 2px 8px rgba(60, 40, 10, .2);
  transition: transform .7s var(--ease) .4s;
}
.env-pocket { /* 信封正面：去掉上方的 V 形口 */
  position: absolute; inset: 0; z-index: 2; border-radius: 3px;
  background: linear-gradient(165deg, #f5e9cb, #ead8ac 70%, #e2cc98);
  box-shadow: inset 0 0 50px rgba(120, 80, 20, .14);
  clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%);
}
.env-folds { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; fill: none; stroke: rgba(120, 80, 20, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.env-folds path { vector-effect: non-scaling-stroke; }
.env-flap {
  position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 3;
  background: linear-gradient(180deg, #efe0bb, #e3cd9b);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform .6s cubic-bezier(.5, 0, .3, 1), z-index 0s linear .3s;
  filter: drop-shadow(0 2px 2px rgba(80, 50, 10, .2));
}
.env-postmark { /* 邮戳：2016—2026 */
  position: absolute; right: 7%; top: 9%; z-index: 4;
  display: grid; place-items: center; gap: 2px;
  width: clamp(54px, 13vw, 76px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(139, 26, 26, .5); box-shadow: 0 0 0 3px transparent, 0 0 0 4.5px rgba(139, 26, 26, .28);
  color: rgba(139, 26, 26, .62);
  font: 600 clamp(9px, 2vw, 11px)/1 var(--sans); letter-spacing: .14em; font-variant-numeric: tabular-nums;
  transform: rotate(-14deg);
  transition: opacity .3s ease;
}
.env-postmark b { font-weight: 600; margin-right: -.14em; }
.env-postmark i { display: block; width: 70%; height: 1px; background: currentColor; opacity: .7; }
.env-seal { /* 火漆印 */
  position: absolute; left: 50%; top: 55%; z-index: 5;
  display: grid; place-items: center;
  width: clamp(50px, 11vw, 68px); aspect-ratio: 1; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background: radial-gradient(circle at 38% 32%, #c0392b, var(--seal) 55%, #5c0f0f);
  box-shadow: 0 3px 8px rgba(60, 10, 10, .45), inset 0 0 0 4px rgba(0, 0, 0, .12), inset 0 0 0 6px rgba(255, 200, 160, .12);
  color: rgba(255, 225, 190, .82);
  font: 400 clamp(1.45rem, 3.8vw, 2rem)/1 "PP Hand", var(--serif);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), opacity .3s ease;
}
.env-title {
  position: absolute; left: 50%; top: 17%; z-index: 4;
  transform: translateX(-50%); white-space: nowrap;
  font: 400 clamp(1.7rem, 4.6vw, 2.5rem)/1.2 "PP Hand", var(--serif);
  letter-spacing: .16em; text-indent: .16em; color: var(--seal); opacity: .9;
  transition: opacity .3s ease;
}
.env-text { position: absolute; left: 0; right: 0; bottom: 11%; z-index: 4; display: grid; justify-items: center; gap: .2em; transition: opacity .3s ease; }
.env-sub { font: 400 clamp(.95rem, 2.2vw, 1.15rem)/1.4 "PP Hand", var(--serif); letter-spacing: .2em; margin-right: -.2em; opacity: .7; }
.env-cta {
  text-align: center;
  font: 500 13px/1.6 var(--sans); letter-spacing: .18em; color: var(--gold);
  padding-bottom: 6px; border-bottom: 1px solid rgba(214, 178, 110, .4);
  transition: color .3s, border-color .3s, opacity .3s;
}
.env-cta em { display: block; margin-top: 2px; font: italic 400 14px/1.4 var(--serif); letter-spacing: .04em; color: var(--ink-2); }
@media (hover: hover) {
  .env-wrap:hover .env { transform: translateY(-4px) rotate(-.4deg); }
  .env-wrap:hover .env-seal { transform: translate(-50%, -50%) scale(1.06); }
  .env-wrap:hover .env-cta { border-color: var(--gold); }
}

/* 拆信动画：火漆脱落 → 封盖掀开 → 信纸抽出 → 信笺展开 */
.envelope.is-opening .env-seal { transform: translate(-50%, -30%) scale(.6) rotate(25deg); opacity: 0; }
.envelope.is-opening .env-postmark,
.envelope.is-opening .env-title,
.envelope.is-opening .env-text,
.envelope.is-opening .env-cta { opacity: 0; }
.envelope.is-opening .env-flap { transform: rotateX(180deg); z-index: 0; transition-delay: .15s, .45s; }
.envelope.is-opening .env-paper { transform: translateY(-42%); }
.envelope.is-opening .env { transition-delay: 1.05s; opacity: 0; transform: translateY(12px); }
.envelope[open] .letter { animation: letter-in .9s var(--ease) backwards; }
@keyframes letter-in {
  from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 88% 0); }
  60% { opacity: 1; }
  to { opacity: 1; transform: none; clip-path: inset(-60px -60px -100px -60px); }
}
.letter-fold {
  display: block; margin: clamp(28px, 4vw, 44px) auto 0; padding: 0 0 6px;
  background: none; border: 0; border-bottom: 1px solid rgba(214, 178, 110, .4);
  font: 500 12px/1 var(--sans); letter-spacing: .3em; color: var(--gold); cursor: pointer;
}
.letter-fold em { margin-left: .5em; font: italic 400 15px var(--serif); letter-spacing: .04em; color: var(--ink-2); }
.letter-fold:hover { border-color: var(--gold); }
@media (max-width: 560px) { .env { aspect-ratio: 1.45; } }
@media (prefers-reduced-motion: reduce) {
  .env, .env-paper, .env-flap, .env-seal { transition: none !important; }
  .envelope[open] .letter { animation: none; }
}

.stats-end { padding-left: var(--gutter); padding-right: var(--gutter); }
.stats-end .stats { margin-top: 18px; opacity: .85; }
.stats-end .stats dd { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }

/* 留言簿 */
.guestbook { max-width: 44rem; margin: clamp(56px, 8vw, 108px) auto 0; padding: 0 var(--gutter) clamp(80px, 10vw, 140px); scroll-margin-top: calc(var(--nav-h) + 24px); }
.story:not([hidden]) + .guestbook { margin-top: 0; }
.gb-head { text-align: center; margin-bottom: 28px; }
.gb-title { margin: .3em 0 .2em; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.3 var(--serif); letter-spacing: .1em; }
.gb-note { margin: 0; font-size: 13px; color: var(--ink-3); letter-spacing: .05em; }
.gb-form { display: grid; gap: 10px; }
.gb-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 6px; }
.gb-chips .chip.is-on { color: var(--ink); border-color: var(--gold); background: rgba(214, 178, 110, .12); }
.gb-form input, .gb-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: rgba(236, 232, 225, .03); color: var(--ink); font: 15px/1.6 var(--sans); resize: vertical; }
.gb-form input:focus, .gb-form textarea:focus { outline: none; border-color: var(--gold); }
.gb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gb-status { font-size: 13px; color: var(--gold); }
.gb-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 32px 0 8px; font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.gb-total { color: var(--gold); margin-right: 8px; }
.gb-list { list-style: none; margin: 0; padding: 0; }
.gb-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.gb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; font-size: 12px; color: var(--ink-3); }
.gb-meta b { font-weight: 600; font-size: 14px; color: var(--ink); }
.gb-loc { color: var(--gold); }
.gb-time { margin-left: auto; }
.gb-msg { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.gb-empty { padding: 24px 0; text-align: center; color: var(--ink-3); font-size: 13px; }

/* 留言回复与作者标识（留言簿与看图面板共用） */
.c-badge {
  display: inline-flex; align-items: center;
  padding: 1px 7px;
  border: 1px solid rgba(214, 178, 110, .48);
  border-radius: 3px;
  background: rgba(214, 178, 110, .1);
  color: var(--gold);
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .06em;
}
.c-reply-to { color: var(--ink-2); font-size: 12px; }
.c-reply-btn {
  padding: 2px 8px;
  border: 1px solid rgba(236, 232, 225, .14);
  border-radius: 999px;
  font: 400 11px/1.4 var(--sans);
  letter-spacing: .04em;
  color: var(--ink-3);
  transition: color .2s, border-color .2s, background-color .2s;
}
.c-reply-btn em { font-family: var(--serif); font-style: italic; font-size: 12px; }
.c-reply-btn:hover {
  color: var(--gold);
  border-color: rgba(214, 178, 110, .45);
  background: rgba(214, 178, 110, .08);
}
.gb-replies, .lb-replies {
  list-style: none;
  margin: 12px 0 2px;
  padding: 2px 0 2px 16px;
  border-left: 1.5px solid rgba(214, 178, 110, .28);
  display: grid;
  gap: 12px;
}
.gb-reply, .lb-reply { padding: 2px 0; }
.c-replying {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 178, 110, .35);
  border-radius: 4px;
  background: rgba(214, 178, 110, .08);
  font-size: 13px; color: var(--ink-2);
}
.c-replying b { color: var(--gold); font-weight: 600; }
.c-replying em { font-family: var(--serif); font-style: italic; color: var(--ink-3); }
.c-reply-cancel {
  width: 24px; height: 24px; flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  font-size: 16px; line-height: 1; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.c-reply-cancel:hover { color: var(--ink); background: rgba(236, 232, 225, .12); }

/* 评论回复与作者徽章（留言簿与大图面板共用） */
.gb-replies, .lb-replies {
  list-style: none;
  margin: 12px 0 2px;
  padding: 2px 0 2px 14px;
  border-left: 1.5px solid rgba(214, 178, 110, .28);
  display: grid;
  gap: 12px;
}
.lb-replies { margin-top: 10px; padding-left: 12px; gap: 10px; }
.gb-reply .gb-msg { font-size: 14px; }
.lb-reply .lb-c-text { font-size: 13.5px; }
.c-badge {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid rgba(214, 178, 110, .45);
  border-radius: 3px;
  background: rgba(214, 178, 110, .08);
  color: var(--gold);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .04em;
}
.c-reply-to { color: var(--ink-3); font-size: 12px; }
.c-reply-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-3);
  font: 400 12px/1 var(--sans);
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .2s;
}
.c-reply-btn em { font: italic 400 12px/1 var(--serif); letter-spacing: .02em; }
.c-reply-btn:hover { color: var(--gold); }
.c-replying {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(214, 178, 110, .35);
  border-radius: 4px;
  background: rgba(214, 178, 110, .08);
  font-size: 12.5px;
  color: var(--ink-2);
}
.c-replying[hidden] { display: none; }
.c-replying b { color: var(--gold); font-weight: 600; }
.c-replying em { font: italic 400 13px var(--serif); color: var(--ink-3); }
.c-reply-cancel {
  width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(236, 232, 225, .08);
  color: var(--ink-2);
  font-size: 15px; line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.c-reply-cancel:hover { background: var(--gold); color: #17140e; }


/* ---------------------------------------------------------------- 英文辅助（中文为主、英文为副的统一处理） */
.chip em, .globe-group button em, .foot-links em, .shero-meta em, .scard-sub em {
  font-family: var(--serif); font-style: italic; letter-spacing: .02em;
}
.chip em { font-size: 14px; color: var(--ink-3); }
.chip.is-on em { color: rgba(23, 20, 14, .75); }
.gb-chips .chip.is-on em { color: var(--ink-2); }
.globe-group button em { font-size: 13px; color: var(--ink-3); letter-spacing: .01em; }
.globe-group button:hover em, .globe-group button.is-on em { color: var(--ink-2); }
.foot-links em { margin-left: .3em; font-size: .92em; color: var(--ink-3); }
.shero-meta em { font-size: 1.1em; letter-spacing: .04em; opacity: .85; }
.scard-sub em { display: block; margin-top: .15em; font-size: 1.05em; opacity: .75; }
.gb-title-en { margin: 0 0 .8em; font: italic 400 clamp(1.05rem, 1.8vw, 1.3rem) var(--serif); letter-spacing: .02em; color: var(--ink-2); }
.gb-note span, .lb-hint span { display: block; margin-top: .3em; font: italic 14px/1.5 var(--serif); letter-spacing: .02em; }
.lb-hint span { font-size: 12px; }

/* 信封上的英文副题 */
.env-en { font: italic 400 clamp(.85rem, 1.9vw, 1rem)/1.3 var(--serif); letter-spacing: .06em; opacity: .62; }

/* 信：中文 / English 切换 */
.letter-lang {
  position: absolute; z-index: 1;
  top: calc(var(--frame-inset) + 10px); right: calc(var(--frame-inset) + 12px);
  display: flex; align-items: baseline; gap: .5em;
  font: 400 13px/1 var(--sans); color: rgba(139, 26, 26, .45);
}
.letter-lang button {
  padding: 4px 2px; border: 0; background: none; cursor: pointer;
  font: inherit; letter-spacing: .12em; color: rgba(43, 33, 24, .5);
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.letter-lang button[lang="en"] { font: italic 400 15px/1 var(--serif); letter-spacing: .04em; }
.letter-lang button:hover { color: var(--ink-c); }
.letter-lang button[aria-pressed="true"] { color: #8b1a1a; border-color: rgba(139, 26, 26, .55); }
.js .letter[data-lang="zh"] .letter-en,
.js .letter[data-lang="en"] .letter-zh { display: none; }
.letter-en { font-family: "PP Cormorant", Georgia, "Times New Roman", serif; }
.letter-en .letter-title { font: italic 600 clamp(1.9rem, 4vw, 2.55rem)/1.35 "PP Cormorant", Georgia, serif; letter-spacing: .03em; text-indent: 0; }
.letter-en .letter-body p { font: italic 500 clamp(1.24rem, 1.95vw, 1.42rem)/var(--line-h) "PP Cormorant", Georgia, serif; letter-spacing: .01em; text-indent: 1.6em; text-align: left; hyphens: auto; }
.letter-en .letter-body .letter-sign { font: italic 600 clamp(1.55rem, 2.6vw, 1.9rem)/var(--line-h) "PP Cormorant", Georgia, serif; text-indent: 0; letter-spacing: .03em; }
.letter-en .letter-body .letter-date { font: italic 400 clamp(1.08rem, 1.7vw, 1.24rem)/var(--line-h) "PP Cormorant", Georgia, serif; text-indent: 0; letter-spacing: .04em; }
@media (max-width: 760px) {
  .letter-en .letter-body p { font-size: 1.12rem; }
  .letter-lang { top: calc(var(--frame-inset) + 6px); right: calc(var(--frame-inset) + 8px); }
}

/* ---------------------------------------------------------------- timeline */

.page-switch { margin: 22px 0 0; }
.page-switch .link-arrow { font-size: 1.08rem; letter-spacing: .1em; }

.tile-cap .tile-date {
  display: inline-block;
  margin-right: .55em;
  font: 500 11px/1 var(--sans);
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

/* 居中报头 */
.tl-hero {
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 128px)) var(--gutter) clamp(32px, 5vw, 56px);
  text-align: center;
}
.tl-title {
  margin: .32em 0 .22em;
  font: 700 clamp(3rem, 7.5vw, 6rem)/1.08 var(--serif);
  letter-spacing: .1em;
}
.tl-title em {
  display: block;
  margin-top: .22em;
  font: italic 400 clamp(1.15rem, 2vw, 1.55rem)/1.3 var(--serif);
  letter-spacing: .04em;
  color: var(--ink-3);
}
.tl-sub {
  max-width: 42rem;
  margin: 1.2em auto 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.tl-sub span {
  display: block;
  margin-top: .45em;
  font: italic 1.08rem/1.55 var(--serif);
  color: var(--ink-3);
}
.tl-rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: clamp(24px, 3.5vw, 40px) auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}

/* 极简粘性年份标尺 + 排序切换 */
.tl-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 var(--gutter);
  background: rgba(13, 14, 15, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: top .5s var(--ease);
}
body:has(.nav:not(.is-hidden)) .tl-nav.is-stuck {
  top: calc(var(--nav-h) + env(safe-area-inset-top));
}
.tl-nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tl-years-bar {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.2vw, 16px);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.tl-years-bar::-webkit-scrollbar { display: none; }
.tl-year-tab {
  position: relative;
  flex: none;
  padding: 13px 8px;
  font: 500 1.02rem/1 var(--serif);
  letter-spacing: .06em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink-3);
  transition: color .25s;
}
.tl-year-tab::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.tl-year-tab:hover { color: var(--ink); }
.tl-year-tab.is-active { color: var(--gold); font-weight: 600; }
.tl-year-tab.is-active::after { transform: scaleX(1); }

.tl-sort-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-2);
  transition: color .25s, border-color .25s, background-color .25s;
}
.tl-sort-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.tl-sort-btn em {
  font: italic 13px var(--serif);
  letter-spacing: .02em;
  color: var(--ink-3);
}
.tl-sort-btn:hover { color: var(--ink); border-color: rgba(236, 232, 225, .4); }
.tl-sort-btn[aria-pressed="true"] {
  border-color: rgba(214, 178, 110, .55);
  color: var(--gold);
  background: rgba(214, 178, 110, .06);
}
.tl-sort-btn[aria-pressed="true"] em { color: rgba(214, 178, 110, .75); }
.tl-sort-btn[aria-pressed="true"] svg { transform: rotate(180deg); }

/* 策展时间流主体 */
.tl-chronicle {
  --tl-gap: clamp(6px, .85vw, 14px);
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tl-year {
  scroll-margin-top: calc(var(--nav-h) + 74px);
  padding-top: clamp(56px, 8vw, 112px);
}
.tl-year:first-child { padding-top: clamp(32px, 5vw, 64px); }

.tl-year-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 36px;
  padding: clamp(20px, 3vw, 34px) 0 clamp(26px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.tl-year:first-child .tl-year-banner { border-top: 0; padding-top: 0; }
.tl-year-num {
  margin: 0;
  font: 400 clamp(3.4rem, 7.5vw, 6.2rem)/.95 var(--serif);
  letter-spacing: .03em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--gold);
}
.tl-year-right { text-align: right; }
.tl-year-arc {
  margin: 0;
  font: 400 14px/1.6 var(--serif);
  letter-spacing: .08em;
  color: var(--ink-2);
}
.tl-year-stat {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.tl-year-stat span {
  margin-left: .4em;
  font: italic 13px var(--serif);
  letter-spacing: .02em;
}

/* 左侧细时间轴线 + 章节卡片 */
.tl-chapters {
  position: relative;
  border-left: 1px solid rgba(214, 178, 110, .2);
  margin-left: 5px;
  padding-left: clamp(22px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7.5vw, 112px);
}
.tl-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(168px, 210px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 64px);
}
.tl-entry::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(22px, 3.4vw, 48px) - 4.5px);
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid rgba(214, 178, 110, .55);
  box-shadow: 0 0 0 5px var(--bg);
  transition: background-color .35s, border-color .35s, box-shadow .35s, transform .35s;
}
.tl-entry.is-current::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 5px var(--bg), 0 0 14px rgba(214, 178, 110, .45);
  transform: scale(1.18);
}

@media (prefers-reduced-motion: no-preference) {
  .js .tl-entry {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .85s var(--ease), transform .85s var(--ease);
  }
  .js .tl-entry.is-visible {
    opacity: 1;
    transform: none;
  }
}

.tl-aside {
  position: sticky;
  top: calc(var(--nav-h) + 84px);
  padding-top: 2px;
}
body:has(.nav.is-hidden) .tl-aside { top: 84px; }

.tl-date {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  font: 500 12px/1.2 var(--sans);
  letter-spacing: .14em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.tl-mon {
  font: 600 11px/1 var(--sans);
  letter-spacing: .24em;
  color: var(--gold);
}
.tl-ch-title {
  margin: 0;
  font: 700 clamp(1.35rem, 2.2vw, 1.8rem)/1.25 var(--serif);
  letter-spacing: .08em;
}
.tl-ch-title a { transition: color .25s; }
.tl-ch-title a:hover { color: var(--gold); }
.tl-ch-en {
  margin: .22em 0 0;
  font: italic 400 1.02rem/1.3 var(--serif);
  color: var(--ink-2);
}
.tl-ch-sub {
  margin: .9em 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}
.tl-ch-more {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-2);
  transition: color .25s, border-color .25s, gap .25s var(--ease);
}
.tl-ch-more:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: .65em;
}

/* 展墙画幅排布（零裁切） */
.tl-stage {
  display: flex;
  flex-direction: column;
  gap: var(--tl-gap);
  min-width: 0;
}
.tl-plate {
  margin: 0;
  width: min(100%, calc(72svh * var(--ar)));
}
.tl-plate .tile { width: 100%; flex: none; }
.tl-plate:not(.tl-plate--lead) .tile-cap { display: none; }
.tl-plate--lead {
  width: min(100%, calc(64svh * var(--ar)));
}
.tl-plate--tall {
  width: auto;
  display: grid;
  grid-template-columns: auto minmax(11rem, 18rem);
  justify-content: start;
  align-items: end;
  column-gap: clamp(20px, 3.6vw, 48px);
}
.tl-plate--tall .tile {
  width: min(100%, calc(72svh * var(--ar)));
  height: min(72svh, 820px);
  aspect-ratio: var(--ar);
}
.tl-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink-3);
}
.tl-cap .where {
  font: 400 1.06rem/1.4 var(--serif);
  letter-spacing: .1em;
  color: var(--ink);
}
.tl-cap .where em {
  margin-left: .45em;
  letter-spacing: .01em;
  color: var(--ink-2);
}
.tl-cap .exif {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.tl-cap--side {
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
}
.tl-cap--side .where { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; }
.tl-cap--side .where em { display: block; margin: .18em 0 0; font-size: .72em; }
.tl-cap--side .exif { margin-left: 0; line-height: 1.6; }

.tl-pair {
  display: flex;
  gap: var(--tl-gap);
  align-items: flex-start;
  width: min(100%, calc(66svh * var(--sum) + var(--tl-gap)));
}
.tl-pair--sub {
  width: min(100%, calc(54svh * var(--sum) + var(--tl-gap)));
}
.tl-pair--trio {
  width: min(100%, calc(54svh * var(--sum) + 2 * var(--tl-gap)));
}
.tl-cell {
  flex: var(--ar) 1 0;
  min-width: 0;
}
.tl-cell .tile {
  width: 100%;
  flex: none;
  aspect-ratio: var(--ar);
}

/* 收尾索引 */
.tl-end {
  max-width: 44rem;
  margin: clamp(72px, 10vw, 140px) auto 0;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.tl-end-note {
  margin: 1.1em 0 1.8em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.tl-end-note span {
  display: block;
  margin-top: .35em;
  font: italic 1.08rem/1.5 var(--serif);
  color: var(--ink-3);
}
.tl-end-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
}

@media (max-width: 960px) {
  .tl-year-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tl-year-right { text-align: left; }
  .tl-entry { grid-template-columns: 1fr; gap: 16px; }
  .tl-aside { position: static; }
  .tl-ch-sub { margin-top: .45em; }
  .tl-ch-more { margin-top: 8px; }
}
@media (max-width: 760px) {
  .tl-plate--tall { grid-template-columns: 1fr; }
  .tl-plate--tall .tile { width: 100%; height: auto; }
  .tl-cap--side { margin-top: 12px; }
  .tl-cap .exif { margin-left: 0; flex-basis: 100%; }
  .tl-sort-btn em { display: none; }
}
@media (max-width: 560px) {
  .tl-chapters {
    margin-left: 3px;
    padding-left: 16px;
    gap: 44px;
  }
  .tl-entry::before {
    left: -20.5px;
    top: 7px;
    width: 7px;
    height: 7px;
  }
  .tl-pair--trio {
    flex-wrap: wrap;
    width: 100%;
  }
  .tl-pair--trio .tl-cell:first-child {
    flex: 1 1 100%;
  }
}
