.lbShareDialog{
  position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;
  margin:0;padding:0;border:0;overflow:hidden;background:transparent;color:#f8f5ff;
  color-scheme:dark;overscroll-behavior:contain;
  transition:display .16s allow-discrete,overlay .16s allow-discrete;
}
.lbShareDialog::backdrop{
  background:#07060d;opacity:0;transition:opacity .16s,display .16s allow-discrete,overlay .16s allow-discrete;
}
.lbShareDialog[open]::backdrop{opacity:.38}
.lbSharePanel{
  --share-border:#40344f;
  position:absolute;top:var(--share-top,12px);left:var(--share-left,12px);
  box-sizing:border-box;width:min(352px,calc(100% - 24px));max-height:calc(100% - 24px);
  overflow:auto;overscroll-behavior:contain;
  border:1px solid var(--share-border);border-radius:18px;padding:12px;
  background:#191520;box-shadow:0 18px 54px #07040dc9,0 3px 12px #08050f86;
  opacity:0;transform:translateY(-5px) scale(.985);transform-origin:top;
  transition:opacity .16s,transform .16s;
}
.lbShareDialog[open] .lbSharePanel{opacity:1;transform:none}
.lbShareHeader{display:flex;align-items:center;justify-content:space-between;padding-inline:8px 0;margin-bottom:8px}
.lbShareHeader h2{font-size:1rem;line-height:1.35;font-weight:750;margin:0}
.lbShareDialog svg{width:21px;height:21px;flex:none}
.lbShareClose,.lbShareRow{
  display:flex;align-items:center;min-height:44px;box-sizing:border-box;
  border:0;border-radius:10px;background:none;color:inherit;font:inherit;cursor:pointer;text-decoration:none;
}
.lbShareClose{width:44px;justify-content:center;padding:0;color:#d9cde5}
.lbShareClose:hover,.lbShareRow:hover{background:#2b2236;color:#fff;text-decoration:none}
.lbShareDialog :is(button,a,input):focus-visible{outline:2px solid #d1acff;outline-offset:-2px}
.lbSharePreview{
  display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;
  padding:10px;border:1px solid #413351;border-radius:12px;background:linear-gradient(110deg,#241c31,#1d1826);
}
.lbSharePreview div{min-width:0}
.lbSharePreview strong{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;
  font-size:.93rem;line-height:1.35;font-weight:720;margin-bottom:4px;
}
.lbSharePreview div span{
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d5c0ed;font-size:.8rem;line-height:1.35;
}
.lbShareThumb{width:52px;height:62px;display:grid;place-items:center;background:#0e0b16;border-radius:7px;overflow:hidden}
.lbShareThumb img{width:100%;height:100%;object-fit:contain}
.lbShareRows{display:grid;gap:1px;margin-top:8px}
.lbShareRow{width:100%;gap:12px;padding:8px 12px;text-align:left;font-size:.92rem;font-weight:630;line-height:1.3}
.lbShareRow svg{color:#dfc5fa}
.lbShareStatus{margin:5px 12px;color:#d6bee9;font-size:.82rem;line-height:1.4}
.lbShareStatus:empty{margin:0}
.lbShareStatus[data-announcement]{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.lbShareRow[data-share-copy][data-copied]{color:#bbf7d0}
.lbShareRow[data-share-copy][data-copied] svg{color:inherit}
.lbShareManual{
  width:100%;min-height:44px;box-sizing:border-box;padding:6px 10px;
  color:inherit;background:#110e1a;border:1px solid #766486;border-radius:8px;font:inherit;
}
.lbShareDialog [hidden]{display:none}
@starting-style{
  .lbShareDialog[open]::backdrop{opacity:0}
  .lbShareDialog[open] .lbSharePanel{opacity:0;transform:translateY(-5px) scale(.985)}
}
@media(max-width:600px){
  html:has(.lbShareDialog[open]){overflow:hidden}
  .lbShareDialog[open]::backdrop{opacity:.66}
  .lbSharePanel{
    top:auto;left:0;right:0;bottom:0;width:100%;max-height:calc(100% - 12px);
    padding:12px 16px max(16px,env(safe-area-inset-bottom));
    border-radius:22px 22px 0 0;transform:translateY(100%);
    transition-duration:.22s;
  }
  .lbShareDialog{transition-duration:.22s}
  .lbShareRow{min-height:46px}
  @starting-style{
    .lbShareDialog[open]::backdrop{opacity:0}
    .lbShareDialog[open] .lbSharePanel{transform:translateY(100%)}
  }
}
@media(prefers-reduced-motion:reduce){
  .lbShareDialog,.lbShareDialog::backdrop,.lbSharePanel{transition:none}
}

/* Center the utilities under the draw choice grid without competing with it. */
.lbShareInline{position:relative;margin-top:10px}
.lbShareInline .lbShareRows{
  display:flex;flex-wrap:wrap;justify-content:center;gap:4px clamp(2px,1vw,8px);margin:0;
}
.lbShareInline .lbShareRow{
  flex:none;width:auto;min-height:44px;justify-content:center;
  padding:11px;border:0;border-radius:8px;background:none;color:#c9c6d4;
  touch-action:manipulation;
}
.lbShareInline .lbShareRow svg{
  width:22px;height:22px;flex:none;color:inherit;transition:color .16s,filter .16s;
}
.lbShareInline .lbShareRow:focus-visible,
.lbShareInline .lbShareRow[data-copied]{color:#f5f3fb}
.lbShareInline .lbShareRow:focus-visible svg,
.lbShareInline .lbShareRow[data-copied] svg{filter:drop-shadow(0 0 5px #c5b0d999)}
@media (hover:hover){
  .lbShareInline .lbShareRow:hover{color:#f5f3fb}
  .lbShareInline .lbShareRow:hover svg{filter:drop-shadow(0 0 5px #c5b0d999)}
}
.lbShareInline :is(button,a,input):focus-visible{outline:2px solid #c5b0d9;outline-offset:-3px}
.lbShareInline .lbShareStatus:not(:empty,[data-announcement]){margin:5px 0}
@media (max-width:600px){
  .lbShareInline .lbShareRow{min-height:40px;padding:9px}
}
@media (prefers-reduced-motion:reduce){
  .lbShareInline .lbShareRow svg{transition:none}
}
