.tb-gallery-image{cursor:zoom-in}.tb-admin .tb-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.tb-admin .tb-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:5px}.tb-admin .tb-gallery .tb-document{padding:18px;border:1px solid #414148;overflow-wrap:anywhere}.tb-viewer{position:fixed;inset:0;margin:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;padding:20px 28px;border:0;background:#111113;color:#f4f4f6;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;z-index:100000}.tb-viewer[open]{display:flex;flex-direction:column}.tb-viewer::backdrop{background:#000e}.tb-viewer *{box-sizing:border-box}.tb-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-shrink:0;min-height:44px}.tb-viewer-toolbar>div{display:flex;gap:10px}.tb-viewer button{border:1px solid #55555f;border-radius:5px;background:#252529;color:#f4f4f6;font:inherit;padding:9px 14px;cursor:pointer;min-height:44px}.tb-viewer button:hover{background:#393940}.tb-viewer button:focus-visible{outline:2px solid #fff;outline-offset:3px}.tb-viewer-content{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:15px;align-items:center;min-height:0;flex:1;padding:16px 0}.tb-viewer-stage{display:grid;place-items:center;overflow:auto;width:100%;height:100%;min-height:0;touch-action:pan-y pinch-zoom}.tb-viewer-photo{max-width:100%;max-height:100%;object-fit:contain;display:block;min-height:0}.tb-viewer .tb-viewer-prev,.tb-viewer .tb-viewer-next{font-size:32px;line-height:1;padding:0;width:48px;height:58px}.tb-viewer [hidden]{display:none!important}.tb-viewer-stage.is-zoomed{display:block;touch-action:auto}.tb-viewer-stage.is-zoomed img{max-width:none;max-height:none;width:auto;height:auto;margin:auto}.tb-viewer-caption{flex-shrink:0;text-align:center;margin:0;font-size:12px;color:#c0c0c9;overflow-wrap:anywhere;max-height:50px;overflow:auto}.tb-viewer-status{max-width:500px;text-align:center;line-height:1.7;padding:20px;color:#c0c0c9}.tb-viewer-counter{font-variant-numeric:tabular-nums;white-space:nowrap}@media(max-width:600px){.tb-viewer{padding:12px 10px calc(12px + env(safe-area-inset-bottom))}.tb-viewer-content{grid-template-columns:36px minmax(0,1fr) 36px;gap:5px}.tb-viewer .tb-viewer-prev,.tb-viewer .tb-viewer-next{width:36px;height:48px}.tb-viewer button{font-size:12px;padding:8px 10px}.tb-viewer-toolbar>div{gap:6px}.tb-admin .tb-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tb-viewer-prev{grid-column:1;grid-row:1}.tb-viewer-stage{grid-column:2;grid-row:1}.tb-viewer-next{grid-column:3;grid-row:1}
