/* Profile share dialog, scoped to its native modal. */
#llshare-overlay {
  width:min(620px,calc(100% - 24px));
  max-width:none;
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  margin:auto;
  padding:0;
  border:1px solid #ab76d6;
  border-radius:20px;
  background:#160d22;
  color:#fcf7ff;
  box-shadow:0 24px 80px #000b,0 0 28px #a139e12b;
  overflow:auto;
  overscroll-behavior:contain;
}
#llshare-overlay::backdrop {background:#080510dc}
#llshare-overlay .llshare-modal {
  display:grid;
  gap:12px;
  padding:16px;
  background:radial-gradient(ellipse at 0 0,#3a1b52 0%,transparent 60%),#160d22;
}
#llshare-overlay .llshare-top {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
#llshare-overlay .llshare-kicker {
  margin:0 0 4px;
  color:#ffd572;
  font-size:10px;
  font-weight:800;
  letter-spacing:.22em;
}
#llshare-overlay h2 {
  margin:0;
  border:0;
  padding:0;
  font-size:clamp(21px,5vw,27px);
  line-height:1.17;
  color:#fff;
  overflow-wrap:anywhere;
}
#llshare-overlay .llshare-close {
  flex:0 0 44px;
  width:44px;
  height:44px;
  border:1px solid #785293;
  border-radius:12px;
  background:#29183b;
  color:#fff1d0;
  font-size:25px;
  line-height:1;
}
#llshare-overlay .llshare-image-link {
  display:grid;
  position:relative;
  place-items:center;
  overflow:hidden;
  aspect-ratio:3/2;
  border:1px solid #b77ce2;
  border-radius:13px;
  background:radial-gradient(ellipse at 50% 30%,#341d48,#10081a);
  color:#e8d9f4;
  box-shadow:0 7px 20px #07030ea0;
  text-decoration:none;
}
#llshare-overlay .llshare-image-link img {
  display:block;
  width:100%;
  height:auto;
  margin:0;
}
#llshare-overlay .llshare-image-link [hidden] {display:none}
#llshare-overlay .llshare-placeholder {
  font-size:13px;
  font-weight:700;
}
#llshare-overlay .llshare-actions {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
#llshare-overlay .llshare-actions button {
  min-height:44px;
  padding:8px 6px;
  border:1px solid #805b9e;
  border-radius:10px;
  background:#2c1a3e;
  color:#fff5ff;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
  white-space:normal;
}
#llshare-overlay .llshare-actions .llshare-gold {
  grid-column:1/-1;
  border-color:#ffdf8a;
  background:linear-gradient(115deg,#ffdf79,#efae32);
  color:#26122b;
}
#llshare-overlay .llshare-url-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
}
#llshare-overlay .llshare-url-row p {
  margin:0;
  color:#d3c1e0;
  font-size:12px;
  line-height:1.35;
}
#llshare-overlay .llshare-link {
  width:100%;
  min-height:44px;
  padding:8px 10px;
  border:1px solid #604676;
  border-radius:9px;
  background:#11091c;
  color:#e3cfee;
  font-size:16px;
  text-overflow:ellipsis;
}
#llshare-overlay .llshare-open-url {
  display:flex;
  align-items:center;
  gap:5px;
  min-height:44px;
  padding:0 3px;
  color:#ffdc84;
  font-size:13px;
  font-weight:800;
}
#llshare-overlay .llshare-status {
  margin:0;
  color:#ffdd8b;
  font-size:12px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
#llshare-overlay .llshare-status:empty {margin-top:-12px}
#llshare-overlay :is(a,button,input):focus-visible {
  outline:2px solid #ffe3a2;
  outline-offset:2px;
}
#llshare-overlay .llshare-image-link:focus-visible {outline-offset:-4px}
@media (max-width:370px) {
  #llshare-overlay .llshare-modal {padding:12px;gap:9px}
  #llshare-overlay .llshare-actions button {font-size:12px}
  #llshare-overlay .llshare-status:empty {margin-top:-9px}
}
