.share-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: var(--space-sm);
  max-width: 600px;
  margin: var(--space-xl) auto;
}

.share-button {
  background: rgb(90, 200, 120);
  border: 1px solid rgb(90, 190, 120);
  color: #fff;
  padding: var(--space-sm) var(--space-xs);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: clamp(0.625rem, 1.5vw, 0.625rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 1px 1px 3px 1px rgb(200, 200, 200);
  min-height: var(--touch-min);
}

.share-button:hover {
  background: rgb(100, 210, 130);
  border: 1px solid rgb(100, 210, 130);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 2px 2px 6px 2px rgb(180, 180, 180);
}

.share-button:active {
  transform: translateY(0);
}

.share-button-icon {
  width: clamp(14px, 4vw, 18px);
  height: clamp(14px, 4vw, 18px);
  display: block;
  flex-shrink: 0;
}

.share-button-icon img,
.share-button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.share-button-text {
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 240px) {
  .share-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
  }
  
  .share-button {
    padding: 0.375rem 0.25rem;
    font-size: 0.5rem;
    min-height: 40px;
  }
  
  .share-button-icon {
    width: 12px;
    height: 12px;
  }
}

@media (min-width: 241px) and (max-width: 360px) {
  .share-buttons-grid {
    gap: 0.375rem;
  }
  
  .share-button {
    padding: 0.4375rem 0.1875rem;
    font-size: 0.5rem;
  }
  
  .share-button-icon {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 361px) and (max-width: 480px) {
  .share-buttons-grid {
    gap: var(--space-xs);
  }
  
  .share-button {
    font-size: 0.5625rem;
  }
  
  .share-button-icon {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 768px) {
  .share-buttons-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
  
  .share-button {
    padding: var(--space-md) var(--space-sm);
    font-size: 0.75rem;
  }
}
