.sm-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(380px, 88vw);
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-select: none;
}

.sm-board.fail {
  animation: sm-fail 0.5s;
}

.sm-pad {
  border: 0;
  cursor: pointer;
  opacity: 0.55;
  filter: saturate(0.8);
  transition: opacity 0.08s, filter 0.08s, transform 0.08s;
  touch-action: manipulation;
}

.sm-pad.lit {
  opacity: 1;
  filter: saturate(1.3) brightness(1.25);
  transform: scale(0.97);
  box-shadow: 0 0 30px currentColor;
}

.sm-pad:nth-child(1) {
  border-radius: 100% 0 0 0;
  background: #22c55e;
  color: #22c55e;
}

.sm-pad:nth-child(2) {
  border-radius: 0 100% 0 0;
  background: #ef4444;
  color: #ef4444;
}

.sm-pad:nth-child(3) {
  border-radius: 0 0 0 100%;
  background: #facc15;
  color: #facc15;
}

.sm-pad:nth-child(4) {
  border-radius: 0 0 100% 0;
  background: #3b82f6;
  color: #3b82f6;
}

.sm-center {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 10px var(--surface-2);
  color: var(--text);
  font-size: clamp(1.4rem, 7vw, 2.4rem);
  font-weight: 900;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

@keyframes sm-fail {
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}
