.float--share {
  bottom: 13rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  animation: none;
  font: 600 11px/1.1 var(--font);
}
.float--share:hover { background: #292929; transform: translateY(-2px); }
.share-dialog {
  margin: auto;
  padding: 0;
  width: min(500px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #252525;
  box-shadow: 0 16px 60px rgba(0, 0, 0, .24);
}
.share-dialog::backdrop { background: rgba(35, 16, 20, .45); }
.share-dialog:not([open]) { display: none; }
.share-panel { position: relative; padding: 30px 24px 16px; text-align: center; }
.share-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #777;
  border: 0;
  border-radius: 50%;
  font: 400 30px/1 var(--font);
  cursor: pointer;
}
.share-close:hover { background: #fff0f0; }
.share-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #111;
  color: #fff;
}
.share-panel h2 { margin: 0; font-size: 23px; line-height: 1.3; font-weight: 700; }
.share-panel > p { margin: 8px 0 0; color: #777; font-size: 14px; line-height: 1.5; }
.share-panel .share-current-domain { margin: 10px 0 0; color: #111; font-size: 19px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.share-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; margin: 20px 0; }
.share-option {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px 3px 10px;
  background: #fffafa;
  border: 1px solid #f5e7e8;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  font: 600 12px/1.4 var(--font);
  cursor: pointer;
}
.share-option small { color: #777; font-size: 11px; font-weight: 400; white-space: nowrap; }
.share-option__icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 2px; border-radius: 13px; color: #fff; transition: transform .15s ease; }
.share-option__icon svg { display: block; width: 25px; height: 25px; }
.share-option:hover .share-option__icon { transform: translateY(-3px); }
.share-option__icon--whatsapp { background: #17884a; }
.share-option__icon--telegram { background: #1687c1; }
.share-option__icon--facebook { background: #1877f2; }
.share-option__icon--x { background: #151515; }
.share-option__icon--messenger { background: linear-gradient(145deg, #168aff, #a33bfa 65%, #ff5980); }
.share-option__icon--instagram { background: linear-gradient(35deg, #ffbc47, #ee336b 46%, #973ac8 82%); }
.share-option__icon--tiktok { background: #151515; }
.share-option__icon--tiktok svg { filter: drop-shadow(1px 1px 0 #fe2c55) drop-shadow(-1px -1px 0 #25f4ee); }
.share-link-label { display: block; margin: 18px 0 7px; text-align: left; color: #777; font-size: 12px; }
.share-link-row { display: flex; gap: 8px; align-items: stretch; }
.share-url { display: block; width: 100%; min-width: 0; padding: 12px; border: 1px solid #ece6e6; border-radius: 10px; background: #faf7f7; color: #555; font: 400 16px/1.3 var(--font); text-overflow: ellipsis; }
.share-copy-link { flex: 0 0 auto; padding: 10px 12px; border: 1px solid #f3cacc; border-radius: 10px; background: #fff0f0; color: #ba303a; font: 600 12px/1.4 var(--font); cursor: pointer; }
.share-copy-message, .share-more { display: block; width: 100%; padding: 13px 10px; margin-top: 10px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #f95959, #f73f3f); color: #fff; font: 600 14px/1.4 var(--font); cursor: pointer; }
.share-more { border: 1px solid #f3cacc; background: #fff5f5; color: #ba303a; }
.share-message { display: block; width: 100%; padding: 10px; border: 1px solid #f3cacc; border-radius: 10px; background: #faf7f7; color: #444; font: 400 16px/1.4 var(--font); resize: vertical; }
.share-more[hidden], .share-message[hidden], .share-link-label[hidden] { display: none; }
.share-panel .share-status { min-height: 36px; margin: 10px 0 0; color: #b72c35; font-size: 12px; }
@media (max-width: 480px) {
  .float--share { bottom: 11rem; gap: 2px; font-size: 10px; }
  .float--share > svg { width: 22px; height: 22px; }
  .share-panel { padding: 28px 18px 12px; }
}
@media (max-width: 400px) { .share-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
