.pswp__custom-caption { position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 10; width: max-content; max-width: min(70ch, calc(100% - 32px)); padding: 8px 12px; transform: translateX(-50%); border-radius: 5px; background: rgb(0 0 0 / .72); color: #fff; font: 13px/1.5 "Open Sans Muzmost", sans-serif; text-align: center; overflow-wrap: anywhere; }
.pswp__custom-caption[hidden] { display: none; }
@media (max-width: 900px) { .pswp__custom-caption { bottom: max(64px, env(safe-area-inset-bottom)); } }
