/* Wiantex global mobile fullscreen fix */
html { min-height:100%; background:#070713; }
body { min-height:100dvh; margin:0; overflow-x:hidden; }

@media (max-width:760px) {
  .app, .main, .content-wrap { width:100%; max-width:none; }
  .main { min-height:100dvh; padding-bottom:calc(86px + env(safe-area-inset-bottom)) !important; }

  .bottom-nav {
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    z-index:9999 !important;
    padding-bottom:env(safe-area-inset-bottom) !important;
  }

  .footer { padding-bottom:calc(90px + env(safe-area-inset-bottom)) !important; }
  .footer-links { margin-top: 6px; }
}

@media (max-width:900px) {
  body.drawer-open { overflow:hidden; }
  .sidebar { max-width:86vw; }
}

/* Mobile-only polish */
@media (max-width: 900px) {
  .navbar-desktop-only { display:none !important; }
  .desktop-flash-area { display:none !important; }
  .navbar { padding:12px 14px; gap:10px; }
  .navbar-actions { gap:7px; }
  .profile-chevron { display:none; }
  .profile-trigger { padding:1px; border-radius:10px; }
  .profile-dropdown { right:0; width:170px; }

  .bottom-nav > a.fab {
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    min-height:50px !important;
    max-width:50px !important;
    margin:-23px auto 0 !important;
    border:3px solid rgba(255,255,255,.72);
    box-shadow:0 10px 28px rgba(124,92,255,.38), 0 0 0 5px rgba(124,92,255,.10), inset 0 1px 0 rgba(255,255,255,.30);
  }
  .bottom-nav > a.fab svg { width:22px; height:22px; filter:drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
}

@media(max-width:700px){.profile-banner{height:135px}.profile-main-avatar{margin-top:-34px}.profile-hero{padding:13px!important}}
