.app-shell{background:var(--app-surface);flex-direction:column;width:100%;height:100%;display:flex}.app-shell .shell-container,.app-shell .lobby-layer{flex-direction:column;flex:1;min-height:0;display:flex}.app-shell .lobby-hidden{content-visibility:hidden}.app-shell .page-layer{display:contents}.app-shell .page-layer.over-lobby{inset:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);z-index:100;background:var(--app-surface);flex-direction:column;display:flex;position:fixed}.app-shell .shell-content{background:var(--app-surface);flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden auto}.app-shell .shell-content:has(>.page-layer .board-wrapper){overflow:visible}.app-shell .shell-content:has(>.page-layer .tsumego-lobby,>.page-layer .tsumego-page,>.page-layer .contact-page){scrollbar-gutter:stable}@media (pointer:coarse){.app-shell:has(.lobby-layer:not(.lobby-hidden),.page-layer .pro-games-page){flex:1;height:auto}.app-shell:has(.lobby-layer:not(.lobby-hidden),.page-layer .pro-games-page) .shell-content{overflow:visible}.app-shell:has(.lobby-layer:not(.lobby-hidden),.page-layer .pro-games-page):before{content:"";z-index:10;height:env(safe-area-inset-top);background:var(--app-surface-accent);position:fixed;inset:0 0 auto}}
