/* 吃瓜站 · 分享按钮样式 */
.cg-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 46, .42);
  background: rgba(225, 29, 46, .13);
  color: #ff8b96;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s, border-color .18s, color .18s, transform .12s;
  vertical-align: middle;
  white-space: nowrap;
}
.cg-share-btn:hover {
  background: rgba(225, 29, 46, .26);
  border-color: rgba(225, 29, 46, .8);
  color: #fff;
}
.cg-share-btn:active { transform: scale(.96); }
.cg-share-btn:focus-visible { outline: 2px solid rgba(255, 139, 150, .6); outline-offset: 2px; }
.cg-share-btn.is-done {
  background: rgba(34, 197, 94, .16);
  border-color: rgba(34, 197, 94, .5);
  color: #6ee7a0;
}
.cg-share-btn svg { flex: 0 0 auto; }

#cgShareTip {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 9999;
  max-width: calc(100vw - 28px);
  box-sizing: border-box;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(17, 17, 21, .97);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#cgShareTip.on {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cg-share-tip-title {
  font-size: 13px;
  font-weight: 700;
  color: #f2f2f6;
  line-height: 1.4;
}
.cg-share-tip-link {
  font-size: 12px;
  color: #7fd1ff;
  text-decoration: none;
  word-break: break-all;
  line-height: 1.5;
  cursor: pointer;
}
.cg-share-tip-link:hover { text-decoration: underline; }

/* 疼痛栏目详情里的按钮稍微大一点，跟底部按钮一排 */
#detailBody .cg-share-btn {
  height: 32px;
  padding: 0 13px;
  font-size: 13px;
}

@media (max-width: 380px) {
  .cg-share-btn { padding: 0 10px; font-size: 12px; }
}
