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

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

.scol {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scol__badge {
  box-sizing: border-box;
  width: 66px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px dashed rgba(36, 29, 46, 0.55);
  border-radius: 50%;
  color: #241d2e;
  box-shadow: 0 4px 0 rgba(36, 29, 46, 0.16);
  animation-name: stampPress;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-iteration-count: infinite;
}

.scol__badge--lemon {
  --rot: -12deg;
  background: #d1c8a3;
}

.scol__badge--lime {
  --rot: 8deg;
  background: #bfce9c;
  animation-delay: -0.5s;
}

.scol__badge--blush {
  --rot: -6deg;
  background: #ffb3c7;
  animation-delay: -1s;
}

.scol__badge--sheet {
  --rot: 10deg;
  background: #ffffff;
  animation-delay: -1.5s;
}

.scol__icon {
  font-size: 22px;
  line-height: 1;
}

.scol__word {
  font-family: Georgia, "Nanum Myeongjo", "Times New Roman", serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
}

@keyframes stampPress {
  0%, 55%, 100% {
    transform: rotate(var(--rot)) scale(1);
  }
  8% {
    transform: rotate(var(--rot)) scale(0.55);
  }
  20% {
    transform: rotate(var(--rot)) scale(1.16);
  }
  32% {
    transform: rotate(var(--rot)) scale(1);
  }
}
@media (max-width: 360px), (max-height: 230px) {
  .scol {
    gap: 8px;
  }
  .scol__badge {
    width: 52px;
  }
  .scol__icon {
    font-size: 16px;
  }
  .scol__word {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scol__badge {
    animation: none !important;
    transform: rotate(var(--rot));
  }
}
