.share-buttons {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid #eee;
}

.share-buttons__label {
  font-size: 13px;
  color: #666;
  margin: 0 0 10px 0;
  font-weight: 500;
  text-align: center;
}

.share-buttons__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* PC에서는 콘텐츠 영역 안에서 우측 정렬 (결과 공유로 오해 방지) */
@media (min-width: 768px) {
  .share-buttons__label { text-align: right; }
  .share-buttons__row { justify-content: flex-end; }
}

.share-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  color: #555;
  padding: 0;
}

.share-btn:hover {
  background: #f5f5f5;
  border-color: #999;
  color: #000;
}

.share-btn--kakao:hover {
  background: #FEE500;
  border-color: #FEE500;
  color: #000;
}

.share-btn--x:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.share-btn--copy:hover {
  background: #e8f4fd;
  border-color: #2196f3;
  color: #1976d2;
}

.share-btn--result-link:hover {
  background: #f0f4ff;
  border-color: #5c6bc0;
  color: #3949ab;
}

.share-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 9999;
  font-size: 14px;
  pointer-events: none;
  animation: share-toast-fade 2.2s ease-in-out forwards;
}

@keyframes share-toast-fade {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15%, 80% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}
