/* Recharge visual system. Business rules remain in recharge.js. */
:root {
  --page: #f5f5f7;
  --text: #1d1d1f;
  --muted: #626267;
  --soft: #76767c;
  --line: #dedee3;
  --blue: #0071e3;
  --blue-soft: #eaf3ff;
  --card-active: #fff;
  --content: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
}

html { scroll-behavior: auto; }
body { font-size: 17px; line-height: 1.6; letter-spacing: -.015em; }
.page { width: min(var(--content), calc(100% - 72px)); padding: 20px 0 48px; }
.site-header { min-height: 48px; }
.brand { gap: 13px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand strong { font-size: 19px; font-weight: 650; }
.brand span { font-size: 14px; }
.site-links { border-color: #e3e3e7; padding: 5px; background: #fff9; }
.site-links a, .site-links span { padding: 9px 20px; font-size: 16px; font-weight: 500; }
.hero { max-width: 960px; margin: 48px auto 34px; }
.hero h1 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(40px, 4.5vw, 56px); font-weight: 650; line-height: 1.14; letter-spacing: -.055em; text-wrap: balance; }
.hero p { max-width: 780px; font-size: 20px; line-height: 1.65; letter-spacing: -.02em; text-wrap: balance; }
.product-tabs { margin: 22px 0; padding: 5px; gap: 4px; border-radius: 18px; background: #e8e8ed; }
.product-tabs button { min-height: 44px; padding: 9px 24px; font-size: 17px; border-radius: 14px; font-weight: 550; transition: background-color .25s, color .25s, box-shadow .25s; }
.product-tabs button[aria-pressed="true"] { box-shadow: 0 3px 12px #00000009; }
.account-panel { padding: 24px 26px; gap: 26px; margin-bottom: 44px; border-color: transparent; border-radius: 28px; box-shadow: 0 4px 24px #00000003; }
.account-panel h2 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.account-form { margin-top: 16px; gap: 10px; }
.field { min-height: 48px; font-size: 17px; border-radius: 15px; }
.field::placeholder { color: #85858a; }
.email-suffix-button { font-size: 17px; padding: 0 14px; min-height: 38px; }
.email-suffix-action { font-size: 13px; }
.email-domain-menu-title { font-size: 15px; }
.email-domain-option { min-height: 44px; font-size: 15px; }
.primary-button, .secondary-button { min-height: 48px; font-size: 17px; font-weight: 550; padding: 0 22px; }
.wechat-account p { font-size: 16px; }
.identity-card { min-height: 132px; padding: 22px; border-radius: 22px; background: #f5f5f7; }
.identity-label, .identity-state { font-size: 15px; font-weight: 500; }
.identity-card strong { font-size: 28px; margin-top: 12px; font-weight: 600; }
.identity-card p { font-size: 16px; line-height: 1.55; margin-top: 12px; }
.client-account-balance span, .client-account-balance small { font-size: 16px; }
.section-title { margin-bottom: 24px; gap: 20px; }
.section-title h2 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.045em; }
.section-title p { font-size: 20px; margin-top: 14px; }
.comparison-jump { font-size: 16px; font-weight: 500; padding: 12px 20px; background: transparent; color: var(--blue); }
.comparison-jump:hover { background: var(--blue-soft); }
.products-grid { gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; align-items: stretch; }
.product-card, .custom-box { min-height: 510px; padding: 24px 20px 20px; border: 2px solid transparent; border-radius: 28px; background: #fff; box-shadow: 0 6px 28px #00000003; transition: border-color .26s, box-shadow .26s, transform .26s, background-color .26s; }
.product-card.active, .custom-box.active { border-color: var(--blue); background: #fff; box-shadow: 0 12px 36px #0071e30d; }
.product-head { min-height: 64px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.product-title { font-size: 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.tag { order: -1; min-height: 26px; padding: 2px 10px; font-size: 13px; font-weight: 550; background: #edf4fd; }
.tag.pro-gift { background: #e9f6ed; color: #14773e; box-shadow: none; }
.price { margin-top: 20px; min-height: 62px; gap: 7px; }
.price strong { font-size: 60px; font-weight: 600; letter-spacing: -.065em; line-height: 1; }
.price span { font-size: 17px; font-weight: 400; }
.product-lead { min-height: 28px; font-size: 19px; font-weight: 550; line-height: 1.45; margin: 16px 0 10px; letter-spacing: -.025em; }
.credit-breakdown, .membership-note { min-height: 38px; padding: 6px 0; margin: 0 0 16px; font-size: 15px; font-weight: 400; gap: 8px; background: transparent; color: var(--muted); }
.membership-note { display: flex; align-items: center; }
.credit-breakdown strong { font-size: 15px; color: #167742; }
.product-card.active .credit-breakdown, .custom-box.active .credit-breakdown { background: transparent; }
.product-features { min-height: 106px; margin: 0 0 20px; gap: 10px; align-content: start; color: #48484d; }
.product-features li { padding: 0; border: 0; font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: -.015em; text-wrap: balance; }
.product-cta { min-height: 48px; font-size: 16px; font-weight: 500; background: #1d1d1f; transition: background-color .22s, box-shadow .22s, transform .22s; }
.product-card.active .product-cta, .custom-box.active .product-cta { background: var(--blue); }
.custom-input-row { margin: 20px 0 0; min-height: 62px; gap: 8px; }
.custom-input-row .field { min-height: 62px; padding: 0 12px; border: 0; border-radius: 12px; background: #f5f5f7; font-size: 54px; line-height: 1; font-weight: 550; letter-spacing: -.055em; box-shadow: inset 0 -2px 0 #e6e6eb; }
.custom-input-row .field:focus { box-shadow: inset 0 -2px 0 var(--blue), 0 0 0 4px #0071e314; }
.custom-input-row span { font-size: 17px; font-weight: 400; }
.custom-box .product-lead { margin: 16px 0 10px; }
.recharge-rules { max-width: 1000px; margin: 24px auto 0; text-align: center; font-size: 16px; color: var(--muted); line-height: 1.7; }
.recharge-rules strong { color: var(--text); font-weight: 550; }
.pro-overview { margin: 56px 0; padding: 34px 30px; border-radius: 30px; background: #fff; scroll-margin-top: 28px; }
.overview-heading { margin-bottom: 30px; }
.overview-heading h2, .benefits-comparison h2 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.04em; }
.overview-heading p { margin: 12px 0 0; font-size: 18px; color: var(--muted); }
.pro-benefit-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.pro-benefit-group + .pro-benefit-group { border-left: 1px solid #e8e8ed; padding-left: 24px; }
.pro-benefit-group h3 { font-size: 21px; line-height: 1.3; margin: 0 0 20px; font-weight: 600; letter-spacing: -.025em; }
.pro-benefit-group ul { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.pro-benefit-group li { position: relative; padding-left: 23px; font-size: 17px; line-height: 1.6; color: #49494e; }
.pro-benefit-group li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 10px; height: 6px; border: solid #168445; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.overview-note { margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.benefits-comparison { margin: 0 0 48px; padding: 34px 28px 28px; border: 0; border-radius: 30px; }
.section-kicker { font-size: 16px; font-weight: 500; margin-bottom: 12px; color: #63636a; }
.benefits-comparison > p:not(.section-kicker) { margin: 18px 0 36px; font-size: 18px; }
.benefits-table { font-size: 17px; letter-spacing: -.015em; }
.benefits-table th, .benefits-table td { padding: 18px 20px; line-height: 1.55; border-bottom-color: #ebebef; }
.benefits-table thead th { padding: 20px; font-size: 19px; background: #f5f5f7; }
.benefits-table th:first-child { width: 44%; }
.benefits-table tbody th { font-weight: 400; }
.benefits-table th:last-child, .benefits-table td:last-child { background: #f6f9ff; color: #1268bd; font-weight: 550; }
.benefits-table thead th:last-child { background: #edf4ff; }
.benefits-table small { font-size: 15px; margin-top: 5px; line-height: 1.55; }
.benefits-comparison .benefits-note { font-size: 16px; margin: 28px 0 0; line-height: 1.7; }
.checkout-panel { margin: 0 0 48px; padding: 28px; border-color: transparent; border-radius: 28px; gap: 32px; }
.checkout-price span, .summary-row span { font-size: 16px; }
.checkout-price strong { font-size: 46px; font-weight: 600; margin-top: 12px; }
.summary-row strong { font-size: 17px; font-weight: 500; line-height: 1.55; margin-top: 12px; }
.payment-hint { font-size: 16px; }
.order-row span { font-size: 16px; }
.order-row strong { font-size: 17px; }
.copy-button { font-size: 15px; }
.support-grid { gap: 28px; }
.support-card { border: 0; padding: 28px; border-radius: 28px; }
.support-card h2 { font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
.support-card > p, .plain-list li { font-size: 18px; line-height: 1.7; }
.support-card .section-kicker { font-size: 16px; }
.support-card .refund-note { font-size: 16px; }
.refund-form { max-width: 880px; gap: 14px; }
.refund-form textarea { padding: 18px; font: inherit; resize: vertical; }
.footer { margin-top: 42px; gap: 14px 26px; font-size: 15px; color: var(--muted); }
.modal-layer { background: #0005; backdrop-filter: blur(8px); }
.modal-layer.active .modal-card { animation: modal-enter .28s cubic-bezier(.2,.8,.2,1) both; }
.modal-card { border-radius: 30px; padding: 36px; box-shadow: 0 24px 100px #0002; }
.modal-card h2 { font-size: 32px; font-weight: 600; letter-spacing: -.035em; }
.modal-card p, .confirm-row, .confirm-profile span { font-size: 17px; }
.modal-kicker { font-size: 16px; }
.confirm-profile strong { font-size: 26px; }
.confirm-row { padding: 18px 0; }
.confirm-row span { font-size: 16px; }
.confirm-row strong { font-size: 18px; font-weight: 550; }
.confirm-pay-button { font-size: 19px; font-weight: 550; }
.payment-status { font-size: 18px; }
.payment-order-number { font-size: 15px; }
.wechat-consent, #wechatAccountStatus { font-size: 16px; line-height: 1.7; }
button:focus-visible, a:focus-visible, .product-card:focus-visible { outline: 3px solid #0071e3; outline-offset: 5px; }
.polish-reveal { animation: section-enter .6s cubic-bezier(.2,.7,.2,1) both; }
.polish-feedback { animation: selection-feedback .36s ease-out; }
@keyframes section-enter { from { opacity: .55; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes selection-feedback { from { box-shadow: 0 0 0 5px #0071e312; } to { box-shadow: 0 12px 36px #0071e30d; } }
@keyframes modal-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover, .custom-box:hover { transform: translateY(-4px); box-shadow: 0 14px 36px #00000008; }
  .product-cta:hover, .primary-button:hover, .confirm-pay-button:hover { filter: brightness(1.08); }
}
@media (max-width: 1023px) {
  .page { width: calc(100% - 56px); }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .product-card, .custom-box { min-height: 490px; padding: 24px; }
  .product-title { font-size: 25px; }
  .price strong { font-size: 62px; }
  .pro-benefit-grid { gap: 24px; }
  .pro-benefit-group + .pro-benefit-group { padding-left: 24px; }
  .pro-benefit-group li { font-size: 18px; }
}
@media (max-width: 980px) {
  .hero { margin: 40px auto 30px; }
  .hero h1 { font-size: 48px; }
  .account-panel { grid-template-columns: 1fr; }
  .identity-card { min-height: 126px; }
  .pro-benefit-grid { grid-template-columns: 1fr; gap: 36px; }
  .pro-benefit-group + .pro-benefit-group { border-left: 0; border-top: 1px solid #e8e8ed; padding: 30px 0 0; }
  .pro-benefit-group ul { grid-template-columns: 1fr 1fr; gap: 18px 30px; }
  .checkout-panel { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .page { width: calc(100% - 40px); padding-top: 20px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 18px; }
  .site-links { gap: 0; padding: 3px; }
  .site-links a, .site-links span { font-size: 14px; padding: 8px 12px; }
  .hero { margin: 36px auto 28px; text-align: left; }
  .hero h1 { font-size: clamp(34px, 8.5vw, 46px); line-height: 1.16; letter-spacing: -.05em; }
  .hero p { font-size: 18px; line-height: 1.65; }
  .product-tabs { width: 100%; margin: 22px 0; }
  .product-tabs button { font-size: 17px; padding: 12px 8px; }
  .account-panel { padding: 22px; margin-bottom: 36px; gap: 22px; }
  .account-panel h2 { font-size: 25px; }
  .account-form { grid-template-columns: 1fr; }
  .email-suffix-button { font-size: 16px; max-width: 142px; padding: 0 10px; }
  .identity-card { padding: 22px; }
  .section-title { align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .section-title h2 { font-size: 32px; }
  .section-title p { font-size: 18px; }
  .comparison-jump { padding: 0; font-size: 17px; }
  .products-grid { grid-template-columns: 1fr; gap: 18px; }
  .product-card, .custom-box { padding: 24px; min-height: 0; }
  .product-title { font-size: 25px; }
  .product-head { min-height: 64px; }
  .price strong { font-size: 62px; }
  .custom-input-row .field { font-size: 56px; }
  .product-lead { font-size: 20px; }
  .product-features { min-height: 0; margin-bottom: 24px; }
  .product-features li { font-size: 18px; }
  .product-cta { min-height: 48px; font-size: 17px; }
  .recharge-rules { font-size: 17px; text-align: left; margin-top: 26px; }
  .pro-overview { padding: 28px 24px; margin: 44px 0; border-radius: 26px; }
  .overview-heading { margin-bottom: 32px; }
  .overview-heading h2, .benefits-comparison h2 { font-size: 30px; }
  .overview-heading p { font-size: 19px; }
  .pro-benefit-group ul { grid-template-columns: 1fr; }
  .pro-benefit-group li { font-size: 19px; }
  .overview-note { font-size: 16px; }
  .benefits-comparison { padding: 28px 16px 24px; margin-bottom: 40px; border-radius: 26px; }
  .benefits-comparison h2, .benefits-comparison > p { margin-left: 10px; margin-right: 10px; }
  .benefits-comparison > p:not(.section-kicker) { font-size: 19px; margin-top: 16px; }
  .benefits-table { font-size: 16px; }
  .benefits-table th, .benefits-table td { padding: 19px 8px; line-height: 1.55; }
  .benefits-table thead th { padding: 22px 8px; font-size: 17px; }
  .benefits-table th:first-child { width: 42%; }
  .benefits-table small { font-size: 14px; line-height: 1.5; }
  .benefits-comparison .benefits-note { font-size: 15px; margin-top: 24px; }
  .checkout-panel, .support-card { padding: 24px; border-radius: 26px; }
  .checkout-price strong { font-size: 50px; }
  .summary-list { gap: 22px; }
  .summary-row strong { font-size: 18px; }
  .support-card h2 { font-size: 28px; }
  .modal-card { padding: 32px 26px; }
  .modal-card h2 { font-size: 29px; }
  .prompter-products .product-card { display: flex; }
  .prompter-products .product-head { min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .product-card:hover, .custom-box:hover { transform: none; }
}
