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

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

.stage {
  position: relative;
  overflow: hidden;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #17141a;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
}

.option__input {
  width: 16px;
  height: 16px;
  accent-color: #17141a;
}

.apply-bar {
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff7e6;
  color: #17141a;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform: translateY(100%);
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.apply-bar__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
}

.apply-bar__btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: #17141a;
  color: #fff7e6;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}

.stage.has-selection .apply-bar {
  transform: translateY(0);
}

.apply-bar.is-demo {
  animation-name: bar-loop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
}

@keyframes bar-loop {
  0%, 15% {
    transform: translateY(100%);
  }
  40%, 75% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}
@media (max-width: 340px) {
  .apply-bar {
    padding: 8px 12px;
  }
  .options {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .apply-bar {
    transition: none;
  }
  .apply-bar.is-demo {
    animation: none;
    transform: translateY(0);
    opacity: 0.96;
  }
}
