/* tc_lb1: окно просмотра картинок (скопировано из tc-cert.css) */
.tc-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px 64px; background: rgba(15,17,21,.88); }
.tc-lb[hidden] { display: none; }
.tc-lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.tc-lb img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 4px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.tc-lb figcaption { color: #fff; font-size: 14px; text-align: center; }
.tc-lb button { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.tc-lb button:hover { background: rgba(255,255,255,.24); }
.tc-lb__x { top: 16px; right: 16px; }
.tc-lb__prev { left: 12px; top: 50%; margin-top: -22px; }
.tc-lb__next { right: 12px; top: 50%; margin-top: -22px; }
@media (max-width: 639px) {
.tc-lb {padding: 16px 8px;}
.tc-lb__nav {top: auto !important; bottom: 16px; margin: 0 !important;}
}
