html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  background-color: #000;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  text-align: center;
  position: fixed;
  inset: 0;
  overscroll-behavior: none;
  touch-action: none;
}

body, canvas, div {
  outline: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

canvas {
  background-color: #000;
  display: block;
}

#GameDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#Cocos3dGameContainer {
  background-color: #000;
  line-height: 0;
  font-size: 0;
  position: relative;
  width: 100%;
  height: 100%;
}

#GameCanvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}
