/* A compact store with a separate, keyboard-accessible history window. */
.topup-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.topup-toolbar .topup-breadcrumb{margin:0}
.topup-history-open{border:1px solid #b59b6740;border-radius:7px;background:#b59b670a;color:#dfc393;font:inherit;font-size:14px;padding:8px 12px;cursor:pointer;white-space:nowrap}
.topup-history-open:hover{background:#b59b671c}
.topup-history-open:focus-visible{outline:2px solid #efc57d;outline-offset:3px}
.topup-history-dialog{position:fixed;width:min(1050px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:26px;border:1px solid #ae936160;border-radius:14px;background:#101b2c;color:#e9edf6;overflow:auto;overscroll-behavior:contain}
.topup-history-dialog::backdrop{background:#030811d9;backdrop-filter:blur(5px)}
.topup-history-dialog #topup-history-close{position:absolute;right:16px;top:16px;width:32px;height:32px;font-size:25px;z-index:1}
.topup-history-dialog #topup-history{margin:0;padding:0;border:0;background:none}
.topup-history-dialog .section-heading{padding-right:48px!important}
.topup-status-row{min-width:0}
@media(min-width:1100px) and (min-height:680px){
 .topup-supply-view{min-height:100dvh;display:flex;flex-direction:column}
 .topup-supply-view>.header{flex:none;height:72px;min-height:72px}
 .topup-supply-view>.header .brand img.project-g-logo{height:54px;width:156px}
 .topup-supply-view .topup-page{flex:1;width:100%;max-width:1600px;margin:0 auto;padding:8px 28px 8px}
 .topup-toolbar{margin-bottom:6px}
 .topup-history-open{font-size:14px;padding:6px 12px}
 .topup-supply-view .topup-promo{margin:0 0 10px;padding:8px 18px;gap:20px;min-height:40px}
 .topup-supply-view .topup-promo strong{font-size:26px}
 .topup-status-row{display:flex;align-items:center;gap:24px;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #91b0d521}
 .topup-steps{flex:1;max-width:720px;gap:16px;padding:0;border:0}
 .topup-steps>div{grid-template-columns:26px 1fr;gap:0 8px}
 .topup-steps>div>span{width:26px;height:26px;font-size:13px;grid-row:auto}
 .topup-steps p{font-size:14px}
 .topup-supply-view #topup-availability{margin:0 0 0 auto;font-size:13px;white-space:nowrap}
 .topup-supply-view .topup-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:20px;align-items:stretch}
 .topup-supply-view .topup-store>h2{font-size:21px;margin:0 0 12px;line-height:1.4}
 .topup-supply-view .topup-store>h2::before{font-size:12px;padding:3px 6px}
 .topup-supply-view .topup-packages{gap:12px}
 .topup-supply-view .topup-pack{min-height:140px;padding:13px 16px;justify-content:flex-end;border-radius:11px}
 .topup-supply-view .topup-pack::after{width:17px;height:17px;right:14px;top:13px}
 .topup-supply-view .topup-pack-label{position:absolute;top:15px;left:16px;font-size:11px;max-width:75%;line-height:1.5}
 .topup-supply-view .topup-pack-art{right:16px;top:28px;width:100px;height:85px}
 .topup-supply-view .topup-pack>strong{font-size:30px;margin-top:36px;line-height:1.3}
 .topup-supply-view .topup-pack-price{position:absolute;right:16px;bottom:15px;font-size:18px;line-height:1.4;margin:0}
 .topup-supply-view .topup-pack-base{font-size:13px;margin-top:4px}
 .topup-supply-view .topup-pack .bonus-note{font-size:13px;max-width:70%;margin-top:2px}
 .topup-supply-view .custom-topup{padding:10px 14px;margin-top:12px;gap:6px 12px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto 38px}
 .topup-supply-view .custom-topup label{font-size:14px;margin:0;line-height:1.5}
 .topup-supply-view .custom-topup input{height:38px;margin:0}
 .topup-supply-view input:not([type=radio]):not([type=checkbox]){padding:9px 11px;font-size:15px;line-height:1.4}
 .topup-supply-view .custom-topup .button{padding:9px 14px;font-size:14px}
 .topup-supply-view .topup-side{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-self:stretch;overflow:visible;border-radius:12px}
 .topup-supply-view .topup-account{padding:14px 16px;min-width:0}
 .topup-supply-view .topup-account .eyebrow{font-size:11px}
 .topup-supply-view .topup-account h2,.topup-supply-view .topup-summary-title{font-size:18px;margin:0 0 12px;gap:8px;line-height:1.5}
 .topup-supply-view .topup-account h2::before,.topup-supply-view .topup-summary-title::before{font-size:12px;padding:3px 5px}
 .topup-supply-view .topup-account label{margin:12px 0 6px;font-size:14px}
 .topup-supply-view .topup-account .button{padding:10px 12px;font-size:15px;margin-top:14px}
 .topup-supply-view .topup-account .form-footnote{font-size:13px;line-height:1.7;margin-top:10px}
 .topup-supply-view .topup-purchase{padding:14px 16px;border:0;border-left:1px solid #a0b5d21c;border-radius:0 12px 12px 0;min-width:0}
 .topup-supply-view .topup-review{gap:8px;margin-bottom:10px}
 .topup-supply-view .topup-review span{font-size:13px}
 .topup-supply-view .topup-review>div:last-child{padding:8px 12px;gap:4px}
 .topup-supply-view .topup-review>div:last-child strong{font-size:29px;line-height:1.3}
 .topup-supply-view .topup-consent{padding:10px;margin:0 0 8px;border-radius:8px}
 .topup-supply-view .topup-consent-label{font-size:14px;line-height:1.7;gap:8px}
 .topup-supply-view .topup-consent-label input{flex-basis:17px;width:17px;height:17px;margin-top:2px}
 .topup-supply-view .topup-policy-link{font-size:14px;padding:4px 0;line-height:1.7}
 .topup-supply-view .topup-policy-hint{font-size:13px;line-height:1.6}
 .topup-supply-view .topup-summary{padding-top:10px;gap:10px}
 .topup-supply-view .topup-summary strong{font-size:24px}
 .topup-supply-view .topup-summary .button{font-size:15px;padding:10px 9px}
 .topup-supply-view .topup-next-step{font-size:13px;line-height:1.6;margin-top:8px}
 .topup-supply-view .topup-purchase>.form-footnote{font-size:13px;line-height:1.6;margin-top:6px}
 .topup-supply-view>footer{flex:none;min-height:48px;padding:8px 28px;gap:18px;justify-content:space-between;align-items:center}
 .topup-supply-view>footer .brand img.project-g-footer-logo{width:100px;height:32px;object-fit:contain}
 .topup-supply-view>footer p,.topup-supply-view>footer>a{font-size:12px;margin:0;line-height:1.6}
 .topup-supply-view>footer>.topup-policy-link{margin-left:0;padding:0}
}
@media(min-width:1100px) and (min-height:680px) and (max-height:740px){
 .topup-supply-view>.header{height:64px;min-height:64px}
 .topup-supply-view>.header .brand img.project-g-logo{height:48px}
 .topup-supply-view .topup-page{padding-top:4px;padding-bottom:4px}
 .topup-toolbar{margin-bottom:4px}
 .topup-history-open{padding-block:4px}
 .topup-supply-view .topup-promo{padding-block:6px;margin-bottom:8px;min-height:36px}
 .topup-status-row{padding-bottom:4px;margin-bottom:8px}
 .topup-steps>div>span{width:24px;height:24px}
 .topup-supply-view>footer{min-height:44px;padding-block:6px}
 .topup-supply-view>footer .brand img.project-g-footer-logo{height:28px}
}
@media(min-width:1100px) and (min-height:900px){
 .topup-supply-view .topup-page{padding-top:20px}
 .topup-supply-view .topup-promo{margin-bottom:18px;padding-block:12px}
 .topup-status-row{margin-bottom:20px;padding-bottom:16px}
 .topup-supply-view .topup-pack{min-height:190px;padding:20px}
 .topup-supply-view .topup-pack-art{width:130px;height:110px;top:32px}
 .topup-supply-view .topup-pack>strong{font-size:33px}
 .topup-supply-view .topup-side{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .topup-supply-view .topup-account,.topup-supply-view .topup-purchase{padding:24px}
}
@media(max-width:600px){
 .topup-toolbar{gap:10px;margin-bottom:12px}
 .topup-history-open{font-size:13px;padding:7px 10px}
 .topup-history-dialog{width:calc(100vw - 20px);padding:20px 14px;max-height:calc(100dvh - 24px)}
 .topup-history-dialog #topup-history-title{font-size:20px}
}

/* Receiving account is a compact header above checkout. */
.topup-supply-view .topup-side{align-self:start;display:flex;flex-direction:column}
.topup-supply-view .topup-account{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #a0b5d21c}
.topup-supply-view .topup-account>.eyebrow{display:none}
.topup-supply-view .topup-account h2{font-size:16px;margin:0;gap:8px;white-space:nowrap}
.topup-supply-view #topup-signed-in{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px 12px;min-width:0;text-align:right}
.topup-supply-view #topup-signed-in>.subtle{display:none}
.topup-supply-view #topup-account-name{font-size:19px;line-height:1.5}
.topup-supply-view #topup-logout{padding:3px 0;margin:0;font-size:13px;white-space:nowrap}
.topup-supply-view #topup-account-message:empty{display:none}
.topup-supply-view #topup-account-message:not(:empty){flex-basis:100%}
.topup-supply-view .topup-consent{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;border:0;border-radius:0;background:none;box-shadow:none;padding:0;margin:8px 0 0}
.topup-supply-view .topup-consent-label{align-items:center;font-size:14px;line-height:1.6;gap:6px;white-space:nowrap}
.topup-supply-view .topup-consent-label input{flex-basis:16px;width:16px;height:16px;margin:0}
.topup-supply-view .topup-consent>.topup-policy-link{flex-shrink:0;font-size:13px;line-height:1.6;padding:0;white-space:nowrap}
.topup-supply-view .topup-consent .topup-policy-hint{display:none}
.topup-supply-view .topup-consent.needs-acceptance{box-shadow:none}
.topup-supply-view .topup-consent.needs-acceptance input{outline:1px solid #ffcc75;outline-offset:2px}

@media(max-width:380px){
 .topup-supply-view .topup-consent{flex-wrap:wrap;gap:5px 10px}
 .topup-supply-view .topup-consent-label{min-width:0;white-space:normal}
}
.topup-supply-view .topup-purchase{border:0;border-radius:0 0 12px 12px}
.topup-supply-view .topup-review{gap:6px}
.topup-supply-view .topup-review>.topup-breakdown-row{gap:12px;min-height:20px}
.topup-supply-view .topup-breakdown-row span{font-size:14px}
.topup-supply-view .topup-breakdown-row strong{font-size:16px;line-height:1.6;font-weight:500;color:#dce5f1;max-width:60%;white-space:nowrap}
.topup-supply-view .topup-bonus-row span,.topup-supply-view .topup-bonus-row strong{color:#e6c27d}
.topup-supply-view .topup-review>div:last-child{margin-top:4px}
.topup-supply-view #topup-google-sign-in .google-button{padding:6px 10px;gap:8px;font-size:14px;white-space:nowrap}
.topup-google-mark{font:bold 23px/1 Arial,sans-serif;color:#4285f4}
.topup-supply-view #topup-google-sign-in .topup-google-mark{font-size:21px}
.topup-google-dialog{position:fixed;width:min(420px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:30px;border:1px solid #ae936160;border-radius:16px;background:linear-gradient(145deg,#1d2a3c,#0e1827);color:#e9edf6;overflow:auto;box-shadow:0 24px 90px #0008}
.topup-google-dialog::backdrop{background:#030811cc;backdrop-filter:blur(5px)}
.topup-google-dialog #topup-google-close{position:absolute;right:14px;top:14px;width:30px;height:30px;font-size:24px}
.topup-google-dialog .eyebrow{font-size:12px;color:#c4ac7d;letter-spacing:2px}
.topup-google-dialog h2{font-size:26px;line-height:1.5;font-weight:500;color:#f4e4c9;margin:20px 0 10px}
.topup-google-dialog p{font-size:15px;line-height:1.8;color:#aabbd0;margin:0 0 22px}
.topup-google-dialog .google-button{border-radius:8px;padding:12px 18px;width:100%;gap:12px;font-size:16px}
.topup-google-dialog #topup-google-message{font-size:14px;margin:15px 0 0;min-height:0}
.topup-google-dialog #topup-google-message:empty{display:none}
@media(min-width:1100px) and (min-height:680px){
 .topup-supply-view .topup-layout{grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr)}
 .topup-supply-view .topup-side{align-self:start}
 .topup-supply-view .topup-account{padding:12px 18px;min-height:57px;flex-wrap:wrap}
 .topup-supply-view .topup-account h2{font-size:16px;margin:0}
 .topup-supply-view .topup-purchase{padding:14px 18px}
 .topup-supply-view .topup-summary-title{margin-bottom:10px}
 .topup-supply-view .topup-review>div:last-child{flex-direction:row;align-items:center}
 .topup-supply-view .topup-consent-label{font-size:14px}
 .topup-supply-view .topup-summary{margin-top:0}
}
@media(min-width:1100px) and (min-height:900px){
 .topup-supply-view .topup-account{padding:14px 22px;min-height:63px}
 .topup-supply-view .topup-purchase{padding:20px 22px}
}
@media(max-width:600px){
 .topup-supply-view .topup-account{padding:14px;flex-wrap:wrap}
 .topup-supply-view .topup-account h2{font-size:15px}
 .topup-supply-view .topup-account h2::before{display:none}
 .topup-supply-view #topup-google-sign-in .google-button{font-size:13px;padding:6px 8px;gap:6px}
 .topup-supply-view #topup-account-name{font-size:18px}
 .topup-google-dialog{padding:28px 22px}
 .topup-google-dialog h2{font-size:24px}
}

/* Match the checkout frame to the complete package selection. */
@media(min-width:1100px) and (min-height:680px){
 .topup-supply-view .topup-layout{align-items:stretch}
 .topup-supply-view .topup-store{display:flex;flex-direction:column}
 .topup-supply-view #topup-checkout{display:flex;flex-direction:column;flex:1}
 .topup-supply-view .topup-pack-field{display:flex;flex-direction:column;flex:1;gap:12px}
 .topup-supply-view .custom-topup{margin-top:auto}
 .topup-supply-view .topup-side{align-self:stretch}
 .topup-supply-view .topup-account{flex:0 0 auto}
 .topup-supply-view .topup-purchase{flex:1}
 .topup-supply-view .topup-summary{margin-top:auto}
}
