/* 景山见 · R1.4.3 样式
   ─────────────────────────────────────────────────────────────
   只加三样东西，都服务「进入这一站」：
     1. 站点开场图（故事页顶部，一张，带出处）
     2. 认现场图（弹窗内，只放能认路的）
     3. 地图页一张小图（认这个 / 从前的样子，二选一）
   另外补一个「场景标记」样式：`**1924年夏末**` 这类行以前是 18px 粗体，
   跟正文一样大却更粗，读起来像没写完的标题；现在给它独立的层级。
   ───────────────────────────────────────────────────────────── */

:root {
  --r143-ink: #2E2926;
  --r143-ink-2: #4A423A;
  --r143-dust: #6F5D4E;
  --r143-line: #D9CDB9;
  --r143-paper: #FBF9F4;
  --r143-paper-2: #F3EDE0;
  --r143-red: #89352F;
}

/* ── 场景标记（时间 / 地点）──────────────────────────────────
   原来：与正文同为 18px，但整行加粗，视觉上像「大一号的正文」。
   现在：小一号、字距放开、颜色降一级，读起来是「换场了」，
        而不是「这段怎么突然粗了」。 */
.night-block p[data-p-type="sceneMarker"] {
  margin: 26px 0 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  color: var(--r143-dust);
}
.night-block p[data-p-type="sceneMarker"]:first-child { margin-top: 2px; }
/* 同站里连续出现两个标记时（时间 + 地点）不要叠成一坨 */
.night-block p[data-p-type="sceneMarker"] + p[data-p-type="sceneMarker"] { margin-top: 2px; }

/* ── 站点开场图 ───────────────────────────────────────────── */
.r143-scene-wrap { margin: 0 0 20px; }

.r143-scene {
  margin: 0;
  border: 1px solid var(--r143-line);
  border-radius: 10px;
  background: var(--r143-paper);
  overflow: hidden;
}

.r143-scene-img {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--r143-paper-2);
  cursor: zoom-in;
  line-height: 0;
}
.r143-scene-img img {
  display: block;
  width: 100%;
  max-height: 240px;
  /* 历史照片不裁：宁可留相纸边，也不切掉半座建筑 */
  object-fit: contain;
  background: var(--r143-paper-2);
}
.r143-scene-img:active { opacity: .88; }

.r143-scene figcaption {
  display: block;
  padding: 11px 13px 13px;
  border-top: 1px solid var(--r143-line);
}
.r143-scene figcaption b {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--r143-ink);
}
.r143-scene figcaption span {
  display: block;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--r143-ink-2);
}
.r143-scene figcaption small {
  display: block;
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--r143-dust);
}
.r143-caveat {
  display: block;
  margin-top: 7px;
  padding: 6px 8px;
  border-radius: 5px;
  background: #F6EFE2;
  font-size: 11.5px;
  font-style: normal;
  line-height: 1.55;
  color: #7A5B3A;
}

/* 没有图的站：一句话说明，不占大块版面 */
.r143-scene-none {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px dashed var(--r143-line);
  border-radius: 8px;
  background: #F8F3E8;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--r143-dust);
}
.r143-scene-none b { font-size: 12.5px; font-weight: 600; color: #7A5B3A; }

/* ── 放大看图 ─────────────────────────────────────────────── */
.r143-zoom { margin: 0 0 12px; }
.r143-zoom img {
  display: block;
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 6px;
  background: var(--r143-paper-2);
}

/* ── 认现场（弹窗内）──────────────────────────────────────── */
.r143-identify {
  margin: 0 0 14px;
  border: 1px solid var(--r143-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--r143-paper);
}
.r143-identify img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: var(--r143-paper-2);
}
.r143-identify figcaption { padding: 10px 12px 12px; border-top: 1px solid var(--r143-line); }
.r143-identify figcaption b { display: block; margin-bottom: 4px; font-size: 14px; color: var(--r143-ink); }
.r143-identify figcaption span { display: block; font-size: 13.5px; line-height: 1.7; color: var(--r143-ink-2); }
.r143-identify figcaption small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--r143-dust); }

.r143-idtext {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--r143-ink);
}

/* 两件事之间要有一句话分开，否则玩家会以为照片任务是认现场的下一步 */
.r143-split {
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--r143-line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--r143-dust);
}

/* ── 历史资料（折叠，默认关）──────────────────────────────── */
.r143-arch {
  margin: 18px 0 0;
  border-top: 1px solid var(--r143-line);
  padding-top: 12px;
}
.r143-arch summary {
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
  color: var(--r143-dust);
  list-style: none;
}
.r143-arch summary::-webkit-details-marker { display: none; }
.r143-arch summary::before { content: '▸ '; }
.r143-arch[open] summary::before { content: '▾ '; }
.r143-archfig { margin: 12px 0 0; }
.r143-archfig img {
  display: block;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--r143-paper-2);
}
.r143-archfig figcaption { padding: 8px 0 0; }
.r143-archfig figcaption b { display: block; font-size: 13.5px; color: var(--r143-ink); margin-bottom: 3px; }
.r143-archfig figcaption span { display: block; font-size: 12.5px; line-height: 1.65; color: var(--r143-ink-2); }
.r143-archfig figcaption small { display: block; margin-top: 5px; font-size: 11px; color: var(--r143-dust); }

/* ── 地图页小图：横向一条，只占 76px 高 ────────────────────
   为什么不做大图：地图是任务页，玩家来这是为了「到没到」。
   一张大图会把主按钮挤出首屏，那就本末倒置了。 */
.r142-shot {
  display: flex;
  align-items: stretch;
  gap: 11px;
  width: 100%;
  margin: 12px 0 0;
  padding: 0;
  border: 1px solid var(--r143-line);
  border-radius: 9px;
  background: var(--r143-paper);
  text-align: left;
  font: inherit;
  overflow: hidden;
  cursor: zoom-in;
}
.r142-shot:active { opacity: .9; }
.r142-shot img {
  flex: 0 0 104px;
  width: 104px;
  height: 78px;
  object-fit: cover;
  object-position: center;
  background: var(--r143-paper-2);
}
.r142-shot-txt {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px 8px 0;
  min-width: 0;
}
.r142-shot-txt em {
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: .12em;
  color: var(--r143-red);
  font-weight: 600;
}
.r142-shot-txt b {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--r143-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.r142-shot-txt small { font-size: 11px; line-height: 1.4; color: var(--r143-dust); }

/* 矮屏再收一档，保证主按钮仍在首屏 */
@media (max-height: 640px) {
  .r143-scene-img img { max-height: 168px; }
  .r143-scene figcaption { padding: 9px 11px 11px; }
  .r143-scene figcaption span { font-size: 12.5px; line-height: 1.62; }
  .r142-shot img { flex-basis: 88px; width: 88px; height: 68px; }
  .r142-shot-txt small { display: none; }
}

/* 系统放大字体时不撑破卡片（不禁用放大，只让容器跟着长） */
.r143-scene figcaption span,
.r143-identify figcaption span { -webkit-text-size-adjust: 100%; }
