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

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

.wrap {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.supportBadge {
  align-self: flex-start;
  color: #fff7e6;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 247, 230, 0.12);
  border-radius: 4px;
  padding: 4px 8px;
}
.supportBadge.fallback {
  background: rgba(201, 48, 0, 0.5);
}

.cards {
  display: flex;
  gap: 12px;
}

.cardCol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.colLabel {
  color: #fff7e6;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  width: 120px;
}

.card {
  width: 100px;
  height: 100px;
  background: #c93000;
  cursor: pointer;
  transition: border-radius 300ms ease-out;
}

@supports (corner-shape: squircle) {
  .cardShape {
    corner-shape: squircle;
  }
}
.readout {
  color: #fff7e6;
  font-size: 11px;
}

@media (max-width: 340px) {
  .wrap {
    width: 260px;
    gap: 8px;
  }
  .cards {
    gap: 8px;
  }
  .card {
    width: 72px;
    height: 72px;
  }
  .colLabel {
    width: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}
