.lightbox {
      position: fixed;
      inset: 0;
      z-index: 100;
      background: rgba(22,22,19,.82);
      backdrop-filter: blur(8px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .lightbox.open { display: flex; }

    .lightbox-frame {
      width: min(1120px, 100%);
      max-height: calc(100vh - 48px);
      display: grid;
      grid-template-rows: auto 1fr auto;
      gap: 12px;
      color: #fff;
    }

    .lightbox-top,
    .lightbox-bottom {
      display: flex;
      justify-content: space-between;
      gap: 14px;
      align-items: center;
    }

    .lightbox-title {
      font-weight: 650;
    }

    .lightbox-caption {
      color: rgba(255,255,255,.76);
      font-size: 14px;
    }

    .lightbox-image-wrap {
      min-height: 0;
      display: grid;
      place-items: center;
      position: relative;
    }

    .lightbox-image-wrap img {
      max-width: 100%;
      max-height: calc(100vh - 160px);
      object-fit: contain;
      border-radius: 18px;
      box-shadow: 0 22px 80px rgba(0,0,0,.34);
      background: #fff;
    }

    .nav-btn,
    .lightbox-close {
      border: 1px solid rgba(255,255,255,.24);
      background: rgba(255,255,255,.12);
      color: #fff;
      border-radius: 999px;
      cursor: pointer;
      backdrop-filter: blur(8px);
    }

    .nav-btn {
      min-height: 42px;
      padding: 0 18px;
    }

    .lightbox-close {
      width: 42px;
      height: 42px;
      font-size: 20px;
    }
