.general_list_inner a[data-fancybox]{cursor:zoom-in}
.tebar-gallery{border:0;padding:0;max-width:none;width:min(1200px,96vw);height:min(900px,94dvh);max-height:94dvh;background:#171717;color:#fff;overflow:hidden;border-radius:6px;box-shadow:0 24px 90px #0008}
.tebar-gallery::backdrop{background:#000d}
.tebar-gallery[open]{display:flex;flex-direction:column}
.tebar-gallery-top{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #ffffff25;flex-shrink:0}
.tebar-gallery-top p{margin:0;font-size:16px;line-height:1.5}
.tebar-gallery button,.tebar-gallery a{font-size:14px;line-height:1.5;background:#292929;border:1px solid #555;color:#fff;padding:9px 14px;border-radius:3px;cursor:pointer;white-space:nowrap}
.tebar-gallery button:hover,.tebar-gallery a:hover{background:#444;color:#fff}
.tebar-gallery button:focus-visible,.tebar-gallery a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tebar-gallery-viewport{min-height:0;flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;padding:16px;background:#0c0c0c}
.tebar-gallery-viewport img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.tebar-gallery-viewport.is-zoomed{display:block}
.tebar-gallery-viewport.is-zoomed img{max-width:none;max-height:none;width:auto;height:auto;margin:0 auto;display:block}
.tebar-gallery-image-frame{position:relative;display:block;flex:none;margin:0 auto}
.tebar-gallery-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;padding:14px 20px;flex-shrink:0;border-top:1px solid #ffffff25}
.tebar-gallery-count{font-size:14px;color:#ccc;min-width:50px;text-align:center;font-variant-numeric:tabular-nums}
.tebar-gallery-error{font-size:16px;line-height:1.6;color:#ddd;text-align:center;padding:24px}
@media(max-width:600px){.tebar-gallery{height:94dvh;width:96vw}.tebar-gallery-top{padding:12px;align-items:flex-start}.tebar-gallery-top p{font-size:14px}.tebar-gallery-controls{gap:8px;padding:12px}.tebar-gallery button,.tebar-gallery a{padding:8px 10px}.tebar-gallery-viewport{padding:8px}}
