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

.panel {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hint {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.35;
}

.scrollStage {
  position: relative;
  width: 100%;
  height: 168px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 16px;
  background: rgba(23, 20, 26, 0.06);
}

.scrollSpacer {
  height: 130px;
}

.card {
  position: relative;
  margin: 0 12px;
  padding: 8px;
  border-radius: 12px;
  background: #17141a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.thumb {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.playBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.86);
  transform-origin: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 247, 230, 0.22);
  color: #fff7e6;
  opacity: 0.72;
  cursor: not-allowed;
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 220ms cubic-bezier(0.2, 1.4, 0.4, 1), background 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}
.playBtn.playBtn--ready {
  opacity: 1;
  cursor: pointer;
  background: #2f6df6;
  transform: translate(-50%, -50%) scale(1);
}
.playBtn.playBtn--pressed {
  transform: translate(-50%, -50%) scale(0.9);
}
.playBtn:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.playIcon {
  width: 18px;
  height: 18px;
}

.readyLabel {
  margin: 0;
  color: #fff7e6;
  font-weight: 600;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .panel {
    max-width: 280px;
    gap: 4px;
  }
  .scrollStage {
    height: 108px;
  }
  .scrollSpacer {
    height: 80px;
  }
  .hint {
    font-size: 8px;
    line-height: 1.25;
  }
  .readyLabel {
    font-size: 9px;
  }
  .playBtn {
    width: 32px;
    height: 32px;
  }
  .playIcon {
    width: 14px;
    height: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .playBtn {
    transition: none;
  }
}
