/* Share my work */
.share-cta { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border-radius: 20px; background: linear-gradient(120deg, #4D8BFF, #9B7BFF); color: #fff; text-align: left; }
.share-cta span { display: flex; flex-direction: column; gap: 2px; }
.share-cta b { font-size: 18px; font-weight: 800; }
.share-cta small { font-size: 14px; font-weight: 600; opacity: 0.9; }
.share-dialog { width: min(820px, 100%); }
.share-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.share-preview { width: 100%; aspect-ratio: 1; border-radius: 18px; background: #121318; display: block; }
.share-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.share-lead { margin: 0; font-size: 18px; font-weight: 800; }
.share-dests { display: flex; flex-direction: column; gap: 8px; }
.share-dest { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-radius: 16px; background: var(--panel2); border: 2px solid var(--line); text-align: left; color: var(--text); }
.share-dest[aria-checked="true"] { border-color: var(--sun); }
.share-dest.soon { opacity: 0.55; cursor: default; }
.share-box { width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; border: 2px solid #6A6E7B; display: flex; align-items: center; justify-content: center; color: transparent; }
.share-dest[aria-checked="true"] .share-box { background: var(--sun); border-color: var(--sun); color: #121318; }
.share-words { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.share-words b { font-size: 16px; font-weight: 800; }
.share-words span { font-size: 13px; font-weight: 600; color: var(--muted); }
.share-tag { flex-shrink: 0; height: 24px; padding: 0 9px; border-radius: 12px; background: #3A2E10; color: var(--sun); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; }
.share-tag.soon { background: var(--line); color: var(--muted); }
.share-safe { margin: 0; }
.share-gate { display: flex; flex-direction: column; gap: 8px; font-size: 20px; font-weight: 800; }
.share-gate input { height: 52px; border-radius: 14px; border: 2px solid var(--line); background: var(--panel2); color: var(--text); font-size: 22px; padding: 0 14px; width: 160px; }
.share-err { margin: 0; color: #FF8A6B; font-weight: 700; }
.share-bar { height: 14px; border-radius: 7px; background: var(--line); overflow: hidden; }
.share-bar i { display: block; height: 100%; background: var(--mint); transition: width .2s; }
.share-ready { display: flex; gap: 10px; flex-wrap: wrap; }
.share-ready .btn { display: inline-flex; align-items: center; text-decoration: none; }
.share-caption { padding: 12px; border-radius: 14px; background: var(--panel2); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.share-caption p { margin: 0; font-weight: 700; }
@media (max-width: 640px) {
  .share-grid { grid-template-columns: 1fr; }
  .share-preview { max-width: 220px; margin: 0 auto; }
}
html.look-desk .share-dest { background: #FBF3E4; color: #3B2817; border-color: #D9C3A0; }
.share-dialog { max-height: calc(100dvh - 24px); overflow-y: auto; }
