[data-lestre-share] {
  position: fixed;
  z-index: 20;
  inset-inline-end: max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  color: #261a43;
  font: 700 12px/1.2 system-ui, sans-serif;
}
.lestre-share-app {
  inset-inline: max(12px, env(safe-area-inset-left)) auto;
}
.lestre-share-bar {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid #d8cdec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px #261a4326;
}
.lestre-share-bar > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 58px;
  min-height: 44px;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: #f6f2ff;
  color: inherit;
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.lestre-share-bar > :hover { background: #e9dfff; }
.lestre-share-bar > :focus-visible { outline: 2px solid #6743cf; outline-offset: 2px; }
.lestre-share-whatsapp svg { color: #087a46; }
.lestre-share-facebook svg { color: #0866ff; }
.lestre-share-status, .lestre-share-url {
  position: absolute;
  box-sizing: border-box;
  inset-inline: 0;
  bottom: calc(100% + 6px);
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid #d8cdec;
  border-radius: 8px;
  color: #261a43;
  background: #fff;
}
.lestre-share-status:empty { display: none; }
.lestre-share-status:has(+ .lestre-share-url:not([hidden])) { bottom: calc(100% + 40px); }
@media (max-width: 720px) {
  body:has(.app-shell) .lestre-share-app { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
body:has(.app-shell):not(:has([data-lestre-home])) .lestre-share-app { display: none; }
