#site-share-floating,#site-share-modal{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}
#site-share-floating{position:fixed;right:20px;bottom:calc(20px + env(safe-area-inset-bottom));z-index:80;min-height:44px;padding:10px 16px;border:1px solid #dedee2;border-radius:2px;background:#fff;color:#4d5ddf;box-shadow:0 4px 18px #00000012;font-size:13px;font-weight:600;line-height:1.4;cursor:pointer}
#site-share-modal{width:min(420px,calc(100% - 32px));max-height:85dvh;overflow-y:auto;padding:24px;border:1px solid #dedee2;border-radius:2px;background:#f7f7f8;color:#1f1f1f;box-shadow:0 16px 60px #0003;margin:auto}
#site-share-modal *{box-sizing:border-box}
#site-share-modal::backdrop{background:#15152670}
#site-share-modal .ss-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
#site-share-modal h2{margin:0;color:#4d5ddf;font:600 20px/1.3 system-ui,sans-serif;letter-spacing:normal}
#site-share-modal .ss-close{flex:none;width:44px;height:44px;border:1px solid #dedee2;border-radius:2px;background:#fff;color:#1f1f1f;font:24px/1 system-ui;cursor:pointer}
#site-share-modal .ss-description{font:14px/1.5 system-ui;color:#686870;letter-spacing:normal;margin:12px 0 20px}
#site-share-modal .ss-actions{display:grid;gap:10px}
#site-share-modal .ss-actions a,#site-share-modal .ss-actions button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:12px;border:1px solid #dedee2;border-radius:2px;background:#fff;color:#4d5ddf;font:600 14px/1.4 system-ui;text-decoration:none;cursor:pointer}
#site-share-modal .ss-actions a{background:#4d5ddf;color:#fff;border-color:#4d5ddf}
#site-share-modal .ss-status{font:13px/1.4 system-ui;letter-spacing:normal;color:#4d5ddf;margin:14px 0 0}
#site-share-modal .ss-status:empty{display:none}
#site-share-modal .ss-link{width:100%;min-width:0;padding:10px;font:14px/1.4 system-ui;margin-top:12px;border:1px solid #dedee2;border-radius:2px}
#site-share-modal button:focus-visible,#site-share-modal a:focus-visible,#site-share-floating:focus-visible{outline:3px solid #4d5ddf;outline-offset:3px}
body:has(#site-share-modal[open]){overflow:hidden}
#site-share-modal[open]{animation:ss-open .26s cubic-bezier(.22,1,.36,1) both}
#site-share-modal[open]::backdrop{animation:ss-fade .22s ease both}
@keyframes ss-open{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ss-fade{from{opacity:0}to{opacity:1}}
@media(max-width:600px){body:has(#ju.jtoc-past-hero) #site-share-floating{display:none}}
@media(prefers-reduced-motion:reduce){#site-share-modal[open],#site-share-modal[open]::backdrop{animation:none}}

/* Rounded primary and secondary controls inspired by Cursor. */
#site-share-floating{border-radius:999px;font-weight:400;letter-spacing:-.01em}
#site-share-modal .ss-close{border-radius:50%}
#site-share-modal .ss-actions a,#site-share-modal .ss-actions button{border-radius:999px;font-weight:400;letter-spacing:-.01em}
#site-share-modal .ss-actions a{background-color:#26251e;border-color:#26251e;color:#f7f7f5}
#site-share-modal .ss-actions button{color:#42423e;border-color:#26251e33}
