/* AppLabatory — shared web touch layer styles (added 2026-11-17). */
#game { touch-action: none; }
#tc-layer {
  position: fixed; inset: 0;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: system-ui, sans-serif;
  pointer-events: none;
}
#tc-move { position: absolute; left: 0; top: 0; bottom: 0; width: 45%; touch-action: none; pointer-events: auto; }
#tc-stick {
  position: absolute; width: 124px; height: 124px;
  margin: -62px 0 0 -62px;
  border: 2px solid rgba(255, 255, 255, 0.35); border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: none; pointer-events: none; touch-action: none;
}
#tc-knob {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
#tc-steer { position: absolute; left: 14px; bottom: 22px; display: flex; gap: 12px; pointer-events: none; }
.tc-pad {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 16, 12, 0.38);
  color: #ffe2b0; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  text-shadow: 0 1px 2px #000;
  touch-action: none; pointer-events: auto;
}
.tc-pad.on { background: rgba(255, 150, 50, 0.45); }
.tc-btn {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 16, 12, 0.38);
  color: #ffe2b0; font-weight: 700; letter-spacing: 0.03em;
  display: flex; align-items: center; justify-content: center; text-align: center;
  text-shadow: 0 1px 2px #000;
  touch-action: none; pointer-events: auto;
  width: 72px; height: 72px; font-size: 12px; padding: 4px; box-sizing: border-box;
}
/* per-game button slots (up to 3, stacked from bottom-right) */
.tc-btn[data-i="0"] { right: 22px; bottom: 24px; }
.tc-btn[data-i="1"] { right: 108px; bottom: 24px; width: 62px; height: 62px; font-size: 11px; }
.tc-btn[data-i="2"] { right: 22px; bottom: 112px; width: 62px; height: 62px; font-size: 11px; }
.tc-btn.on { background: rgba(255, 150, 50, 0.45); }
