/* WebWorth gallery viewer standard v1.0: styles (loaded by gallery.js). Prefix czg-. Remove the kit = delete this folder. */
html.czg-lock{overflow:hidden!important;scrollbar-gutter:stable}
@supports not (scrollbar-gutter:stable){html.czg-lock{padding-right:var(--czg-sbw,0px)}}
.czg{--czg-th:64px;--czg-bg:#090b0d;position:fixed;left:0;right:0;bottom:0;top:var(--ww-bar-h,0px);z-index:2147483040;display:flex;flex-direction:column;background:var(--czg-bg);color:#fff;font-family:var(--cz-body,system-ui,sans-serif);opacity:0;transition:opacity .2s ease;overscroll-behavior:contain;outline:none;-webkit-tap-highlight-color:transparent}
.czg[hidden]{display:none}
.czg.czg-in{opacity:1}
.czg.czg-fs-on{top:0;z-index:2147483200}
.czg *{box-sizing:border-box}
.czg-top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;min-height:56px}
.czg-count{font:600 14px/1 var(--cz-body,system-ui,sans-serif);letter-spacing:.06em;color:rgba(255,255,255,.85);padding-left:4px}
.czg-tools{display:flex;gap:8px}
.czg-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);color:#fff;cursor:pointer;padding:0;margin:0;font:inherit}
.czg-btn:hover{background:rgba(255,255,255,.24)}
.czg-btn:focus-visible,.czg-th:focus-visible{outline:3px solid #fff;outline-offset:2px}
.czg-stage{position:relative;flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 64px;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.czg-imgwrap{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}
.czg-img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;transition:opacity .2s ease,transform .15s ease;-webkit-user-drag:none;user-select:none}
.czg-loading .czg-img{opacity:.35}
.czg-nav{position:absolute;top:50%;margin-top:-22px;z-index:2}
.czg-prev{left:10px}.czg-next{right:10px}
.czg-strip{flex:0 0 auto;overflow-x:auto;overflow-y:hidden;padding:10px 12px 12px;border-top:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.55) rgba(255,255,255,.1);overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.czg-strip[hidden]{display:none}
.czg-strip::-webkit-scrollbar{height:10px}
.czg-strip::-webkit-scrollbar-track{background:rgba(255,255,255,.1);border-radius:6px}
.czg-strip::-webkit-scrollbar-thumb{background:rgba(255,255,255,.55);border-radius:6px}
.czg-rail{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;grid-template-rows:repeat(2,var(--czg-th));gap:8px;width:max-content;min-width:100%}
.czg-one .czg-rail{justify-content:center}
.czg-th{display:block;height:var(--czg-th);aspect-ratio:4/3;padding:0;margin:0;border:2px solid transparent;border-radius:6px;background:#222;overflow:hidden;cursor:pointer;opacity:.6;transition:opacity .15s,border-color .15s}
.czg-th img{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.czg-th:hover{opacity:.9}
.czg-th.is-on{opacity:1;border-color:var(--cz-btn,#fff);box-shadow:0 0 0 1px rgba(0,0,0,.6)}
.czg-live{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);margin:-1px;padding:0;border:0}
/* full screen / immersive: photo only (thumbnails hidden), compact bar over the photo */
.czg-fs-on .czg-strip{display:none}
.czg-fs-on .czg-stage{padding:0}
.czg-fs-on .czg-top{position:absolute;left:0;right:0;top:0;z-index:3;background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,0))}
.czg-fs-on .czg-img{border-radius:0}
@media (max-width:760px){
 .czg{--czg-th:52px}
 .czg-stage{padding:0 8px}
 .czg-nav{width:40px;height:40px;margin-top:-20px;background:rgba(0,0,0,.45)}
 .czg-prev{left:6px}.czg-next{right:6px}
 .czg-strip{padding:8px 10px 10px}
}
@media (max-height:520px){.czg{--czg-th:44px}.czg-top{min-height:48px;padding:4px 10px}.czg-btn{width:40px;height:40px}}
@media (prefers-reduced-motion:reduce){.czg,.czg-img,.czg-th{transition:none}}

/* show-first rule: hidden extra tiles + "View more photos" button */
.czg-more-hid{display:none!important}
.czg-more-wrap{display:flex;justify-content:center;margin:26px 0 6px}
.czg-more{font:600 15px/1.2 var(--cz-body,inherit);letter-spacing:.02em;padding:14px 26px;min-height:48px;border-radius:999px;border:1.5px solid currentColor;background:transparent;color:inherit;cursor:pointer}
.czg-more:hover{background:rgba(127,127,127,.12)}
.czg-more:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.czg-cap{flex:0 0 auto;margin:0;padding:10px 64px 6px;text-align:center;color:rgba(255,255,255,.92);font:italic 600 1.2rem/1.25 var(--f-head,Georgia,serif);min-height:1.4em}
.czg-cap[hidden]{display:none}
@media (max-width:640px){.czg-cap{padding:8px 16px 4px;font-size:1.05rem}}
.czg-img{will-change:opacity}
