/* ErosBerry-specific additions to the separately supplied PhotoSwipe CSS. */
.pswp.pswp--eb-gallery {
    --pswp-bg: #080808;
    --pswp-root-z-index: 10020;
    z-index: 10020;
}
.pswp--eb-gallery .pswp__top-bar { height: 60px; }
.pswp--eb-gallery .pswp__button--eb-original {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 60px;
    color: #fff;
    font: 600 14px/1 Arial, sans-serif;
    text-decoration: none;
}
.pswp--eb-gallery .pswp__eb-sponsor {
    position: absolute;
    right: 12px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    justify-content: center;
    pointer-events: auto;
}
.pswp--eb-gallery .pswp__eb-sponsor a {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    height: 40px;
    overflow: hidden;
    padding: 10px 16px;
    border-radius: 8px;
    background: #d122d4;
    color: #fff;
    font: 600 14px/20px Arial, sans-serif;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pswp--eb-gallery .eb-lightbox-message {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 64px 16px;
    color: #eee;
    font: 16px/1.5 Arial, sans-serif;
    text-align: center;
}
.pswp--eb-gallery .eb-lightbox-message p { margin: 0; }
.pswp--eb-gallery .eb-lightbox-message a { color: #f6a4f7; text-decoration: underline; }
.pswp--eb-gallery .eb-lightbox-spinner {
    box-sizing: border-box;
    display: block;
    width: 32px;
    height: 32px;
    border: 3px solid #555;
    border-top-color: #f347f6;
    border-radius: 50%;
    animation: eb-lightbox-spin .8s linear infinite;
}
#eb-gallery .thumb-link[aria-busy="true"] { cursor: progress; opacity: .75; }
.eb-lightbox-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
}
@keyframes eb-lightbox-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .pswp--eb-gallery .eb-lightbox-spinner { animation: none; }
}
