/* 2026-11-14 微信/支付宝选择弹窗 */
.agh-pay-choice {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(0, 0, 0, .48);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.agh-pay-choice__panel {
  box-sizing: border-box;
  width: min(340px, 100%);
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
  text-align: center;
}

.agh-pay-choice__title {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.agh-pay-choice__row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.agh-pay-choice__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, filter .12s ease;
}

.agh-pay-choice__btn:active { transform: scale(.97); }
.agh-pay-choice__btn:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; }

.agh-pay-choice__btn--wx { background: #07c160; }
.agh-pay-choice__btn--ali { background: #1677ff; }
.agh-pay-choice__btn--wx:hover { filter: brightness(.95); }
.agh-pay-choice__btn--ali:hover { filter: brightness(.95); }

@media (max-width: 360px) {
  .agh-pay-choice { padding: 16px; }
  .agh-pay-choice__panel { padding: 18px 14px 16px; }
  .agh-pay-choice__row { gap: 9px; }
  .agh-pay-choice__btn { height: 44px; font-size: 15px; }
}

@media (prefers-color-scheme: dark) {
  .agh-pay-choice__panel { background: #1f2937; color: #f3f4f6; }
}
body.dark .agh-pay-choice__panel,
html.dark .agh-pay-choice__panel,
[data-theme="dark"] .agh-pay-choice__panel { background: #1f2937; color: #f3f4f6; }
