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

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

.gp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.gp__hint {
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.6vw, 12px);
  line-height: 1.35;
  color: #17141a;
  text-align: center;
}

.gp__field {
  position: relative;
  width: clamp(180px, 44vw, 240px);
  height: clamp(120px, 30vw, 150px);
  display: grid;
  place-items: center;
}

.gp__world {
  position: relative;
  transform-style: preserve-3d;
  width: 1px;
  height: 1px;
}

.gp__tile {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--tw) * 1px - 3px);
  height: calc(var(--th) * 1px - 3px);
  transform: translate3d(var(--tx), var(--ty), var(--tz, 0px)) translate(-50%, -50%);
  background: #4cd4a6;
  border: 1px solid rgba(23, 20, 26, 0.3);
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.gp__meta {
  margin: 0;
  font-size: clamp(9px, 2.4vw, 11px);
  color: rgba(23, 20, 26, 0.78);
}

.gp__count {
  font-weight: 800;
  color: #2f6df6;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.gp__metaUnit {
  color: rgba(23, 20, 26, 0.72);
}

@media (max-width: 340px) {
  .gp {
    gap: 4px;
  }
  .gp__field {
    width: 156px;
    height: 108px;
  }
  .gp__hint {
    font-size: 8px;
  }
  .gp__meta {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gp.is-still .gp__tile {
    transition: none;
  }
}
