/* R41: the Lobby grid remains within the viewport; scroll only card/message lists. */
body.sb-photo892 .sb-r41-mobile-panes{display:none}
@media (min-width:1161px){
 html:has(body.sb-photo892){height:100%;overflow:hidden!important}
 body.sb-photo892{height:100dvh!important;overflow:hidden!important}
 body.sb-photo892 .app-shell{height:100dvh!important;min-height:0!important;max-height:100dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.sb-photo892 .app-shell>.topbar{flex:0 0 auto!important}
 body.sb-photo892 .app-shell>.lobby-grid{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;margin:10px auto 10px!important;align-items:stretch!important;overflow:hidden!important}
 body.sb-photo892 .app-shell .center-column,body.sb-photo892 .app-shell .right-column{height:100%!important;min-height:0!important;overflow:hidden!important}
 body.sb-photo892 .app-shell .tables-panel{height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
 body.sb-photo892 .app-shell .tables-panel>.panel-heading{flex:0 0 auto!important;min-height:0!important;margin-bottom:10px!important}
 body.sb-photo892 .app-shell .tables-panel>.premium-table-toolbar{flex:0 0 auto!important;margin-bottom:11px!important}
 body.sb-photo892 .app-shell .tables-panel>.premium-tables-grid{flex:1 1 0!important;min-height:0!important;max-height:100%!important;height:auto!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;align-content:start!important}
 body.sb-photo892 .app-shell .premium-tables-grid:has(>.empty-state:only-child){grid-auto-rows:minmax(0,1fr)!important}
 body.sb-photo892 .app-shell .premium-tables-grid>.empty-state:only-child{min-height:0!important;height:100%!important}
 body.sb-photo892 .app-shell .right-column{display:flex!important;position:static!important;top:auto!important}
 body.sb-photo892 .app-shell .right-column>.chat-panel.sb-trio-lobby{height:100%!important;max-height:100%!important;min-height:0!important;flex:1 1 auto!important}
}
@media (max-width:1160px){
 html:has(body.sb-photo892){height:100%;overflow:hidden!important}
 body.sb-photo892{height:100dvh!important;overflow:hidden!important}
 body.sb-photo892 .app-shell{height:100dvh!important;min-height:0!important;max-height:100dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
 body.sb-photo892 .app-shell>.topbar{flex:0 0 auto!important}
 body.sb-photo892 .app-shell>.lobby-grid{width:calc(100% - 24px)!important;flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;margin:8px auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:40px minmax(0,1fr)!important;gap:7px!important;overflow:hidden!important}
 body.sb-photo892 .sb-r41-mobile-panes{grid-row:1;grid-column:1;display:flex;gap:5px;align-items:center;width:100%;height:40px;padding:3px;border:1px solid #baa06c55;border-radius:12px;background:#0b2117}
 body.sb-photo892 .sb-r41-mobile-panes button{width:50%;height:32px;border:0;border-radius:9px;background:transparent;color:#d0dccc;font-size:.78rem;font-weight:750;cursor:pointer}
 body.sb-photo892 .sb-r41-mobile-panes button.is-active{background:linear-gradient(115deg,#f2d392,#c6a15e);color:#20190c}
 body.sb-photo892 .app-shell .center-column,body.sb-photo892 .app-shell .right-column{grid-row:2!important;grid-column:1!important;height:100%!important;width:100%!important;max-width:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;position:static!important}
 body.sb-photo892[data-sb-r41-pane=tables] .app-shell .right-column{display:none!important}
 body.sb-photo892[data-sb-r41-pane=chat] .app-shell .center-column{display:none!important}
 body.sb-photo892 .app-shell .tables-panel{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}
 body.sb-photo892 .app-shell .tables-panel>.panel-heading{flex:0 0 auto!important;margin-bottom:9px!important}
 body.sb-photo892 .app-shell .tables-panel>.premium-table-toolbar{flex:0 0 auto!important;margin-bottom:9px!important}
 body.sb-photo892 .app-shell .tables-panel>.premium-tables-grid{flex:1 1 0!important;height:auto!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overscroll-behavior:contain;align-content:start!important;scrollbar-width:thin}
 body.sb-photo892 .app-shell .premium-tables-grid:has(>.empty-state:only-child){grid-auto-rows:minmax(0,1fr)!important}
 body.sb-photo892 .app-shell .premium-tables-grid>.empty-state:only-child{min-height:0!important;height:100%!important}
 body.sb-photo892 .app-shell .right-column{display:flex!important}
 body.sb-photo892 .app-shell .right-column>.chat-panel.sb-trio-lobby{height:100%!important;min-height:0!important;max-height:100%!important;flex:1 1 auto!important}
}
@media(max-height:460px){body.sb-photo892 .app-shell .tables-panel>.panel-heading{margin-bottom:3px!important}}
