.share-dialog { box-sizing: border-box; width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); box-shadow: 0 16px 64px #0003; }
.share-dialog::backdrop { background: #0006; }
.share-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.share-heading h2 { margin: 0; font-size: 20px; }
.share-dialog button, .share-dialog a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; padding: 10px 14px; }
.share-heading button { min-width: 44px; font-size: 22px; }
.share-title { overflow-wrap: anywhere; white-space: pre-line; line-height: 1.6; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.share-actions .share-x { color: #fff; background: #171717; border-radius: 7px; text-decoration: none; }
.share-dialog label { display: block; margin-bottom: 8px; font-size: 13px; }
.share-dialog input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 10px; font-size: 16px; }
.share-status { min-height: 24px; margin: 12px 0 0; font-size: 14px; }
