@media(max-width:768px){
  body.game-mobile-open{overflow:hidden;overscroll-behavior:none}
  .game-panel.game-mobile-fullscreen{position:fixed;inset:0;z-index:12000;width:100%;height:100vh;height:100dvh;max-height:none;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:calc(env(safe-area-inset-top,0px) + 58px) 12px calc(env(safe-area-inset-bottom,0px) + 20px);border:0;border-radius:0;background:var(--surface);box-shadow:none;animation:none}
  .game-mobile-close{position:fixed;z-index:12001;top:calc(env(safe-area-inset-top,0px) + 10px);right:12px;height:40px;min-width:72px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 12px;border:0;border-radius:20px;background:rgba(15,23,42,.92);color:#fff;font:inherit;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.25)}
  .game-mobile-close span{font-size:25px;line-height:1}
  .game-mobile-close b{font-size:12px}
  .game-mobile-fullscreen .game-head{padding-right:0}
}
