/* ============================================================
 * share-bar.css  ·  Wing Wong Analysis · Deep Report share strip
 * Reusable across every /deep-reports/<slug>/ page.
 * ============================================================ */

.wa-share-bar {
  max-width: 1180px;
  margin: 40px auto 20px;
  padding: 26px 24px;
  background: linear-gradient(180deg, #0d1319 0%, #0a0e13 100%);
  border: 1px solid #1c242e;
  border-radius: 4px;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #d6dee8;
}

.wa-share-bar__label {
  font-family: 'IBM Plex Mono', Consolas, monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #FF9E1B;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wa-share-bar__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  color: #d6dee8;
  margin-bottom: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.wa-share-bar__title-zh {
  color: #77838F;
  font-size: 13px;
  margin-left: 8px;
  font-family: 'IBM Plex Sans SC', sans-serif;
}

.wa-share-bar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wa-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  background: #0f1520;
  border: 1px solid #2a3340;
  border-radius: 3px;
  color: #d6dee8;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.wa-share-btn:hover {
  background: #151d2b;
  border-color: #3d4a5c;
  transform: translateY(-1px);
}

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

.wa-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Brand color accents on hover */
.wa-share-btn--facebook:hover  { border-color: #1877F2; color: #4c95f3; }
.wa-share-btn--linkedin:hover  { border-color: #0A66C2; color: #4d8ecf; }
.wa-share-btn--x:hover         { border-color: #ffffff; color: #ffffff; }
.wa-share-btn--whatsapp:hover  { border-color: #25D366; color: #4ce082; }
.wa-share-btn--wechat:hover    { border-color: #07C160; color: #3fd881; }
.wa-share-btn--viber:hover     { border-color: #7360F2; color: #9789ff; }
.wa-share-btn--telegram:hover  { border-color: #229ED9; color: #4dbde8; }
.wa-share-btn--copy:hover      { border-color: #FF9E1B; color: #FFB35A; }

.wa-share-btn--copy.copied {
  background: #1a2b1a;
  border-color: #4a8f4a;
  color: #8fd18e;
}

/* WeChat QR modal */
.wa-share-qr {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}
.wa-share-qr.open { display: flex; }
.wa-share-qr__box {
  background: #fff;
  border-radius: 4px;
  padding: 28px;
  text-align: center;
  max-width: 340px;
}
.wa-share-qr__title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  color: #1a2332;
  font-weight: 600;
  margin-bottom: 4px;
}
.wa-share-qr__sub {
  font-family: 'IBM Plex Sans SC', sans-serif;
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
}
.wa-share-qr__img {
  width: 220px;
  height: 220px;
  display: block;
  margin: 0 auto 14px;
}
.wa-share-qr__close {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: #999;
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 4px 12px;
}

@media (max-width: 640px) {
  .wa-share-bar { padding: 20px 16px; margin: 30px 16px 16px; }
  .wa-share-btn { padding: 8px 11px; font-size: 12px; }
  .wa-share-btn span:not(.wa-share-btn__label-short) {
    display: none;
  }
}
