/* ============================================================
   作品详情页 · 通用件（副标题 / 顶部行动区 / 截图区）
   被 time-log.html 与 footprint-map.html 共同引入。
   引入顺序：site.css → shots.css → 页面专用 css
   ============================================================ */

/* ---------- 副标题：一行一句 ---------- */
.detail-sub {
  /* 覆盖 site.css 的 56ch：一行大约放得下一句话 */
  max-width: 66ch;
}

.detail-sub .sub-line {
  display: block;
}

.detail-sub .sub-line + .sub-line {
  margin-top: 5px;
}

/* 行内强调数字 / 关键词 */
.detail-sub .sub-num {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--brand);
  letter-spacing: -.2px;
}

/* ---------- 顶部行动区 ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.cta-row .btn {
  gap: 8px;
}

.cta-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  /* 这段是按钮的免责说明，属于必读文字：--text-3 只有 3.20:1，换 --text-2（6.74:1） */
  color: var(--text-2);
  max-width: 78ch;
}

.cta-note p { margin: 0; }
.cta-note p + p { margin-top: 7px; }

.cta-note strong { color: var(--text); font-weight: 600; }

/* ---------- 截图区 ---------- */
.shots {
  margin-top: 56px;
}

.shots-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.shots-head h2 {
  font-size: 19px;
  letter-spacing: -.2px;
}

.shots-head span {
  font-size: 12.5px;
  color: var(--text-2);
}

.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.shot:hover {
  border-color: #d3d8e6;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .09);
  transform: translateY(-2px);
}

.shot figcaption {
  padding: 13px 16px 15px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.shot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.shot-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shot-desc {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  /* --text-3 在白底上只有 3.20:1，达不到正文可读性；--text-2 为 6.74:1 */
  color: var(--text-2);
}

.shot-scrollable {
  margin-top: 8px;
  font-size: 11.5px;
  /* 11.5px + --text-3 再乘 opacity:.8 实测只有 2.13:1，达不到 AA。
     它是「↕ 框内可滚动」的承重提示，去掉透明度并提到 --text-2（6.3:1）。 */
  color: var(--text-2);
}

@media (max-width: 600px) {
  .shots-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 720px) {
  /* 手机上「悬浮抬起」没有意义：点一下之后 :hover 会锁在卡片上、卡片停在抬起态。
     更麻烦的是 transform 会成为后代 position:fixed 的包含块，
     让放大态的「收起」按钮相对卡片定位而不是视口（实测跑到 y=978）。
     这里直接关掉位移，阴影保留。 */
  .shot:hover { transform: none; }
}
