html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  overflow: hidden;
  background: #0b2f33;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  touch-action: none;
}

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

.header,
.footer {
  display: none !important;
}

#GameDiv {
  /* Cocos sizes the backing canvas from the browser viewport. Keep the CSS
     frame on that same viewport so a landscape desktop frame is not squeezed
     into a portrait DOM box. SHOW_ALL handles the 9:16 game letterboxing. */
  position: fixed !important;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none;
  max-height: none;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none;
}

#Cocos3dGameContainer,
#GameCanvas {
  width: 100% !important;
  height: 100% !important;
}

canvas {
  display: block;
  background: transparent;
}
