/* Только для VR Shoot; базовые стили — в ../engine/css/base.css */

/* ---------- кнопки уклонения на тач-экранах ---------- */

#touch-controls {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 6;
  pointer-events: none;
}
#touch-controls[hidden] { display: none; }
#touch-controls button {
  pointer-events: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: rgba(9, 13, 26, 0.6);
  color: var(--ink);
  font-size: 30px;
  touch-action: none;
  user-select: none;
}
#touch-controls button:active { background: rgba(90, 220, 255, 0.35); }

/* ---------- карточки сеттингов ---------- */

#env-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.env-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 8px 10px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.env-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); }
.env-card.active { border-color: var(--accent); background: rgba(90, 220, 255, 0.12); }
.env-card .thumb {
  display: block;
  height: 70px;
  border-radius: 9px;
  margin-bottom: 4px;
}
.env-card .name { font-weight: 700; font-size: 15px; }
.env-card .desc { font-size: 12px; line-height: 1.3; color: var(--muted); }

@media (max-width: 760px) {
  #env-cards { grid-template-columns: repeat(2, 1fr); }
  .env-card .thumb { height: 54px; }
}
