.share-button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 4px 6px; border: 0; border-radius: 3px; color: inherit; background: transparent; font: inherit; font-size: 13px; line-height: 1.1; cursor: pointer; text-align: center; }
.share-button:hover { background: #8882; }
.share-button .icon { display: block; width: 16px; height: 16px; }
.mast .share-button, .entry-share { color: var(--muted); }
.entry-share { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); z-index: 1; }
footer .share-button { min-height: 44px; }
.share-dialog { position: fixed; inset: 0; width: min(390px, calc(100% - 36px)); height: max-content; margin: auto; box-sizing: border-box; z-index: 100; padding: 18px; border: 1px solid #53504a; border-radius: 8px; color: #f5f3ee; background: #161615; color-scheme: dark; font: 14px/1.35 system-ui, sans-serif; }
.share-dialog:not([open]) { display: none; }
.share-dialog::backdrop { background: #000b; }
.share-dialog h2 { margin: 0 0 14px; font-size: 18px; }
.share-dialog input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 8px; border: 1px solid #66615a; border-radius: 4px; font-size: 16px; color: #fff; background: #242321; }
.share-dialog-actions { display: flex; gap: 8px; margin-top: 10px; }
.share-dialog-actions button { display: grid; place-content: center; min-height: 44px; padding: 4px 10px; border: 1px solid #66615a; border-radius: 4px; color: #f5f3ee; background: #242321; font: inherit; cursor: pointer; }
.share-dialog-actions button:hover { background: #393632; }
.share-status { min-height: 1.35em; margin: 9px 0 0; color: #e0d4bf; }
