/* BLACKLENS — the SHARE sheet (js/share.js): the Binder, BLACKVAULT's report and the public binder page */
.shr { position: fixed; inset: 0; z-index: 9600; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .62); backdrop-filter: blur(2px); }
.shr[hidden] { display: none !important; }
.shr-dlg { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 14px; border-radius: 14px;
  background: #171717; box-shadow: 0 0 0 1px #343434, 0 24px 60px rgba(0, 0, 0, .65); color: #f2f2f2;
  font-family: Bahnschrift, 'Barlow', 'Segoe UI', system-ui, sans-serif; }
.shr-h { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #2c2c2c; }
.shr-h > b { flex: none; padding: 4px 9px; border-radius: 6px; background: #DC4F4C; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; }
.shr-h > span { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.shr-h > span, .shr-h > span i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shr-h > span i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .6px; color: #9a9a9a; margin-top: 2px; }
.shr-x { flex: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid #3c3c3c; background: #222; color: #ddd; font-size: 14px; cursor: pointer; }
.shr-x:hover { border-color: #8f8f8f; color: #fff; }
.shr-pic { display: flex; align-items: center; justify-content: center; height: 210px; border-radius: 10px; background: #0d0d0d; box-shadow: inset 0 0 0 1px #2a2a2a; overflow: hidden; }
.shr-pic img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.shr-pic.wait span { font-size: 11.5px; letter-spacing: 1px; color: #8f8f8f; }
.shr-link { display: flex; gap: 8px; }
.shr-link input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid #3c3c3c; background: #0e0e0e; color: #e6e6e6; font: 600 13px/1 Bahnschrift, 'Barlow', 'Segoe UI', sans-serif; }
.shr-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 9px; border: 1px solid #575757;
  background: linear-gradient(#2a2a2a, #1e1e1e); color: #f2f2f2; font: 800 11.5px/1 Bahnschrift, 'Barlow', sans-serif; letter-spacing: 1.2px; cursor: pointer; }
.shr-copy svg { width: 16px; height: 16px; }
.shr-copy:hover { border-color: #8f8f8f; }
.shr-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shr-btns.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shr-b { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 86px; padding: 10px 6px; border-radius: 11px;
  border: 1px solid #4a4a4a; background: linear-gradient(#262626, #1b1b1b); color: #f2f2f2; cursor: pointer; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.shr-b svg { width: 26px; height: 26px; }
.shr-b b { font-size: 12px; font-weight: 800; letter-spacing: 1.3px; }
.shr-b i { font-style: normal; font-size: 10px; color: #9f9f9f; letter-spacing: .3px; }
.shr-b:hover:not(:disabled) { border-color: #8f8f8f; transform: translateY(-1px); }
.shr-b:disabled { opacity: .5; cursor: wait; }
.shr-b.fb svg { color: #7fa8ff; }
.shr-b.ig svg { color: #f08ab0; }
.shr-b.more svg { color: #d8c89a; }
.shr-note { margin: 0; min-height: 16px; font-size: 12px; line-height: 1.45; color: #bdbdbd; }
.shr-note.ok { color: #7ED4A6; }
.shr-note.warn { color: #e6cf8a; }
.shr-foot { display: flex; justify-content: flex-end; }
.shr-close { height: 34px; padding: 0 16px; border-radius: 8px; border: 1px solid #3c3c3c; background: #1f1f1f; color: #ddd; font: 800 11px/1 Bahnschrift, 'Barlow', sans-serif; letter-spacing: 1.2px; cursor: pointer; }
@media (max-width: 560px) {
  .shr { align-items: flex-end; padding: 0; }
  .shr-dlg { width: 100%; border-radius: 16px 16px 0 0; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); max-height: 92vh; }
  .shr-pic { height: 170px; }
  .shr-b { min-height: 78px; }
}
