/* CSS layout maintenance; application logic is unchanged. */
body.reference-home,body.reference-page{padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))}
.reference-home .reference-bottom{display:none!important}
.auth-page .password-row,.login-page .password-row{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.auth-page .password-row input,.login-page .password-row input{padding-right:64px!important}
.auth-page .password-row button,.login-page .password-row button{position:absolute!important;right:4px!important;top:0!important;bottom:0!important;align-self:center!important;width:48px!important;height:44px!important;margin:0!important;z-index:1}
.auth-page .phone-row.email-mode,.login-page .phone-row.email-mode{grid-template-columns:minmax(0,1fr)!important}
.login-page .mobile-brandbar{grid-template-columns:28px minmax(0,1fr) 48px!important;gap:6px}
.login-page .mobile-slot-logo{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;font-size:25px!important;letter-spacing:0!important;text-align:center}
.login-page .login-options{flex-wrap:wrap!important}
.mobile-app-page .mobile-app-nav{width:min(100%,560px);height:calc(66px + env(safe-area-inset-bottom,0px));padding-bottom:calc(5px + env(safe-area-inset-bottom,0px))}
.mobile-app-page:not(.auth-page){padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))}
.first-deposit-modal{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overflow-x:hidden;padding-bottom:14px}
.first-deposit-offers{max-height:none;overflow:visible}
.first-deposit-modal-footer{position:static;margin:14px 6px 0;flex-wrap:wrap}
.first-deposit-close-top{display:grid;z-index:2}
.first-deposit-modal h2{padding:0 32px}
.first-deposit-close-bottom{position:static;transform:none;margin:14px auto 0}
.first-deposit-offer-head{flex-wrap:wrap}
body.sg{padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))}
.sg-custom input{min-width:0;width:100%}
.sg-nav{max-width:520px;margin:0 auto;padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:60}
