/* ηSpace 分享组件样式 */
.share-bar {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border, #222);
}
.share-bar .share-label {
  font-size: 12px;
  color: var(--text-muted, #888883);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.share-btns {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--border, #222);
  background: var(--surface, #161616);
  color: var(--text-muted, #888883);
  transition: all 0.2s;
  font-family: inherit;
}
.share-btn:hover {
  color: var(--text, #F7F5F0);
  border-color: var(--text-muted, #888883);
  transform: translateY(-1px);
}
.share-btn.copied {
  border-color: #22c55e;
  color: #22c55e;
}
.share-btn.qq { color: #12b7f5; }
.share-btn.qq:hover { border-color: #12b7f5; }
.share-btn.weibo { color: #ff8200; }
.share-btn.weibo:hover { border-color: #ff8200; }
.share-btn.wechat { color: #07c160; }
.share-btn.wechat:hover { border-color: #07c160; }

/* QR overlay for WeChat share */
.share-qr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
}
.share-qr-overlay.show { display: flex; }
.share-qr-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.share-qr-card img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 16px;
  border-radius: 8px;
}
.share-qr-card .qr-tip {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}
.share-qr-card .qr-sub {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.share-qr-card .qr-close {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 24px;
  border-radius: 6px;
  background: #eee;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.share-qr-card .qr-close:hover { background: #ddd; }

/* Light theme override for tools/games pages */
body:not(.dark) .share-bar {
  border-top-color: #e5e7eb;
}
body:not(.dark) .share-btn {
  background: #fff;
  border-color: #e5e7eb;
  color: #666;
}
body:not(.dark) .share-btn:hover {
  border-color: #999;
  color: #333;
}
