/* Global reset and layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
  background: #f7f7fb;
  color: #111;
}

.container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: max-content;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
}

.container button {
  padding: 1rem;
  min-width: 36px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f3f4f6;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.container.deselecting {
  cursor: not-allowed;
}

.container.deselecting button {
  pointer-events: none;
  opacity: 0.6;
}

.container button:hover {
  filter: brightness(0.98);
}
