.floating-share{position:fixed;right:0;bottom:28px;z-index:9999;background:#111;color:#fff;border:0;padding:14px 18px;font-size:12px;letter-spacing:1px;cursor:pointer}.share-pop{position:fixed;right:0;bottom:75px;z-index:9999;display:none;background:#111;padding:12px;gap:10px;flex-direction:column}.share-pop.open{display:flex}.share-pop a{color:#fff;text-decoration:none;font-size:12px;padding:7px 12px;white-space:nowrap}@media(max-width:600px){.floating-share{bottom:18px;padding:12px 14px}.share-pop{bottom:62px}}
/* Exact floating share icon: menu-side, bottom-right */
.floating-share{position:fixed;right:22px;bottom:22px;width:54px;height:54px;border:0;border-radius:50%;background:#111;color:#fff;font-size:25px;line-height:54px;text-align:center;cursor:pointer;z-index:9999;box-shadow:0 5px 18px rgba(0,0,0,.25);padding:0;font-size:0}
.floating-share:before{content:'↗';font-size:27px;font-weight:700}
.share-pop{position:fixed;right:22px;bottom:86px;display:none;flex-direction:column;gap:8px;background:#111;padding:14px;border-radius:8px;z-index:9998;box-shadow:0 5px 20px rgba(0,0,0,.25)}
.share-pop.open{display:flex}
.share-pop a{color:#fff;text-decoration:none;font-size:14px;padding:8px 12px;white-space:nowrap}
.share-pop a:hover{background:#333}
@media(max-width:600px){.floating-share{right:14px;bottom:14px}.share-pop{right:14px;bottom:78px}}

/* Screenshot-style share icon: fixed at the side-menu bottom */
.floating-share{position:fixed;left:48px;bottom:24px;right:auto;width:52px;height:52px;border:1px solid #555;background:#111;color:#fff;display:grid;place-items:center;z-index:9999;cursor:pointer;padding:0}
.floating-share span{font-size:28px;font-weight:700;line-height:1}
.share-pop{position:fixed;left:48px;right:auto;bottom:86px;display:none;flex-direction:column;gap:8px;background:#111;padding:14px;border-radius:0;z-index:9998;box-shadow:0 5px 20px rgba(0,0,0,.25)}
.share-pop.open{display:flex}
.share-pop a{color:#fff;text-decoration:none;font-size:13px;padding:8px 12px;white-space:nowrap}
.share-pop a:hover{background:#333}
@media(max-width:760px){.floating-share{left:14px;bottom:14px;width:50px;height:50px}.share-pop{left:14px;bottom:76px}}

/* Share belongs inside the top navigation, not at the bottom of the page. */
.floating-share,.share-pop{display:none!important}
.header-share{position:relative;display:flex;align-items:center;margin-left:4px;flex:0 0 auto}
.header-share-button{width:40px;height:40px;border:1px solid #555;background:#050505;color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.header-share-button span{font-size:24px;line-height:1;font-weight:700}
.header-share-pop{position:absolute;right:0;top:calc(100% + 10px);display:none;flex-direction:column;gap:0;min-width:170px;background:#050505;border:1px solid #333;padding:8px;z-index:10050;box-shadow:0 14px 30px rgba(0,0,0,.35)}
.header-share.open .header-share-pop{display:flex}
.header-share-pop a{color:#fff;text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.5px;padding:12px 14px;white-space:nowrap}
.header-share-pop a:hover{background:#222}
@media(max-width:760px){
  .header-share{margin:8px 0 0;align-self:stretch;justify-content:flex-start}
  .header-share-button{width:42px;height:42px}
  .header-share-pop{position:static;margin:6px 0 8px;min-width:0;width:100%;}
  .header-share.open .header-share-pop{display:flex}
}
