/* /css/v2-alpha3.css
 * Alpha.3 interaction reliability fixes.
 */

body.pps-shell .topbar {
  z-index: 9000;
  isolation: isolate;
  pointer-events: auto;
}

body.pps-shell .topbar-actions,
body.pps-shell .topbar-actions > *,
body.pps-shell .auth-area,
body.pps-shell .auth-area > * {
  position: relative;
  pointer-events: auto;
}

body.pps-shell .stage-frame,
body.pps-shell #game {
  box-sizing: border-box;
}

body.pps-shell #game {
  display: block;
  object-fit: fill;
  touch-action: none;
}

body.m-shell .m-topbar,
body.m-shell .m-nav,
body.m-shell .m-nav-sheet {
  pointer-events: auto;
}

body.m-shell .m-nav-sheet {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

/* Keep visible keyboard focus on the controls repaired in alpha.3. */
.topbar button:focus-visible,
.topbar [role="button"]:focus-visible,
.m-nav-sheet button:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}
