[data-share-link] { justify-self: end; flex: 0 0 auto; white-space: nowrap }
.share-legacy {
  border: 1px solid #aa8c55;
  border-radius: 4px;
  padding: 7px 10px;
  background: #21382d;
  color: #f4dda9;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.share-notice {
  position: fixed; right: 18px; bottom: 18px; z-index: 1000;
  border: 1px solid #c8aa66; border-radius: 4px;
  padding: 9px 14px; color: #f4dda9; background: #243f30;
}
.share-dialog {
  width: min(520px,94vw); border: 1px solid #ad8d55; border-radius: 5px;
  padding: 14px; color: #f0eee2; background: #162a21;
}
.share-dialog::backdrop { background: #000b }
.share-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px }
.share-dialog button {
  border: 1px solid #ad8d55; border-radius: 3px; padding: 4px 10px;
  color: #f4dda9; background: #21382d; font: inherit; cursor: pointer;
}
.share-dialog input {
  display: block; width: 100%; margin-top: 5px; padding: 7px 9px;
  color: #f0eee2; background: #183127; border: 1px solid #627564; border-radius: 4px;
}
