/* Tank Command RTS (2D canvas, arcade-kit stage; DOM stats bar above, command + build buttons below; result card from sim3d.css) */
#game-root .sim-controls-help { margin-top: 14px; }
.tcr-hud, .tcr-cmd, .tcr-prod { width: 100%; align-self: stretch; box-sizing: border-box; }
.tcr-hud { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tcr-stats { font: 800 16px system-ui, sans-serif; white-space: pre; }
.tcr-tb { display: flex; gap: 6px; }
.tcr-tb button { background: rgba(15,23,42,.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; }
.tcr-wrap { position: relative; width: 100%; user-select: none; -webkit-user-select: none; }
.tcr-wrap .ak-stage { border-radius: 14px; overflow: hidden; cursor: crosshair; touch-action: none; }
.tcr-wrap > .sim-result { border-radius: 14px; }
.tcr-cmd { display: grid; grid-template-columns: 1fr 1.3fr 1fr auto; gap: 8px; margin-top: 10px; }
.tcr-cmd .btn { justify-content: center; min-height: 46px; }
.tcr-prod { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.tcr-b { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border-radius: 14px; border: 2px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: inherit; font: 800 13px system-ui, sans-serif; cursor: pointer; text-align: center; }
.tcr-b:hover:not(:disabled) { border-color: rgba(103,232,249,.7); }
.tcr-b:focus-visible { outline: 3px solid #67e8f9; outline-offset: 2px; }
.tcr-b:disabled { opacity: .5; cursor: default; }
.tcr-b__ic { font-size: 24px; line-height: 1; }
.tcr-b__c { color: #67e8f9; font-weight: 700; }
.tcr-b__q { min-height: 15px; font-size: 12px; color: #fde047; }
.tcr-b kbd { position: absolute; right: 5px; top: 4px; font-size: 10px; opacity: .5; }
@media (max-width: 560px) {
  .tcr-stats { font-size: 12px; white-space: normal; word-spacing: -2px; min-width: 0; }
  .tcr-tb { flex-shrink: 0; gap: 4px; }
  .tcr-tb button { padding: 6px 8px; }
  .tcr-cmd { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; }
  .tcr-cmd .btn { padding: 8px 6px; font-size: 14px; min-width: 0; }
  .tcr-cmd .btn:last-child { width: 44px; padding: 0; }
  .tcr-stats { word-spacing: -1px; }
  .tcr-prod { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .tcr-b { padding: 6px 2px; font-size: 11px; }
  .tcr-b__nm { display: none; }
  .tcr-b kbd { display: none; }
}
@media (pointer: coarse) { .tcr-b kbd { display: none; } }
