body {
  margin: 0;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #61593c;
}

/* 左上角状态面板 */
#status {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 99;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  pointer-events: none;
}

/* 手机端方向按钮 */
#mobileControls {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 100;
  display: grid;
  grid-template-columns: 60px 60px 60px;
  grid-template-rows: 60px 60px 60px;
  gap: 8px;
}

.moveBtn {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  font-size: 24px;
  font-weight: bold;
  user-select: none;
  touch-action: none;
}

.moveBtn:active {
  background: rgba(255, 210, 100, 0.85);
  transform: scale(0.96);
}

#forwardBtn {
  grid-column: 2;
  grid-row: 1;
}

#leftBtn {
  grid-column: 1;
  grid-row: 2;
}

#backBtn {
  grid-column: 2;
  grid-row: 2;
}

#rightBtn {
  grid-column: 3;
  grid-row: 2;
}

/* 电脑网页弹窗 */
.game-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 9999;
  min-width: 420px;
  max-width: 82%;

  padding: 26px 38px;
  text-align: center;

  background: rgba(20, 12, 4, 0.86);
  border: 2px solid rgba(255, 190, 80, 0.92);
  border-radius: 18px;

  color: #ffffff;
  box-shadow: 0 0 26px rgba(255, 160, 40, 0.82);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.game-popup.show {
  opacity: 1;
}

.popup-title {
  font-size: 26px;
  font-weight: bold;
  color: #ffd36b;
  margin-bottom: 12px;
  line-height: 1.45;
}

.popup-en {
  font-size: 18px;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: 0.4px;
}