/* 文章分享条 — blog / news 通用 */
.micount-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 0.65rem 0.85rem;
  margin: 1rem 0 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.8125rem;
}

.micount-share--bottom {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.micount-share__label {
  color: #64748b;
  font-weight: 600;
  margin-right: 0.15rem;
  white-space: nowrap;
}

.micount-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.micount-share__btn:hover {
  border-color: #10b981;
  color: #047857;
  background: #ecfdf5;
}

.micount-share__btn i {
  font-size: 0.875rem;
}

.micount-share__btn--wechat i { color: #07c160; }
.micount-share__btn--weibo i { color: #e6162d; }
.micount-share__btn--qq i { color: #12b7f5; }
.micount-share__btn--copy i { color: #64748b; }
.micount-share__btn--more i { color: #10b981; }

.micount-share__btn.is-done {
  border-color: #86efac;
  background: #dcfce7;
  color: #047857;
}

.micount-share-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%) translateY(12px);
  padding: 0.55rem 1rem;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  font-size: 0.8125rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 9999;
}

.micount-share-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.micount-share-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.micount-share-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.micount-share-modal__panel {
  width: min(100%, 18rem);
  padding: 1.25rem 1rem 1rem;
  background: #fff;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.micount-share-modal__title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
}

.micount-share-modal__hint {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
}

.micount-share-modal__qr {
  display: inline-block;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.micount-share-modal__qr img {
  display: block;
  width: 10rem;
  height: 10rem;
}

.micount-share-modal__close {
  margin-top: 0.85rem;
  padding: 0.4rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8125rem;
  cursor: pointer;
}

.micount-share-modal__close:hover {
  background: #e2e8f0;
}

@media (max-width: 479px) {
  .micount-share {
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
  }

  .micount-share__btn {
    padding: 0.32rem 0.55rem;
    font-size: 0.6875rem;
  }
}
