/* The repeated root ID outranks legacy ID-based important skins without affecting other dialogs. */
/* Scoped subscription layout. Prices, entitlements and payment eligibility remain in the existing code. */
html body #rechargeModal#rechargeModal.membership-modern {
 --member-ink:#1b1d22;--member-muted:#737782;--member-blue:#315efb;
 padding:24px!important;background:rgba(20,25,38,.32)!important;backdrop-filter:blur(5px)!important;
}
html body #rechargeModal#rechargeModal.membership-modern .recharge-card {
 display:flex!important;flex-direction:column!important;width:min(900px,100%)!important;height:auto!important;
 max-height:calc(100dvh - 48px)!important;overflow:hidden!important;border:1px solid #e9ebf0!important;
 border-radius:24px!important;background:#fff!important;background-image:none!important;box-shadow:0 24px 100px #151b3030!important;color:var(--member-ink)!important;
}
html body #rechargeModal#rechargeModal.membership-modern .recharge-card::before,
html body #rechargeModal#rechargeModal.membership-modern .recharge-card::after {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-account-bar {
 position:relative!important;display:flex!important;align-items:center!important;gap:20px!important;flex-shrink:0!important;
 min-height:100px!important;padding:27px 38px 22px!important;background:#fff!important;border:0!important;border-bottom:1px solid #eff0f3!important;
}
html body #rechargeModal#rechargeModal.membership-modern .recharge-heading {margin:0!important;flex:1!important;min-width:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-heading h2 {margin:0!important;font-size:24px!important;font-weight:650!important;color:#1b1d22!important;letter-spacing:-.5px!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-heading p {margin:7px 0 0!important;color:#737782!important;font-size:13px!important;}
html body #rechargeModal#rechargeModal.membership-modern .membership-header-actions,
html body #rechargeModal#rechargeModal.membership-modern .recharge-benefit-sidebar,
html body #rechargeModal#rechargeModal.membership-modern .membership-account-avatar {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-account-copy {
 display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:5px!important;min-width:0!important;
 margin:0 38px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
}
html body #rechargeModal#rechargeModal.membership-modern .recharge-account-copy>b {font-size:12px!important;color:#737782!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-account-copy>span {display:flex!important;align-items:baseline!important;gap:7px!important;font-size:12px!important;color:#737782!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-account-copy>.membership-account-avatar {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeAccountBalance {font-size:19px!important;font-weight:650!important;color:#1b1d22!important;}
html body #rechargeModal#rechargeModal.membership-modern .membership-topup-entry {display:flex!important;gap:4px!important;margin:0!important;font-size:12px!important;}
html body #rechargeModal#rechargeModal.membership-modern .membership-topup-entry>span {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern #membershipCreditTopupEntry {border:0!important;background:none!important;color:var(--member-blue)!important;font-size:12px!important;padding:0!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeClose {
 position:absolute!important;right:20px!important;top:20px!important;display:grid!important;place-items:center!important;
 width:32px!important;height:32px!important;min-width:32px!important;margin:0!important;padding:8px!important;border:0!important;border-radius:50%!important;background:#f5f6f8!important;color:#737782!important;
}
html body #rechargeModal#rechargeModal.membership-modern #rechargeClose svg {width:16px!important;height:16px!important;stroke:currentColor!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-body {display:block!important;overflow:auto!important;min-height:0!important;padding:0!important;background:#fff!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-content {display:block!important;padding:30px 38px 0!important;overflow:visible!important;background:#fff!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-membership,
html body #rechargeModal#rechargeModal.membership-modern .membership-plan-row {display:block!important;margin:0!important;padding:0!important;background:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .package-recharge-options {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;margin:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .plan-card {
 position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
 gap:0!important;min-height:170px!important;height:auto!important;min-width:0!important;padding:24px!important;margin:0!important;
 border:1px solid #e9ebf0!important;border-radius:16px!important;background:#f8f9fb!important;color:#1b1d22!important;
 box-shadow:none!important;transform:none!important;transition:background .15s,border-color .15s!important;text-align:left!important;
}
html body #rechargeModal#rechargeModal.membership-modern .plan-card.is-selected {padding:24px!important;border-color:#5875f6!important;background:#f1f4ff!important;box-shadow:inset 0 0 0 1px #5875f6!important;}
html body #rechargeModal#rechargeModal.membership-modern .plan-card.is-selected {outline:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .plan-card:hover {border-color:#5875f6!important;}
html body #rechargeModal#rechargeModal.membership-modern .plan-card::before,
html body #rechargeModal#rechargeModal.membership-modern .plan-card::after {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .offer-crown,
html body #rechargeModal#rechargeModal.membership-modern .offer-headline,
html body #rechargeModal#rechargeModal.membership-modern .offer-benefits,
html body #rechargeModal#rechargeModal.membership-modern .annual-select-label {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .offer-banner {position:static!important;display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;margin:0 0 13px!important;padding:0!important;background:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .plan-name {font-size:15px!important;font-weight:600!important;color:#1b1d22!important;letter-spacing:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .is-selected .plan-name {color:var(--member-blue)!important;}
html body #rechargeModal#rechargeModal.membership-modern .offer-recommend {margin-left:auto!important;padding:3px 7px!important;border:0!important;border-radius:5px!important;background:#e9edff!important;color:#5c6fbb!important;font-size:10px!important;}
html body #rechargeModal#rechargeModal.membership-modern .annual-price {position:static!important;display:block!important;align-self:stretch!important;margin:0!important;padding:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .annual-price-line {display:flex!important;align-items:baseline!important;gap:6px!important;}
html body #rechargeModal#rechargeModal.membership-modern .annual-price strong {font-size:38px!important;line-height:1.15!important;letter-spacing:-1.2px!important;color:#1b1d22!important;font-weight:650!important;}
html body #rechargeModal#rechargeModal.membership-modern .annual-price i {font-style:normal!important;font-size:20px!important;margin-right:3px!important;color:inherit!important;}
html body #rechargeModal#rechargeModal.membership-modern .annual-price-line>span {font-size:13px!important;color:#737782!important;}
html body #rechargeModal#rechargeModal.membership-modern .annual-daily-price {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .offer-caption {display:block!important;position:static!important;margin:12px 0 0!important;padding:0!important;font-size:12px!important;line-height:1.6!important;color:#737782!important;}
.membership-current-benefits {margin:24px 0!important;padding:23px 24px!important;border:1px solid #eceef3!important;border-radius:16px!important;background:#fff!important;color:#1b1d22!important;}
.membership-current-benefits[hidden] {display:none!important;}
.membership-current-benefits h3 {margin:0 0 17px!important;color:#1b1d22!important;font-size:15px!important;font-weight:600!important;}
.membership-current-benefits ul {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 25px!important;list-style:none!important;margin:0!important;padding:0!important;}
.membership-current-benefits li {position:relative!important;margin:0!important;padding-left:22px!important;font-size:13px!important;line-height:1.7!important;color:#41454f!important;overflow-wrap:anywhere!important;}
.membership-current-benefits li::before {position:absolute!important;left:0!important;top:0!important;content:'✓'!important;font-size:14px!important;font-weight:600!important;color:#315efb!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-main {margin:0!important;padding:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-checkout {display:block!important;position:sticky!important;bottom:0!important;z-index:3!important;margin:0!important;padding:22px 0 20px!important;border:0!important;border-top:1px solid #eff0f3!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary {margin:0 0 18px!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary {border:0!important;padding:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary>.recharge-order-label {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary h3 {font-size:14px!important;margin:0 0 7px!important;color:#1b1d22!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary dl {display:grid!important;gap:4px!important;margin:0!important;font-size:12px!important;line-height:1.6!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary dl>div {display:flex!important;gap:12px!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary dt {color:#8b8f99!important;flex:none!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary dd {color:#666b76!important;margin:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-action {display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;align-items:start!important;gap:20px!important;padding:0!important;border:0!important;}
html body #rechargeModal#rechargeModal.membership-modern .checkout-amount {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-order-label {font-size:11px!important;color:#8b8f99!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeSelectionPrice {margin:0!important;font-size:29px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:-1px!important;color:#1b1d22!important;}
html body #rechargeModal#rechargeModal.membership-modern .checkout-payment {display:flex!important;flex-direction:column!important;align-items:stretch!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeConfirm {display:block!important;width:100%!important;min-height:50px!important;border:0!important;border-radius:11px!important;background:#315efb!important;color:#fff!important;font-size:15px!important;font-weight:600!important;box-shadow:none!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeConfirm::before,
html body #rechargeModal#rechargeModal.membership-modern #rechargeConfirm::after {display:none!important;content:none!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeConfirm:disabled {background:#edf0f5!important;color:#959ba9!important;cursor:not-allowed!important;}
html body #rechargeModal#rechargeModal.membership-modern #rechargeNotice {margin:8px 0 0!important;font-size:11px!important;line-height:1.5!important;color:#8b8f99!important;}
html body #rechargeModal#rechargeModal.membership-modern .recharge-legal {margin-top:5px!important;font-size:10px!important;color:#8b8f99!important;line-height:1.5!important;}
html body #rechargeModal#rechargeModal.membership-modern .membership-services {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern.membership-credit-view .recharge-membership {display:none!important;}
html body #rechargeModal#rechargeModal.membership-modern button:focus-visible {outline:3px solid #99adff!important;outline-offset:3px!important;}
/* H5 uses its existing catalog-backed options and payment handlers. */
html body #mobileRechargeModal.membership-modern:not([hidden]) {display:flex!important;align-items:center!important;justify-content:center!important;background:#151b304d!important;padding:14px!important;}
html body #mobileRechargeModal.membership-modern .mobile-recharge-sheet {width:min(560px,100%)!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important;border-radius:22px!important;padding:26px 22px 20px!important;background:#fff!important;box-shadow:0 24px 80px #151b3030!important;}
html body #mobileRechargeModal.membership-modern header {padding:0 0 16px!important;background:#fff!important;border-bottom:1px solid #eff0f3!important;}
html body #mobileRechargeModal.membership-modern header h2 {font-size:21px!important;font-weight:650!important;color:#1b1d22!important;}
html body #mobileRechargeModal.membership-modern header p {font-size:12px!important;line-height:1.6!important;color:#737782!important;}
html body #mobileRechargeModal.membership-modern #mobileRechargeOptions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.membership-mobile-switch {display:flex!important;gap:4px!important;padding:4px!important;margin:18px 0 2px!important;border-radius:11px!important;background:#f3f4f7!important;}
.membership-mobile-switch button {flex:1!important;min-height:35px!important;border:0!important;border-radius:8px!important;background:none!important;color:#737782!important;font-size:13px!important;}
.membership-mobile-switch button[aria-pressed="true"] {background:#fff!important;color:#1b1d22!important;box-shadow:0 1px 5px #1b1d2210!important;}
.membership-mobile-switch button[hidden] {display:none!important;}
html body #mobileRechargeModal.membership-modern[data-membership-view="package"] #mobileRechargeOptions>[data-member-option-type="credits"],
html body #mobileRechargeModal.membership-modern[data-membership-view="credits"] #mobileRechargeOptions>[data-member-option-type="package"],
html body #mobileRechargeModal.membership-modern[data-membership-view="package"] #mobileRechargeSummary {display:none!important;}
html body #mobileRechargeModal.membership-modern #mobileRechargeOptions>h3,
html body #mobileRechargeModal.membership-modern #mobileRechargeOptions>p {grid-column:1/-1!important;margin:12px 0 0!important;}
html body #mobileRechargeModal.membership-modern .mobile-recharge-option {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;min-width:0!important;padding:18px 15px!important;border:1px solid #e9ebf0!important;border-radius:13px!important;background:#f8f9fb!important;text-align:left!important;color:#1b1d22!important;box-shadow:none!important;}
html body #mobileRechargeModal.membership-modern .mobile-recharge-option.is-selected {border-color:#5875f6!important;background:#f1f4ff!important;box-shadow:inset 0 0 0 1px #5875f6!important;}
html body #mobileRechargeModal.membership-modern .mobile-recharge-option b {font-size:13px!important;color:#41454f!important;font-weight:600!important;}
html body #mobileRechargeModal.membership-modern .mobile-recharge-option strong {font-size:30px!important;font-weight:650!important;letter-spacing:-1px!important;color:#1b1d22!important;}
html body #mobileRechargeModal.membership-modern .mobile-recharge-option small {font-size:11px!important;line-height:1.6!important;color:#737782!important;}
html body #mobileRechargeModal.membership-modern .membership-current-benefits {margin:18px 0!important;padding:18px!important;}
html body #mobileRechargeModal.membership-modern .membership-current-benefits ul {grid-template-columns:1fr!important;gap:11px!important;}
html body #mobileRechargeModal.membership-modern #mobileRechargeSummary {font-size:12px!important;line-height:1.7!important;color:#737782!important;}
html body #mobileRechargeModal.membership-modern #mobileRechargePay {width:100%!important;min-height:49px!important;border:0!important;border-radius:11px!important;background:#315efb!important;color:#fff!important;font-size:15px!important;font-weight:600!important;}
html body #mobileRechargeModal.membership-modern #mobileRechargePay:disabled {background:#edf0f5!important;color:#959ba9!important;}
@media(max-width:640px){
 html body #rechargeModal#rechargeModal.membership-modern {padding:10px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-card {max-height:calc(100dvh - 20px)!important;border-radius:19px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-account-bar {padding:23px 20px 18px!important;min-height:90px!important;gap:10px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-heading h2 {font-size:20px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-heading p {font-size:11px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-account-copy {margin-right:22px!important;max-width:130px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-content {padding:20px 18px 0!important;}
 html body #rechargeModal#rechargeModal.membership-modern #rechargeClose {right:9px!important;top:12px!important;width:27px!important;height:27px!important;min-width:27px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .package-recharge-options {gap:10px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .plan-card,
 html body #rechargeModal#rechargeModal.membership-modern .plan-card.is-selected {padding:18px 14px!important;min-height:165px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .plan-name {font-size:13px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .annual-price strong {font-size:31px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .offer-caption {font-size:11px!important;}
 .membership-current-benefits {padding:18px!important;margin:18px 0!important;}
 .membership-current-benefits ul {grid-template-columns:1fr!important;gap:12px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-order-action {grid-template-columns:100px minmax(0,1fr)!important;gap:12px!important;}
 html body #rechargeModal#rechargeModal.membership-modern .recharge-order-summary dl>div {display:block!important;}
 html body #rechargeModal#rechargeModal.membership-modern .offer-recommend {font-size:9px!important;padding:2px 4px!important;}
}
@media(prefers-reduced-motion:reduce){#rechargeModal.membership-modern * {transition:none!important;}}

/* Membership visibility must outrank both restored and simplified presentation skins. */
html body #rechargeModal#rechargeModal .membership-topup-entry.hidden {display:none!important;}
