/*
 * 設計提醒：野戰指揮圖風格。以暖灰地圖紙、戰術青綠與墨藍描邊維持高可讀性；
 * CSS 只負責全螢幕容器與可存取性，所有玩家可見介面都由 Canvas 響應式繪製。
 */

:root {
  color-scheme: light;
  background: #e8e5cc;
}

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

html,
body,
#game-shell {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #e8e5cc;
  color: #253a47;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

#game-shell {
  position: relative;
  display: grid;
  place-items: stretch;
  overscroll-behavior: none;
}

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

@media (prefers-reduced-motion: reduce) {
  #game-canvas {
    image-rendering: auto;
  }
}
