/* ============================================================
   三级详情页：长图展示 + 点击放大 + 返回上一级
   ============================================================ */

/* 长图容器 */
.detail-figure { cursor: zoom-in; }
.detail-figure img {
  width: 100%;
  max-width: 980px;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.4s var(--ease-out);
}
.detail-figure img:hover { box-shadow: 0 24px 60px -30px rgba(109, 47, 184, 0.4); }

.detail-hint {
  text-align: center;
  margin: 18px 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* 返回上一级按钮区 */
.detail-actions {
  display: flex;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px) 0;
}

/* 简介块（Ciel-1 等暂无长图时） */
.detail-intro {
  max-width: 720px;
  margin: 0 auto;
}
.detail-intro p {
  color: var(--text-dim);
  line-height: 1.9;
  font-size: 15px;
}

/* ---------- 灯箱：原始尺寸查看 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  display: none;
}
.lightbox.is-open { display: block; }
.lightbox-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  z-index: 2;
}
.lightbox-bar span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.lightbox-close {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-scroll {
  position: absolute;
  top: 56px; left: 0; right: 0; bottom: 0;
  overflow: auto;
  padding: clamp(16px, 3vw, 40px);
  display: flex;
  justify-content: center;
}
.lightbox-scroll img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  box-shadow: 0 20px 60px -30px rgba(17, 17, 18, 0.35);
}
