/* 套餐支付弹窗 */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.pay-modal[hidden] { display: none !important; }
.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}
.pay-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #f4f4f5;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  font-family: inherit;
}
.pay-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid #e4e4e7;
  font-size: 13px;
  font-weight: 500;
  color: #52525b;
}
.pay-modal-close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #a1a1aa;
  cursor: pointer;
  border-radius: 8px;
}
.pay-modal-close:hover { color: #18181b; background: #f4f4f5; }
.pay-modal-body {
  padding: 28px 24px 24px;
  text-align: center;
  background: #f4f4f5;
}
.pay-plan-name {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #18181b;
}
.pay-plan-price {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b;
}
.pay-qr-wrap {
  margin: 0 auto 16px;
  padding: 16px;
  width: fit-content;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.pay-qr-wrap img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 4px;
}
.pay-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 13px;
  color: #52525b;
}
.pay-method-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pay-method-item .pay-icon-wechat { color: #07c160; }
.pay-method-item .pay-icon-alipay { color: #1677ff; }
.pay-methods-divider {
  width: 1px;
  height: 14px;
  background: #d4d4d8;
}
.pay-method-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.pay-method-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #d4d4d8;
  border-radius: 999px;
  background: #fff;
  color: #52525b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
}
.pay-method-tab .pay-brand-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.pay-method-tab.is-active {
  border-color: #18181b;
  background: #18181b;
  color: #fff;
}
.pay-method-tab.is-active .pay-brand-icon {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.pay-loading {
  margin: 0 0 12px;
  font-size: 13px;
  color: #71717a;
}
.pay-loading[hidden],
.pay-qr-wrap[hidden] { display: none !important; }
.pay-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #fff;
  border-top: 1px solid #e4e4e7;
  font-size: 13px;
}
.pay-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #71717a;
}
.pay-timer svg { color: #a1a1aa; }
.pay-done-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: #18181b;
  cursor: pointer;
  font-family: inherit;
}
.pay-done-btn:hover { color: #52525b; }
.pay-done-btn svg { color: #71717a; }

/* 套餐卡 */
.pricing-tier-slider { margin: 0 0 16px; }
.pricing-tier-range {
  width: 100%;
  margin: 0 0 8px;
  accent-color: #18181b;
}
.pricing-tier-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #a1a1aa;
}
.pricing-tier-label.is-active {
  color: #18181b;
  font-weight: 700;
}
.pricing-exclusive-box {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 12px;
  font-size: 12px;
  color: #713f12;
  line-height: 1.5;
}
.pricing-exclusive-box p { margin: 0; }
.pricing-exclusive-box p + p { margin-top: 6px; }
