/* 场景样张放大 lightbox（index.html 与 create.html 共用） */
#sceneLightbox { position: fixed; inset: 0; z-index: 999; display: none; place-items: center; background: rgba(20,12,22,.88); backdrop-filter: blur(4px); }
#sceneLightbox.show { display: grid; }
#sceneLightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
#sceneLightbox .lb-close { position: absolute; top: 14px; right: 18px; z-index: 2; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }
#sceneLightbox .lb-prev, #sceneLightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: none; border: none; color: #fff; font-size: 44px; cursor: pointer; line-height: 1; padding: 12px 6px; }
#sceneLightbox .lb-prev { left: 10px; }
#sceneLightbox .lb-next { right: 10px; }
#sceneLightbox .lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: 13px; }

/* 首页卡片交互控件（完整定义，不只是覆盖）。
   首页 HTML 被 seo.js 的 TPL_CACHE 缓存成旧版时，内联 CSS 里可能完全没有这些规则
   （放大按钮退化成 14×20 默认按钮），因此这里自带全部定位/尺寸/层级，重启前后一致。 */
.cover .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover .zoom-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  width: 32px; height: 32px; padding: 0; border: none; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92);
  color: #2b2230; font-size: 15px; line-height: 1; cursor: pointer;
  opacity: .88; transition: opacity .15s, transform .15s;
}
.cover:hover .zoom-btn, .cover .zoom-btn:hover { opacity: 1; transform: scale(1.08); }
.cover .dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 3; display: flex; justify-content: center; gap: 2px; }
.cover .dots i { width: 18px; height: 18px; border-radius: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.cover .dots i::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.cover .dots i.on::before { background: #fff; }
