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

.fcol {
  position: relative;
  box-sizing: border-box;
  width: clamp(232px, 80vw, 312px);
  overflow: hidden;
  padding: 20px 16px 16px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 5px 0 rgba(36, 29, 46, 0.16);
  isolation: isolate;
}

.fcol__word {
  position: absolute;
  z-index: 0;
  left: -12px;
  bottom: -16px;
  color: rgba(36, 29, 46, 0.1);
  font-family: Georgia, "Nanum Myeongjo", "Times New Roman", serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fcol__brand {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #241d2e;
  font-family: Georgia, "Nanum Myeongjo", "Times New Roman", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transform: rotate(-1.5deg);
}

.fcol__rule {
  position: relative;
  z-index: 1;
  display: block;
  height: 3px;
  margin: 12px 0;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #bb7f74 0 10px, transparent 10px 18px);
}

.fcol__cols {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
}

.fcol__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #57506a;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.8;
}

.fcol__chips {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.fcol__chip {
  width: 30px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 3px 0 rgba(36, 29, 46, 0.18);
  animation-name: chipBob;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

.fcol__chip--coral {
  --rot: -8deg;
  background: #bb7f74;
}

.fcol__chip--lemon {
  --rot: 6deg;
  background: #d1c8a3;
  animation-delay: -0.5s;
}

.fcol__chip--lime {
  --rot: -4deg;
  background: #bfce9c;
  animation-delay: -1s;
}

.fcol__chip--sky {
  --rot: 9deg;
  background: #668cb4;
  animation-delay: -1.5s;
}

@keyframes chipBob {
  0%, 100% {
    transform: translateY(0) rotate(var(--rot));
  }
  50% {
    transform: translateY(-9px) rotate(calc(var(--rot) * -1));
  }
}
@media (max-width: 360px), (max-height: 230px) {
  .fcol {
    width: 236px;
    padding: 12px;
  }
  .fcol__word {
    font-size: 44px;
  }
  .fcol__brand {
    font-size: 12px;
  }
  .fcol__rule {
    margin: 8px 0;
  }
  .fcol__cols {
    gap: 16px;
  }
  .fcol__list {
    font-size: 11px;
    line-height: 1.6;
  }
  .fcol__chips {
    margin-top: 8px;
  }
  .fcol__chip {
    width: 24px;
    height: 18px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fcol__chip {
    animation: none !important;
    transform: rotate(var(--rot));
  }
}
