html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.gr {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gr__hint {
  margin: 0;
  padding: 0 4px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: #17141a;
}

.gr__board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: #fff7e6;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.gr__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 64px;
  border-radius: 12px;
  background: #ffffff;
  cursor: grab;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gr__cell:hover {
  transform: scale(1.05);
  transform-origin: center;
}

.gr__dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
}

.gr__dot--a {
  background: #d6e2eb;
}

.gr__dot--b {
  background: #93d9c0;
}

.gr__dot--c {
  background: #cbb9f0;
}

.gr__dot--d {
  background: #ebe3d6;
}

.gr__dot--e {
  background: #f0c0b3;
}

.gr__dot--f {
  background: #f4b3c6;
}

.gr__lbl {
  font-weight: 700;
  font-size: 10px;
  line-height: 1.2;
  color: #17141a;
}

.gr__meta {
  margin: 0;
  padding: 0 4px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.gr__state {
  font-weight: 700;
  font-size: 12px;
  color: #17141a;
}

.gr__unit {
  font-weight: 400;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.72);
}

@media (max-width: 340px) {
  .gr {
    max-width: 280px;
    gap: 4px;
  }
  .gr__hint {
    font-size: 10px;
  }
  .gr__board {
    padding: 4px;
    gap: 4px;
  }
  .gr__cell {
    height: 40px;
  }
  .gr__dot {
    width: 16px;
    height: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gr__cell {
    transition: none !important;
    transform: none !important;
  }
}
