* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { height: 100%; }

body {
  background: radial-gradient(120% 100% at 50% 0%, #0b1030 0%, #05060f 60%, #03030a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

#stage { position: relative; }

canvas#game {
  display: block;
  max-width: 100vw;               /* 具体尺寸由 main.js 按窗口纵横比动态设定（竖屏适配） */
  max-height: 100vh;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.35),
    0 0 24px rgba(0, 240, 255, 0.25),
    0 0 64px rgba(255, 46, 196, 0.18),
    0 12px 60px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  background: #05060f;
  -webkit-tap-highlight-color: transparent; /* 关闭移动端点击时的蓝色高亮 */
  -webkit-touch-callout: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
