.btn-share-site {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  line-height: 0;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.share-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.share-modal__panel {
  width: 100%;
  max-width: 420px;
  background: #1c1f22;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.share-modal.is-open .share-modal__panel {
  transform: translateY(0);
}

.share-modal__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f2d024;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.share-modal__subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 1.25rem;
  word-break: break-all;
}

.share-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.share-modal__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #111315;
  border: 1px solid #374151;
  color: #e5e7eb;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-modal__link:hover {
  border-color: #f2d024;
  color: #f2d024;
}

.share-modal__close {
  margin-top: 1.25rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: transparent;
  border: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.share-modal__close:hover {
  color: #fff;
  border-color: #f2d024;
}

.share-modal__toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: #f2d024;
  color: #111315;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 101;
}

.share-modal__toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
