/* Cash store: packages first, one account and checkout column. */
.topup-view{--gold:#e5c794;--border:#e5c79428;--muted:#919caf;background:radial-gradient(ellipse at 8% 0,#26335455,transparent 45%),#090e19;color:#e5e9f1}
.topup-view .header{background:#0b111def;border-color:#ffffff0d}.topup-view .header nav a[aria-current]{color:#e5c794;border-color:#e5c794}
.topup-page{max-width:1180px;padding-top:45px;padding-bottom:65px}.topup-view .eyebrow{font-size:12px;color:#a7a18f;letter-spacing:2px}
.topup-heading{align-items:flex-end;margin-bottom:30px}.topup-heading h1{font-size:calc(clamp(36px,4vw,52px) + 3px);color:#f4eee3;font-weight:400;line-height:1.15;margin:14px 0}.topup-heading p{font-size:17px;color:#9ca7b9;line-height:1.8}.topup-history-link{color:#d2c3a7;font-size:15px;padding-bottom:6px;white-space:nowrap}
.topup-promo{border:0;border-left:3px solid #e5c794;border-radius:0 10px 10px 0;background:linear-gradient(90deg,#e5c79413,#e5c79403);padding:16px 20px;gap:20px;margin:0 0 12px}.topup-promo strong{font-size:28px;font-weight:500;color:#efdab0;letter-spacing:-.7px}.topup-promo p{color:#b2ad9e;font-size:14px;line-height:1.8}.topup-promo a{color:#d5c5a6;font-size:13px}
.topup-banner{background:none;border:0;padding:0;margin:14px 0 28px;color:#83ad9b;font-size:13px;border-radius:0}.topup-banner::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:7px;vertical-align:middle}.topup-banner.test-mode{color:#e5c794}
.topup-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:36px;align-items:start}.topup-store{grid-column:1;grid-row:1;background:none;border:0;border-radius:0;padding:0;min-width:0}.topup-store>.eyebrow{display:none}.topup-store>h2{font-size:22px;font-weight:400;color:#e1e6ee;margin:0 0 20px}
.topup-side{grid-column:2;grid-row:1;position:sticky;top:112px;border:1px solid #ffffff16;border-radius:16px;background:linear-gradient(135deg,#192233,#111925);box-shadow:0 15px 60px #0003;overflow:hidden;min-width:0}
.topup-account{position:static;background:none;border:0;border-radius:0;padding:26px 26px 22px;box-shadow:none}.topup-account>.eyebrow{display:none}.topup-account h2{font-size:20px;font-weight:500;margin:0 0 20px;color:#e8e5df}.topup-account label{color:#9ca8bb;font-size:14px;margin-top:14px}.topup-account .button{margin-top:18px}.topup-account .form-footnote{font-size:13px;color:#7f8ba0;margin-bottom:0}
.topup-view input:not([type=radio]){width:100%;border:1px solid #ffffff1c;border-radius:8px;background:#0b121f;color:#e7ebf2;font:inherit;font-size:16px;padding:11px 12px}.topup-view input:focus-visible{outline:2px solid #e5c794;outline-offset:2px}
.topup-view .button{border:1px solid #dfc18b;border-radius:8px;background:#e5c794;color:#162032;font-size:15px;font-weight:600;padding:12px 18px;box-shadow:none}.topup-view .button.outline{background:transparent;border-color:#ffffff22;color:#c3cbd8}.topup-view .button:not(:disabled):hover{filter:brightness(1.09);transform:none}.topup-view .button:disabled{opacity:.4;cursor:not-allowed}
#topup-signed-in{position:relative;padding:0}#topup-signed-in>.subtle{font-size:14px;color:#8f9cb0;margin:0 0 7px}#topup-account-name{font-size:25px;color:#f1e1c2;overflow-wrap:anywhere}#topup-logout{padding:7px 0;margin-top:8px;border:0;width:auto;color:#a4afbf;font-size:13px;background:none}
.topup-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.topup-pack{min-height:184px;position:relative;padding:66px 22px 20px;border:1px solid #ffffff18;border-radius:13px;background:linear-gradient(145deg,#172131,#0e1624);gap:5px;transition:background .18s,border-color .18s;overflow:hidden}
.topup-pack::before{content:'C';position:absolute;top:19px;left:22px;display:grid;place-items:center;width:29px;height:29px;border:1px solid #bda37177;outline:1px solid #bda37122;outline-offset:3px;border-radius:50%;font:500 19px Georgia,serif;color:#ddc28e;background:#dfbf7f0c}
.topup-pack::after{content:'✓';position:absolute;top:19px;right:18px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #ffffff2b;border-radius:50%;font-size:14px;color:transparent}
.topup-pack.selected{border-color:#e5c794;background:radial-gradient(ellipse at 0 0,#c5a46a25,transparent 80%),#172030;box-shadow:0 0 0 1px #e5c79415}.topup-pack.selected::after{background:#e5c794;border-color:#e5c794;color:#172033}.topup-pack:hover{border-color:#d1b78699}.topup-pack:focus-within{outline:2px solid #e5c794;outline-offset:3px}
.topup-pack input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;top:22px;right:20px}.topup-pack strong{font-size:calc(clamp(22px,2.2vw,30px) + 3px);line-height:1.4;letter-spacing:-.5px;font-weight:500;color:#f2ecdf;padding:0;overflow-wrap:normal;white-space:nowrap}.topup-pack>span{font-size:16px;color:#a4afc2}.topup-pack .bonus-note{font-size:13px;color:#d7bc8b;margin-top:6px;background:none;padding:0}
.custom-topup{margin:18px 0 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:18px 0;border-top:1px solid #ffffff12}.custom-topup label{grid-column:1 / -1;width:auto;font-size:14px;color:#8f9caf}.custom-topup input{min-width:0;max-width:none}.custom-topup .button{padding:11px 16px;font-size:14px}
.topup-purchase{padding:22px 26px 26px;border-top:1px solid #ffffff12;background:#080e171f}.topup-review{display:flex;flex-direction:column;gap:12px;padding:0;border:0}.topup-review>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.topup-review span{font-size:14px;color:#8795ac}.topup-review strong{font-size:15px;font-weight:500;color:#b7c4d9;text-align:right;overflow-wrap:anywhere;max-width:60%}.topup-review>div:last-child{flex-direction:column;align-items:flex-start;gap:7px;margin-top:8px}.topup-review>div:last-child strong{font-size:32px;line-height:1.3;letter-spacing:-.6px;color:#efdab0;max-width:100%}
.topup-summary{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin:18px 0 0;padding:18px 0 0;border:0;border-top:1px solid #ffffff12}.topup-summary>div{display:flex;justify-content:space-between;align-items:center}.topup-summary .subtle{font-size:14px;color:#8f9caf}.topup-summary strong{font-size:23px;font-weight:500;color:#ece7dc}.topup-summary .button{width:100%;font-size:16px;padding:14px}
.topup-next-step{font-size:13px;color:#c8b18a;line-height:1.7;margin:12px 0 0}.topup-next-step:empty{display:none}.topup-purchase>.form-footnote{font-size:13px;line-height:1.9;color:#78869d;margin:15px 0 0}.form-message{font-size:14px;line-height:1.8}.form-message:empty{margin:0}.topup-order{border-color:#ffffff1a;margin-top:30px}.topup-order h3{font-size:24px;font-weight:400}#topup-payment .topup-banner{color:#dfc99f;line-height:1.9}.order-reference{font-family:monospace;font-size:14px}
.topup-view .history-panel{border-top:1px solid #ffffff13;margin-top:42px;padding-top:28px}.topup-view .history-panel .section-heading{border:0;padding-bottom:0;margin-bottom:12px}.topup-view .history-panel .section-heading::after{display:none}.topup-view .history-panel h2{font-size:21px;font-weight:400;color:#bec7d5}.topup-view .icon-button{background:none;border:1px solid #ffffff20;border-radius:7px;color:#bcb3a1}.history-scroll{border:1px solid #ffffff12;border-radius:10px;margin-top:12px}.topup-view .cash-history th{background:#161e2d;color:#8d9bb1;font-size:13px}.topup-view .cash-history td{background:#101724;border-color:#ffffff0b;color:#bac5d7;font-size:14px}.topup-view .cash-history a{color:#ddc392}#history-message{font-size:14px;color:#7f8ba0}.topup-history-link:focus-visible{outline:2px solid #e5c794}
@media(max-width:1000px){.topup-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.topup-account,.topup-purchase{padding:22px}.topup-pack{padding-inline:18px}.topup-pack::before{left:18px}.topup-pack strong{font-size:27px}}
@media(max-width:760px){.topup-page{padding-top:30px}.topup-heading{align-items:flex-start;gap:14px;margin-bottom:24px}.topup-heading h1{font-size:39px}.topup-heading p{font-size:15px}.topup-history-link{font-size:14px}.topup-promo{padding:13px 16px;gap:5px 14px}.topup-promo strong{font-size:27px}.topup-promo p{width:100%;order:3;font-size:13px}.topup-promo a{margin-left:auto}.topup-banner{margin-bottom:24px}.topup-layout{grid-template-columns:1fr;gap:20px}.topup-store{grid-column:1;grid-row:1}.topup-side{grid-column:1;grid-row:2;position:static}.topup-store>h2{font-size:20px;margin-bottom:15px}.topup-packages{gap:12px}.topup-pack{min-height:165px;padding:59px 16px 17px}.topup-pack::before{left:16px;width:24px;height:24px;font-size:17px}.topup-pack strong{font-size:25px}.topup-pack>span{font-size:15px}.topup-pack .bonus-note{font-size:12px}.topup-account,.topup-purchase{padding:22px}.topup-review>div:last-child{flex-direction:row;align-items:center}.topup-review>div:last-child strong{font-size:28px}.topup-summary{gap:16px}.topup-view .history-panel{margin-top:30px}.custom-topup{padding-bottom:0}}
@media(max-width:370px){.topup-pack strong{font-size:22px}.topup-pack{padding-inline:12px}.topup-pack::before{left:12px}.topup-review>div:last-child strong{font-size:25px}}
@media(prefers-reduced-motion:reduce){.topup-pack{transition:none}}

.topup-pack-custom{display:none}.custom-topup.selected input{border-color:#e5c794}.topup-review>div:first-child{display:none}

body:has(.topup-payment-dialog[open]){overflow:hidden}
.topup-payment-dialog{position:fixed;inset:0;width:min(680px,calc(100% - 28px));max-height:90svh;margin:auto;padding:30px;border:1px solid #d7c39b55;border-radius:18px;background:#111a29;color:#dce4ef;overflow-y:auto;box-shadow:0 30px 120px #0009}
.topup-payment-dialog::backdrop{background:#030814c9;backdrop-filter:blur(7px)}
.topup-payment-dialog h3{font-size:28px;font-weight:400;color:#f1e1c3;margin:14px 32px 8px 0}
.topup-payment-dialog>.subtle{font-size:15px;line-height:1.8;color:#9aaac0}
.payment-dismiss{position:absolute;right:17px;top:16px;width:33px;height:33px;border:1px solid #ffffff25;border-radius:50%;background:#ffffff08;color:#d9dfeb;font:27px Arial;cursor:pointer}
.payment-dismiss:focus-visible{outline:2px solid #e5c794;outline-offset:3px}
.topup-payment-dialog #stripe-checkout{min-height:160px;margin:18px 0}
.topup-payment-dialog #topup-payment-close{width:100%;margin-top:8px}
@media(max-width:600px){.topup-payment-dialog{padding:24px 16px;max-height:94svh;border-radius:13px}.topup-payment-dialog h3{font-size:25px}}

#stripe-checkout:has(.i3pay-amount){background:#0c1421;padding:22px;display:flex;flex-direction:column;align-items:center;gap:16px;color:#dbe3ef;text-align:center}.i3pay-amount{font-size:31px;color:#eed9b2;font-weight:500}.i3pay-qr-image{width:min(100%,300px);height:auto;display:block;border-radius:6px;background:white}.i3pay-qr-status{font-size:15px;line-height:1.9;color:#9faec4;max-width:360px}

.i3pay-qr-status.has-error{padding:15px 18px;border:1px solid #c58e7940;background:#c58e7909;border-radius:9px;color:#d3ad9e}

.topup-payment-dialog .payment-cancel{width:100%;margin:8px 0;border-color:#ba8c7b55;color:#d3aa99}
