html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #0b1016;
  color: #e8eef6;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0b1016;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: crosshair;
}

#rotate-tip {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #0b1016;
  color: #dbe6f2;
  font-size: 18px;
  letter-spacing: 2px;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.8;
}

/* 仅在竖屏窄屏手机上提示横屏 */
@media screen and (orientation: portrait) and (max-width: 900px) {
  #rotate-tip { display: flex; }
}
