/* Base */
.ll-share-box{border:1px solid #eee;border-radius:10px;padding:12px;display:grid;gap:8px}
.ll-share-row{display:flex;gap:8px;align-items:center}
.ll-share-input{flex:1;min-width:0;padding:8px 10px;border:1px solid #ddd;border-radius:8px;background:#fafafa}
.ll-share-copy{padding:8px 10px;border:1px solid #ddd;border-radius:999px;background:#fff;cursor:pointer}
.ll-share-label{color:#444}
.ll-share-hint{font-size:.8rem;color:#777;margin:0}
.ll-share-trigger{background:none; border: none; cursor:pointer;}

/* Overlay modal */
.ll-share-overlay[aria-hidden="true"]{display:none}
.ll-share-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  display:flex; align-items:center; justify-content:center; z-index:9999;
}
.ll-share-modal{
  background:#fff; border-radius:14px; width:min(92vw, 560px);
  padding:16px; display:grid; gap:10px; box-shadow:0 20px 50px rgba(0,0,0,.25); outline:none;
}
.ll-share-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.ll-share-close{cursor:pointer}
.ll-share-actions{display:flex;gap:8px;justify-content:flex-end}

/* Prevent background scroll when open */
.ll-share-lock{overflow:hidden}

/* Toast on button */
.ll-share-toast{position:relative}
.ll-share-toast::after{
  content: attr(data-toast);
  position:absolute;top:-28px;left:50%;transform:translateX(-50%);
  background:#111;color:#fff;padding:4px 8px;border-radius:6px;font-size:12px;white-space:nowrap
}
