/* ═══════════════════════════════════════════════════════════
   Limooi · 充值面板样式修正
   ───────────────────────────────────────────────────────────
   强制修正微信收款码区域的显示与「我已支付」按钮样式。
   ═══════════════════════════════════════════════════════════ */

/* ══ 收款码图片 ══ */
#wechatPayQr {
  display: block !important;
  width: 176px !important;
  height: 176px !important;
  min-width: 176px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: 0 8px 28px -10px rgba(0, 0, 0, .7) !important;
}

/* 图片加载中/失败时的占位 */
#wechatPayQr[src=""],
#wechatPayQr:not([src]) {
  background-image: linear-gradient(110deg, #1b1815, #14120f, #1b1815) !important;
  background-size: 200% 100% !important;
  animation: lm-flow-x 2s linear infinite !important;
}

/* ══ 支付面板整体 ══ */
.wechat-pay-panel {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 18px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  color: #f4f3f1 !important;
  flex-wrap: wrap !important;
}

.wechat-pay-panel > div {
  flex: 1 1 220px !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.wechat-pay-panel strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f4f3f1 !important;
}

.wechat-pay-panel #wechatPayAmount {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #eaffb0 !important;
  letter-spacing: -.02em !important;
  font-variant-numeric: tabular-nums !important;
}

.wechat-pay-panel #wechatPayStatus {
  font-size: 12.5px !important;
  color: #a8a29e !important;
  line-height: 1.6 !important;
}

/* ══ 「我已支付」按钮 ══ */
#lmPaidBtn {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  margin-top: 12px !important;
  border: 0 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  color: #08120a !important;
  background-color: #c9ff5d !important;
  background-image: linear-gradient(
    100deg,
    #8fd63a 0%, #c9ff5d 22%, #eaffb0 42%,
    #c9ff5d 62%, #8fd63a 82%, #c9ff5d 100%
  ) !important;
  background-size: 220% 100% !important;
  animation: lm-flow-x 4.5s linear infinite !important;
  box-shadow: 0 6px 20px -8px rgba(201, 255, 93, .45) !important;
  transition: transform .14s, box-shadow .2s !important;
  position: relative !important;
  overflow: hidden !important;
}

#lmPaidBtn::after {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: 0 !important;
  width: 34% !important;
  height: 200% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent) !important;
  transform: translateX(-120%) skewX(-18deg) !important;
  animation: lm-shimmer 3.6s ease-in-out infinite !important;
  pointer-events: none !important;
}

#lmPaidBtn:hover:not(:disabled) {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 10px 30px -8px rgba(201, 255, 93, .6) !important;
}

#lmPaidBtn:active:not(:disabled) {
  transform: scale(.985) !important;
}

#lmPaidBtn:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
  animation: none !important;
}

/* 提示文字 */
#lmPaidTip {
  display: block !important;
  margin-top: 8px !important;
  font-size: 11.5px !important;
  line-height: 1.65 !important;
  text-align: center !important;
  color: #a8a29e !important;
}

/* ══ 兜底：支付面板内的所有按钮 ══ */
.wechat-pay-panel button:not(#lmPaidBtn) {
  border-radius: 10px !important;
}

/* ══ 兑换码输入区 ══ */
.redeem-code-field input {
  background: rgba(0, 0, 0, .45) !important;
  border: 1px solid rgba(255, 255, 255, .13) !important;
  color: #f4f3f1 !important;
  border-radius: 11px !important;
  font-family: ui-monospace, Menlo, Consolas, monospace !important;
  letter-spacing: .06em !important;
  font-size: 13.5px !important;
}

.redeem-code-field input:focus {
  border-color: rgba(201, 255, 93, .55) !important;
  box-shadow: 0 0 0 3px rgba(201, 255, 93, .1) !important;
  outline: none !important;
}

.redeem-code-field input::placeholder {
  color: #57534e !important;
  letter-spacing: 0 !important;
}

.redeem-code-field span {
  color: #a8a29e !important;
  font-size: 12.5px !important;
}

/* 兑换位号 */
.card-store-step {
  background: rgba(201, 255, 93, .12) !important;
  border: 1px solid rgba(201, 255, 93, .3) !important;
  color: #c9ff5d !important;
  font-weight: 800 !important;
}

/* 兑换区说明 */
.redeem-help span {
  color: #6b6560 !important;
  font-size: 11.5px !important;
}

/* 卡密实时校验提示 */
#lmRedeemTip {
  display: block !important;
  margin-top: 8px !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
  min-height: 18px !important;
  font-weight: 500 !important;
}

/* ══ 无障碍 ══ */
@media (prefers-reduced-motion: reduce) {
  #lmPaidBtn,
  #lmPaidBtn::after,
  #wechatPayQr {
    animation: none !important;
  }
  #lmPaidBtn { background-image: none !important; background-color: #c9ff5d !important; }
}

/* ══════════ 白标分站推广块（内联样式覆盖）══════════ */
a[href="/team/?focus=wl"],
a[href*="focus=wl"] {
  background: linear-gradient(
    110deg,
    rgba(201, 255, 93, .07),
    rgba(139, 124, 255, .09),
    rgba(201, 255, 93, .07)
  ) !important;
  background-size: 220% 100% !important;
  animation: lm-flow-x 8s linear infinite !important;
  border: 1px solid rgba(201, 255, 93, .26) !important;
  border-left: 3px solid #c9ff5d !important;
  color: #d9ffa8 !important;
  border-radius: 10px !important;
}

a[href="/team/?focus=wl"] b,
a[href*="focus=wl"] b {
  color: #c9ff5d !important;
}

a[href="/team/?focus=wl"] span span,
a[href*="focus=wl"] span span {
  color: #a8a29e !important;
}

a[href="/team/?focus=wl"] em,
a[href*="focus=wl"] em {
  color: #c9ff5d !important;
}

/* 兜底：任何内联白底的块 */
[style*="background:linear-gradient(90deg,#fff"],
[style*="background: linear-gradient(90deg, #fff"] {
  background: rgba(255, 255, 255, .05) !important;
}

/* 深粉文字统一改绿 */
[style*="color:#b3155a"],
[style*="color: #b3155a"] {
  color: #c9ff5d !important;
}
[style*="color:#8b7c86"],
[style*="color: #8b7c86"] {
  color: #a8a29e !important;
}

/* ══════════ 档位选中态强化 ══════════ */
.recharge-option.selected {
  background-image: linear-gradient(
    110deg,
    rgba(201, 255, 93, .16),
    rgba(234, 255, 176, .26),
    rgba(201, 255, 93, .16)
  ) !important;
  background-size: 220% 100% !important;
  animation: lm-flow-x 6s linear infinite !important;
  border-color: rgba(201, 255, 93, .65) !important;
  color: #eaffb0 !important;
  box-shadow: 0 0 0 3px rgba(201, 255, 93, .12) !important;
}

/* 汇总数字加强对比 */
#rechargeSummaryPoints,
#rechargeSummaryTotal {
  color: #eaffb0 !important;
  font-weight: 800 !important;
}

#rechargeSummaryBonus {
  color: #4ade80 !important;
  font-weight: 800 !important;
}

#rechargeSummaryYuan {
  color: #c9ff5d !important;
  font-weight: 800 !important;
}
