/* ===== PC 遮罩 ===== */
.pc-mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
}

.pc-mask .qr-tip {
  font-size: 14px;
  margin-top: 16px;
  display: none;
}

/* ===== 弹窗样式（ModalManager 需要） ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.modal-overlay.active {
  display: block;
}

.modal-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
}

.modal-content.active {
  display: block;
}

/* H5 通用简洁弹窗样式 */
.simple-modal {
  width: clamp(300px, 66.67vw, 480px);
  background: #fff;
  border-radius: clamp(8px, 1.85vw, 20px);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.simple-modal-body {
  padding: clamp(24px, 5.56vw, 60px) clamp(20px, 4.63vw, 50px);
  text-align: center;
}

.simple-modal-message {
  font-size: clamp(14px, 3.15vw, 34px);
  color: #333;
  margin: 0;
  line-height: 1.6;
}

.simple-modal-footer {
  border-top: 1px solid #eee;
}

.simple-modal-btn {
  display: block;
  width: 100%;
  padding: clamp(12px, 2.96vw, 32px) 0;
  background: none !important;
  border: none;
  font-size: clamp(14px, 3.15vw, 34px);
  color: #007aff !important;
  cursor: pointer;
  pointer-events: auto;
  text-align: center;
  position: static !important;
  transform: none !important;
  height: auto !important;
  border-radius: 0 !important;
  left: auto !important;
  top: auto !important;
}

.simple-modal-btn:active {
  background: #f5f5f5 !important;
}

/* ===== 领奖记录模块：轻量行，压缩与相邻模块的间距 ===== */
#modules-container > div[id^='module-mount-lotteryRecord-'] {
  padding-bottom: 0;
}

#modules-container > div[id^='module-mount-lotteryRecord-'] + div {
  padding-top: 0;
}
