
html,body{min-width:320px;overflow-x:hidden}
button,a,input,select,textarea{touch-action:manipulation}
:focus{outline:none!important}
.app-header,.apex-simple-header{box-sizing:border-box;position:sticky;top:0;z-index:5000;min-height:60px}
.app-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
.app-header .brand-container,.apex-simple-header .apex-brand{min-width:0;flex:1 1 auto}
.header-controls,.apex-header-actions,.top-tools-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:0 0 auto!important;flex-wrap:nowrap!important}
.tool-icon-btn,.notification-btn,.theme-toggle-btn,.apex-icon-btn,.tool-btn{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:0!important;border-radius:10px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;box-sizing:border-box!important}
.tool-icon-btn.lang-btn,.apex-auth-lang{width:auto!important;min-width:48px!important;padding:0 7px!important;gap:5px!important}
.header-controls .tool-icon-btn i,.header-controls .notification-btn i,.header-controls .theme-toggle-btn i,.apex-header-actions .apex-icon-btn i,.top-tools-right .tool-btn i{font-size:14px!important}
.header-controls>*+*,.apex-header-actions>*+*,.top-tools-right>*+*{margin-left:0!important}
@media(max-width:520px){.app-header,.apex-simple-header{padding-top:max(6px,env(safe-area-inset-top))!important;padding-bottom:6px!important}.brand-text-group{display:none!important}.tool-icon-btn,.notification-btn,.theme-toggle-btn,.apex-icon-btn,.tool-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.tool-icon-btn.lang-btn,.apex-auth-lang{min-width:46px!important}}
.bottom-nav{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:6000!important;width:100%!important;height:auto!important;min-height:66px!important;padding:7px max(8px,env(safe-area-inset-left)) max(7px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right))!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;align-items:center!important;box-sizing:border-box!important}
.bottom-nav .nav-item{min-width:0!important;min-height:52px!important;padding:5px 2px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;border-radius:12px!important;overflow:hidden!important}
.bottom-nav .nav-item i{font-size:18px!important;line-height:1!important}.bottom-nav .nav-item span{font-size:9px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
.apex-language-overlay{position:fixed!important;inset:0!important;z-index:20000!important;display:none!important;place-items:center!important;padding:12px!important;background:rgba(0,0,0,.74)!important;opacity:1!important;visibility:visible!important;pointer-events:none!important}
.apex-language-overlay.open{display:grid!important;pointer-events:auto!important}
.apex-language-modal{width:min(94vw,420px)!important;max-height:min(86dvh,680px)!important;overflow:hidden!important;border:1px solid rgba(255,189,18,.28)!important;border-radius:20px!important;background:#080e17!important;color:#f6f8fb!important;box-shadow:0 30px 100px rgba(0,0,0,.68)!important}
.apex-language-list{max-height:58dvh!important;overflow:auto!important;padding:5px 9px 10px!important}
.apex-language-option{width:100%!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) 20px!important;align-items:center!important;gap:9px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:#cbd4df!important;text-align:left!important;padding:9px!important;margin:1px 0!important}
.apex-language-option:hover,.apex-language-option.selected{background:rgba(255,189,18,.09)!important;color:#ffbd12!important}
.apex-language-option i{opacity:0}.apex-language-option.selected i{opacity:1}
body.apex-language-open{overflow:hidden!important}
.forgot-pass,.forgot-password,[data-i18n="forgot_password"]{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
.form-input:focus,input:focus,select:focus,textarea:focus{outline:0!important;box-shadow:none!important}
.apex-single-app-page .main-content,.apex-single-app-page .account-page{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
@media(max-width:680px){.apex-single-app-page main,.apex-single-app-page .main-content,.apex-single-app-page .account-page{max-height:calc(100dvh - 132px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}.apex-simple-header+.apex-main{max-height:calc(100dvh - 60px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;padding-bottom:20px!important}}

.top-navbar{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important}.nav-right-tools{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;flex:0 0 auto!important}.nav-right-tools>*{flex:0 0 auto!important}
@media(max-width:680px){.landing-container{overflow:hidden!important}.nav-right-tools{gap:4px!important}.nav-right-tools .tool-icon-btn{width:34px!important;height:34px!important;min-width:34px!important}.nav-right-tools .lang-btn{min-width:46px!important;width:auto!important}}
.account-hero,.profile-row,.profile-avatar,.profile-copy,.activity-row{display:none!important}
