.hp-gallery-loading,
.hp-gallery-empty {
  font-style: italic;
  opacity: 0.7;
}

.hp-carousel {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.hp-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hp-track::-webkit-scrollbar { display: none; }

.hp-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  height: 60vh;
  min-height: 320px;
  max-height: 560px;
  background: #0d0b09;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.hp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-nav:hover { background: rgba(0, 0, 0, 0.65); }
.hp-nav-prev { left: 12px; }
.hp-nav-next { right: 12px; }

.hp-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.hp-vote-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}
.hp-vote-btn.hp-voted { color: #ff4d5e; }
.hp-vote-btn:hover { background: rgba(0, 0, 0, 0.7); }

@media (max-width: 480px) {
  .hp-nav { width: 36px; height: 36px; font-size: 1.3rem; }
}
