/* 植物大战僵尸 · 页面样式（游戏本体全部绘制在 Canvas 内） */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d1a10;
  background-image:
    radial-gradient(ellipse at 50% 40%, #1c3524 0%, #0d1a10 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 2px, transparent 2px 14px);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

#stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

canvas#game {
  display: block;
  border-radius: 10px;
  box-shadow:
    0 0 0 3px #3a5a2e,
    0 0 0 6px #24401c,
    0 24px 80px rgba(0, 0, 0, .65),
    0 0 120px rgba(80, 160, 60, .12);
  image-rendering: auto;
  cursor: default;
}
