/* Lightbox: full-screen image viewer with zoom/pan. Used with js/lightbox.js. */
.lightbox-img { cursor: zoom-in; }
#lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(15,23,42,0.88); backdrop-filter: blur(4px); }
#lightbox.open { display: flex; }
#lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 0.75rem; box-shadow: 0 24px 64px rgba(0,0,0,0.5); transform-origin: center center; will-change: transform; user-select: none; -webkit-user-drag: none; }
#lightbox.pannable img { cursor: grab; }
#lightbox.pannable.dragging img { cursor: grabbing; }
#lightbox-close { position: absolute; top: 1.25rem; right: 1.25rem; width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background 0.2s; }
#lightbox-close:hover { background: rgba(255,255,255,0.22); }
#lightbox-hint { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.55); font-size: 0.8rem; pointer-events: none; }
