.home-desktop .home-additions {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
  color: #f4f5f7;
}
.home-desktop > canvas,
.home-desktop > .plane-fallback,
.home-desktop > .index-hit {
  transform: translateX(var(--home-wall-shift, 0px));
}
.home-desktop .home-centre-mark { margin-left: var(--home-wall-shift, 0px); }
.home-desktop { overflow-anchor: none; }
.home-desktop[data-home-reading-below='true'] {
  overflow: visible;
  overflow-x: clip;
}
.home-desktop .home-additions[hidden],
.home-desktop .home-additions [hidden],
.home-wall-passage[hidden] {
  display: none;
}
.home-desktop .home-live-surface {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  will-change: transform;
}
.home-desktop .home-additions .home-live-surface .sis {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  grid-column: auto;
  pointer-events: none;
}
.home-desktop .home-additions .home-live-surface .sis {
  background: #eef1ee;
}
.home-desktop .home-additions .home-live-surface .sis-mat {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  aspect-ratio: auto;
}
.home-desktop .home-additions .home-live-surface .sis-stage {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: transparent;
  pointer-events: auto;
}
.home-desktop .home-additions .home-live-surface .sis-stage svg {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  transform: translateY(-50%);
}
.home-desktop .home-additions .sisy-hit {
  fill: transparent;
}
.home-desktop .home-additions .sis-stage {
  user-select: none;
  touch-action: pan-y;
}
@media (hover: hover) and (pointer: fine) {
  .home-desktop .home-additions .sis-stage {
    touch-action: none;
  }
  .home-desktop .home-additions .sisy-hit {
    cursor: grab;
  }
  .home-desktop .home-additions .sis-stage[data-held='true'],
  .home-desktop .home-additions .sis-stage[data-held='true'] * {
    cursor: grabbing;
  }
}
.home-desktop
  .home-additions
  .home-live-surface
  :is(.sis-sec, .sis-title, .sis-status, .sis-hr, .sis-foot, .sis-expand, .sis-view-dialog) {
  display: none;
}
/* Focus uses the same mounted artwork as the card; only its scene position changes. */
.home-desktop .home-additions .home-live-surface[data-focused='true'] .sis-title {
  display:block; position:absolute; left:8%; bottom:8%; margin:0; padding:0;
  color:var(--home-card-ink); font:400 21px/1 var(--font-site); letter-spacing:.14em;
}
/* Device identity survives selection changes and outgoing title clones. */
.home-desktop .home-copy[data-home-device] {
  visibility: hidden;
  pointer-events: none;
}
.home-desktop[data-home-live-card='true'] .index-card:last-child .index-focus {
  pointer-events: none;
}
.home-desktop .index-hit {
  z-index: 2;
}
.home-desktop .index-card:last-child strong {
  font-size: min(22px, 2.3vw);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.home-desktop .home-statistics {
  position: absolute;
  z-index: 2;
  top: calc(50% + 135px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  width: min(380px, 80vw);
  white-space: nowrap;
  color: var(--home-lower-ink, var(--home-title-ink));
  pointer-events: none;
  container-type: inline-size;
}
.home-statistics-group {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.home-stat-values {
  display: grid;
  grid-template-columns: repeat(var(--home-stat-count, 3), minmax(0, 1fr));
  gap: 10px;
}
.home-stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  align-items: center;
}
.home-stat b {
  font:
    italic 30px/1.15 var(--font-site);
  font-weight: 400;
}
.home-stat small {
  font-size: 14px;
  line-height: 1.5;
}
.home-wall-passage {
  appearance:none; border:0; background:none; position:absolute; left:0; top:0;
  margin:0; padding:0; text-align:left; overflow:visible; pointer-events:none;
  color:rgba(255,255,255,.78); cursor:pointer; --passage-font:18px;
  font:300 var(--passage-font)/1.9 var(--font-site); letter-spacing:.06em;
}
.home-wall-passage[data-mode='show'][data-ready='true'] { pointer-events:auto; }
.home-passage-stack { position:absolute; inset:0 0 60px; }
.home-passage-section { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; opacity:0; transform:translateY(8px); transition:opacity 300ms,transform 300ms; }
.home-wall-passage[data-mode='show'][data-ready='true'] .home-passage-section[data-current='true'] { opacity:1; transform:none; transition:opacity 220ms,transform 220ms; }
.home-passage-paragraph { display:block; margin:0 0 16px; font:inherit; color:inherit; }
.home-passage-paragraph:last-child { margin-bottom:0; }
.home-passage-lead { position:absolute; left:0; opacity:0; white-space:nowrap; pointer-events:none; transition:opacity 900ms cubic-bezier(.22,.7,.2,1); }
.home-wall-passage[data-mode='peek'] .home-passage-lead { opacity:.55; }
.home-passage-ticks { position:absolute; left:0; bottom:30px; height:32px; display:flex; align-items:flex-end; gap:24px; opacity:0; transition:opacity 500ms; }
.home-wall-passage[data-mode='show'][data-ready='true'] .home-passage-ticks { opacity:1; }
.home-passage-ticks i { position:relative; display:block; width:1.5px; height:22px; overflow:hidden; background:rgba(255,255,255,.5); transition:height 500ms,background 500ms,width 500ms; }
.home-passage-ticks i[data-current='true'] { width:2px; height:32px; background:#c9a46c; }
/* 第一屏:当前线由下往上走满,满了翻页;键盘聚焦或切后台时和翻页计时一起停;手动翻过后不再自动 */
.home-wall-passage[data-page='1']:not([data-auto='false']) .home-passage-ticks i[data-current='true'] { background:rgba(255,255,255,.3); }
.home-wall-passage[data-mode='show'][data-ready='true'][data-arrived='true'][data-page='1']:not([data-auto='false']) .home-passage-ticks i[data-current='true']::after { content:''; position:absolute; inset:auto 0 0; height:100%; background:#c9a46c; transform-origin:bottom; animation:home-passage-fill var(--passage-dwell,6s) linear both; }
.home-wall-passage[data-mode='show'][data-ready='true'][data-arrived='true'][data-page='1'][data-paused='true'] .home-passage-ticks i[data-current='true']::after { animation-play-state:paused; }
@keyframes home-passage-fill { from { transform:scaleY(0); } to { transform:none; } }
/* 移到文字上:下一根抢先点亮,提示点击会翻过去 */
.home-wall-passage:is(:hover,:focus-visible) .home-passage-ticks i[data-current='false'] { width:2px; height:32px; background:rgba(255,255,255,.95); }
.home-wall-passage:focus-visible { outline:1px solid #c9a46c; outline-offset:8px; }
.home-desktop .index-hit .index-caption[data-home-device] {
  color: #262623;
  background: none;
  text-shadow: none;
  padding: 0 20px;
  height: 42px;
  align-items: center;
}
.home-desktop .index-caption[data-home-device] strong {
  font-size: min(22px, 2.3vw);
}
.home-wall-passage p {
  break-inside: avoid;
}
.home-desktop .home-additions .home-live-surface .sis-status,
.home-desktop .home-additions .home-live-surface .sis-foot {
  display: block;
  position: absolute;
  z-index: 1;
  bottom: max(10px, calc((var(--home-device-band, 42px) - 16.5px) / 2));
  margin: 0;
  padding: 0;
  color: #637066;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.home-desktop .home-additions .home-live-surface .sis-status {
  left: 20px;
}
.home-desktop .home-additions .home-live-surface .sis-foot {
  right: 20px;
}
@media (max-width: 1000px) {
  .home-wall-passage p {
    font-size: 16px;
    line-height: 1.9;
  }
}

.home-desktop[data-home-device-focus='true']
  :is(.home-prev, .home-next, .pagination, .thumbnail-rail) {
  z-index: 3;
}

.home-desktop[data-home-live-card='true'] .index-card:last-child .index-caption {
  pointer-events: none;
}
.home-desktop[data-home-live-card='true'] .index-card:last-child .index-caption :is(small, strong) {
  pointer-events: auto;
}
/* Asymmetric paper mounting: raised square, name and caption in the lower margin. */
.home-desktop[data-home-device-style] {
  --home-art-pad: 6.5%;
  --home-card-paper: #65764c;
  --home-card-ink: #ffffff;
  --home-card-muted: #f0f0ec;
  --home-art-edge: #c9d1c1;
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface {
  overflow: visible;
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface .sis {
  background: var(--home-card-paper);
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface .sis-mat {
  position: absolute;
  top: 8.65%;
  left: var(--home-art-pad);
  width: calc(100% - 2 * var(--home-art-pad));
  height: auto;
  aspect-ratio: 1;
  transform: none;
  outline: none;
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface .sis-stage {
  height: auto;
  aspect-ratio: 1;
}
.home-desktop[data-home-device-style] .index-hit .index-caption[data-home-device] {
  padding-inline: var(--home-art-pad);
  gap: 12px;
  color: var(--home-card-ink);
}
.home-desktop[data-home-device-style] .index-caption[data-home-device] strong {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  letter-spacing: 0.1em;
}
.home-desktop[data-home-device-style] .index-caption[data-home-device] small {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--home-card-muted);
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface :is(.sis-status, .sis-foot) {
  bottom: 76px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--home-card-muted);
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface .sis-status {
  left: var(--home-art-pad);
}
.home-desktop[data-home-device-style]
  .home-additions .home-live-surface .sis-foot {
  right: var(--home-art-pad);
}

/* Card text follows the existing photo rectangles; it never changes their geometry. */
:is(.home-desktop .index-caption) .home-card-copy-content { display:block; font:inherit; line-height:inherit; color:inherit; letter-spacing:inherit; }
.home-desktop .index-hit .index-caption {
  container-type:inline-size; top:calc(80px - 100%); height:100%; padding:0;
  /* 083：卡片下部一层淡影，浓淡按这张照片底部的亮度（构建时量得，.2–.6），代替原来那条 80px 暗带。 */
  background:linear-gradient(rgb(16 24 21 / 0) 52%,rgb(16 24 21 / calc(var(--card-shade,.4) * .45)) 72%,rgb(16 24 21 / var(--card-shade,.4)));
  pointer-events:none; text-shadow:none;
}
.home-desktop .index-hit .index-caption[data-home-device] { top:0; height:100%; padding:0; }
/* The text overlay must leave photo clicks and dragging to the original focus button. */
.stage.home-desktop[data-mode='index'] .index-hit .index-caption { pointer-events:none; }
.stage.home-desktop[data-mode='index'] .index-hit .index-caption .home-card-meta { pointer-events:auto; }
:is(.home-desktop .index-caption) .home-card-copy {
  position:absolute; top:6.666667cqw; left:7.333333cqw; display:block; margin:0;
  color:rgba(255,255,255,.88); font:400 3.833333cqw/1.5 var(--font-site);
  letter-spacing:.12em; white-space:nowrap; text-shadow:0 0 8px rgba(0,0,0,.45); pointer-events:none;
}
:is(.home-desktop .index-caption):has(.home-card-copy)::before {
  content:''; position:absolute; inset:0 0 auto; height:22%; pointer-events:none;
  background:linear-gradient(rgba(8,8,8,.42),transparent);
}
:is(.home-desktop .index-caption) .home-card-meta {
  position:absolute; left:8cqw; right:8cqw; bottom:8cqw; display:block;
  margin:0; transform:none; color:#f0f0ec; pointer-events:auto; line-height:1;
  text-shadow:0 0 1px rgba(16,24,21,.95),0 0 2px rgba(16,24,21,.85),0 0 5px rgba(16,24,21,.55);
}
:is(.home-desktop .index-caption) .home-card-title { display:flex; gap:3.333333cqw; align-items:baseline; white-space:nowrap; }
:is(.home-desktop .index-caption) .home-card-title>small { flex:none; font:400 3.666667cqw/1 var(--font-site); }
:is(.home-desktop .index-caption) .home-card-title>:is(strong,h2),.home-desktop[data-home-device-style] .index-caption[data-home-device] .home-card-title>strong {
  flex:none; margin:0; padding:0; font:400 6.666667cqw/1 var(--font-site); letter-spacing:.2em; white-space:nowrap;
}
:is(.home-desktop .index-caption) .home-card-data-slot { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows 200ms,opacity 200ms; }
:is(.home-desktop .index-caption) .home-card-data-clip { min-height:0; overflow:hidden; }
:is(.index-caption)[data-metrics='true'] .home-card-data-slot { grid-template-rows:1fr; opacity:1; transition:grid-template-rows 500ms cubic-bezier(.22,.7,.2,1),opacity 200ms; }
:is(.home-desktop .index-caption) .home-card-metrics { display:flex; align-items:baseline; justify-content:flex-start; gap:5cqw; padding-top:3cqw; white-space:nowrap; width:max-content; max-width:none; }
:is(.home-desktop .index-caption) .home-card-metric { display:inline-flex; flex:none; align-items:baseline; gap:1.333333cqw; opacity:0; transform:translateY(6px); transition:opacity 200ms,transform 200ms; }
:is(.home-desktop .index-caption) .home-card-metric[hidden] { display:none; }
:is(.index-caption)[data-metrics='true'] .home-card-metric { opacity:1; transform:none; transition:opacity 420ms calc(var(--metric-order)*90ms),transform 420ms calc(var(--metric-order)*90ms); }
:is(.home-desktop .index-caption) .home-card-metric b { font:italic 500 6.333333cqw/1 var(--font-site); font-variant-numeric:lining-nums tabular-nums; color:#f0f0ec; letter-spacing:.02em; }
:is(.home-desktop .index-caption) .home-card-metric small { font:400 4.444444cqw/1 var(--font-site); color:#f0f0ec; letter-spacing:.02em; }
.home-desktop .index-caption[data-home-device] .home-card-meta { color:var(--home-card-ink,#ffffff); }
@media(prefers-reduced-motion:reduce) {
  .home-card-data-slot,.home-card-metric,.home-passage-section,.home-passage-lead,.home-passage-ticks,.home-passage-ticks i { transition:none!important; transform:none!important; }
  .home-wall-passage .home-passage-ticks i[data-current='true']::after { animation:none!important; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .home-desktop[data-home-device-style] { --home-art-pad: 11%; }
  .home-desktop[data-home-device-style]
    .home-additions .home-live-surface :is(.sis-status, .sis-foot) {
    bottom: 60px;
    font-size: 11px;
  }
}

/* Digits share one type treatment; only the monetary scale 亿 accompanies them. */
.home-stat-number { display:flex; align-items:baseline; gap:2px; }
.home-stat .home-metric-unit { font:400 22px/1 var(--font-site); }
:is(.home-desktop .index-caption) .home-metric-unit {
  font:400 4.5cqw/1 var(--font-site); color:inherit; letter-spacing:0;
}
.home-desktop .home-live-surface[data-focused='true'] .sis-title::before {
  content:'05'; font:400 11px/1 var(--font-site); opacity:.7; margin-right:12px; letter-spacing:0;
}

/* 083：照片上的字只有一种写法——浅字 #f0f0ec＋贴字墨晕（用户的 4b），颜色与晕由 homePalette 写入。 */
.home-desktop .home-copy { color: var(--home-title-ink, #f0f0ec); text-shadow: var(--home-copy-shadow, 0 1px 2px rgba(0, 0, 0, .32), 0 0 10px rgba(0, 0, 0, .16)); transition: color 420ms ease; }
.home-desktop .home-statistics { text-shadow: var(--home-lower-shadow, var(--home-copy-shadow, none)); }
.home-desktop .home-copy p { color: var(--home-lower-ink, inherit); text-shadow: var(--home-lower-shadow, inherit); transition: color 420ms ease; }
.home-desktop .home-cross-svg { filter: var(--home-cross-glow, none); }
.stage.home-desktop .pagination { text-shadow: var(--home-copy-shadow); }
/* 083 静看与动：大图静看时只留照片和一个字；一动（鼠标、按键、滚轮、焦点、刚到达）导航、进入、十字、数字、页码回来，
   整幅照片按这张照片量得的程度、带一点它自己的色调暗下来（--home-dim、--home-dim-ink），4 秒不动再退回静看。
   来得快（250ms），走得慢（900ms）；静看时鼠标指针也收起。总览与开场不静看。 */
.stage.home-desktop .home-dim { position:absolute; inset:0; pointer-events:none; background:rgb(var(--home-dim-ink, 16 24 21) / var(--home-dim,0)); opacity:0; transition:opacity 250ms ease, background-color 420ms ease; }
.stage.home-desktop[data-mode='focus']:not([data-home-rest]) .home-dim { opacity:1; }
/* 页码、十字、数字的透明度另有动画写在行内，静看用 filter 叠加，不碰它们自己的过渡；十字只收起图形。 */
.stage.home-desktop .home-copy p { transition:filter 250ms ease, color 420ms ease; }
.stage.home-desktop .pagination { transition:filter 250ms ease, color 420ms ease; }
.stage.home-desktop .home-statistics { transition:filter 250ms ease; }
.stage.home-desktop :is(.home-prev, .home-next) .home-cross-svg { transition:fill 420ms ease, filter 250ms ease; }
.stage.home-desktop[data-mode='focus'][data-home-rest] .home-dim { transition:opacity 900ms ease, background-color 420ms ease; }
.stage.home-desktop[data-mode='focus'][data-home-rest] :is(.home-copy p, .pagination, .home-statistics) { filter:opacity(0); transition:filter 900ms ease, color 420ms ease; }
.stage.home-desktop[data-mode='focus'][data-home-rest] :is(.home-prev, .home-next) .home-cross-svg { filter:drop-shadow(0 0 1px rgba(16,24,21,0)) drop-shadow(0 0 2px rgba(16,24,21,0)) opacity(0); transition:fill 420ms ease, filter 900ms ease; }
.stage.home-desktop[data-mode='focus'][data-home-rest], .stage.home-desktop[data-mode='focus'][data-home-rest] * { cursor:none; }
html:has(.stage.home-desktop[data-mode='focus'][data-home-rest]) #site-navigation { opacity:0; transition:opacity 900ms ease, color 180ms ease, background-color 180ms ease; }
html:has(.stage.home-desktop[data-mode='focus']) #site-navigation :is(.site-nav-brand, .site-nav-link) { text-shadow: 0 0 1px rgba(16,24,21,.95),0 0 2px rgba(16,24,21,.85),0 0 5px rgba(16,24,21,.55); }
