/* Mobile match play: scroll fallback without changing canvas hit coordinates. */
@media (max-width:900px) and (pointer:coarse){
 body.public-page.page-route-match{touch-action:pan-y!important}
 body.public-page.page-route-match:not(.kd-play-mode-open){overflow-y:auto!important;height:auto!important}
 body.public-page.page-route-match #dartGame,
 body.public-page.page-route-match #dartGame .darts-live,
 body.public-page.page-route-match #dartGame .play-grid,
 body.public-page.page-route-match #dartGame .active-board-panel{touch-action:pan-y!important}
 body.public-page.page-route-match.kd-play-mode-open>.game-card.kd-play-mode-card{
  height:100vh!important;height:100dvh!important;min-height:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important;
  overscroll-behavior-y:contain!important;
 }
 body.public-page.page-route-match #dartGame.kd-play-mode-active,
 body.public-page.page-route-match #dartGame.kd-play-mode-active .darts-live,
 body.public-page.page-route-match #dartGame.kd-play-mode-active .play-grid,
 body.public-page.page-route-match #dartGame.kd-play-mode-active .active-board-panel{
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
 }
 body.public-page.page-route-match #dartGame.kd-play-mode-active .active-board-panel{flex:0 0 auto!important}
 body.public-page.page-route-match #dartGame.kd-play-mode-active canvas[data-board]{
  width:min(100%,max(220px,calc(100vh - 190px)))!important;
  width:min(100%,max(220px,calc(100dvh - 190px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))))!important;
  height:auto!important;aspect-ratio:1/1!important;min-height:0!important;
  max-width:100%!important;max-height:none!important;flex:0 0 auto!important;
  touch-action:none!important;margin-inline:auto!important;
 }
 body.public-page.page-route-match #dartGame.kd-play-mode-active .active-throw-panel{
  position:relative!important;inset:auto!important;flex:0 0 auto!important;
 }
 body.public-page.page-route-match #dartGame.kd-play-mode-active>.kd-play-mode-exit{
  position:fixed!important;top:max(8px,env(safe-area-inset-top,0px))!important;right:8px!important;
 }
}
