
/* Option 2: thin hover icon; touch screens keep a subtle hint. */
body[data-page="gallery"] .gallery-grid .gallery-image[data-gallery-id]{cursor:zoom-in}
body[data-page="gallery"] .gallery-grid .gallery-image[data-gallery-id]:focus-visible{outline:3px solid #456b54;outline-offset:3px}
body[data-page="gallery"] .gallery-grid .gallery-image .ml-gallery-zoom-hint{position:absolute!important;right:14px!important;bottom:14px!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#fff!important;pointer-events:none!important;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s;filter:drop-shadow(0 1px 2px #0009);z-index:1}
body[data-page="gallery"] .gallery-grid .gallery-image:hover .ml-gallery-zoom-hint,body[data-page="gallery"] .gallery-grid .gallery-image:focus-visible .ml-gallery-zoom-hint{opacity:1;transform:none}
html #ml-gallery-lightbox{position:fixed!important;inset:0!important;margin:0!important;padding:0!important;border:0!important;width:100vw!important;max-width:100vw!important;min-width:0!important;height:100dvh!important;max-height:100dvh!important;background:#101210!important;color:#fff!important;overflow:hidden!important;box-sizing:border-box!important}
#ml-gallery-lightbox::backdrop{background:#000d}
#ml-gallery-lightbox .ml-gallery-viewer{height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;padding:18px 24px!important;gap:10px!important;box-sizing:border-box!important}
#ml-gallery-lightbox .ml-gallery-viewer-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
#ml-gallery-lightbox .ml-gallery-viewer-head b{font:600 17px/1.5 'Malgun Gothic',sans-serif!important;color:#fff!important}
#ml-gallery-lightbox .ml-gallery-photo-category{display:block!important;font:12px/1.6 'Malgun Gothic',sans-serif!important;color:#bec7c0!important;margin-top:4px!important}
#ml-gallery-lightbox button,#ml-gallery-lightbox a[data-gallery-original]{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#ffffff12!important;color:#fff!important;border:1px solid #ffffff50!important;border-radius:4px!important;min-height:44px!important;padding:9px 14px!important;cursor:pointer!important;font:14px/1.4 'Malgun Gothic',sans-serif!important;text-decoration:none!important}
#ml-gallery-lightbox button:disabled{opacity:.3;cursor:default}
#ml-gallery-lightbox :focus-visible{outline:3px solid #b8d8c4!important;outline-offset:2px!important}
#ml-gallery-lightbox .ml-gallery-photo-stage{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;touch-action:pan-y}
#ml-gallery-lightbox .ml-gallery-large{display:block!important;max-height:100%!important;max-width:calc(100% - 140px)!important;width:auto!important;height:auto!important;object-fit:contain!important;user-select:none!important;margin:0!important;padding:0!important;border:0!important;transform:none!important}
#ml-gallery-lightbox .ml-gallery-photo-prev,#ml-gallery-lightbox .ml-gallery-photo-next{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:52px!important;padding:0!important;font-size:30px!important}
#ml-gallery-lightbox .ml-gallery-photo-prev{left:0!important}#ml-gallery-lightbox .ml-gallery-photo-next{right:0!important}
#ml-gallery-lightbox .ml-gallery-viewer-bottom{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-height:46px!important;margin:0!important;padding:0!important}
#ml-gallery-lightbox .ml-gallery-photo-counter{font:14px/1.5 'Malgun Gothic',sans-serif!important;color:white!important}
#ml-gallery-lightbox .ml-gallery-photo-tip{color:#c2c9c3!important;font:12px/1.5 'Malgun Gothic',sans-serif!important}
@media(max-width:760px){
 body[data-page="gallery"] .gallery-grid .gallery-image .ml-gallery-zoom-hint{opacity:.7;transform:none;right:10px!important;bottom:10px!important}
 #ml-gallery-lightbox .ml-gallery-viewer{padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;gap:8px!important}
 #ml-gallery-lightbox .ml-gallery-viewer-head b{font-size:14px!important}
 #ml-gallery-lightbox .ml-gallery-photo-category{font-size:11px!important}
 #ml-gallery-lightbox .ml-gallery-large{max-width:100%!important}
 #ml-gallery-lightbox .ml-gallery-photo-prev,#ml-gallery-lightbox .ml-gallery-photo-next{top:auto!important;bottom:8px!important;transform:none!important;font-size:23px!important;width:44px!important;opacity:.9}
 #ml-gallery-lightbox .ml-gallery-viewer-bottom{gap:8px!important;flex-wrap:wrap!important}
 #ml-gallery-lightbox .ml-gallery-photo-tip{width:100%!important;text-align:center!important}
}

