/* Top-up customer UI only; colors and shared navigation come from home.css. */
body.rsh-topup .rsh-header { position: static; }
body.rsh-topup { padding-bottom: 0; }
body.rsh-topup :where(section[id]) { scroll-margin-top: 24px; }
.rst-main { padding-top: 24px; }
.rst-breadcrumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; min-height: 32px; margin-bottom: 18px; color: #a5b5d3; font-size: 11px; }
.rst-breadcrumb a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; color: #c5d2ec !important; }
.rst-breadcrumb a:hover { color: #fff !important; }
.rst-breadcrumb .rsh-icon { width: 14px; height: 14px; flex-basis: 14px; color: #8095be; }
.rst-breadcrumb > span { min-width: 0; overflow-wrap: anywhere; }

/* Game identity uses real artwork when available, otherwise the game initials. */
.rst-game-header { display: flex; align-items: center; gap: 24px; min-height: 176px; padding: 27px; border: 1px solid #455c90; border-radius: 22px; background: radial-gradient(ellipse at 100% 0, #4b438e26, transparent 65%), linear-gradient(115deg, #152546, #111d37); box-shadow: 0 15px 40px #02071530; }
.rst-game-art { position: relative; width: 112px; height: 112px; flex: 0 0 112px; overflow: hidden; border: 1px solid #8397d47d; border-radius: 24px; background: #273962; box-shadow: 0 10px 25px #050c293d; }
.rst-game-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.rst-game-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #e0e6ff; background: linear-gradient(140deg, #4d5b9d, #253663 72%, #3b315f); font-size: 36px; font-weight: 850; letter-spacing: -1px; }
.rst-game-copy { flex: 1; min-width: 0; }
.rst-game-kicker { display: block; margin-bottom: 7px; color: #b4a8f2; font-size: 10px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.rst-game-copy h1 { margin: 0 0 6px; color: #f4f6ff; font-size: clamp(24px, 3vw, 35px); line-height: 1.2; font-weight: 800; letter-spacing: -1px; overflow-wrap: anywhere; }
.rst-game-publisher { display: block; margin: 0 0 9px; color: #b8c8e4; font-size: 12px; }
.rst-game-description { max-width: 690px; margin: 0; color: #aebfd9; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.rst-game-meta { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 10px; border: 1px solid #5873a34a; border-radius: 9px; background: #1c3154; color: #c4d4ed; font-size: 10px; line-height: 1.4; white-space: nowrap; }

/* Clear order steps and readable account fields. */
.rst-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 24px; margin-top: 26px; }
.rst-form-column { display: grid; gap: 18px; min-width: 0; }
.rst-panel { min-width: 0; border: 1px solid var(--rsh-line); border-radius: 18px; background: #101c35; overflow: hidden; }
.rst-panel-heading { display: flex; align-items: center; gap: 13px; padding: 19px 22px; border-bottom: 1px solid #53688e2e; background: #14223d; }
.rst-panel-heading > div { min-width: 0; }
.rst-step { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border: 1px solid #8b89d980; border-radius: 11px; background: #373966; color: #e1dcff; font-size: 13px; font-weight: 800; box-shadow: inset 0 1px 0 #b7b3fb20; }
.rst-panel-heading h2 { margin: 0; color: #eef2ff; font-size: 16px; line-height: 1.35; font-weight: 750; letter-spacing: -.3px; }
.rst-panel-heading p { margin: 4px 0 0; color: #a6b7d3; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.rst-panel-body { padding: 22px; }
.rst-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.rst-account-grid > .rst-field:only-child { grid-column: 1 / -1; }
.rst-layout[data-requires-server="0"] .rst-account-grid { grid-template-columns: minmax(0, 1fr); }
.rst-field { display: grid; gap: 7px; min-width: 0; }
.rst-field label { display: flex; gap: 6px; align-items: center; margin: 0; color: #d4e0f4; font-size: 11px; line-height: 1.5; font-weight: 700; }
.rst-field label span, .rst-field label small { color: #9eafcd; font-size: 10px; font-weight: 500; }
body.rsh-topup .rst-field input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #40567d; border-radius: 11px; color: #f0f4ff; background: #0c172d; font-size: 13px; line-height: 1.5; outline: none; transition: border-color .18s, background .18s; }
body.rsh-topup .rst-field input::placeholder { color: #94a5c3; opacity: 1; }
body.rsh-topup .rst-field input:focus { border-color: #9187df; background: #111c37; box-shadow: 0 0 0 3px #8578f216; }
body.rsh-topup .rst-field input:focus-visible { outline: 3px solid #b2a5ff; outline-offset: 3px; }
body.rsh-topup .rst-field input[aria-invalid="true"] { border-color: #cc819d; }
body.rsh-topup .rst-field input:disabled { color: #98a8c4; background: #15213a; cursor: not-allowed; }
.rst-hint { margin: 7px 0 0; color: #9eb2d0; font-size: 11px; font-weight: 400; line-height: 1.65; overflow-wrap: anywhere; }
.rst-check-user { margin-top: 15px; min-height: 44px; font-size: 11px; }
.rst-username-note { margin: 12px 0 0; padding: 12px 13px; border-left: 2px solid #6c74bb; border-radius: 0 9px 9px 0; background: #1a294643; color: #aebfda; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }

/* Native radios keep product selection accessible without JavaScript. */
.rst-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; min-width: 0; margin: 0; padding: 0; border: 0; font-family: inherit; }
.rst-product { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; font-weight: 400; }
.rst-product > input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; pointer-events: none; }
.rst-product-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; height: 100%; min-height: 139px; min-width: 0; padding: 15px; border: 1px solid #3c537c; border-radius: 13px; background: #14233e; transition: border-color .18s, background .18s, box-shadow .18s; }
@media (hover: hover) and (pointer: fine) {
  .rst-product:not(:has(input:disabled)):hover .rst-product-card { border-color: #9992dc; background: #243858; transform: translateY(-4px); box-shadow: 0 12px 24px #030a2066; }
  .rst-product:not(:has(input:disabled)):hover .rst-product-symbol { transform: translateY(-3px) scale(1.06) rotate(-2deg); box-shadow: 0 5px 16px #75cbff25; }
}
.rst-product-symbol { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #7589c547; border-radius: 9px; color: #adc2ff; background: #2b3a60; }
.rst-product-symbol .rsh-icon { width: 17px; height: 17px; }
.rst-product-name { display: block; width: 100%; min-width: 0; color: #e5ecfb; font-size: 12px; line-height: 1.45; font-weight: 650; overflow-wrap: anywhere; }
.rst-product-price { display: block; margin-top: auto; color: #edf1ff; font-size: 15px; line-height: 1.45; font-weight: 800; letter-spacing: -.3px; overflow-wrap: anywhere; }
.rst-product-check { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 21px; height: 21px; opacity: 0; border-radius: 50%; background: #a49bff; color: #151c3d; font-size: 12px; font-weight: 800; }
.rst-product > input:checked + .rst-product-card { border-color: #a093fa; background: linear-gradient(140deg, #303465, #1b2b4a); box-shadow: inset 0 0 0 1px #8f85e42e, 0 4px 15px #37338917; }
.rst-product > input:checked + .rst-product-card .rst-product-check { opacity: 1; }
.rst-product > input:checked + .rst-product-card .rst-product-price { color: #e0d8ff; }
.rst-product > input:focus-visible + .rst-product-card { outline: 3px solid #b2a5ff; outline-offset: 3px; }
.rst-product > input:disabled + .rst-product-card { opacity: .5; cursor: not-allowed; }
.rst-selected-note { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #4860802e; color: #b5c6e1; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.rst-selected-note strong { color: #d8d1ff; }
.rst-empty { padding: 24px 20px; border: 1px dashed #52688f; border-radius: 13px; background: #0c182f; color: #adbed9; text-align: center; }
.rst-empty strong { display: block; margin-bottom: 7px; color: #e0e9fb; font-size: 14px; }
.rst-empty p { margin: 0; font-size: 12px; line-height: 1.7; }
.rst-empty a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; color: #c3b6ff !important; font-size: 12px; }

/* Quantity and payment display only the options supported by the order flow. */
.rst-quantity-row { display: flex; align-items: center; gap: 20px; }
.rst-quantity-control { display: flex; align-items: stretch; flex: 0 0 auto; min-width: 150px; min-height: 46px; border: 1px solid #4a5d87; border-radius: 11px; overflow: hidden; background: #0d182f; }
.rst-quantity-control button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0; color: #e2e8fc; background: #1d2c49; font-size: 20px; line-height: 1; }
.rst-quantity-control button:hover:not(:disabled) { background: #2e4067; }
.rst-quantity-control button:disabled { color: #bbc9e4; opacity: .65; cursor: not-allowed; }
body.rsh-topup .rst-quantity-control input { display: block; width: 60px; min-width: 0; min-height: 44px; padding: 5px; border: 0; border-radius: 0; background: transparent; color: #f0f3ff; font-size: 14px; font-weight: 750; text-align: center; appearance: textfield; -moz-appearance: textfield; }
body.rsh-topup .rst-quantity-control input::-webkit-inner-spin-button, body.rsh-topup .rst-quantity-control input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.rst-quantity-copy { flex: 1; min-width: 0; }
.rst-quantity-copy strong { display: block; color: #dbe5f8; font-size: 12px; line-height: 1.4; }
.rst-quantity-copy p { margin: 4px 0 0; color: #a3b5d3; font-size: 11px; line-height: 1.6; }
.rst-quantity-row + .rst-hint { margin-top: 14px; padding: 12px 13px; border-left: 2px solid #626faa; border-radius: 0 9px 9px 0; background: #1a2b474d; }
.rst-payment-card { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid #8581ce; border-radius: 13px; background: #253257; }
.rst-qris-badge { display: grid; place-items: center; flex: 0 0 auto; min-width: 69px; min-height: 42px; padding: 8px 11px; border: 1px solid #c8d4e8; border-radius: 9px; background: #e5ecf6; color: #12243e; font-size: 17px; font-weight: 850; letter-spacing: -.5px; }
.rst-payment-card > div { flex: 1; min-width: 0; }
.rst-payment-card strong { display: block; color: #edf0fd; font-size: 13px; line-height: 1.4; }
.rst-payment-card p { margin: 4px 0 0; color: #becbe5; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.rst-payment-check { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid #aa9cf2; border-radius: 50%; background: #9186d6; color: #14203e; font-size: 12px; font-weight: 800; }

/* Order summary stays in the form; server prices remain the source of truth. */
.rst-summary { position: sticky; top: 24px; align-self: start; min-width: 0; padding: 23px; border: 1px solid #536aa0; border-radius: 19px; background: #13213c; box-shadow: 0 13px 35px #03091538; }
.rst-summary-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rst-summary-header > .rsh-icon { color: #b3a4fb; }
.rst-summary-header h2 { margin: 0; color: #f1f4ff; font-size: 17px; font-weight: 750; letter-spacing: -.4px; }
.rst-summary-game { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 12px 13px; border: 1px solid #5970973d; border-radius: 11px; color: #d7e3f8; background: #1d3051; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.rst-summary-game > strong { min-width: 0; }
.rst-summary-list { display: grid; gap: 11px; margin: 0; }
.rst-summary-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; min-width: 0; }
.rst-summary-list dt { flex: 0 0 85px; color: #a4b7d5; font-size: 11px; line-height: 1.65; }
.rst-summary-list dd { flex: 1; min-width: 0; margin: 0; color: #e2ebfb; font-size: 12px; line-height: 1.6; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.rst-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; margin-top: 19px; padding-top: 17px; border-top: 1px solid #6276a24a; }
.rst-summary-total > span { color: #c1d0e7; font-size: 12px; font-weight: 650; }
.rst-summary-total strong { min-width: 0; color: #d6caff; font-size: 23px; line-height: 1.3; font-weight: 850; letter-spacing: -.7px; text-align: right; overflow-wrap: anywhere; }
.rst-summary-note { margin: 9px 0 18px; color: #a0b3d3; font-size: 10px; line-height: 1.65; }
.rst-checkout { width: 100%; min-height: 49px; }
.rst-checkout:disabled { opacity: .55; transform: none; box-shadow: none; }
.rst-checkout-hint { margin: 12px 0 0; color: #adbed9; font-size: 11px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.rst-message { margin: 12px 0 0; padding: 12px; border: 1px solid #ad769752; border-radius: 10px; color: #f2cfde; background: #4b2b405c; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.rst-footnote { margin: 21px 0 0; color: #93a8c9; font-size: 11px; line-height: 1.75; }
.rst-footnote a { color: #c1b6f7 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.rst-mobile-checkout { display: none; }
.rst-unavailable { margin: 35px 0 60px; padding: 32px; border: 1px solid #51628e; border-radius: 20px; background: #13213d; }
.rst-unavailable h1 { margin: 0 0 13px; font-size: clamp(23px, 4vw, 34px); line-height: 1.25; color: #ecf2ff; }
.rst-unavailable p { max-width: 650px; margin-bottom: 20px; color: #b2c4df; font-size: 13px; line-height: 1.7; }

@media (max-width: 1099px) {
  .rst-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .rst-panel-heading { padding-inline: 19px; }
  .rst-panel-body { padding: 19px; }
  .rst-product-card { padding: 13px; }
  .rst-summary { padding: 20px; }
  .rst-game-meta { display: none; }
}
@media (max-width: 1023px) {
  .rst-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .rst-summary { position: static; }
  .rst-game-header { padding: 23px; gap: 20px; }
  .rst-game-art { width: 94px; height: 94px; flex-basis: 94px; border-radius: 21px; }
  .rst-game-description { font-size: 11px; }
  .rst-summary-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 35px; }
  .rst-summary-total { max-width: 100%; }
  .rst-summary .rst-checkout { max-width: 350px; }
  .rst-checkout-hint { text-align: left; }
}
@media (max-width: 767px) {
  body.rsh-topup { padding-bottom: calc(var(--rst-checkout-height, 110px) + var(--rst-nav-height, calc(66px + env(safe-area-inset-bottom))) + 20px); }
  .rst-main { padding-top: 17px; }
  .rst-breadcrumb { margin-bottom: 13px; font-size: 10px; gap: 7px; }
  .rst-game-header { align-items: flex-start; gap: 16px; min-height: 0; padding: 20px; border-radius: 18px; }
  .rst-game-art { width: 75px; height: 75px; flex-basis: 75px; border-radius: 17px; }
  .rst-game-placeholder { font-size: 27px; }
  .rst-game-kicker { font-size: 9px; letter-spacing: .8px; }
  .rst-game-copy h1 { font-size: clamp(22px, 4vw, 29px); letter-spacing: -.6px; }
  .rst-game-publisher { margin-bottom: 7px; font-size: 10px; }
  .rst-game-description { font-size: 11px; }
  .rst-layout { margin-top: 21px; gap: 18px; }
  .rst-form-column { gap: 15px; }
  .rst-panel { border-radius: 15px; }
  .rst-panel-heading { gap: 11px; padding: 16px; }
  .rst-step { width: 30px; height: 30px; flex-basis: 30px; border-radius: 10px; font-size: 12px; }
  .rst-panel-heading h2 { font-size: 15px; }
  .rst-panel-heading p { font-size: 10px; }
  .rst-panel-body { padding: 16px; }
  .rst-account-grid { gap: 12px; }
  .rst-field label { font-size: 11px; }
  body.rsh-topup .rst-field input { padding-inline: 12px; font-size: 16px; }
  .rst-check-user { width: 100%; }
  .rst-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rst-product-card { min-height: 131px; padding: 13px; gap: 8px; }
  .rst-product-name { font-size: 12px; }
  .rst-product-price { font-size: 14px; }
  .rst-product-symbol { width: 27px; height: 27px; }
  .rst-product-check { top: 10px; right: 10px; width: 19px; height: 19px; font-size: 11px; }
  .rst-quantity-row { gap: 16px; }
  .rst-quantity-control { min-width: 138px; }
  body.rsh-topup .rst-quantity-control input { width: 48px; font-size: 16px; }
  .rst-payment-card { padding: 15px; gap: 12px; }
  .rst-qris-badge { min-width: 63px; min-height: 40px; padding: 7px 10px; font-size: 16px; }
  .rst-summary { padding: 20px; border-radius: 16px; }
  .rst-summary-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rst-summary-header h2 { font-size: 16px; }
  .rst-summary-total strong { font-size: 22px; }
  .rst-summary .rst-checkout { display: none; }
  .rst-summary-note { margin-bottom: 0; }
  .rst-checkout-hint { text-align: left; }
  .rst-footnote { margin-top: 17px; font-size: 10px; }
  .rst-mobile-checkout { position: fixed; left: 0; right: 0; bottom: var(--rst-nav-height, calc(66px + env(safe-area-inset-bottom))); z-index: 84; display: flex; align-items: center; gap: 15px; min-height: 79px; padding: 13px max(16px, calc((100vw - 1180px) / 2)); border-top: 1px solid #5d6ba15c; background: #101b35fa; box-shadow: 0 -7px 22px #02091933; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .rst-mobile-checkout > div { flex: 1; min-width: 0; }
  .rst-mobile-checkout > div > span { display: block; margin-bottom: 4px; color: #a6b7d4; font-size: 10px; line-height: 1.4; }
  .rst-mobile-checkout > div > strong { display: block; color: #dfd3ff; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.4px; overflow-wrap: anywhere; }
  .rst-mobile-checkout .rst-checkout { flex: 0 0 48%; width: 48%; min-height: 46px; padding-inline: 12px; font-size: 12px; }
  body.rsh-topup .rsh-cs { bottom: calc(var(--rst-checkout-height, 110px) + var(--rst-nav-height, calc(66px + env(safe-area-inset-bottom))) + 20px); }
  body.rsh-topup .rsh-footer { padding-bottom: 24px; }
  .rst-unavailable { padding: 24px 20px; margin: 20px 0 35px; }
}
@media (max-width: 479px) {
  .rst-game-header { padding: 17px; gap: 13px; }
  .rst-game-art { width: 64px; height: 64px; flex-basis: 64px; border-radius: 15px; }
  .rst-game-placeholder { font-size: 24px; }
  .rst-game-copy h1 { font-size: 22px; }
  .rst-game-kicker { margin-bottom: 5px; }
  .rst-game-description { font-size: 10px; line-height: 1.65; }
  .rst-panel-body { padding: 14px; }
  .rst-account-grid { grid-template-columns: minmax(0, 1fr); }
  .rst-quantity-row { flex-wrap: wrap; gap: 12px; }
  .rst-quantity-copy { min-width: 120px; }
  .rst-payment-card { padding: 12px; gap: 10px; }
  .rst-payment-card strong { font-size: 12px; }
  .rst-payment-card p { font-size: 10px; }
  .rst-summary { padding: 18px; }
  .rst-mobile-checkout { gap: 12px; }
  .rst-mobile-checkout > div > strong { font-size: 17px; }
}
@media (max-width: 359px) {
  .rst-game-header { gap: 11px; padding: 15px; }
  .rst-game-art { width: 52px; height: 52px; flex-basis: 52px; border-radius: 13px; }
  .rst-game-copy h1 { font-size: 20px; }
  .rst-panel-heading { padding: 14px; gap: 9px; }
  .rst-panel-heading h2 { font-size: 14px; }
  .rst-products { grid-template-columns: minmax(0, 1fr); }
  .rst-product-card { min-height: 125px; }
  .rst-payment-card { gap: 8px; }
  .rst-qris-badge { min-width: 55px; padding-inline: 7px; font-size: 14px; }
  .rst-payment-check { width: 20px; height: 20px; flex-basis: 20px; }
  .rst-mobile-checkout { padding-inline: 12px; gap: 9px; }
  .rst-mobile-checkout .rst-checkout { font-size: 11px; padding-inline: 8px; }
  .rst-summary-list dt { flex-basis: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .rst-product-card, body.rsh-topup .rst-field input { transition: none; }
}
.rst-category-container { display: grid; gap: 28px; }
.rst-category-container[hidden] { display: none; }
.rst-category-title { width: 100%; padding: 0 0 14px; color: #c9bdff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rst-username-note[data-state="success"] { color: #8eebbc; }
.rst-username-note[data-state="error"] { color: #ffb2bf; }


.rst-weekly-options{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.rst-weekly-options button{white-space:normal;min-width:0}

/* Shared premium product component, including live catalog additions. */
.rst-products { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(190px, calc((100% - 22px) / 3))), 1fr)); }
.rst-product-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto 1fr; align-content: start; align-items: start; min-height: 108px; padding: 14px; gap: 6px 10px; border-color: #465975; border-radius: 12px; background: #1c2b43; box-shadow: 0 3px 9px #030a2033; transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.rst-product-symbol { grid-column: 1; grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; color: #93ddff; background: #183f60; border-color: #79caff45; transition: transform 220ms ease, box-shadow 220ms ease; }
.rst-product-symbol svg { width: 25px; height: 25px; }
.rst-product-card[data-product-icon="crystal"] .rst-product-symbol { color: #ccb4ff; background: #39305b; }
.rst-product-card:is([data-product-icon="pass"], [data-product-icon="membership"], [data-product-icon="voucher"]) .rst-product-symbol { color: #ebcb8c; background: #453b36; }
.rst-product-card:is([data-product-icon="coin"], [data-product-icon="token"]) .rst-product-symbol { color: #ffdd93; background: #453d29; }
.rst-product-name { grid-column: 2; grid-row: 1; padding-right: 14px; font-size: 12px; line-height: 1.45; font-weight: 600; }
.rst-product-price { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 17px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.2px; }
.rst-product-badge { grid-column: 2; grid-row: 3; justify-self: start; align-self: end; max-width: 100%; padding: 2px 6px; border: 1px solid #91b4e22e; border-radius: 4px; background: #13243e; color: #bcd0ec; font-size: 8px; font-weight: 650; line-height: 1.4; letter-spacing: .04em; overflow-wrap: anywhere; }
.rst-product-badge[hidden] { display: none; }
.rst-product > input:checked + .rst-product-card { border-color: #b4a3fa; background: #302f55; box-shadow: inset 0 0 0 1px #b4a3fa70, 0 3px 10px #6650c51f; }
.rst-product-check { top: 9px; right: 9px; width: 17px; height: 17px; font-size: 10px; }
.rst-product:active .rst-product-card { transform: translateY(1px); }
@media (max-width: 600px) {
  .rst-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rst-product-card { padding: 12px; min-height: 132px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; gap: 5px; }
  .rst-product-symbol { grid-column: 1; grid-row: 1; }
  .rst-product-name { grid-column: 1; grid-row: 2; padding-right: 0; }
  .rst-product-price { grid-column: 1; grid-row: 3; }
  .rst-product-badge { grid-column: 1; grid-row: 4; }
  .rst-product-name { font-size: 12px; }
  .rst-product-price { font-size: 15px; }
  .rst-product-symbol { width: 30px; height: 30px; }
  .rst-product-symbol svg { width: 22px; height: 22px; }
}
@media (max-width: 359px) { .rst-products { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .rst-product-card, .rst-product-symbol { transition: none; }
  .rst-product:not(:has(input:disabled)):hover .rst-product-card,
  .rst-product:not(:has(input:disabled)):hover .rst-product-symbol { transform: none; }
}


/* Purchase steps share one spacing scale across every game. */
.rst-main { padding-top: 18px; }
.rst-breadcrumb { margin-bottom: 14px; }
.rst-game-header { padding: 20px; min-height: 120px; gap: 18px; border-color: #3c506f; border-radius: 14px; background: #142139; box-shadow: 0 4px 14px #03091526; }
.rst-game-art { width: 76px; height: 76px; flex-basis: 76px; border-radius: 16px; }
.rst-game-copy h1 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.6px; }
.rst-game-kicker { font-size: 9px; margin-bottom: 5px; }
.rst-game-publisher { margin-bottom: 5px; }
.rst-game-description { font-size: 12px; line-height: 1.6; }
.rst-layout { gap: 24px; margin-top: 20px; }
.rst-form-column { gap: 16px; }
.rst-panel { border-radius: 14px; border-color: #31435f; background: #121e34; }
.rst-panel-heading { padding: 16px 20px; gap: 12px; background: #17243b; border-color: #31435f; }
.rst-panel-heading h2 { font-size: 16px; font-weight: 650; }
.rst-panel-heading p { font-size: 12px; color: #aabbd4; }
.rst-step { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; font-size: 11px; background: #2c2f53; }
.rst-panel-body { padding: 20px; }
.rst-category-container { gap: 20px; }
.rst-category-title { padding-bottom: 12px; font-size: 11px; font-weight: 650; letter-spacing: .04em; color: #bdc9e3; }
body.rsh-topup .rst-field input { min-height: 44px; padding: 10px 12px; border-radius: 9px; background: #0e192c; }
.rst-field label { font-size: 12px; font-weight: 600; }
.rst-check-user { margin-top: 12px; min-height: 44px; font-size: 12px; }
.rst-username-note { padding: 10px 12px; border-radius: 8px; border: 1px solid #364561; background: #17233b; }
.rst-quantity-control { border-radius: 9px; }
.rst-payment-card { padding: 13px 15px; border-radius: 10px; border-color: #8c80cf; background: #242b48; }
.rst-qris-badge { min-width: 58px; min-height: 36px; border-radius: 6px; font-size: 15px; }
.rst-payment-card strong { font-weight: 650; }
.rst-summary { top: 140px; padding: 20px; background: #17243b; border-color: #465575; box-shadow: 0 5px 16px #02071235; }
.rst-summary-header { margin-bottom: 16px; }
.rst-summary-header h2 { font-size: 16px; font-weight: 650; }
.rst-summary-game { background: #20314c; border-radius: 8px; font-weight: 600; }
.rst-summary-list { gap: 12px; }
.rst-summary-list dt { font-size: 12px; }
.rst-summary-list dd { font-size: 12px; font-weight: 600; }
.rst-summary-total { padding-top: 18px; margin-top: 18px; }
.rst-summary-total strong { font-size: 26px; font-weight: 750; }
.rst-summary-note { font-size: 11px; }
.rst-checkout { min-height: 46px; }
.rst-weekly-options { gap: 6px; margin: 8px 0 0; }
.rst-weekly-options .rsh-button { padding: 8px 10px; font-size: 11px; min-height: 44px; }
@media (max-width: 1023px) { .rst-summary { position: static; } }
@media (max-width: 767px) {
  .rst-game-header { min-height: 0; padding: 15px; gap: 12px; }
  .rst-game-art { width: 60px; height: 60px; flex-basis: 60px; border-radius: 12px; }
  .rst-game-copy h1 { font-size: 22px; }
  .rst-game-description { font-size: 11px; }
  .rst-panel-heading, .rst-panel-body { padding: 15px; }
  .rst-panel-heading p { font-size: 11px; }
  .rst-layout { gap: 16px; margin-top: 16px; }
  .rst-summary { padding: 16px; }
  .rst-summary-total strong { font-size: 24px; }
  .rst-check-user { width: auto; }
  .rst-mobile-checkout { padding: 10px 16px; min-height: 76px; background: #15223b; }
  .rst-mobile-checkout .rst-checkout { min-height: 44px; }
  .rst-weekly-options .rsh-button { flex: 1 1 110px; }
}
@media (prefers-reduced-motion: reduce) { .rst-product:active .rst-product-card { transform: none; } }
