/* ===== 视频 Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 7, 4, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox video {
  display: none;
  max-width: min(92vw, 430px);
  max-height: 84svh;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox video.active {
  display: block;
}

.lightbox__close {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  right: 16px;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  background: rgba(20, 14, 8, 0.72);
  color: var(--gold);
  transition: transform 0.2s ease;
}
.lightbox__close svg {
  width: 18px;
  height: 18px;
}
.lightbox__close:active {
  transform: scale(0.92);
}

/* 打开时锁定背景滚动 */
body.lb-lock {
  overflow: hidden;
}
