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

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

.sh {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 424px;
}

.sh__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 800;
  font-size: clamp(12px, 3.2vw, 14px);
  color: #17141a;
}

.sh__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #17141a;
}

.sh__main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sh__cardBox {
  position: relative;
  display: block;
  flex: 0 0 auto;
}

.sh__canvas {
  display: block;
  width: 200px;
  height: 112px;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.sh__toast {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translate(-50%, 0);
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff7e6;
  color: #17141a;
  font-weight: 800;
  font-size: clamp(9px, 2.4vw, 11px);
  line-height: 1.6;
  white-space: nowrap;
  opacity: 0;
}

.sh__toast.is-on {
  opacity: 1;
}

.sh__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.sh__go, .sh__more {
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(10px, 2.6vw, 11px);
  line-height: 1.6;
}

.sh__go {
  border: 0;
  background: #17141a;
  color: #ffd23f;
}

.sh__more {
  border: 2px solid rgba(23, 20, 26, 0.5);
  background: transparent;
  color: #17141a;
}

.sh__go:focus-visible, .sh__more:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.sh__say {
  margin: 0;
  font-weight: 700;
  font-size: clamp(9px, 2.4vw, 11px);
  color: rgba(23, 20, 26, 0.68);
}

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

@keyframes shLift {
  0% {
    transform: translateY(0) scale(1);
  }
  26% {
    transform: translateY(-14px) scale(1.04);
  }
  62% {
    transform: translateY(-14px) scale(1.04);
  }
  86% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.sh.is-demo .sh__toast {
  animation-name: shToast;
  animation-duration: 2s;
  animation-timing-function: steps(1, end);
  animation-iteration-count: infinite;
}

@keyframes shToast {
  0%, 30% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  34% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  80% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}
@media (max-width: 340px) {
  .sh {
    gap: 8px;
  }
  .sh__main {
    gap: 8px;
  }
  .sh__canvas {
    width: 148px;
    height: 83px;
  }
  .sh__side {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sh.is-demo .sh__canvas {
    animation: none !important;
    transform: none !important;
  }
  .sh.is-demo .sh__toast {
    animation: none !important;
    opacity: 0 !important;
  }
}
