/* Mobile reference: fixed identity/search, one scrolling navigation, fixed account. */
.sb-scroll-body{display:contents}
.profile-menu-scrim{display:none}
@media(max-width:900px){
 .app .sidebar{padding:env(safe-area-inset-top,0px) 0 0;border-radius:0;overflow:hidden}
 .app .sidebar::before{display:none}
 .app .sidebar .sb-head{flex:0 0 62px;min-height:62px;height:62px;padding:8px 12px;gap:12px}
 .app .sidebar .sb-head .brand-name{font-size:25px;font-weight:600}
 .app .sidebar .sidebar-search-trigger{order:1;height:48px;min-height:48px;width:calc(100% - 16px);margin:0 8px 12px;padding:10px 16px;border-radius:12px}
 .app .sidebar .sb-scroll-body{display:flex;flex-direction:column;order:2;flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding-bottom:10px}
 .app .sidebar .sidebar-new.mobile-only{padding:0 8px 4px}
 .app .sidebar .sidebar-new.mobile-only .sb-link{height:46px;min-height:46px;padding:10px 14px;border-radius:8px;font-size:16px}
 .app .sidebar .sb-nav{margin:0;padding:0 8px}
 .app .sidebar .sb-nav .sb-link{height:48px;min-height:48px;font-size:16px;padding:10px 14px}
 .app .sidebar .sb-upgrade{border:0;padding:2px 6px;margin-right:12px;font-size:14px}
 .app .sidebar .sb-history-heading{flex:none;margin-top:22px;min-height:44px;padding:0 18px}
 .app .sidebar .sb-history-title{font-size:14px}
 .app .sidebar .sb-list{flex:none;min-height:0;max-height:none;overflow:visible;padding:0 8px;scrollbar-gutter:auto}
 .app .sidebar .conv-item{min-height:48px}
 .app .sidebar .conv-item>a{height:48px;min-height:48px;padding:11px 40px 11px 14px;font-size:15px;line-height:24px}
 .app .sidebar .conv-item .more{height:44px;min-height:44px;top:2px}
 .app .sidebar .sb-foot{order:3;flex:0 0 auto;min-height:60px;margin-top:0;padding:5px 14px max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--line-soft);background:var(--bg-deep);z-index:2}
 .app .sidebar .user-chip{min-height:48px;height:48px;padding:6px 0;background:transparent}
 .app .sidebar .user-chip .avatar{width:26px;height:26px;flex-basis:26px}
 .profile-menu-scrim{display:block;position:fixed;inset:0;z-index:99;background:rgb(0 0 0 / .36)}
 .menu.profile-menu-sheet{inset:auto 0 0!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0;max-height:calc(var(--suvi-visible-h,100dvh) - 70px);padding:14px 12px max(12px,env(safe-area-inset-bottom));border-radius:18px 18px 0 0;overflow:auto;overscroll-behavior:contain;box-shadow:0 -8px 36px rgb(0 0 0 / .16);animation:profile-sheet-in 160ms ease-out both}
 .menu.profile-menu-sheet button{min-height:48px;padding:11px 12px;font-size:15px;gap:12px;border-radius:8px}
 .menu.profile-menu-sheet .menu-note{font-size:12px;overflow-wrap:anywhere;padding:8px 12px}
 .menu.profile-menu-sheet .ic{width:20px;height:20px;flex-shrink:0}
 .menu.profile-menu-sheet .menu-sep{margin:7px 10px}
}
@keyframes profile-sheet-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.menu.profile-menu-sheet{animation:none}}
