/* Tank Maze Duel (2D canvas, arcade-kit stage) */
#game-root .sim-controls-help { margin-top: 14px; }
#game-root .tmd-skill { margin-top: 4px; }
.tmd-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin: 0 5px 0 8px; vertical-align: -1px; }
.tmd-wrap { position: relative; width: 100%; user-select: none; -webkit-user-select: none; }
.tmd-wrap .ak-stage { border-radius: 14px; overflow: hidden; touch-action: none; }
.tmd-hud { position: absolute; inset: 0; pointer-events: none; }
.tmd-hud .sim-banner { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); }
.tmd-tb { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.tmd-tb button { background: rgba(8, 16, 28, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 6px 10px; font: 700 14px system-ui, sans-serif; cursor: pointer; }
.tmd-pad { display: none; }
@media (pointer: coarse) {
  .tmd-pad { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; touch-action: none; }
  .tmd-stick { position: relative; width: 132px; height: 132px; border-radius: 50%; background: rgba(148, 163, 184, .16); border: 2px solid rgba(148, 163, 184, .45); touch-action: none; flex: none; }
  .tmd-stick span { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #22c55e; box-shadow: 0 3px 0 #15803d; pointer-events: none; }
  .tmd-fire { flex: 1; max-width: 220px; height: 96px; border-radius: 22px; border: 2px solid rgba(255, 255, 255, .25); background: #ea580c; color: #fff; font: 900 24px system-ui, sans-serif; touch-action: none; -webkit-tap-highlight-color: transparent; }
  .tmd-fire:active { background: #facc15; color: #111827; }
}
.tmd-wrap > .sim-result { border-radius: 14px; }
.tmd-board { list-style: none; padding: 0; margin: 8px auto; max-width: 260px; text-align: left; font-size: 17px; }
.tmd-board li { display: flex; align-items: center; gap: 6px; padding: 3px 0; }
.tmd-board b { margin-left: auto; }
.sim-result .tmd-tip { opacity: .8; font-size: 14px; }
