html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button,
[role="button"],
.game-button,
.choice-btn,
.mobile-control-btn,
.cell,
canvas,
[data-game-surface] {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

button,
[role="button"],
.choice-btn,
.mobile-control-btn,
.cell,
canvas {
  -webkit-user-select: none;
  user-select: none;
}

canvas,
[data-game-surface="locked"] {
  touch-action: none;
}

input,
select,
textarea {
  font-size: max(16px, 1em);
}

html.game-play-page,
html.game-play-page body {
  overscroll-behavior: none;
}

@supports (height: 100dvh) {
  html.game-play-page,
  html.game-play-page body {
    min-height: 100dvh;
  }

  [data-game-fullscreen] {
    height: 100dvh;
  }
}

@media (max-width: 768px) {
  button,
  [role="button"],
  .choice-btn,
  .mobile-control-btn {
    min-height: 44px;
  }
}
