/* Hidden scrollbar + bottom fade/hint for scrollable panels in cards */
.scroll-hint-panel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
}

.scroll-hint-panel__scroll {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-hint-panel__scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.scroll-hint-panel__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.75rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 72%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.scroll-hint-panel__hint {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 2;
  white-space: nowrap;
}

.scroll-hint-panel__hint i {
  font-size: 0.62rem;
  color: #2563eb;
}

.scroll-hint-panel.is-scrollable .scroll-hint-panel__fade,
.scroll-hint-panel.is-scrollable:not(.is-scrolled-end) .scroll-hint-panel__hint {
  opacity: 1;
  visibility: visible;
}

.scroll-hint-panel.is-scrollable.is-scrolled-end .scroll-hint-panel__fade,
.scroll-hint-panel.is-scrollable.is-scrolled-end .scroll-hint-panel__hint {
  opacity: 0;
  visibility: hidden;
}
