/* Signed-in profile: blue identity, quiet sections and visible account actions. */
#topup-profile-view:has(#topup-user-profile-card:not([hidden])),#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-content,#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-header{background:#03182e}
#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-header{border:0;box-shadow:none;position:relative}
#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-header::after{content:'';position:absolute;right:18px;top:14px;width:108px;height:36px;background:url('/images/optimized/gnex-wordmark-400.webp') center/contain no-repeat;opacity:.1;pointer-events:none}
#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-header button{background:#062548;border-color:#174d83;color:#d4eaff;border-radius:12px}
#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-header span{color:#36aafa}
#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-header h2{color:#fff}
#topup-profile-view #topup-user-profile-card{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;box-sizing:border-box;width:min(100%,720px);margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#eef6ff;font-family:Inter,Arial,sans-serif}
#topup-profile-view #topup-user-profile-card[hidden]{display:none!important}
#topup-profile-view #topup-user-profile-card::before,#topup-profile-view #topup-user-profile-card::after{display:none}
#topup-profile-view .profile-identity-card{--profile-actions-inset:13px;position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);gap:5px 14px;align-items:center;overflow:hidden;isolation:isolate;padding:16px;border:1px solid #12529a;border-radius:13px;background:linear-gradient(125deg,#075bbd,#084285);min-height:112px}
#topup-profile-view .profile-identity-card::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(125deg,transparent 28%,#1467c322 28% 64%,transparent 64%),radial-gradient(ellipse at 100% 120%,#1262c366 0 38%,transparent 38%)}
#topup-profile-view #topup-user-profile-avatar{grid-column:1;grid-row:1;box-sizing:border-box;width:74px;height:74px;border:3px solid #008fff;border-radius:50%;background:#000 url('/images/gnex-main-white-192.png') center/cover no-repeat;box-shadow:0 0 12px #00aaff55;color:transparent;font-size:0;margin:0}
#topup-profile-view #topup-user-profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#topup-profile-view .topup-user-profile-main{min-width:0;grid-column:2;grid-row:1;min-height:0;padding:0;align-self:center}
#topup-profile-view .profile-account-heading{display:block;padding-right:72px;margin:0 0 7px;min-height:12px}
#topup-profile-view .profile-account-heading>small{font:600 8px/1.4 Inter,Arial,sans-serif;letter-spacing:.8px;color:#92b9e6;white-space:normal}
#topup-profile-view #topup-user-profile-name{font:700 22px/1.25 Inter,Arial,sans-serif;color:#fff;letter-spacing:-.4px;margin:0 0 5px;overflow-wrap:anywhere}
#topup-profile-view #topup-user-profile-phone{font:400 12px/1.4 Inter,Arial,sans-serif;color:#b6d5fa;margin:0;overflow-wrap:anywhere}
#topup-profile-view .topup-user-profile-actions{position:absolute;top:16px;right:var(--profile-actions-inset);display:flex;gap:7px}
#topup-profile-view .topup-user-profile-actions button{box-sizing:border-box;width:33px;height:33px;min-height:0;padding:8px;border:1px solid #084c8b;border-radius:8px;background:#012d56;color:#d9eeff;box-shadow:none}
#topup-profile-view .topup-user-profile-status{grid-column:1;grid-row:2;justify-self:center;display:flex;align-items:center;gap:5px;margin:0;padding:3px 7px;border:0;border-radius:12px;background:#034b4f;color:#58ed79;font:700 8px/1.3 Inter,Arial,sans-serif}
#topup-profile-view .topup-user-profile-status i{width:7px;height:7px;border-radius:50%;background:#44ec71;box-shadow:0 0 6px #37e56d33}
#topup-profile-view .topup-user-profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;padding:11px 12px;border:1px solid #0a3055;border-radius:12px;background:#042342}
#topup-profile-view .topup-user-profile-stats article{display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px 12px;align-items:center;margin:0;padding:0 12px;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left;min-width:0}
#topup-profile-view .topup-user-profile-stats article:first-child{padding-left:0;border-right:1px solid #12416e}
#topup-profile-view .topup-user-profile-stats svg{grid-row:1/3;width:36px;height:36px;padding:8px;box-sizing:border-box;border-radius:9px;background:#073462;color:#c6e5ff}
#topup-profile-view .topup-user-profile-stats b{font:700 19px/1.2 Inter,Arial,sans-serif;color:#fff;white-space:nowrap;letter-spacing:-.5px;overflow:auto;scrollbar-width:none}
#topup-profile-view .topup-user-profile-stats span{font:400 9px/1.5 Inter,Arial,sans-serif;color:#a3bdd8;letter-spacing:.4px;margin:0}
#topup-profile-view .profile-games-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:12px;border:1px solid #0b3159;border-radius:12px;background:#042342}
#topup-profile-view .profile-games-heading{grid-column:1;display:flex;gap:12px;align-items:center;color:#f0f7ff;font-size:13px}
#topup-profile-view .profile-games-heading svg{width:36px;height:36px;box-sizing:border-box;padding:6px;border-radius:8px;background:#073462;color:#d6efff}
#topup-profile-view #topup-user-profile-game-id{grid-column:1/-1;grid-row:2;min-width:0;margin:0;padding:0;color:#a6c2dc;font:400 11px/1.5 Inter,Arial,sans-serif}
#topup-profile-view #topup-user-profile-game-id:not(:has(.profile-saved-game)){grid-column:1;padding-left:48px;margin-top:-10px}
#topup-profile-view .profile-saved-games-controls{display:contents}
#topup-profile-view .profile-game-tools{grid-column:2;grid-row:1;align-self:center}
#topup-profile-view #profileAddGameToggle{padding:8px 12px;min-height:34px;border:0;border-radius:8px;background:#087dff;color:#fff;font:600 11px Inter,Arial,sans-serif;white-space:nowrap}
#topup-profile-view #profileAddGameForm{grid-column:1/-1;min-width:0;margin:10px 0 0;background:#082c50;border-color:#17416b}
#topup-profile-view .profile-saved-game{background:#082b4e;border-color:#153e67;color:#d5e7f7;border-radius:8px;margin-top:8px}
#topup-profile-view .profile-saved-game>.profile-saved-game-icon{display:block;flex:0 0 36px;width:36px;height:36px;object-fit:cover;border-radius:8px;background:#03182e}
#topup-profile-view .profile-edit-wrap{margin:0;min-width:0}
#topup-profile-view .profile-edit-wrap:has(#profileEditForm[hidden]){display:none}
#topup-profile-view #topup-user-wallet-card{display:block;position:relative;box-sizing:border-box;width:100%;padding:12px;margin:0;border:1px solid #0a3159;border-radius:12px;background:#04213e;box-shadow:none;color:#eef6ff}
#topup-profile-view #topup-user-wallet-card[hidden]{display:none!important}
#topup-profile-view .topup-wallet-copy{max-width:none;width:100%}
#topup-profile-view .profile-wallet-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#topup-profile-view .profile-wallet-heading>svg{width:36px;height:36px;box-sizing:border-box;padding:7px;border-radius:8px;background:#073463;color:#d7ecff}
#topup-profile-view .profile-wallet-heading>div{flex:1;min-width:0}
#topup-profile-view .profile-wallet-heading small{display:block;color:#f3f8ff;font:700 13px Inter,Arial,sans-serif;letter-spacing:.3px}
#topup-profile-view #topup-user-wallet-card .profile-wallet-heading p{display:block;font:400 10px/1.5 Inter,Arial,sans-serif;color:#9ebbd7;margin:4px 0 0}
#topup-profile-view .profile-wallet-heading button{width:30px;height:30px;border:1px solid #084174;border-radius:50%;background:#063262;color:#d0e9ff;font-size:27px;line-height:1}
#topup-profile-view #topup-user-wallet-card .profile-wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
#topup-profile-view #topup-user-wallet-card .profile-wallet-balances>div{box-sizing:border-box;min-width:0;padding:11px 10px;background:#062a50;border:1px solid #0b325c;border-radius:10px;container-type:inline-size}
#topup-profile-view .profile-wallet-label,#topup-profile-view .profile-topup-label{display:flex;align-items:center;gap:8px;margin:0 0 8px}
#topup-profile-view .profile-wallet-label svg,#topup-profile-view .profile-topup-label svg{box-sizing:border-box;width:27px;height:27px;padding:5px;border-radius:7px;background:#083762;color:#c3e4ff;flex-shrink:0}
#topup-profile-view .profile-wallet-label span,#topup-profile-view .profile-topup-label span{font:400 8px Inter,Arial,sans-serif;color:#9ebbd7;letter-spacing:.4px}
#topup-profile-view #topup-user-wallet-card .profile-balance-amount{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;margin:0 0 8px}
#topup-profile-view #topup-user-wallet-card .profile-balance-amount strong{font:700 clamp(16px,18cqi,27px)/1.2 Inter,Arial,sans-serif;color:#fff;letter-spacing:-.7px;white-space:nowrap;word-break:normal;overflow-wrap:normal;max-width:100%;overflow-x:auto;scrollbar-width:none}
#topup-profile-view .profile-balance-amount button{flex:0 0 28px;width:28px;height:28px;min-height:28px;padding:0;border:1px solid #1766ac;border-radius:7px;background:#04203e;color:#e1f3ff;font-size:26px;box-shadow:0 0 5px #078bff22}
#topup-profile-view .profile-wallet-balances>div>small{font:400 9px Inter,Arial,sans-serif;color:#a3bfdc;letter-spacing:.3px;margin:0}
#topup-profile-view .topup-wallet-icon{display:none}
#topup-profile-view .profile-invite{margin:0;padding:12px;border:1px solid #0e365e;border-radius:11px;background:#042342;color:#b6ccdf;box-shadow:none;font-size:11px}
#topup-profile-view .profile-invite[hidden]{display:none!important}
#topup-profile-view .profile-invite p{color:#b6ccdf;font:400 11px/1.5 Inter,Arial,sans-serif;margin:0 0 12px}
#topup-profile-view .profile-invite a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:0;border-radius:9px;background:#087dff;color:#fff;font:600 11px Inter,Arial,sans-serif;text-decoration:none}
#topup-profile-view #profileInviteToggle,#topup-profile-view #topup-google-link-toggle{box-sizing:border-box;width:100%;min-height:36px;padding:8px 10px;border:1px solid #165493;border-radius:9px;background:#042342;color:#e7f3ff;box-shadow:none;font:600 11px Inter,Arial,sans-serif}
#topup-profile-view #profileInvite{padding:0;background:transparent;border:0}
#topup-profile-view #profileInviteCard{padding:12px;background:#042342;border:1px solid #16436c;border-radius:10px;margin-top:8px}
#topup-profile-view .profile-logout-footer{margin:0;padding-top:3px;border-top:1px solid #13416c;background:transparent}
#topup-profile-view #userLogoutBtn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:35px;margin:0;padding:7px;border:0;background:transparent;color:#f0758c;box-shadow:none;font:600 11px Inter,Arial,sans-serif}
#topup-profile-view #userLogoutBtn svg{width:19px;height:19px}
@media(max-width:560px){#topup-profile-view:has(#topup-user-profile-card:not([hidden])) .topup-profile-content{padding:8px 16px 115px}#topup-profile-view #topup-user-profile-name{font-size:20px}#topup-profile-view .profile-identity-card{--profile-actions-inset:12px;padding:14px;grid-template-columns:72px minmax(0,1fr);gap:5px 10px}#topup-profile-view #topup-user-profile-avatar{width:68px;height:68px}#topup-profile-view .topup-user-profile-actions{top:14px}#topup-profile-view .profile-account-heading{padding-right:70px}#topup-profile-view .profile-account-heading>small{font-size:8px;letter-spacing:.4px}#topup-profile-view .topup-user-profile-stats article{gap:3px 9px;padding:0 9px}#topup-profile-view .topup-user-profile-stats b{font-size:17px}}
@media(max-width:359px){#topup-profile-view .profile-identity-card{grid-template-columns:58px minmax(0,1fr);padding:12px;gap:5px 8px}#topup-profile-view #topup-user-profile-avatar{width:56px;height:56px}#topup-profile-view .topup-user-profile-actions button{width:28px;height:28px;padding:6px}#topup-profile-view .profile-account-heading{padding-right:60px}#topup-profile-view .topup-user-profile-stats article{grid-template-columns:27px minmax(0,1fr);gap:3px 6px;padding:0 6px}#topup-profile-view .topup-user-profile-stats svg{width:27px;height:30px;padding:5px}#topup-profile-view .topup-user-profile-stats b{font-size:15px}#topup-profile-view .profile-wallet-heading p{font-size:9px}#topup-profile-view #profileAddGameToggle{font-size:10px;padding:8px}}

#topup-profile-view .profile-wallet-label,#topup-profile-view .profile-topup-label{justify-content:flex-start}
#topup-profile-view #profileGiveawaySetup{padding:0;border:0;background:transparent;display:grid;gap:10px}
#topup-profile-view #profileGiveawaySetup p{display:flex;align-items:center;gap:12px;margin:0;padding:12px;border:1px solid #0e365e;border-radius:11px;background:#042342}
#topup-profile-view #profileGiveawaySetup p svg{width:32px;height:32px;flex:0 0 32px;color:#e5f2ff}

#topup-profile-view .profile-streak{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border:1px solid #bb7841;border-radius:9px;background:#33243c;color:#fff1d5;font:600 11px/1.2 Inter,Arial,sans-serif}
#topup-profile-view .profile-streak[hidden]{display:none}
.profile-streak svg{width:18px;height:22px;filter:drop-shadow(0 0 3px #ff952588);transform-origin:50% 90%}
.profile-streak>span{display:grid;gap:1px}
.profile-streak b{color:#ffd093;font-size:8px;letter-spacing:.09em}
.profile-streak strong{font-size:13px;font-variant-numeric:tabular-nums}
@media(prefers-reduced-motion:no-preference){.profile-streak.is-lit svg{animation:gnex-streak-glow 2.6s ease-in-out infinite alternate}}
@keyframes gnex-streak-glow{to{transform:scale(.95,1.06);filter:drop-shadow(0 0 5px #ffaa4888)}}


#topup-profile-view .profile-streak-help{position:relative;grid-area:2/2;justify-self:end;align-self:start;margin-inline-end:var(--profile-actions-inset);max-width:230px;text-align:right}
#topup-profile-view .profile-streak-help:has(summary[hidden]){display:none}
.profile-streak-help summary::-webkit-details-marker{display:none}
#topup-profile-view .profile-streak-help p{position:absolute;inset-block-start:100%;inset-inline-end:0;box-sizing:border-box;width:min(230px,70vw);border:1px solid #24547b;box-shadow:0 5px 16px #00112455;margin:6px 0 0;padding:8px 10px;border-radius:8px;background:#062748;color:#e5f2ff;font:500 12px/1.45 Inter,Arial,sans-serif;text-align:left}
#topup-profile-view .profile-streak:not(.is-lit){border-color:#5a6a7c;background:#263346;color:#d6dee8}
.profile-streak:not(.is-lit) b{color:#bcc6d2}
.profile-streak:not(.is-lit) svg{filter:grayscale(1);opacity:.75}
#topup-profile-view .profile-identity-card:has(.profile-streak-help[open]){overflow:visible;z-index:1}
#topup-profile-view .profile-identity-card::before{border-radius:inherit}

/* Profile title and install action share the top navigation. */
#topup-profile-view .topup-profile-header{height:auto;min-height:68px;flex-wrap:wrap;gap:12px}
#topup-profile-view .topup-profile-header::after{display:none}
#topup-profile-view .profile-navbar-title{min-width:0}
#topup-profile-view .profile-navbar-title h2{margin:0}
#topup-profile-view .topup-profile-header #gnexProfileInstall{display:flex;align-items:center;justify-content:center;gap:7px;flex:none;width:auto;min-width:0;min-height:40px;height:40px;margin:0 0 0 auto;padding:9px 12px;border:1px solid #286180;border-radius:10px;background:#0b2b42;color:#8eeaff;font:700 11px/1.2 Inter,Arial,sans-serif;white-space:nowrap}
#topup-profile-view .topup-profile-header #gnexProfileInstall img{width:36px;height:16px;object-fit:contain}
#topup-profile-view .topup-profile-header #profileLoginHelp{flex-basis:100%;margin:0;min-height:36px}
@media(max-width:359px){#topup-profile-view .topup-profile-header{gap:8px}#topup-profile-view .topup-profile-header #gnexProfileInstall{padding:8px;font-size:10px;gap:5px}#topup-profile-view .topup-profile-header #gnexProfileInstall img{width:30px}}

/* Google account details are revealed from the profile action row. */
#topup-profile-view .profile-logout-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px}
#topup-profile-view .profile-logout-footer #userLogoutBtn{width:auto;min-height:44px;margin:0;padding:10px 14px}
#topup-profile-view .profile-logout-footer #topup-google-link-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #245476;border-radius:10px;background:#08263f;cursor:pointer}
#topup-profile-view #topup-google-link-toggle svg{display:block;width:22px;height:22px}
#topup-profile-view #topup-google-link-toggle[aria-expanded="true"]{border-color:#43d5ef;background:#103d58}
#topup-profile-view #topup-google-link-card:has(#topup-google-link-content[hidden]){display:none}
#topup-profile-view #topup-google-link-content{padding:16px;border:1px solid #245476;border-radius:12px;background:#06233d}

#topup-profile-view .profile-wallet-label .profile-balance-logo,#topup-profile-view .profile-topup-label .profile-balance-logo{display:block;width:27px;height:27px;object-fit:contain;border-radius:7px;flex:none;padding:0}

#topup-profile-view .profile-logout-footer{justify-content:flex-end}
#topup-profile-view .profile-wallet-heading #topup-google-link-toggle{display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;padding:7px;border:1px solid #245476;border-radius:10px;background:#08263f}
#topup-profile-view .profile-wallet-heading #topup-google-link-toggle[aria-expanded="true"]{border-color:#43d5ef;background:#103d58}
#topup-profile-view #topup-user-wallet-card #topup-google-link-card{margin:12px 0 0}
#topup-profile-view #topup-user-wallet-card #topup-google-link-description{font:400 12px/1.7 Inter,Arial,sans-serif;color:#b9d2e8;white-space:normal}

#topup-profile-view .profile-logout-footer[hidden]{display:none!important}
#topup-profile-view .topup-history-head #userLogoutBtn{display:flex;align-items:center;justify-content:center;flex:none;box-sizing:border-box;width:40px;height:40px;min-height:40px;margin:0;padding:10px;border:1px solid #894056;border-radius:10px;background:#321b2b;color:#fda4af;cursor:pointer}
#topup-profile-view .topup-history-head #userLogoutBtn:hover{background:#482238;border-color:#bd5e7a}
#topup-profile-view .topup-history-head #userLogoutBtn:active{background:#55283e}
#topup-profile-view .topup-history-head #userLogoutBtn svg{width:19px;height:19px}
#topup-profile-view .topup-history-head #userLogoutBtn[hidden]{display:none!important}
#topup-profile-view .topup-history-head #userLogoutBtn:focus-visible{outline:2px solid #fda4af;outline-offset:3px}

/* Keep long lifetime topup totals within the compact profile summary. */
#topup-profile-view .topup-user-profile-stats{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
#topup-profile-view .topup-user-profile-stats article:last-child{grid-template-columns:30px minmax(0,1fr);column-gap:8px;padding-right:0}
#topup-profile-view .topup-user-profile-stats article:last-child svg{width:30px;height:30px;padding:6px}
#topup-profile-view #topup-user-profile-spent{font:700 16px/1.25 Inter,Arial,sans-serif;letter-spacing:-.3px;font-variant-numeric:tabular-nums;min-width:0}
@media(max-width:560px){#topup-profile-view #topup-user-profile-spent{font-size:14px}}
@media(max-width:359px){#topup-profile-view #topup-user-profile-spent{font-size:12px}}

/* Account editor is separate from saved game IDs. */
#topup-profile-view #profileEditForm{padding:18px;gap:15px;border:1px solid #17476e;border-radius:14px;background:#06213b;box-shadow:0 8px 24px #00102426}
#profileEditForm .profile-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid #163e60}
#profileEditForm .profile-editor-heading h3{margin:0 0 5px;font:700 16px/1.3 Inter,Arial,sans-serif;color:#f0f8ff}
#profileEditForm .profile-editor-heading p{margin:0;font-size:11px;color:#9cbad5}
#profileEditForm .profile-editor-close{display:grid;place-items:center;width:30px;height:30px;min-height:0;padding:0;border:1px solid #245478;border-radius:8px;background:#0a2d4a;color:#a9d8f8;font:22px/1 Arial;cursor:pointer}
#topup-profile-view #profileEditForm label{gap:7px;font-size:12px;font-weight:600;color:#bfd8ec}
#topup-profile-view #profileEditForm input{box-sizing:border-box;min-height:46px;border-radius:9px;background:#04192d;border:1px solid #245171;padding:11px 12px;font-size:16px}
#profileEditForm input:focus-visible{outline:2px solid #27b8ed;outline-offset:2px}
#profileEditForm .profile-editor-note{display:block;padding:10px 12px;border-radius:8px;background:#0a2c48;color:#9fc1da;font-size:11px;line-height:1.6}
#topup-profile-view #profileEditForm .profile-editor-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:0}
#topup-profile-view #profileEditForm .profile-editor-actions button{min-height:42px;border-radius:9px;padding:10px 16px;font-size:11px;cursor:pointer}
#profileEditForm .profile-editor-actions button[type=submit]{background:#087dff;border-color:#168bff;color:#fff}
#profileEditForm button:disabled{opacity:.6;cursor:wait}

#profilePhonePasswordField[hidden]{display:none!important}#profilePhonePasswordField small{font-size:11px;font-weight:400;line-height:1.5;color:#9fc1da}
/* Google account completion: compact fields and a save action above mobile navigation. */
#topup-profile-view #topup-google-profile-card{box-sizing:border-box;width:min(100%,620px);margin:12px auto 0;padding:18px;border:1px solid #174361;border-radius:14px;background:#071b30;box-shadow:none;font-family:Inter,Arial,sans-serif}
#topup-profile-view #topup-google-profile-card>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;align-items:center}
#topup-profile-view #topup-google-profile-card>header>div{display:contents}
#topup-profile-view #topup-google-profile-card>header small{grid-column:1;grid-row:1;color:#43d5ef;font:700 8px/1.4 Inter,Arial,sans-serif;letter-spacing:.12em}
#topup-profile-view #topup-google-profile-card>header>span{grid-column:2;grid-row:1;max-width:none;padding:4px 7px;border:1px solid #225371;border-radius:5px;background:#10324c;color:#9cd8ed;font:600 7px/1.3 Inter,Arial,sans-serif;white-space:nowrap}
#topup-profile-view #topup-google-profile-card>header h3{grid-column:1/-1;grid-row:2;margin:0;color:#f3f8ff;font:700 21px/1.3 Inter,Arial,sans-serif;letter-spacing:-.5px;overflow-wrap:anywhere}
#topup-profile-view #topup-google-profile-card>p{margin:9px 0 0;color:#9db6cc;font:400 11px/1.6 Inter,Arial,sans-serif}
#topup-profile-view #topup-google-profile-card form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px;margin-top:17px}
#topup-profile-view #topup-google-profile-card .topup-google-profile-row{display:contents}
#topup-profile-view #topup-google-profile-card label{display:grid;grid-column:1/-1;gap:6px;margin:0;min-width:0}
#topup-profile-view #topup-google-profile-card label>span{color:#b5cadc;font:500 11px/1.4 Inter,Arial,sans-serif}
#topup-profile-view #topup-google-profile-card input,#topup-profile-view #topup-google-profile-card select{box-sizing:border-box;width:100%;height:44px;min-height:44px;max-width:100%;padding:10px 12px;border:1px solid #254865;border-radius:9px;background:#031326;color:#f0f6ff;font:500 16px/1.4 Inter,Arial,sans-serif;letter-spacing:0;outline:none;box-shadow:none}
#topup-profile-view #topup-google-profile-card input::placeholder{color:#6f8ba4;font-weight:400}
#topup-profile-view #topup-google-profile-card input:focus-visible,#topup-profile-view #topup-google-profile-card select:focus-visible{border-color:#26bfeb;outline:2px solid #26bfeb55;outline-offset:1px}
#topup-profile-view #topup-google-profile-card:not(:has(select[name=game_code] option[value=ml]:checked)) label:has(input[name=server_id]){display:none}
#topup-profile-view #topup-google-profile-card:has(select[name=game_code] option[value=ml]:checked) label:has(input[name=game_id]){grid-column:1}
#topup-profile-view #topup-google-profile-card:has(select[name=game_code] option[value=ml]:checked) label:has(input[name=server_id]){grid-column:2}
#topup-profile-view #topup-google-profile-card label:has(input[name=server_id]) em{display:none}
#topup-profile-view #topup-google-profile-card label:has(input[name=server_id])>span:after{content:' *';color:#50cdeb}
#topup-profile-view #topup-google-profile-card form>output{grid-column:1/-1;min-height:0;margin:0;color:#7ce0ed;font:400 11px/1.5 Inter,Arial,sans-serif;overflow-wrap:anywhere}
#topup-profile-view #topup-google-profile-card form>output:empty{display:none}
#topup-profile-view #topup-google-profile-card form>output.is-error{color:#ffa0ad}
#topup-profile-view #topup-google-profile-card form>button{grid-column:1/-1;box-sizing:border-box;height:44px;min-height:44px;margin:4px 0 0;padding:10px 14px;border:1px solid #1aa8e8;border-radius:9px;background:linear-gradient(110deg,#147df2,#22bfe5);color:white;font:700 11px/1.4 Inter,Arial,sans-serif;letter-spacing:.02em;box-shadow:none;scroll-margin-top:90px;scroll-margin-bottom:125px}
#topup-profile-view:has(#topup-google-profile-card:not([hidden])) .topup-profile-content{padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))}
body:has(#topup-profile-view.is-open #topup-google-profile-card:not([hidden])) #gc-pwa-note{display:none!important}
@media(max-width:359px){#topup-profile-view #topup-google-profile-card{padding:15px}#topup-profile-view #topup-google-profile-card>header h3{font-size:18px}}
