html {
  -ms-touch-action: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000 url("img/web_bg.jpg") center center / cover no-repeat;
}

body, canvas, div {
  display: block;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-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;
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  cursor: default;
  color: #888;
  background: transparent;
  text-align: center;
  font-family: Helvetica, Verdana, Arial, sans-serif;
  overflow: hidden;
}

canvas {
  background-color: transparent !important;
}

#mainBg {
  position: fixed;
  inset: 0;
  display: flex !important;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

#mainBgStretch {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("img/web_bg.jpg") center center no-repeat;
  background-size: cover;
}

#gameFrame {
  width: 720px;
  height: 1280px;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: url("img/web_bg.jpg") center center / cover no-repeat;
}

#GameDiv {
  width: 100%;
  height: 100%;
  position: relative;
  background: transparent;
}

#Cocos3dGameContainer,
#GameCanvas {
  width: 100%;
  height: 100%;
  background: transparent !important;
}

:root {
  --safe-top: env(safe-area-inset-top);
  --safe-right: env(safe-area-inset-right);
  --safe-bottom: env(safe-area-inset-bottom);
  --safe-left: env(safe-area-inset-left);
}
