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

.dcf {
  width: 100%;
  max-width: 220px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.dcf__badge {
  position: relative;
  overflow: hidden;
  width: 140px;
  height: 56px;
  border-radius: 16px;
  background: #4cd4a6;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 220ms ease-out, transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.dcf--on .dcf__badge {
  opacity: 1;
  transform: scale(1);
}

.dcf__sweep {
  position: absolute;
  top: -20%;
  left: 0;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, rgba(255, 247, 230, 0), rgba(255, 247, 230, 0.8), rgba(255, 247, 230, 0));
  opacity: 0;
  pointer-events: none;
}

.dcf__text {
  font: 700 15px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
}

.dcf__btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 8px 16px;
  background: #fff7e6;
  color: #17141a;
  font: 700 12px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.dcf__btn:active {
  transform: scale(0.96);
}

@media (max-width: 340px) {
  .dcf {
    max-width: 180px;
  }
  .dcf__badge {
    width: 120px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dcf__badge, .dcf__btn {
    transition: none;
  }
}
