/* Keep case cards on one row on both desktop and H5. */
.face-swap-studio .face-swap-scenes .face-swap-scene-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 12px;
  padding: 6px 6px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-inline: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, currentColor 34%, transparent) transparent;
}

.face-swap-studio .face-swap-scene-grid > .face-swap-scene {
  flex: 0 0 clamp(148px, calc((100% - 60px) / 5.15), 320px);
  scroll-snap-align: start;
}

.face-swap-studio .face-swap-scene-grid::-webkit-scrollbar {
  height: 6px;
}

.face-swap-studio .face-swap-scene-grid::-webkit-scrollbar-thumb {
  background: rgba(102, 105, 124, .48);
  border-radius: 6px;
}
