.ac-gallery-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:flex-end;justify-content:center;background:rgba(29,29,29,.32);font-family:Geist,Arial,sans-serif;color:#1D1D1D;overscroll-behavior:contain}
.ac-gallery{display:flex;flex-direction:column;width:min(100%,720px);max-height:92dvh;max-height:92vh;background:#F4F2EC;border-radius:18px 18px 0 0;box-shadow:0 -16px 50px rgba(29,29,29,.16);overflow:hidden;outline:none}
.ac-gallery-header{display:flex;align-items:center;gap:14px;flex:none;padding:20px 20px 16px;border-bottom:1px solid #DDDDDD;background:#F4F2EC}
.ac-gallery-heading{flex:1;min-width:0}
.ac-gallery-kicker{font-size:10px;font-weight:600;line-height:1;letter-spacing:.08em;color:#555}
.ac-gallery-title{margin:7px 0 0;font-size:22px;font-weight:700;line-height:1.15;letter-spacing:-.02em;text-wrap:pretty}
.ac-gallery-close,.ac-gallery-arrow{display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border:1px solid #DDDDDD;border-radius:50%;background:#fff;color:#1D1D1D;cursor:pointer;font:400 30px/1 Geist,Arial,sans-serif}
.ac-gallery-close:focus-visible,.ac-gallery-arrow:focus-visible,.ac-gallery-thumbnail:focus-visible{outline:2px solid #046E82;outline-offset:3px}
.ac-gallery-content{overflow-y:auto;min-height:0;padding:18px 20px max(24px,env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ac-gallery-figure{margin:0}
.ac-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:3/2;overflow:hidden;background:#EBE8E0;border:1px solid #DDDDDD;border-radius:14px;box-sizing:border-box;touch-action:pan-y;user-select:none}
.ac-gallery-image{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
.ac-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;font-size:32px;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(29,29,29,.10)}
.ac-gallery-arrow:disabled{display:none}
.ac-gallery-previous{left:8px}
.ac-gallery-next{right:8px}
.ac-gallery-caption{margin-top:10px;font-size:13px;font-weight:600;line-height:1.4}
.ac-gallery-notice{margin:8px 0 18px;color:#555;font-size:12px;line-height:1.5}
.ac-gallery-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ac-gallery-thumbnail{display:flex;flex-direction:column;align-items:stretch;min-width:0;overflow:hidden;border:1px solid #DDDDDD;border-radius:10px;background:#fff;padding:0;color:#1D1D1D;text-align:left;cursor:pointer;font:400 11px/1.35 Geist,Arial,sans-serif}
.ac-gallery-thumbnail.is-selected{border-color:#1D1D1D;box-shadow:0 0 0 1px #1D1D1D}
.ac-gallery-thumbnail img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:#EBE8E0;-webkit-user-drag:none}
.ac-gallery-thumbnail span{padding:8px}
.ac-gallery-thumbnail-unavailable span{padding-top:28px;padding-bottom:28px;color:#555}
.ac-gallery-unavailable{padding:24px 56px;font-size:13px;line-height:1.5;color:#555;text-align:center}
.ac-gallery [hidden]{display:none!important}
@media(max-width:600px){.ac-gallery{height:100dvh;height:100vh;max-height:100dvh;max-height:100vh;border-radius:0}.ac-gallery-header{padding-top:max(16px,env(safe-area-inset-top));padding-left:18px;padding-right:18px}.ac-gallery-content{padding-left:18px;padding-right:18px}.ac-gallery-title{font-size:21px}.ac-gallery-thumbnails{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-gallery-thumbnail{font-size:12px}.ac-gallery-arrow{width:44px;height:44px}}
@supports(height:100dvh){.ac-gallery{max-height:92dvh}@media(max-width:600px){.ac-gallery{height:100dvh;max-height:100dvh}}}
