.share-dialog { width: min(520px, calc(100% - 32px)); padding: 26px; border-radius: 18px; max-height: calc(100svh - 32px); }
.share-dialog .dialog-header { align-items: flex-start; margin-bottom: 20px; }
.share-dialog .share-eyebrow { margin: 0 0 6px; font-size: 10px; line-height: 1.5; letter-spacing: .16em; color: var(--brand); }
.share-dialog .dialog-header h2 { font-size: 23px; }
.share-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f7f7f7; }
.share-preview > img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.share-preview-copy { padding: 13px 16px 15px; background: white; border-top: 1px solid var(--line); }
.share-preview-copy > span { color: var(--muted); font-size: 10px; }
.share-dialog .share-preview-copy h3 { font-size: 14px; line-height: 1.65; margin: 4px 0 0; }
.share-dialog .share-preview-copy p { margin: 5px 0 0; font-size: 11px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-dialog .share-privacy { margin: 14px 0 18px; font-size: 11px; line-height: 1.9; }
.share-privacy[hidden] + .share-destinations { margin-top: 18px; }
.share-destinations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.share-destination { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px; border-radius: var(--radius-action); font-size: 13px; font-weight: 700; transition: filter .15s; }
.share-destination:hover { filter: brightness(.92); }
.share-x { color: white; background: #262626; }
.share-x > span { font-size: 21px; font-weight: 400; line-height: 1; }
.share-line { color: var(--ink); background: white; border: 1px solid var(--ink); }
.share-line > span { font-size: 11px; letter-spacing: -.03em; border: 1px solid #b8b8b8; border-radius: 5px; padding: 3px; }
.share-system { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; width: 100%; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius-action); font-size: 12px; }
.share-system:hover { background: #f5f5f5; }
.share-copy { margin-top: 22px; }
.share-copy label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.share-copy > div { display: flex; align-items: stretch; gap: 8px; }
.share-copy input { min-width: 0; flex: 1; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 12px; color: var(--muted); background: #f7f7f7; }
.share-copy input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.share-copy button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 15px; border: 1px solid var(--line); border-radius: var(--radius-action); font-size: 12px; font-weight: 700; }
.share-copy button:hover { border-color: var(--brand); color: var(--brand); }
.share-dialog #share-status { margin-top: 8px; font-size: 11px; line-height: 1.8; color: var(--brand); }
.share-dialog #share-status:empty { display: none; }
.share-save { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 17px; width: 100%; min-height: 44px; padding: 10px 15px; border: 1px solid var(--line); border-radius: var(--radius-action); font-size: 12px; color: var(--muted); }
.share-save:hover { background: #f5f5f5; }
@media (max-width: 760px) {
  .share-dialog { padding: 20px; }
}
@media (max-width: 390px) {
  .share-destinations { gap: 8px; }
  .share-destination { gap: 7px; font-size: 12px; }
}
