* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  background: #0b0f14;
  overflow: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
#wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 4:7 竖屏，按高度自适应，宽度随之 */
#game {
  height: 100vh;
  width: auto;
  aspect-ratio: 640 / 1120;
  max-width: 100vw;
  background: #0d1117;
  touch-action: none;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}
