/* Safe mobile defaults on top of existing GOLD EMPIRE theme. */
html,body{width:100%;min-width:0;-webkit-text-size-adjust:100%;overflow-x:clip}
.app-shell{width:100%;min-width:0;min-height:var(--ge-viewport-height,100dvh)}
#content,.screen,.stack,.grid2,.card,.hub-grid,.topbar,.brand,.brand-copy,.top-actions{min-width:0}
img,svg,video,canvas{max-width:100%}
input,textarea,select{font-size:16px;max-width:100%}
#more-menu[hidden]{display:none!important}
.brand-copy b{overflow:hidden;text-overflow:ellipsis}
@media(max-width:530px){
.app-shell{padding-left:10px;padding-right:10px;padding-bottom:calc(109px + max(env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)))}
.topbar{width:100%}.brand{flex:1 1 0}.brand-copy{flex:1 1 0}.top-actions{flex:0 1 auto}
.brand-copy b,.brand-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.balance{min-width:0;max-width:41vw}.balance b{overflow:hidden;text-overflow:ellipsis}
.bottom-nav{bottom:calc(6px + max(env(safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)));width:calc(100% - 12px);grid-template-columns:repeat(5,minmax(0,1fr))}
}