.recharge-body {
  --page: #111013;
  --panel: #1a181d;
  --hairline: #37333b;
  --soft: #bbafb9;
  --pink: #ff75c9;
  --gold: #f6d282;
  min-height: 100vh;
  padding-top: var(--topbar-height, 60px);
  background: var(--page);
  color: #faf6f9;
}
.recharge-body [hidden] { display: none !important; }
.recharge-body .app-topbar { padding-inline: clamp(12px, 2vw, 32px); background: #171419; border-bottom: 1px solid #312b32; }
.recharge-page .app-topbar .topbar-start { min-width: 0; gap: 6px; }
.recharge-back {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 48px;
  min-height: 48px;
  padding-inline: 10px;
  border-radius: 12px;
  color: #fff2fa;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.recharge-back:hover { background: #382633; }
.recharge-back:focus-visible { outline: 2px solid var(--pink); outline-offset: -3px; }
.recharge-page .app-topbar .recharge-back > svg { width: 28px; height: 28px; flex: none; }
.recharge-brand { min-height: 44px; color: #fff2fa; white-space: nowrap; }
.recharge-content { width: min(100%, 792px); margin: 0 auto; padding: 0 24px 38px; }
.recharge-content :is(a, button, input):focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.page-tools, .upgrade-footer { display: flex; align-items: center; gap: 16px; }
.page-tools { justify-content: space-between; min-height: 46px; }
.recharge-page .page-tools { justify-content: flex-end; }
.page-tools a, .upgrade-footer a { color: var(--soft); font-size: 12px; text-decoration: none; }
.page-tools a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; }
.page-tools a:hover, .upgrade-footer a:hover { color: #fff; }
.receipt-content .page-tools a > span:first-child { font-size: 23px; line-height: 1; }
.mini-gem { width: 9px; height: 9px; background: var(--pink); border-radius: 2px; transform: rotate(45deg); }
.context-message { font-size: 13px; color: var(--pink); }
.context-message:empty { display: none; }
.membership-hero { overflow: hidden; height: clamp(200px, 32vw, 255px); border-radius: 22px; border: 1px solid #634252; background: #221723; }
.hero-portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member-offers { margin-top: 22px; }
.member-offers, .points-section { scroll-margin-top: calc(var(--topbar-height, 60px) + 10px); }
.membership-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.member-card { --tier: #ff8bcf; --tint: #462739; --button: linear-gradient(108deg,#ffa6dc,#fc64b9 65%,#f955b0); min-width: 0; border: 1px solid #413840; padding: 13px; background: #1b181c; border-radius: 21px; }
.member-card.premium { --tier: #f6d484; --tint: #423824; --button: linear-gradient(108deg,#fbe5a6,#f5d171 67%,#ecc161); }
.member-card { cursor: pointer; }
.member-card.selected { border-color: var(--tier); box-shadow: inset 0 0 0 1px var(--tier); }
.tier-addon { cursor: default; }
.tier-offer { padding: 19px 17px 16px; position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--hairline); background: linear-gradient(145deg, var(--tint) -22%, #211e22 49%, #1b191c 90%); }
.tier-emblem { display: inline-block; width: 23px; height: 19px; background: var(--tier); clip-path: polygon(18% 8%,82% 8%,100% 38%,50% 100%,0 38%); }
.premium .tier-emblem { clip-path: polygon(0 16%,25% 45%,50% 2%,75% 45%,100% 16%,90% 84%,10% 84%,9% 94%,91% 94%,91% 100%,9% 100%); }
.tier-offer h2 { color: var(--tier); margin: 7px 0 12px; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.15; letter-spacing: -.035em; }
.tier-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.tier-price strong { font-size: clamp(31px, 3.6vw, 43px); line-height: 1.06; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.tier-price > span { font-size: 12px; color: #d4c9d1; }
.tier-price { margin-bottom: 16px; }
.tier-action, .points-checkout button { display: flex; width: 100%; justify-content: center; align-items: center; gap: 9px; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 23px; background: var(--button); color: #2a1321; font-size: 14px; font-weight: 750; cursor: pointer; }
.tier-action:hover { filter: brightness(1.08); }
.tier-credit, .tier-addon { border-radius: 12px; margin-top: 9px; padding: 13px 14px; background: #242125; }
.tier-credit > div { display: flex; gap: 8px; align-items: baseline; font-size: 13px; line-height: 1.5; }
.tier-credit > div + div { margin-top: 4px; color: #c9bec6; font-size: 12px; }
.benefit-check { color: var(--tier); font-weight: 800; }
.tier-addon label { display: block; font-size: 12px; font-weight: 650; }
.tier-addon input { display: block; width: 100%; height: 22px; margin: 9px 0 0; accent-color: var(--tier); cursor: pointer; }
.recharge-content input[type="range"] { touch-action: pan-y; }
.range-stops { display: flex; justify-content: space-between; }
.range-stops button { padding: 4px 0; min-width: 22px; color: #b6aab3; background: transparent; border: 0; font: inherit; font-size: 10px; cursor: pointer; }
.range-stops button[aria-pressed="true"] { color: var(--tier); font-weight: 700; }
.addon-current { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #3b353c; padding-top: 8px; margin-top: 7px; color: #d9ced6; font-size: 12px; }
.points-section { margin-top: 32px; padding-top: 23px; border-top: 1px solid var(--hairline); }
.section-heading, .points-checkout { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.section-heading h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.section-heading p, .current-wallet { margin: 4px 0 0; font-size: 12px; color: var(--soft); }
.current-wallet { text-align: right; }
.current-wallet strong { display: block; color: var(--pink); font-size: 17px; }
.purchase-slider { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.purchase-slider input { flex: 1; min-width: 0; height: 30px; cursor: pointer; accent-color: var(--pink); }
.purchase-slider button { padding: 5px 10px; min-height: 32px; border: 1px solid var(--hairline); border-radius: 9px; background: var(--panel); color: var(--soft); cursor: pointer; }
.purchase-slider button:disabled { cursor: default; }
.point-packages { margin: 16px 0; padding: 0; border: 0; min-width: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.point-pack { position: relative; display: grid; grid-template-columns: 1fr auto; min-width: 0; gap: 5px; align-items: center; padding: 14px; border: 1px solid var(--hairline); background: var(--panel); border-radius: 12px; cursor: pointer; }
.point-pack.selected { border-color: var(--pink); background: #322331; }
.point-pack strong { color: #fff4fa; font-size: 15px; }
.point-pack small { color: #cbbbc8; font-size: 12px; }
.point-pack input { grid-row: 1/3; grid-column: 2; margin: 0; accent-color: var(--pink); }
.points-checkout { border-top: 1px solid var(--hairline); padding-top: 14px; }
.checkout-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; font-size: 13px; color: var(--soft); }
.checkout-line b { color: #e7dae4; font-variant-numeric: tabular-nums; }
.recurring-price { margin: 5px 0 0; color: var(--soft); font-size: 12px; }
.points-checkout > div > span { color: var(--soft); font-size: 12px; margin-right: 10px; }
.points-checkout button { width: auto; min-width: 130px; background: #373036; color: #cabac6; }
.points-checkout button:disabled { cursor: not-allowed; }
.points-checkout button:enabled, .payment-action { background: #ff91d0; color: #29101e; }
.payment-methods { min-width: 0; margin: 10px 0 16px; padding: 0; border: 0; }
.payment-methods legend { margin-bottom: 9px; color: #f6eef4; font-size: 13px; font-weight: 650; }
#paymentOptions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#paymentOptions:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
#paymentOptions:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.payment-choice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  padding: 5px 8px;
  border: 1px solid #e4dbe2;
  border-radius: 999px;
  background: #faf8fa;
  color: #291d26;
  cursor: pointer;
}
.payment-choice:hover { background: #f4edf3; }
.payment-choice:has(:checked) { border-color: var(--pink); background: #ffeef8; box-shadow: inset 0 0 0 1px var(--pink); }
.payment-choice:has(:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
.payment-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.payment-mark {
  display: block;
  width: auto;
  max-width: 100%;
  height: 20px;
  object-fit: contain;
}
.payment-choice[data-channel="UPI"] .payment-mark { width: 18px; height: 18px; flex: none; }
.payment-name { min-width: 0; font-size: 13px; font-weight: 650; line-height: 1.15; text-align: center; }
.payment-currency { font-size: 11px; font-weight: 650; line-height: 1; flex: none; }
.payment-choice[data-channel="CASH"] { flex-wrap: wrap; align-content: center; gap: 3px 5px; }
.payment-card-marks { display: inline-flex; min-width: 0; max-width: 100%; align-items: center; gap: 2px; }
.payment-card-marks img {
  display: block;
  width: 24px;
  height: 16px;
  min-width: 0;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #e7e1e5;
}
.payment-card-marks .payment-amex-badge {
  box-sizing: border-box;
  padding-inline: 1px;
  background: #006fcf;
}
@media (max-width: 650px) {
  #paymentOptions:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .payment-mark { height: 18px; }
  .payment-card-marks img { width: 19px; height: 13px; }
}
#paymentIssue { margin: 8px 0; color: #ffc4cf; font-size: 14px; }
#paymentIssue p { margin: 0 0 4px; }
#paymentIssue a { color: inherit; }
.payment-handoff, .receipt-panel { box-sizing: border-box; color: #faf6f9; background: #201b22; border: 1px solid #494049; border-radius: 20px; padding: clamp(20px,4vw,32px); }
.payment-handoff { width: min(440px, calc(100vw - 32px)); margin: auto; }
.payment-handoff::backdrop { background: #100c11bf; }
.receipt-content { max-width: 620px; }
.payment-handoff h2, .receipt-panel h1 { margin: 0 0 12px; font-size: clamp(23px,4vw,30px); }
#handoffSummary { margin: 0 0 10px; font-size: 20px; font-variant-numeric: tabular-nums; }
.checkout-guidance { color: #cbbec8; font-size: 14px; line-height: 1.55; margin: 0; }
.checkout-guidance:empty { display: none; }
.payment-buyer-fields { display: grid; gap: 12px; margin-top: 16px; }
.payment-buyer-fields label { display: grid; gap: 6px; font-size: 14px; }
.payment-buyer-fields input { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #544755; border-radius: 10px; color: inherit; background: #17131a; font: inherit; font-size: 16px; }
.payment-buyer-fields input:focus-visible { outline: 2px solid #ff91d0; outline-offset: 2px; }
.receipt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.receipt-actions a, .receipt-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; color: #f2d5e9; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.receipt-actions button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.receipt-actions .payment-action { padding: 9px 18px; border-radius: 24px; color: #29101e; background: #ff91d0; text-decoration: none; }
.receipt-details { margin: 20px 0; }
.receipt-details div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--hairline); }
.receipt-details dt { color: var(--soft); white-space: nowrap; }
.receipt-details dd { margin: 0; font-variant-numeric: tabular-nums; text-align: end; overflow-wrap: anywhere; }
.receipt-details #orderNumber { font-size: 13px; }
.payment-status, .wallet-price, .recharge-ledger { font-size: 12px; color: var(--soft); line-height: 1.6; }
.payment-status { margin: 10px 0 0; }.wallet-price { margin: 4px 0 0; }
.recharge-ledger { margin-top: 20px; border-block: 1px solid var(--hairline); padding: 14px 0; }
.recharge-ledger summary { cursor: pointer; }.recharge-ledger #walletLedger { margin: 10px 0; }
.ledger-login, .catalog-error button { background: #342733; border: 1px solid #574253; border-radius: 9px; color: #ffd5ed; padding: 7px 12px; cursor: pointer; }
.wallet-ledger-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--hairline); }.wallet-ledger-row small { display: block; }.wallet-ledger-row .credit { color: #a2dbb5; }
.upgrade-footer { margin-top: 17px; flex-wrap: wrap; }.upgrade-footer a:first-child { margin-right: auto; }
.catalog-error { padding: 12px; border: 1px solid var(--hairline); border-radius: 12px; font-size: 13px; }.catalog-error button { margin-inline-start: 8px; }
@media (max-width: 620px) {
  .recharge-content { padding: 0 16px 24px; }
  .page-tools { min-height: 39px; }.page-tools a { min-height: 36px; }
  .membership-hero { height: clamp(158px, 48vw, 211px); border-radius: 17px; }
  .member-offers { margin-top: 16px; }
  .membership-cards { display: flex; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #795068 transparent; margin-inline: -16px; padding: 0 16px 6px; gap: 12px; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; }
  .member-card { flex: 0 0 min(82vw, 355px); scroll-snap-align: start; padding: 11px; border-radius: 18px; }
  .tier-offer { padding: 16px; }.tier-price strong { font-size: 35px; }
  .points-section { margin-top: 19px; padding-top: 17px; }.point-packages { gap: 7px; }
  .point-pack { display: flex; flex-direction: column; align-items: flex-start; padding: 10px; gap: 3px; }.point-pack strong { font-size: 13px; }.point-pack input { order: -1; margin-bottom: 4px; }
}
@media (max-width: 760px) {
  body.recharge-body { --topbar-height: var(--mobile-site-header-height); }
  .recharge-body .app-topbar {
    padding: env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left));
    background: var(--mobile-site-header-background);
    border-bottom-color: var(--mobile-site-header-border);
  }
  .recharge-body .app-topbar .topbar-start { flex: none; }
  .recharge-page .app-topbar .topbar-start { gap: 2px; }
  .recharge-back { width: 48px; padding: 0; }
  .recharge-back-label {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .recharge-brand .site-brand-icon { display: none; }
  .recharge-body .app-topbar .account-wallet-actions { flex: 0 1 auto; min-width: 0; }
  .recharge-body .app-topbar :is(.diamond-balance, .diamond-unit, .diamond-balance strong) { min-width: 0; }
  .recharge-body .app-topbar .diamond-unit { overflow: hidden; text-overflow: ellipsis; }
  .recharge-body .app-topbar .account-entry { flex: none; min-height: 44px; }
  .recharge-body .app-topbar .account-avatar { display: grid; }
  .recharge-body .app-topbar #accountName {
    position: absolute; inline-size: 1px; block-size: 1px;
    overflow: hidden; clip-path: inset(50%);
  }
  .recharge-body .app-topbar .account-logout {
    display: grid;
    place-items: center;
    flex: none;
    inline-size: 34px;
    min-block-size: 44px;
    padding: 0;
    font-size: 0;
  }
  .recharge-body .app-topbar .account-logout::after {
    content: "";
    inline-size: 17px;
    block-size: 17px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5m4-12 4 4-4 4m-6-4h10'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
@media (max-width: 360px) {
  .recharge-page .recharge-brand .site-wordmark { font-size: 22px; }
  .payment-choice[data-channel="CASH"] { padding-inline: 6px; }
}
