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

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

.sld {
  position: relative;
  width: min(100%, 280px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sld__badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(20, 45, 120, 0.08);
  color: #0a4fe8;
  font-weight: 700;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.sld__ctrl {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  background: rgba(20, 45, 120, 0.1);
  color: #0a4fe8;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.4;
  cursor: pointer;
}

.sld__ctrl:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 2px;
}

.sld__view {
  box-sizing: border-box;
  width: 100%;
  height: 176px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 16px;
  background: rgba(20, 45, 120, 0.05);
  scrollbar-width: thin;
}

.sld__track {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sld__spacer--top {
  height: 200px;
  flex: 0 0 auto;
}

.sld__spacer--bottom {
  height: 200px;
  flex: 0 0 auto;
}

.sld__card {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 188px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #0a4fe8;
  box-shadow: 0 6px 10px 0px rgba(23, 20, 26, 0.35);
  transform: translateY(0px);
}

.sld__label {
  color: #fff7e6;
  font-weight: 700;
  font-size: 14px;
}

.supports-vt .sld__card {
  animation-name: sldLift;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: cover;
}

@keyframes sldLift {
  0% {
    box-shadow: 0 6px 10px 0px rgba(23, 20, 26, 0.35);
    transform: translateY(0px);
  }
  100% {
    box-shadow: 0 calc(6px + var(--shadow-spread, 24px) * 0.3) calc(10px + var(--shadow-spread, 24px) * 0.6) var(--shadow-spread, 24px) rgba(23, 20, 26, 0.35);
    transform: translateY(-14px);
  }
}
@media (max-width: 340px) {
  .sld {
    gap: 8px;
  }
  .sld__view {
    height: 130px;
  }
  .sld__spacer--top {
    height: 150px;
  }
  .sld__spacer--bottom {
    height: 150px;
  }
  .sld__card {
    width: 160px;
    height: 64px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sld__card {
    animation: none !important;
    box-shadow: 0 calc(6px + var(--shadow-spread, 24px) * 0.3) calc(10px + var(--shadow-spread, 24px) * 0.6) var(--shadow-spread, 24px) rgba(23, 20, 26, 0.35) !important;
    transform: translateY(-14px) !important;
  }
}
