/* 会员商城独立页（/pricing.html） —— 排版与 /redeem.html 同一语言 */
.rd-nav .subnav-link { padding: 7px 10px; font-size: 12.5px; }

.pr-main { padding: 76px 0 110px; }
.pr-wrap { max-width: 1200px; display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.pr-copy h1 {
  font-size: clamp(34px, 3.6vw, 50px); font-weight: 800; line-height: 1.3;
  letter-spacing: -.03em; color: #20252c; margin: 18px 0 20px;
}
.pr-copy h1 em { color: #2f5cff; }
.pr-copy > p { font-size: 14px; line-height: 1.9; color: #6b7280; margin: 0 0 26px; }
.pr-balance {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 26px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid #e3e8ff; background: #f5f7ff; font-size: 12px; color: #4b5563;
}
.pr-balance b { font-size: 18px; font-weight: 800; color: #2f5cff; font-variant-numeric: tabular-nums; }
/* ④-dw 三项余额常显：整句比单个数字长，这颗单独降字号 */
.pr-balance b#prCredits { font-size: 12.5px; line-height: 1.6; }
.pr-balance a { margin-left: auto; color: #2f5cff; font-weight: 600; }

.pr-loading { grid-column: 1 / -1; text-align: center; color: #9aa3b2; font-size: 13px; padding: 40px 0; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pr-plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid #e8eaf0; border-radius: 16px; padding: 22px 20px;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pr-plan:hover { transform: translateY(-3px); border-color: #c9d3ff; box-shadow: 0 14px 34px rgba(47, 92, 255, .1); }
.pr-plan.hot { border-color: #2f5cff; box-shadow: 0 0 0 1px #2f5cff, 0 14px 34px rgba(47, 92, 255, .12); }
.pr-plan-tag {
  position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800;
  padding: 3px 8px; border-radius: 6px; background: #2f5cff; color: #fff; letter-spacing: .04em;
}
.pr-plan-name { font-size: 13px; font-weight: 700; color: #4b5563; }
.pr-plan-credits { font-size: 30px; font-weight: 800; color: #20252c; line-height: 1.15; letter-spacing: -.02em; }
.pr-plan-credits small { font-size: 12px; font-weight: 600; color: #9aa3b2; margin-left: 4px; letter-spacing: 0; }
.pr-plan-price { font-size: 15px; font-weight: 700; color: #2f5cff; }
.pr-plan-price s { color: #b3bac8; font-weight: 500; margin-right: 6px; }
.pr-plan-per { font-size: 11px; color: #9aa3b2; }
.pr-plan-desc { font-size: 11.5px; line-height: 1.7; color: #8a94a6; margin-top: 4px; }
.pr-plan-go {
  margin-top: 14px; text-align: center; font-size: 12px; font-weight: 700; color: #2f5cff;
  border: 1px solid #c9d3ff; border-radius: 8px; padding: 8px 0;
  transition: background .15s ease, color .15s ease;
}
.pr-plan:hover .pr-plan-go { background: #2f5cff; color: #fff; }

/* 支付弹窗（复用项目 .modal/.modal-box 基础样式，只补细节） */
.pr-pay .modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 14px; border-bottom: 1px solid #eef0f7;
}
.pr-pay .modal-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: #20252c; }
.pr-pay .modal-close {
  border: 0; background: transparent; font-size: 20px; line-height: 1;
  color: #9aa3b2; cursor: pointer; padding: 2px 6px; border-radius: 6px;
}
.pr-pay .modal-close:hover { background: #fef2f2; color: #ef4444; }
.pr-pay-body { display: grid; gap: 14px; padding: 4px 2px 2px; }
.pr-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-opt {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  border: 1px solid #e3e7f5; border-radius: 10px; cursor: pointer;
  font-size: 13px; color: #4b5563; white-space: nowrap;
}
.pm-opt input { accent-color: #2f5cff; }
.pm-opt.on { border-color: #2f5cff; background: #f5f7ff; color: #20252c; font-weight: 700; }
.pm-opt i {
  width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  color: #fff; font-size: 11px; font-style: normal; font-weight: 700;
}
.pr-coupons { border: 1px solid #eef0f7; border-radius: 10px; padding: 10px; }
.pc-title { font-size: 11px; color: #9aa3b2; margin-bottom: 8px; }
.pc-opts { display: grid; gap: 6px; }
.pc-opt {
  display: flex; align-items: center; gap: 8px; padding: 7px 9px;
  border-radius: 7px; cursor: pointer; font-size: 12px; color: #4b5563;
}
.pc-opt input { accent-color: #2f5cff; }
.pc-opt.on { background: #f5f7ff; font-weight: 600; }
.pc-opt i { margin-left: auto; font-style: normal; font-size: 10.5px; color: #e8590c; }
.pr-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 10px; background: #f6f7fc; font-size: 12px; color: #7b8494;
}
.pr-summary b { display: block; color: #20252c; font-size: 13px; }
.pr-summary .amt { text-align: right; font-size: 15px; font-weight: 800; color: #2f5cff; }
.pr-summary .amt s { display: block; color: #b3bac8; font-size: 11px; font-weight: 400; }
.pr-summary .amt i { display: block; font-style: normal; font-size: 10.5px; color: #e8590c; font-weight: 600; }
.pr-submit {
  padding: 12px 18px; border: 0; border-radius: 9px;
  background: #2f5cff; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 20px rgba(47, 92, 255, .22); transition: background .15s ease;
}
.pr-submit:hover:not(:disabled) { background: #2450ef; }
.pr-submit:disabled { opacity: .6; cursor: wait; }
.pr-err { margin: 0; font-size: 12px; color: #d64545; min-height: 16px; }
.pr-wait { margin: 0; font-size: 12px; color: #4b5563; line-height: 1.8; }
.pr-wait-done { margin-top: 8px; border: 1px solid #c9d3ff; background: #fff; color: #2f5cff; border-radius: 8px; padding: 7px 14px; font: inherit; font-size: 12px; cursor: pointer; }

@media (max-width: 900px) {
  .pr-main { padding: 48px 0 72px; }
  .pr-wrap { grid-template-columns: 1fr; gap: 36px; }
  .pr-copy h1 { font-size: 34px; }
  .rd-nav { display: none; }
}

/* ④-eo 未登录点充值时的微信扫码登录弹窗（与兑换页同款体验） */
.pc-login { width: min(390px, calc(100vw - 32px)); padding: 26px 26px 20px; text-align: center; }
.pc-login[hidden] { display: none !important; }
.pc-login-kicker { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #2f5cff; }
.pc-login h3 { margin: 8px 0; font-size: 20px; font-weight: 800; color: #20252c; }
.pc-login-sub { margin: 0 0 16px; font-size: 12px; line-height: 1.8; color: #7b8494; }
.pc-qr-box {
  width: 210px; height: 210px; margin: 0 auto; box-sizing: border-box;
  display: grid; place-items: center; gap: 8px; align-content: center;
  border: 1px solid #e8eaf0; border-radius: 12px; background: #fafbff; overflow: hidden;
}
.pc-qr-box img { width: 200px; height: 200px; object-fit: contain; }
.pc-qr-loading { font-size: 12px; line-height: 1.7; color: #9aa3b2; padding: 0 10px; }
.pc-qr-retry {
  border: 0; border-radius: 7px; padding: 6px 14px; cursor: pointer;
  background: #2f5cff; color: #fff; font: inherit; font-size: 11px; font-weight: 700;
}
.pc-qr-tip { margin: 12px 0 0; font-size: 11.5px; color: #7b8494; }
.pc-qr-err { margin: 6px 0 0; min-height: 16px; font-size: 11.5px; color: #d64545; }
.pc-login-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
@media (max-width: 420px) {
  .pc-login { padding: 22px 18px 16px; }
  .pc-qr-box { width: 190px; height: 190px; }
  .pc-qr-box img { width: 180px; height: 180px; }
}
