html{background:#0c0713}body{min-height:100dvh;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left);overscroll-behavior:none}button,select,input{touch-action:manipulation}.apple-mobile input,.apple-mobile select{font-size:16px}@media(max-width:760px){.welcome{min-height:100dvh}.welcome-head{position:relative}.lobby-layout{display:block}.room-browser{margin-bottom:10px}.room-filter{display:none}.empty-rooms{min-height:210px}.lobby-side{padding:12px}.online-list{max-height:150px;overflow:auto}.topbar{position:sticky;top:env(safe-area-inset-top);z-index:80;background:#0c0713eF;backdrop-filter:blur(10px)}.turn-banner{position:sticky;top:62px;z-index:50}.roll-btn{min-width:68px;min-height:68px}.waiting-dialog,.room-dialog{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}.waiting-stage{padding-bottom:calc(18px + env(safe-area-inset-bottom))}}@media(orientation:landscape) and (max-height:540px){.topbar{min-height:48px}.turn-banner{position:relative;top:auto}.board{width:min(76vh,100%)!important}.action-row{display:none}}
