.chlb{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;background:rgba(8,14,32,.92);opacity:0;transition:opacity .18s ease}
.chlb.is-open{opacity:1}
.chlb[hidden]{display:none}
.chlb *{box-sizing:border-box}
.chlb-stage{position:absolute;inset:56px 64px 72px;display:flex;align-items:center;justify-content:center;overflow:auto;touch-action:pan-y}
.chlb-img{display:block;flex:0 0 auto;max-width:calc(100vw - 128px);max-height:calc(100vh - 128px);width:auto;height:auto;border-radius:10px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.5);cursor:zoom-in;transition:opacity .15s ease}
.chlb.is-loading .chlb-img{opacity:.25}
.chlb.is-zoomed .chlb-stage{align-items:flex-start;justify-content:flex-start}
.chlb.is-zoomed .chlb-img{max-width:none!important;max-height:none!important;cursor:zoom-out;margin:auto}
.chlb-btn{position:absolute;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font:400 24px/1 Arial,Helvetica,sans-serif;cursor:pointer;-webkit-appearance:none;appearance:none}
.chlb-btn:hover{background:rgba(255,255,255,.28)}
.chlb-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.chlb-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.chlb-close{top:8px;right:10px}
.chlb-prev{left:10px;top:50%;margin-top:-22px}
.chlb-next{right:10px;top:50%;margin-top:-22px}
.chlb.is-single .chlb-prev,.chlb.is-single .chlb-next,.chlb.is-single .chlb-count{display:none}
.chlb-bar{position:absolute;left:0;right:0;bottom:0;min-height:64px;padding:10px 64px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#fff;font:400 15px/1.4 Arial,Helvetica,sans-serif;text-align:center}
.chlb-cap{max-width:900px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.chlb-count{font-size:13px;opacity:.75}
.chlb-spin{position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:chlb-spin .8s linear infinite;display:none}
.chlb.is-loading .chlb-spin{display:block}
@keyframes chlb-spin{to{transform:rotate(360deg)}}
html.chlb-lock,html.chlb-lock body{overflow:hidden}
@media (max-width:700px){.chlb-stage{inset:56px 6px 84px}.chlb-img{max-width:calc(100vw - 12px);max-height:calc(100vh - 140px)}.chlb-prev,.chlb-next{top:auto;bottom:16px;margin-top:0}.chlb-bar{padding:8px 60px 14px}}
@media (prefers-reduced-motion:reduce){.chlb,.chlb-img{transition:none}.chlb-spin{animation-duration:2s}}
