/* QQ 联系弹窗：二维码名片 + 立即联系按钮 */
.qq-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.qq-modal[hidden] { display: none !important; }
.qq-modal__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(15, 23, 42, 0.62);
  cursor: pointer;
}
.qq-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 1.4rem 1.25rem 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--m-line, var(--color-border, #E5E6EB));
  background: var(--m-surface, var(--color-paper, #fff));
  box-shadow: var(--shadow-card, 0 8px 28px rgba(0, 0, 0, 0.14));
  box-sizing: border-box;
  text-align: center;
}
.qq-modal__x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--m-text-3, #86909C);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}
.qq-modal__x:hover { color: var(--m-text, #1D2129); }
.qq-modal__title { font-size: 17px; font-weight: 700; margin: 0 0 0.9rem; }
.qq-modal__qr { margin: 0 0 0.8rem; display: flex; justify-content:center; }
.qq-modal__qr img {
  width: 210px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--m-line, var(--color-border, #E5E6EB));
}
.qq-modal__hint { margin: 0 0 1rem; font-size: 13px; color: var(--m-text-2, var(--color-ink-2)); }
html.qq-modal-open { overflow: hidden; }
