html.viewer-open{overflow:hidden}#ct-lightbox{border:0;padding:0;max-width:none;max-height:none;width:min(1120px,calc(100vw - 48px));height:min(900px,calc(100dvh - 48px));margin:auto;background:#fff;border-radius:18px;color:var(--text);box-shadow:0 24px 80px #0c142f40;overflow:hidden}#ct-lightbox::backdrop{background:#142035b8;backdrop-filter:blur(4px)}.gv-viewer-shell{height:100%;display:grid;grid-template-rows:82px minmax(0,1fr) 198px}.gv-viewer-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 24px;border-bottom:1px solid #eceef2;background:white}.gv-viewer-head h2{font-size:20px;line-height:1.35;margin:0 0 3px;letter-spacing:-.3px}.gv-viewer-head p{margin:0;font-size:13px;color:var(--muted)}.gv-square{display:grid;place-items:center;width:48px;height:48px;border:1px solid #e0e4ea;border-radius:10px;background:#fff;flex-shrink:0}.gv-square svg{width:23px;height:23px}.gv-square:hover{border-color:#d59baa;background:#fff5f7}.gv-viewer-scene{position:relative;min-height:0;background:#f5f6f8;padding:16px 72px;display:flex}.gv-stage{position:relative;width:100%;height:100%;overflow:hidden;touch-action:none;cursor:zoom-in;user-select:none;-webkit-user-select:none;border-radius:10px;outline-offset:-3px!important}.gv-stage.zoomed{cursor:grab}.gv-stage.dragging{cursor:grabbing}.gv-stage img{position:absolute;top:50%;left:50%;max-width:none;max-height:none;user-select:none;pointer-events:none;transform-origin:center;will-change:transform;border-radius:5px}.gv-photo-prev,.gv-photo-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;box-shadow:0 2px 8px #1a253b0a}.gv-photo-prev{left:12px}.gv-photo-prev svg{transform:rotate(180deg)}.gv-photo-next{right:12px}.gv-viewer-bottom{border-top:1px solid var(--line);background:white;padding:12px 24px 14px;display:flex;align-items:center;flex-direction:column;min-height:0}.gv-viewer-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}.gv-zoom-controls{display:flex;align-items:center;border:1px solid #dfe3e9;border-radius:9px;overflow:hidden;height:46px}.gv-zoom-controls button{display:grid;place-items:center;width:46px;height:44px;background:white}.gv-zoom-controls button:hover{background:#f4f5f8}.gv-zoom-controls button:disabled{color:#b4bdca;cursor:default;background:#fafbfc}.gv-zoom-controls svg{width:19px;height:19px}.gv-zoom-controls output{min-width:58px;text-align:center;font-size:14px;font-weight:600}.gv-viewer-tools #fit-photo{height:46px;min-width:130px;padding:0 16px;display:flex;align-items:center;gap:9px;justify-content:center;border:1px solid #dfe3e9;border-radius:9px;color:var(--text);background:white;font-size:14px;font-weight:600}.gv-viewer-tools #fit-photo.active{border-color:#e6a9ba;color:#c11d48;background:#fff7f9}.gv-viewer-tools #fit-photo svg{width:19px;height:19px}#viewer-help{font-size:12px;line-height:20px;color:var(--muted);margin:7px 0 10px;text-align:center}.gv-filmstrip{display:flex;gap:12px;justify-content:flex-start;max-width:100%;overflow-x:auto;scrollbar-width:none;flex-shrink:0;padding:2px}.gv-filmstrip::-webkit-scrollbar{display:none}.gv-thumb{width:104px;flex:0 0 104px;min-height:82px;padding:3px;border:1px solid #e1e5ec;border-radius:9px;text-align:center;background:white;line-height:1.2}.gv-thumb img{width:94px;height:55px;display:block;object-fit:cover;border-radius:5px;margin:auto}.gv-thumb span{display:block;font-size:11px;padding-top:5px;padding-bottom:3px;color:#5f6b7e}.gv-thumb[aria-pressed=true]{border:2px solid var(--primary);padding:2px;background:#fff5f7}.gv-thumb[aria-pressed=true] span{color:#ba2348;font-weight:600}#ct-lightbox button:focus-visible{outline:3px solid #1687c6;outline-offset:2px}#ct-lightbox .gv-thumb:focus-visible{outline-offset:-3px}
@media(max-width:767px){#ct-lightbox{width:100%;height:100dvh;border-radius:0;margin:0}.gv-viewer-shell{grid-template-rows:76px minmax(0,1fr) calc(198px + env(safe-area-inset-bottom,0px))}.gv-viewer-head{padding:12px 16px;gap:12px}.gv-viewer-head h2{font-size:17px;line-height:1.35}.gv-viewer-head p{font-size:12px}.gv-viewer-head .gv-square{width:44px;height:44px;border-radius:9px}.gv-viewer-scene{padding:12px;display:block}.gv-stage{height:100%;width:100%;border-radius:8px}.gv-photo-prev,.gv-photo-next{width:44px;height:44px;top:auto;bottom:16px;transform:none;background:#fffefc;box-shadow:0 2px 12px #1a253b12}.gv-photo-prev{left:16px}.gv-photo-next{right:16px}.gv-viewer-bottom{padding:12px 12px calc(12px + env(safe-area-inset-bottom,0px))}.gv-viewer-tools{gap:10px}.gv-zoom-controls{height:46px}.gv-zoom-controls button{width:44px;height:44px}.gv-zoom-controls output{min-width:48px}.gv-viewer-tools #fit-photo{min-width:124px;height:46px;padding:0 12px}#viewer-help{font-size:12px;margin:8px 0 10px;line-height:18px}.gv-filmstrip{gap:8px;align-self:stretch;justify-content:center;overflow-x:auto}.gv-thumb{width:calc((100vw - 60px)/4);flex:0 0 calc((100vw - 60px)/4);min-height:76px;max-width:104px}.gv-thumb img{width:100%;height:50px}.gv-thumb span{font-size:10px;white-space:nowrap}.gv-stage img{border-radius:3px}}
@media(max-height:600px){.gv-viewer-shell{grid-template-rows:64px minmax(0,1fr) 124px}.gv-viewer-head{padding-top:8px;padding-bottom:8px}.gv-viewer-bottom{padding:6px 12px}.gv-filmstrip{position:absolute;bottom:8px}.gv-thumb{min-height:54px;width:64px;flex-basis:64px}.gv-thumb img{height:43px}.gv-thumb span{display:none}#viewer-help{display:none}.gv-viewer-tools{margin-bottom:58px}.gv-viewer-scene{padding-top:8px;padding-bottom:8px}.gv-viewer-head h2{font-size:16px}.gv-viewer-head p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.gv-stage img{transition:none}}

#ct-lightbox[open]{display:block;padding:0}#ct-lightbox{--text:#212a3b;--primary:#c91e48;--line:#e5e6e8}#ct-lightbox button{font:inherit;cursor:pointer}#ct-lightbox .gv-zoom-controls button{border:0;padding:0;color:inherit}#ct-lightbox .gv-viewer-head>div{min-width:0}#ct-lightbox .gv-viewer-head h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ct-lightbox [hidden]{display:none!important}

#ct-lightbox .gv-filmstrip{justify-content:safe center}#ct-lightbox .gv-thumb img{object-fit:contain}#ct-lightbox .gv-thumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-gallery-controls{flex-wrap:wrap}.mc-gallery-controls [data-gallery-hint]{display:block;width:100%;margin:0}

#ct-lightbox .gv-viewer-head p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

#ct-lightbox .gv-viewer-shell{grid-template-columns:minmax(0,1fr)}#ct-lightbox .gv-viewer-head{min-width:0}
