/* Small custom tweaks on top of Tailwind */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html { scroll-behavior: smooth; }

/* ---- Prompt image slider ---- */
.pv-slider { position: relative; }
.pv-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 0.75rem;
}
.pv-track::-webkit-scrollbar { display: none; }
.pv-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.25rem;
  transition: background .2s;
  z-index: 2;
}
.pv-arrow:hover { background: rgba(79, 70, 229, 0.95); }
.pv-counter {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  z-index: 2;
}
.pv-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: #475569;
  transition: all .2s;
}
.pv-dot.is-active { background: #818cf8; width: 1.4rem; }
