.site-share-button{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:100001;min-height:48px;padding:12px 18px;border:2px solid #d0a04b;border-radius:10px;background:#fffaf0;color:#172431;font:700 16px Arial,sans-serif;box-shadow:0 3px 14px #0006;cursor:pointer}.site-share-button:focus-visible,.site-share-dialog :focus-visible{outline:3px solid #416b94;outline-offset:3px}.site-share-dialog{position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 32px));max-height:85dvh;overflow:auto;box-sizing:border-box;padding:28px;border:2px solid #d0a04b;border-radius:14px;background:#fffaf0;color:#172431;z-index:2147483647;font:17px/1.5 Arial,sans-serif}.site-share-dialog::backdrop{background:#0009}.site-share-dialog h2{font:700 26px Georgia,serif;margin:8px 30px 16px 0}.site-share-close{position:absolute;top:8px;right:8px;min-width:44px;min-height:44px;font-size:28px;border:0;background:transparent;color:#172431;cursor:pointer}.site-share-dialog label{display:block;font-weight:bold}.site-share-dialog input{display:block;width:100%;box-sizing:border-box;margin:8px 0 18px;padding:12px;font:16px Arial,sans-serif;border:1px solid #777;border-radius:5px;background:white;color:#172431}.site-share-actions{display:flex;gap:12px;flex-wrap:wrap}.site-share-actions button,.site-share-actions a{min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #947440;border-radius:6px;background:#f0e3cc;color:#172431;text-decoration:none;font:700 16px/24px Arial,sans-serif;cursor:pointer}body{padding-bottom:80px!important}@media(max-width:480px){.site-share-button{right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));font-size:15px;padding:10px 14px}}
@media(max-width:720px){.site-share-button{bottom:calc(78px + env(safe-area-inset-bottom,0px))}body{padding-bottom:140px!important}}

/* Keep the share control compact, independent of broad page button rules. */
body > button.site-share-button{position:fixed!important;inset:auto 12px 12px auto!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:180px!important;height:auto!important;min-height:44px!important;padding:8px 12px!important;font:600 14px/1.2 Arial,sans-serif!important;display:inline-flex!important;align-items:center!important;box-sizing:border-box!important;border-width:1px!important;box-shadow:0 2px 6px #0003!important}
