/* ========== XorPay 支付弹窗 ========== */
.xorpay-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.2s;
}
.xorpay-modal {
  background: #14141f; border: 1px solid #2a2a3a; border-radius: 16px;
  width: 480px; max-width: 96vw; padding: 24px; text-align: center; position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.xorpay-modal h2 { color: #a78bfa; margin: 0 0 16px; font-size: 20px; }
.xorpay-tab {
  padding: 8px 12px; background: #1a1a2e; border: 1px solid #2a2a3a; border-radius: 8px;
  color: #888; cursor: pointer; font-size: 13px; transition: 0.2s;
}
.xorpay-tab.active, .xorpay-tab:hover { background: rgba(167,139,250,0.15); border-color: #a78bfa; color: #fff; }
.xorpay-packages { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.xorpay-pkg {
  flex: 1 1 100px; max-width: 220px; padding: 10px 6px;
  background: #1a1a2e; border: 1px solid #2a2a3a; border-radius: 10px;
  cursor: pointer; transition: 0.2s; color: #ccc; font-size: 12px; text-align: center;
}
.xorpay-pkg:hover, .xorpay-pkg.selected {
  border-color: #a78bfa; background: rgba(167,139,250,0.1); color: #fff;
}
.xorpay-pkg .price { font-size: 22px; font-weight: 700; color: #f59e0b; display: block; }
.xorpay-pkg .films { font-size: 11px; color: #888; }
.xorpay-qr { margin: 16px auto; width: 200px; height: 200px; border: 1px solid #2a2a3a; border-radius: 12px; padding: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
.xorpay-qr img { width: 100%; height: 100%; }
.xorpay-qr-placeholder { color: #666; font-size: 13px; }
.xorpay-desc { font-size: 12px; color: #888; margin: 8px 0; }
.xorpay-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #666; font-size: 20px; cursor: pointer; }
.xorpay-close:hover { color: #fff; }
.xorpay-loading { display: inline-block; width: 16px; height: 16px; border: 2px solid #2a2a3a; border-top-color: #a78bfa; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 6px; vertical-align: middle; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.xorpay-success { color: #22c55e; font-size: 18px; margin: 20px 0; }
.xorpay-status { font-size: 12px; color: #888; margin-top: 12px; }
