/* GM410 unified profile and viewport fit */
#gm404-account-dialog .gm404-account-wallet{display:none!important}
#gm404-account-dialog{box-sizing:border-box!important;top:var(--gm404-h,130px)!important;bottom:0!important;margin:0!important;height:calc(100dvh - var(--gm404-h,130px))!important;max-height:calc(100dvh - var(--gm404-h,130px))!important;overflow:auto!important;overscroll-behavior:contain;scroll-padding-top:12px;padding-bottom:calc(25px + env(safe-area-inset-bottom))!important}
#gm404-account-dialog .gm404-dialog-head small{display:block;max-width:100%;font-size:10px;line-height:1.6;letter-spacing:.09em}
#gm404-account-dialog .gm404-dialog-head h2{overflow-wrap:anywhere;font-size:clamp(19px,3vw,28px)}
#gm404-account-dialog .gm404-account-tabs{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:5px}
#gm404-account-dialog .gm404-account-tabs button{padding:11px 5px;min-width:0;font-size:12px}
.gm410-profile-card{background:linear-gradient(140deg,#242820,#171b17);border:1px solid #9b7c3c55;border-radius:13px;padding:15px;margin:12px 0;color:#eee5cf}.gm410-profile-card h3{font-size:15px;margin:0 0 13px;color:#efd598}.gm410-profile-card dl{margin:0;display:grid;grid-template-columns:1fr;gap:4px}.gm410-profile-card dt{color:#afa998;font-size:11px}.gm410-profile-card dd{margin:0 0 10px;overflow-wrap:anywhere;white-space:normal;font-size:14px;line-height:1.55}
.gm410-account-sections{display:grid;gap:7px;margin:16px 0}.gm410-account-sections>a,.gm410-account-sections>button{display:block!important;text-align:left;background:#27291f!important;border:1px solid #7e693b88!important;color:#f0dca8!important;border-radius:9px;padding:12px!important;font:600 13px/1.5 system-ui!important;cursor:pointer;text-decoration:none;min-width:0;white-space:normal}.gm410-account-sections span{display:block;font-weight:400;font-size:10px;color:#c1baa8;margin-top:4px}#gm410-profile-details{font-size:13px;line-height:1.6}
html.gm404-active .gm375-page,html.gm404-active .gm379-profile,html.gm404-active .gm385-drawer,html.gm404-active .gm37-profile-overlay{top:var(--gm404-h,130px)!important;bottom:0!important;height:calc(100dvh - var(--gm404-h,130px))!important;max-height:calc(100dvh - var(--gm404-h,130px))!important;box-sizing:border-box!important;overflow-y:auto!important;overscroll-behavior:contain}
html.gm404-active .gm385-scrim{top:var(--gm404-h,130px)!important}
html.gm404-active .gm375-page[hidden],html.gm404-active .gm379-profile[hidden]{display:none!important}
html.gm404-active .gm375-tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap}.gm375-content{min-height:0;max-width:100%}
@media(max-width:700px){#gm404-account-dialog{padding:16px 11px calc(22px + env(safe-area-inset-bottom))!important}.gm410-profile-card{padding:12px}.gm410-profile-card dd{font-size:12px}.gm410-account-sections>a,.gm410-account-sections>button{font-size:12px!important}}
