/* 只修复防红卡片页面的弹窗样式，不影响外链卡片 */

/* 1. 修复弹窗底部空白问题 */
/* 防红卡片页面容器 */
.container[data-v-2fa59bef] {
  padding-bottom: 0 !important;
}

.card-index[data-v-2fa59bef] {
  padding-bottom: 0 !important;
}

/* 弹窗容器 - 强制移除底部间距 */
.card-index[data-v-2fa59bef] .uni-popup.bottom {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.card-index[data-v-2fa59bef] .uni-popup .uni-popup__wrapper.bottom {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* 覆盖 uni-popup 组件的 inline style padding-bottom */
.card-index[data-v-2fa59bef] .uni-popup [name="content"] {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.card-index[data-v-2fa59bef] .uni-popup .uni-popup__wrapper.bottom [name="content"] {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  bottom: 0 !important;
}

/* 2. 修复二维码置顶问题 */
/* 确保二维码容器有正确的层级 */
.card-index[data-v-2fa59bef] .jump-popup .list .item {
  position: relative !important;
  z-index: 1 !important;
}

.card-index[data-v-2fa59bef] .jump-popup .list .item .text {
  position: relative !important;
  z-index: 2 !important;
}

/* 二维码按钮区域 */
.card-index[data-v-2fa59bef] .jump-popup .list .item .text .qrcode {
  position: relative !important;
  z-index: 1000 !important;
}

.card-index[data-v-2fa59bef] .jump-popup .list .item .text .qrcode .qr-btn {
  position: relative !important;
  z-index: 1001 !important;
}

/* 二维码面板 - 超高层级确保置顶 */
.card-index[data-v-2fa59bef] .jump-popup .list .item .text .qrcode .qr-panel {
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  padding: 15px !important;
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  background: #fff !important;
  z-index: 2147483647 !important; /* 最大 z-index 值 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 5px !important;
}

/* 确保弹窗本身的层级够高 */
.card-index[data-v-2fa59bef] .uni-popup[data-v-fc99ec19] {
  z-index: 9999 !important;
}

.card-index[data-v-2fa59bef] .uni-popup .uni-popup__wrapper.bottom {
  z-index: 9999 !important;
}

.card-index[data-v-2fa59bef] .uni-popup [name="content"] {
  z-index: 9999 !important;
}

/* 确保弹窗内容容器层级 */
.card-index[data-v-2fa59bef] .jump-popup {
  position: relative !important;
  z-index: 10 !important;
}

.card-index[data-v-2fa59bef] .jump-popup .list {
  position: relative !important;
  z-index: 10 !important;
}

/* 遮罩层 */
.card-index[data-v-2fa59bef] .uni-popup [name="mask"] {
  z-index: 9998 !important;
}
