/* ============================================================
   oo电竞 · 扫码支付收银台 v1.5.0
   出收款码 + 本单唯一金额 + 倒计时 + 到账自动跳转
   依赖:style-1120.css 里的 CSS 变量(--gold/--cyan/--line/--surface/--txt2/--grad-soft)
   ============================================================ */

.qr-amt {
  text-align: center;
  margin: 14px 0 10px;
}
.qr-amt-v {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--gold, #f5c451);
  margin: 3px 0 4px;
  font-variant-numeric: tabular-nums;
}

.qr-imgwrap {
  position: relative;
  width: 232px;
  max-width: 78vw;
  margin: 6px auto 10px;
  padding: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .40);
  box-sizing: border-box;
}
.qr-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}
.qr-badge {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  color: #071018;
  background: linear-gradient(135deg, #7ff0e0, #22d3ee);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
}

.qr-tip {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--txt2, #9aa8c0);
  text-align: center;
}

.qr-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 14px;
  font-size: 13.5px;
  color: var(--txt2, #9aa8c0);
}
.qr-state b { color: var(--cyan, #22d3ee); font-variant-numeric: tabular-nums; }
.qr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, .65);
  animation: qr-pulse 1.6s infinite;
  flex: 0 0 auto;
}
.qr-dot.warn { background: #f59e0b; animation: none; box-shadow: none; }
@keyframes qr-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, .60); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* 弹窗在窄屏上比默认更宽一点,收款码才看得清 */
@media (max-width: 420px) {
  .modal .qr-amt-v { font-size: 30px; }
  .qr-imgwrap { width: 208px; }
}
