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);
}

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

.hint {
  margin: 0;
  padding: 0 8px;
  text-align: center;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 247, 230, 0.72);
}

.inputLine {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: #fff7e6;
}

.inputUnit {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 247, 230, 0.7);
}

.plans {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.06);
  transform: scale(1);
  transition: background 220ms cubic-bezier(0.2, 1.4, 0.4, 1), transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.plan.is-match {
  background: #0a4fe8;
  transform: scale(1.05);
}

.planName {
  font-weight: 700;
  font-size: 12px;
  color: #fff7e6;
}

.planLimit {
  font-weight: 400;
  font-size: 9px;
  color: rgba(255, 247, 230, 0.7);
}

.chip {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

@media (max-width: 340px) {
  .panel {
    max-width: 280px;
    gap: 4px;
  }
  .hint {
    font-size: 9px;
  }
  .planName {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan {
    transition: none;
  }
}
