/* JOGO × TSC V11 · four-role sidebar stability & full gold brand outline
   Responsive presentation only; no changes to data, permissions, routing or brand artwork.
   Fixes flex child shrink in a fixed-height scrolling sidebar (expanded menus overlapped). */
@media (min-width:731px){
  /* The sidebar owns its scroll. Its children must never shrink when expanded. */
  #root .shell>.sidebar{
    display:flex!important;
    flex-direction:column!important;
    top:0!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    box-sizing:border-box!important;
    padding-top:14px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    scrollbar-gutter:stable;
    align-items:stretch!important;
  }
  #root .shell>.sidebar> :is(
    .brand,.role-label,.nav,.v46-nav-block,.v46-nav-separator,.side-foot
  ){
    flex-grow:0!important;
    flex-shrink:0!important;
    min-width:0!important;
  }
  #root .shell>.sidebar>.brand.tsc-logo-v2{
    flex:0 0 auto!important;
    margin-top:0!important;
    border:1px solid rgba(233,193,112,.83)!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  #root .shell>.sidebar .v46-nav-block{
    display:block;
    flex:0 0 auto!important;
    height:auto!important;
    min-height:0;
    overflow:visible!important;
  }
  #root .shell>.sidebar .v46-parent{
    display:flex!important;
    width:100%;
    flex-shrink:0!important;
  }
  #root .shell>.sidebar .v46-children:not([hidden]){
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  #root .shell>.sidebar .v46-children[hidden]{
    display:none!important;
  }
  #root .shell>.sidebar>.nav{
    height:auto!important;
    flex:0 0 auto!important;
  }
  #root .shell>.sidebar>.side-foot{
    margin-top:auto;
    flex:0 0 auto!important;
    height:auto!important;
  }
}
@media (min-width:731px) and (max-width:1100px){
  #root .shell>.sidebar{
    padding-top:9px!important;
  }
  #root .shell>.sidebar>.brand.tsc-logo-v2{
    border-radius:10px!important;
  }
  /* Narrow icon menu keeps its expanded children scrollable in the parent. */
  #root .shell>.sidebar .v46-children:not([hidden]){
    min-width:0;
  }
}
@media (max-width:730px){
  /* The header belongs in the top main area; bottom nav stays unmodified. */
  #root .shell>.main>.tsc-logo-v2-mobile{
    margin-top:12px!important;
    border:1px solid rgba(233,193,112,.86)!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  #root .shell>.sidebar>.brand.tsc-logo-v2{
    display:none!important;
  }
}
@media(max-width:365px){
  #root .shell>.main>.tsc-logo-v2-mobile{
    margin-top:9px!important;
    border-radius:15px!important;
  }
}

