#mw-birthday-gallery{padding:0;border:0;background:transparent;color:#fff;max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;margin:auto;overflow:auto}
#mw-birthday-gallery::backdrop{background:rgba(5,8,14,.94)}
#mw-birthday-gallery .mw-gallery-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto;padding:64px 60px 24px;min-height:100%;width:fit-content;max-width:100%;box-sizing:border-box}
#mw-birthday-gallery img{display:block;max-width:calc(100vw - 120px);max-height:calc(100dvh - 150px);width:auto;height:auto;object-fit:contain}
#mw-birthday-gallery button{border:1px solid #ffffff80;border-radius:50%;background:#161b24;color:#fff;width:44px;height:44px;font-size:26px;line-height:1;cursor:pointer}
#mw-birthday-gallery button:focus-visible{outline:3px solid #ffcf50;outline-offset:4px}
#mw-birthday-gallery button[hidden]{display:none}
#mw-birthday-gallery [data-close]{position:absolute;top:12px;right:12px}
#mw-birthday-gallery [data-previous],#mw-birthday-gallery [data-next]{position:absolute;top:45%}
#mw-birthday-gallery [data-previous]{left:8px}#mw-birthday-gallery [data-next]{right:8px}
#mw-birthday-gallery figcaption{text-align:center;margin-top:16px;font-size:16px;color:#fff}
#mw-birthday-gallery [data-status]{text-align:center;color:#fff;font-size:14px}
@media(max-width:600px){#mw-birthday-gallery .mw-gallery-panel{padding:64px 8px 76px}#mw-birthday-gallery img{max-width:calc(100vw - 16px);max-height:calc(100dvh - 190px)}#mw-birthday-gallery [data-previous],#mw-birthday-gallery [data-next]{top:auto;bottom:14px}#mw-birthday-gallery [data-previous]{left:calc(50% - 60px)}#mw-birthday-gallery [data-next]{right:calc(50% - 60px)}}
