/* ── Scroll Picker (드럼롤) ── */
.scroll-picker-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 950;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.scroll-picker-overlay.open { display: flex; }

.scroll-picker-container {
  background: #1a1a1f;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 420px;
  padding: 0 0 20px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.scroll-picker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.scroll-picker-cancel {
  background: none; border: none;
  color: rgba(255,255,255,0.4);
  font-size: 14px; cursor: pointer;
  padding: 4px 8px;
}
.scroll-picker-title {
  font-size: 15px;
  color: rgba(232,224,208,0.8);
  font-weight: 600;
}
.scroll-picker-confirm {
  background: none; border: none;
  color: #8EBF8E;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.scroll-picker-columns {
  display: flex;
  height: 200px;
  position: relative;
  overflow: hidden;
}

/* Center highlight bar */
.scroll-picker-columns::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16px; right: 16px;
  height: 40px;
  transform: translateY(-50%);
  background: rgba(142,191,142,0.08);
  border-top: 1px solid rgba(142,191,142,0.2);
  border-bottom: 1px solid rgba(142,191,142,0.2);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

/* Gradient masks top/bottom */
.scroll-picker-columns::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    #1a1a1f 0%,
    transparent 30%,
    transparent 70%,
    #1a1a1f 100%
  );
  pointer-events: none;
  z-index: 2;
}

.scroll-picker-col {
  flex: 1;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scroll-picker-col::-webkit-scrollbar { display: none; }

.scroll-picker-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  scroll-snap-align: center;
  transition: color 0.15s, font-weight 0.15s;
  cursor: pointer;
  user-select: none;
}
.scroll-picker-item.selected {
  color: rgba(232,224,208,0.95);
  font-weight: 600;
}

/* Spacer items for top/bottom padding (so first/last items can center) */
.scroll-picker-spacer {
  height: 80px;
  scroll-snap-align: none;
  flex-shrink: 0;
}

/* Column labels */
.scroll-picker-col-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  z-index: 3;
}
