/* Quoridor — barvy a ovládací lišta (základ v /shared/arena.css). */
:root {
  --bg: #0d0b14;
  --panel: rgba(26, 20, 40, .76);
  --line: rgba(200, 162, 255, .16);
  --line-hot: rgba(200, 162, 255, .42);
  --text: #efe9fb;
  --muted: #9a8fb3;
  --accent: #c8a2ff;
  --accent-2: #ffd23f;
  --go: #9dff6b;
  --accent-ink: #120a20;
}

.qbar {
  position: absolute; left: 0; right: 0; bottom: max(12px, env(safe-area-inset-bottom));
  margin: 0 auto;
  width: fit-content;
  z-index: 25;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  max-width: calc(100vw - 20px);
  padding: 8px;
  background: rgba(13, 11, 20, .86);
  border: 1px solid var(--line-hot);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.qbtn {
  min-width: 96px; padding: 12px 16px;
  font: 700 15px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-hot);
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.qbtn.sel { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.qbtn:disabled { opacity: .4; cursor: not-allowed; }
.qbtn-ok { color: #06130b; background: var(--go); border-color: var(--go); }
.qcnt {
  display: inline-block; min-width: 20px; margin-left: 4px; padding: 2px 5px;
  border-radius: 6px; background: rgba(0, 0, 0, .25); font-size: 12px;
}
.qhint { font-size: 13px; color: var(--muted); padding: 0 6px; }
@media (max-width: 560px) {
  .qhint { flex-basis: 100%; text-align: center; padding: 2px 0 0; }
}

@media (max-height: 430px) {
  .qbtn { min-width: 80px; padding: 10px 12px; font-size: 14px; }
}
