/* Stage 04: approved Starmall mobile dashboard. Presentation only. */
@media(max-width:800px){
 body.stm-dashboard-rebuild .main{background:#f4f7fc!important}
 body.stm-dashboard-rebuild .account-container.custom-account-container{padding:0!important;width:100%;max-width:100%;margin:0}
 body.stm-dashboard-rebuild .account-container>.row{margin:0!important;display:block!important}
 body.stm-dashboard-rebuild .account-container>.row>.tab-content{width:100%!important;max-width:100%!important;min-width:0;padding:0 13px calc(112px + env(safe-area-inset-bottom,0px))!important}
 body.stm-dashboard-rebuild .stm-member-topbar{margin:0 -13px 12px!important;padding:13px 13px!important;background:#071d63!important;display:flex;align-items:center;border-radius:0;box-shadow:none}
 body.stm-dashboard-rebuild .stm-member-topbar h1{font-size:clamp(15px,4.1vw,19px)!important;margin:0 0 3px;line-height:1.25}
 body.stm-dashboard-rebuild .stm-member-topbar p{font-size:11px;margin:0;line-height:1.4}
 body.stm-dashboard-rebuild #stmDashboardMenuToggle{order:0!important;margin-left:auto!important;background:#ffffff20!important;border:1px solid #ffffff35!important;border-radius:9px!important;flex:0 0 40px}
 body.stm-dashboard-rebuild .sm-member-hero{height:clamp(154px,43vw,215px)!important;margin:0 0 12px!important;border-radius:13px!important;box-shadow:0 6px 18px #082b6820}
 body.stm-dashboard-rebuild .sm-member-slide{height:100%!important}
 body.stm-dashboard-rebuild .sm-slide-copy{max-width:82%;padding-right:8px}
 body.stm-dashboard-rebuild .sm-slide-copy h2{font-size:clamp(17px,5.2vw,25px)!important}
 body.stm-dashboard-rebuild .sm-slide-copy p{font-size:clamp(10px,2.8vw,12px);line-height:1.4}
 body.stm-dashboard-rebuild .stm-wallet-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}
 body.stm-dashboard-rebuild .stm-wallet-card{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-width:0!important;min-height:86px!important;padding:13px 10px!important;border-radius:12px!important;overflow:hidden}
 body.stm-dashboard-rebuild .stm-wallet-card:first-child{grid-column:1/-1;min-height:106px!important;padding:17px!important}
 body.stm-dashboard-rebuild .stm-wallet-card .stm-wallet-symbol{flex:0 0 auto;font-size:23px}
 body.stm-dashboard-rebuild .stm-wallet-card small{display:block;font-size:10px!important;line-height:1.3}
 body.stm-dashboard-rebuild .stm-wallet-card strong{display:block;font-size:clamp(13px,3.7vw,19px)!important;line-height:1.3;word-break:break-word}
 body.stm-dashboard-rebuild .stm-wallet-card:first-child strong{font-size:clamp(23px,6vw,31px)!important}
 body.stm-dashboard-rebuild .sm-referral-panel{padding:14px!important;margin:12px 0!important;border-radius:13px!important;min-width:0}
 body.stm-dashboard-rebuild .sm-referral-heading{display:flex;gap:9px;align-items:flex-start}
 body.stm-dashboard-rebuild .sm-referral-heading h3{font-size:15px!important;margin:0 0 4px}
 body.stm-dashboard-rebuild .sm-referral-heading p{font-size:11px!important;line-height:1.45}
 body.stm-dashboard-rebuild .sm-referral-controls{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px!important}
 body.stm-dashboard-rebuild .sm-referral-controls input{grid-column:1/-1;width:100%!important;min-width:0!important;min-height:43px;font-size:12px!important}
 body.stm-dashboard-rebuild .sm-referral-controls button{min-width:0!important;width:100%!important;padding:10px 4px!important;font-size:11px!important;white-space:normal}
 body.stm-dashboard-rebuild .stm-dashboard-panels,body.stm-dashboard-rebuild .stm-dashboard-lower{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;margin:0 0 11px}
 body.stm-dashboard-rebuild .stm-dashboard-panel{width:100%;min-width:0;max-width:100%;padding:15px!important;border-radius:13px!important;box-shadow:0 4px 15px #0c2d6512}
 body.stm-dashboard-rebuild .stm-panel-heading{display:flex;flex-wrap:wrap;align-items:center;gap:7px;justify-content:space-between}
 body.stm-dashboard-rebuild .stm-dashboard-panel h3{font-size:15px!important;line-height:1.35}
 body.stm-dashboard-rebuild .stm-earnings-chart{max-width:100%;overflow-x:auto;min-width:0}
 body.stm-dashboard-rebuild .stm-chart-column{min-width:0}
 body.stm-dashboard-rebuild .stm-chart-value{font-size:9px!important}
 body.stm-dashboard-rebuild .stm-quick-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
 body.stm-dashboard-rebuild .stm-quick-grid a{min-height:71px;min-width:0!important;padding:10px 3px!important;border-radius:10px!important;text-align:center}
 body.stm-dashboard-rebuild .stm-performance-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 body.stm-dashboard-rebuild .stm-performance-grid>div{min-width:0;overflow-wrap:anywhere}
 body.stm-dashboard-rebuild .stm-recent-item{display:flex;gap:8px;min-width:0}
 body.stm-dashboard-rebuild .stm-recent-item>div{flex:1;min-width:0;overflow-wrap:anywhere}
 body.stm-dashboard-rebuild .stm-recent-item>b{flex-shrink:0;font-size:12px}
 body.stm-dashboard-rebuild .account-container>.row>.widget-dashboard.sidebar{box-sizing:border-box!important;padding:17px 12px 30px!important;background:linear-gradient(160deg,#071c5b,#063aa3)!important;box-shadow:12px 0 30px #00143a35}
 body.stm-dashboard-rebuild .widget-dashboard.sidebar .nav-tabs{overflow-y:visible!important;max-height:none!important}
 body.stm-dashboard-rebuild .widget-dashboard.sidebar a{color:#f2f6ff!important}
 .stm-member-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:7px 5px calc(7px + env(safe-area-inset-bottom,0px))!important;z-index:190!important}
 .stm-member-bottom-nav a,.stm-member-bottom-nav button{min-height:50px;gap:3px}
 .stm-member-bottom-nav .stm-bottom-icon{font-size:20px}
}
@media(max-width:360px){body.stm-dashboard-rebuild .stm-wallet-card{gap:5px!important;padding:10px 7px!important}body.stm-dashboard-rebuild .stm-wallet-card .stm-wallet-symbol{font-size:18px}body.stm-dashboard-rebuild .sm-referral-controls button{font-size:10px!important}}
@media(min-width:801px){.stm-member-bottom-nav,.stm-mobile-scrim{display:none!important}}
