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

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

.sb {
  display: flex;
  gap: 8px;
  width: min(90vw, 320px);
  height: min(58vw, 186px);
}

.sb__viewport {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 16px;
  background: radial-gradient(140% 120% at 20% 0%, rgba(47, 109, 246, 0.16), transparent 60%), rgba(255, 255, 255, 0.06);
}

.sb__viewport::-webkit-scrollbar {
  display: none;
}

.sb__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
}

.sb__card {
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
}

.sb__cardTitle {
  margin: 0 0 2px;
  color: #fff7e6;
  font-weight: 700;
  font-size: 12px;
}

.sb__cardLine {
  margin: 0;
  color: rgba(255, 247, 230, 0.68);
  font-size: 10px;
  line-height: 1.4;
}

.sb__track {
  position: relative;
  width: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.sb__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #2f6df6, #b9a0ff);
  box-shadow: 0 0 14px rgba(47, 109, 246, 0.5);
  transition: none;
  cursor: grab;
}

.sb__thumb:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.sb__thumbGloss {
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: translateY(-120%);
  pointer-events: none;
}

.sb__thumbGloss.is-sweeping {
  animation: heroGlossSweep 520ms linear;
}

@keyframes heroGlossSweep {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(220%);
  }
}
@media (max-width: 340px) {
  .sb {
    width: min(96vw, 270px);
    height: 152px;
  }
  .sb__cardTitle {
    font-size: 11px;
  }
  .sb__cardLine {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sb__thumb {
    transition: none;
  }
  .sb__thumbGloss.is-sweeping {
    animation: none;
  }
}
