.member-gallery-open{width:auto;min-height:44px;margin:10px 0 0;text-align:center}
.member-gallery-dialog{width:calc(100vw - 32px);height:calc(100vh - 32px);height:calc(100dvh - 32px);max-width:1440px;max-height:none;padding:16px;border:1px solid #596575;border-radius:12px;background:#101b29;color:#fff;overflow:hidden;box-sizing:border-box}
.member-gallery-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px}.member-gallery-dialog::backdrop{background:rgba(4,10,18,.9)}
.member-gallery-heading{display:flex;align-items:center;gap:16px}.member-gallery-heading h2{margin:0;font-size:1.3rem}.member-gallery-heading output{margin-left:auto;white-space:nowrap;font-size:1rem}.member-gallery-heading button{width:44px;min-width:44px;min-height:44px;font-size:1.8rem;padding:0;border:1px solid #7c8999;background:#253449;color:#fff}
.member-gallery-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;background:#08111d;border-radius:8px;overflow:hidden;padding:0 50px}.member-gallery-stage>img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.member-gallery-stage>button{position:absolute;top:calc(50% - 24px);width:44px;min-height:48px;padding:0;border:1px solid #7c8999;background:#253449;color:#fff;font-size:2rem;z-index:1}#memberGalleryPrevious{left:4px}#memberGalleryNext{right:4px}
.member-gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;min-width:0;max-width:100%;padding:3px}.member-gallery-thumbnails>button{flex:0 0 72px;width:72px;height:60px;padding:3px;border:2px solid transparent;background:#253449;border-radius:5px}.member-gallery-thumbnails>button[aria-current=true]{border-color:#ffc629}.member-gallery-thumbnails img{display:block;width:100%;height:100%;object-fit:contain}.member-gallery-dialog button:focus-visible{outline:3px solid #ffc629;outline-offset:2px}#memberGalleryStatus{min-height:1.2em;font-size:.9rem;text-align:center;overflow-wrap:anywhere}
@media(max-width:600px){.member-gallery-dialog{width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);padding:10px;gap:8px}.member-gallery-heading{gap:8px}.member-gallery-heading h2{font-size:1rem}.member-gallery-stage{padding:0}.member-gallery-stage>button{background:rgba(37,52,73,.85)}.member-gallery-thumbnails>button{flex-basis:60px;width:60px;height:52px}.member-gallery-open{width:100%}}
