/* Compact social icons: 28px indigo discs, 44px tap targets, no full-width band. */
.site-social{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-end;
    gap:0;
    box-sizing:border-box;
    margin:0;
    padding:0;
    background:transparent;
}
.site-social-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    padding:0;
    border-radius:50%;
    color:inherit;
    text-decoration:none;
}
.site-social-link:focus-visible{
    /* Indigo outline on white paper (~18.8:1). Gold alone on white fails. */
    outline:3px solid #08004D;
    outline-offset:2px;
}
.site-social-link img{
    display:block;
    width:28px;
    height:28px;
    padding:6px;
    box-sizing:border-box;
    background:#08004D;
    border-radius:50%;
}
/*
 * Dark footers (.footer on /prayers and .bg-dark on privacy/terms/delete-account):
 * indigo discs vanish into #08004D / #050721 (~1:1). Gold 1px ring and gold focus
 * ring are ~12.2–12.9:1 on those backgrounds (need ≥3:1).
 */
.footer .site-social-link img,
.bg-dark .site-social-link img{
    box-shadow:0 0 0 1px #FCCB00;
}
.footer .site-social-link:focus-visible,
.bg-dark .site-social-link:focus-visible{
    outline:3px solid #FCCB00;
    outline-offset:2px;
}
.masjid-site-footer{
    margin-top:24px;
    padding:8px 16px 24px;
    display:flex;
    justify-content:center;
}
@media(max-width:767px){
    .site-social{
        justify-content:center;
        width:100%;
    }
    /* Markup puts copyright/legal first for tab order; icons stay above on phones. */
    .footer .site-social{
        order:-1;
    }
}
