/* Floating social links and back-to-top; shared by every public page. */
.ms-floating-social{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:1029;display:flex;flex-direction:column;gap:7px;pointer-events:none}
.ms-floating-social__item{pointer-events:auto;display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:11px;background:#102644;color:#d5ad67!important;border:1px solid rgba(213,173,103,.32);box-shadow:0 6px 22px rgba(7,22,43,.22);text-decoration:none!important;font-size:20px;transition:background .2s,color .2s,transform .2s}
.ms-floating-social__item:hover,.ms-floating-social__item:focus-visible{color:#102644!important;background:#d5ad67;transform:translateX(-3px);outline-offset:3px}
.ms-back-to-top{position:fixed;bottom:24px;right:18px;z-index:1030;width:46px;height:46px;border:1px solid rgba(213,173,103,.45);border-radius:50%;background:#102644;color:#d5ad67;display:flex;align-items:center;justify-content:center;font-size:22px;box-shadow:0 6px 22px rgba(7,22,43,.24);cursor:pointer;transition:opacity .2s,transform .2s,background .2s}
.ms-back-to-top[hidden]{display:none!important}
.ms-back-to-top:hover,.ms-back-to-top:focus-visible{background:#d5ad67;color:#102644;transform:translateY(-3px)}
@media(max-width:767.98px){.ms-floating-social{right:10px;top:auto;bottom:88px;transform:none;gap:6px}.ms-floating-social__item{width:39px;height:39px;border-radius:10px;font-size:18px}.ms-back-to-top{right:10px;bottom:24px;width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.ms-floating-social__item,.ms-back-to-top{transition:none!important}}

/* V3.8.41: compact social controls on narrow viewports; reserve edge space for page actions. */
@media(max-width:575.98px){.ms-floating-social{right:6px;bottom:76px;gap:4px;max-height:calc(100dvh - 170px);overflow-y:auto;scrollbar-width:thin}.ms-floating-social__item{width:36px;height:36px;min-height:36px;border-radius:9px;font-size:16px}.ms-back-to-top{right:7px;bottom:20px;width:40px;height:40px}}
@media(max-width:350px){.ms-floating-social{right:4px}.ms-floating-social__item{width:33px;height:33px;min-height:33px}}
