/* ===== QR Contact Buttons & Modal ===== */
/* çŽ°ä»£æµè§ˆå™¨ï¼šå®Œæ•´æ•ˆæžœ */

/* æŒ‰é’®å®¹å™¨ */
.qr-contact-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  float: right;
  margin-top: 30px;
}
.qr-code-wrap.active img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}
/* æŒ‰é’®åŸºç¡€æ ·å¼ */
.qr-btn {
  display: flex;
  align-items: center;
  /* gap: 8px; */
  padding: 4px 3px;
  border: none;
  font-size: 14px;
  font-family: "microsoft yahei", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.qr-btn:hover {
}

.qr-btn-qq {
  background: #0d73dc;
  width: 27px;
  height: 26px;
}
button.qr-btn.qr-btn-qq img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

button.qr-btn.qr-btn-wechat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.qr-btn-wechat {
  background: #0d73dc;
  width: 27px;
  height: 26px;
}

/* IE11é™çº§ï¼šlinear-gradientéƒ¨åˆ†æ”¯æŒï¼Œä½¿ç”¨çº¯è‰²èƒŒæ™¯æ›¿ä»£ */
_:-ms-fullscreen, :root .qr-btn-qq {
  background: #12b7f5;
}
_:-ms-fullscreen, :root .qr-btn-wechat {
  background: #07c160;
}

/* IE10é™çº§ï¼šlinear-gradientä¸æ”¯æŒï¼Œä½¿ç”¨çº¯è‰²èƒŒæ™¯ */
_:-ms-lang(x), .qr-btn-qq {
  background: #12b7f5;
}
_:-ms-lang(x), .qr-btn-wechat {
  background: #07c160;
}

/* å›¾æ ‡æ ·å¼ */
.qr-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== é®ç½©å¼¹çª— ===== */
/* çŽ°ä»£æµè§ˆå™¨ï¼šbackdrop-filteræ¯›çŽ»ç’ƒæ•ˆæžœ + å¹³æ»‘åŠ¨ç”» */
.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* çŽ°ä»£æµè§ˆå™¨ï¼šæ¿€æ´»çŠ¶æ€ */
.qr-modal-overlay.active {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
  visibility: visible;
}

/* IE11é™çº§ï¼šbackdrop-filterä¸æ”¯æŒï¼Œä½¿ç”¨åŠé€æ˜ŽèƒŒæ™¯æ›¿ä»£ï¼›CSS Variablesä¸æ”¯æŒ */
_:-ms-fullscreen, :root .qr-modal-overlay {
  background: rgba(0, 0, 0, 0.6);
}
_:-ms-fullscreen, :root .qr-modal-overlay.active {
  background: rgba(0, 0, 0, 0.6);
}

/* IE10é™çº§ï¼šbackdrop-filterä¸æ”¯æŒï¼Œæ— æ¨¡ç³Šæ•ˆæžœ */
_:-ms-lang(x), .qr-modal-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* å¼¹çª—ä¸»ä½“ */
.qr-modal {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 300px;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* IE11é™çº§ï¼šbox-shadowéƒ¨åˆ†æ”¯æŒï¼Œä½¿ç”¨è¾¹æ¡†å¢žå¼ºå¯è§æ€§ */
_:-ms-fullscreen, :root .qr-modal {
  border: 1px solid #ddd;
}



/* å¼¹çª—å¤´éƒ¨ - æµ…ç°è‰²æ¨ªæ¡ */
.qr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.qr-modal-title {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}

/* å…³é—­æŒ‰é’® */
.qr-modal-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: -4px -8px -4px 0;
}

.qr-modal-close:hover {
  color: #333;
  background: rgba(0,0,0,0.05);
}

/* å¼¹çª—å†…å®¹åŒº */
.qr-modal-body {
  text-align: center;
}

/* äºŒç»´ç åŒ…è£…å™¨ - é»˜è®¤éšè— */
.qr-code-wrap {
  display: none;
}

.qr-code-wrap.active {
  display: block;
}

/* äºŒç»´ç å›¾ç‰‡ */
.qr-code-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* IE11é™çº§ï¼šobject-fitä¸æ”¯æŒï¼Œä½¿ç”¨max-width/max-heightæ›¿ä»£ */
_:-ms-fullscreen, :root .qr-code-img {
  max-width: 180px;
  max-height: 180px;
}

/* æç¤ºæ–‡å­— */
.qr-code-tips {
  margin: 16px 0 0;
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

/* ç‚¹å‡»é®ç½©å±‚å…³é—­ */
.qr-modal-overlay {
  cursor: pointer;
}

.qr-modal {
  cursor: default;
}