/* Full-screen image viewer shared by all pages */
.tl-overlay { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); background: rgba(10, 20, 14, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.tl-overlay.open { opacity: 1; visibility: visible; }
.tl-figure { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; transform: scale(.94); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.tl-overlay.open .tl-figure { transform: none; opacity: 1; }
.tl-img { display: block; max-width: min(100%, 96vw); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); width: auto; height: auto; object-fit: contain; border: 1px solid rgba(255, 224, 136, .55); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); background: #101a13; cursor: default; }
.tl-caption { margin: 0; max-width: 90vw; text-align: center; color: rgba(255, 255, 255, .85); font: 600 .78rem/1.4 "Montserrat", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.tl-caption:empty { display: none; }
.tl-close { position: fixed; top: clamp(12px, 2.5vw, 28px); right: clamp(12px, 2.5vw, 28px); display: grid; place-items: center; width: 48px; height: 48px; padding: 0; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 224, 136, .7); border-radius: 50%; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.tl-close svg { width: 20px; height: 20px; }
.tl-close:hover, .tl-close:focus-visible { background: #d4af37; color: #1b3022; transform: rotate(90deg); outline: none; }
.tl-zoomable { cursor: zoom-in; }
body.tl-lock { overflow: hidden; }
@media (max-width: 600px) { .tl-close { width: 42px; height: 42px; } .tl-caption { font-size: .68rem; } }
