/* Click to expand a screenshot. No library.

   It was written inline on Match Cut's page, then pasted into Save Point's and
   Dog Ear's, and the two newest pages never got it at all. One file, loaded by
   every page that has screenshots on it.
   --------------------------------------------------------------------------- */
.feature-image img { cursor: zoom-in; }
/* The dark screenshot is chosen by the picture element; the image inside it is
   laid out as though the picture were not there. */
.feature-image picture { display: contents; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin; background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 0.2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
@media (prefers-reduced-motion: reduce) { .lightbox { transition: none; } }
