: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);
  background: #06151f;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #06151f;
  overscroll-behavior: none;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

body,
canvas,
div {
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

#GameDiv {
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #06151f;
}

#Cocos3dGameContainer {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #06151f;
}

#GameCanvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent;
  touch-action: none;
}

@media (min-aspect-ratio: 9 / 16) {
  #GameDiv {
    width:min(100vw,56.25vh) !important;
    height:100vh !important;
  }
}
