/* Y8 build: hide features that need our own servers or leave the game */
#btn-account,#btn-gems,#btn-share,#btn-share2,#btn-card,.mfoot a{display:none!important}
html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}
body{position:fixed;inset:0;touch-action:manipulation}
/* phones held sideways / short landscape frames: board on the left, controls on the right */
@media (orientation:landscape) and (max-height:620px){
 #app{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,360px);grid-auto-rows:min-content;align-content:center;column-gap:18px;row-gap:6px;
  padding:max(6px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 #app>*{grid-column:2;min-width:0}
 #app>.stage{grid-column:1;width:100%;grid-row:1/span 12;height:calc(100dvh - 16px);padding:0;margin:0}
 #app>.foot{display:none}
 #app>.actions{margin-top:4px}
}
@media (orientation:landscape) and (max-height:420px){
 .brand h1{font-size:17px}.mode{padding-top:6px;padding-bottom:6px}.scorebar .val{font-size:22px}.pu{height:50px}
}
