/* R94: mobile entry points and complete scrollable menus. Desktop is unchanged. */
.coneMobileAuth,.coneMobileMenuToolbar{display:none}
@media(max-width:780px){
  #cone-app-header .coneMobileAuth{
    display:flex!important;gap:8px;padding:0 10px 10px;align-items:center;
  }
  #cone-app-header:has(.coneMobileAuth) .topbar__authBtn--login{display:none!important}
  #cone-app-header .coneMobileAuth a{
    display:flex;flex:1;align-items:center;justify-content:center;min-height:44px;
    padding:9px 12px;border:1px solid var(--line);border-radius:14px;
    font-size:14px;font-weight:800;line-height:1.3;text-align:center;color:var(--text);
  }
  #cone-app-header .coneMobileAuth a:last-child{background:#164ca8;color:#fff;border-color:#164ca8}
  html.coneMobileMenuOpen,html.coneMobileMenuOpen body{overflow:hidden!important;overscroll-behavior:none}
  html.coneMobileMenuOpen [data-mobile-bottom-nav]{visibility:hidden!important;pointer-events:none!important}
  html.coneMobileMenuOpen #cone-app-header,
  html.coneMobileMenuOpen #cone-app-header :is(.topbar__inner,.topbar__right,.categoryHeader__inner,.categoryHeader__controls,.categoryHeader__nav,.dropdownRoot){
    overflow:visible!important;transform:none!important;filter:none!important;contain:none!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:auto!important;will-change:auto!important;
  }
  html.coneMobileMenuOpen #cone-app-header{z-index:11000!important}
  html.coneMobileMenuOpen #cone-app-header .dropdownRoot.is-open > :is(.userPanel,.walletPanel){
    box-sizing:border-box!important;position:fixed!important;inset:76px 8px max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;touch-action:pan-y;z-index:11002!important;
    background:#0b1327!important;color:#f0f5fc!important;
  }
  html[data-theme="middle-dark"].coneMobileMenuOpen #cone-app-header .dropdownRoot.is-open > :is(.userPanel,.walletPanel){background:#243548!important}
  html[data-theme="light"].coneMobileMenuOpen #cone-app-header .dropdownRoot.is-open > :is(.userPanel,.walletPanel){background:#fff!important;color:#14243a!important}
  html.coneMobileMenuOpen #cone-app-header .userPanel__hero{position:static!important}
  html[data-theme] #cone-app-header .userPanel__verifiedBadge{background:#164c3a!important;color:#e4fff2!important}
  html[data-theme] #cone-app-header .userPanel .dropdownBadge:not(.dropdownBadge--gold){background:#9e173e!important;color:#fff!important}
  html.coneHomeCategoriesOpen body > main,
  html.coneHomeCategoriesOpen :is(.homeV2,.homeV2DiscoveryDeck,.homeV2CategoryDeck,.homeV2CategoryDeckHeader,.homeV2AllCategories){
    transform:none!important;filter:none!important;contain:none!important;overflow:visible!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;will-change:auto!important;
  }
  html.coneHomeCategoriesOpen #cone-app-header{z-index:100!important}
  html.coneHomeCategoriesOpen .homeV2.homeV2--realisticV5 .homeV2AllCategories__panel{
    box-sizing:border-box!important;position:fixed!important;inset:max(8px,env(safe-area-inset-top,0px)) 8px max(8px,env(safe-area-inset-bottom,0px))!important;
    width:auto!important;max-height:none!important;padding:12px!important;z-index:11002!important;
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;touch-action:pan-y;background:#0b1327!important;color:#f0f5fc!important;
  }
  html[data-theme="middle-dark"].coneHomeCategoriesOpen .homeV2.homeV2--realisticV5 .homeV2AllCategories__panel{background:#243548!important}
  html[data-theme="light"].coneHomeCategoriesOpen .homeV2.homeV2--realisticV5 .homeV2AllCategories__panel{background:#fff!important;color:#14243a!important}
  .coneMobileMenuToolbar,.homeV2.homeV2--realisticV5 .coneMobileMenuToolbar{
    display:flex;position:sticky;top:-12px;z-index:4;align-items:center;justify-content:space-between;
    gap:10px;padding:8px 0 12px;background:inherit;font-size:18px;
  }
  .coneMobileMenuToolbar button{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:inherit;color:inherit;font-size:28px;cursor:pointer}
  html[data-theme] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__item strong{font-size:13px!important;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
  html[data-theme] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__item small{font-size:12px!important;line-height:1.3;color:#c7d8ed!important}
  html[data-theme="light"] .homeV2.homeV2--boostEra.homeV2--realisticV5 .homeV2AllCategories__item small{color:#40546b!important}
  html[data-theme] .categoryDirectoryV2 .categoryDirectoryV2__cardBody{
    position:relative!important;inset:auto!important;align-self:end;margin-top:80px;padding:14px!important;
    background:rgba(5,15,28,.94)!important;gap:8px!important;
  }
  html[data-theme] .categoryDirectoryV2 .categoryDirectoryV2__cardBody :is(strong,em,small){color:#fff!important;opacity:1!important;white-space:normal!important}
  html[data-theme] .categoryDirectoryV2 .categoryDirectoryV2__cardBody strong{font-size:18px!important;line-height:1.25!important}
  html[data-theme] .categoryDirectoryV2 .categoryDirectoryV2__cardBody :is(em,small){font-size:13px!important;line-height:1.5!important}
  html[data-theme] .categoryDirectoryV2 .categoryDirectoryV2__card{display:grid!important;height:auto!important;min-height:0!important;padding:0!important}
  html[data-theme="light"] .categoryDirectoryV2 :is(.categoryDirectoryV2__groupTitle,.categoryDirectoryV2__heroCopy > span){color:#655029!important;font-size:12px!important}
  html[data-theme="light"] .categoryDirectoryV2 .categoryDirectoryV2__heroCopy > span{background:#fff;border-radius:8px;padding:6px 9px;display:inline-block}
}
