body {
  margin: 0 !important;
}

.app-wrapper {
  overflow: auto !important;
}

.application {
  width: 100%;
  aspect-ratio: 645/900;
  background: var(--app-page-background, transparent);
}

#game-container {
  position: relative;
}

#game-container canvas {
  width: 100% !important;
  max-width: 645px;
  max-height: 900px;
  aspect-ratio: 645/900;
  touch-action: none;
  display: block;
}

#game-container .action {
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--app-action-text, #000);
  background-color: var(--app-action-background, #ce9e01);
  font-size: 18px;
  padding: 15px 30px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
  position: absolute;
  bottom: 22px;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

@media only screen and (max-width: 700px) {
  #game-container .action {
    bottom: 15px;
  }
}
#game-container .action:hover {
  background-color: var(--app-action-hover, #33ccff);
}
