/* ── Scroll Strip ─────────────────────────────────────── */
.scroll-strip-section {
  overflow: hidden;
  padding: 32px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scroll-strip-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #9e9089);
  margin-bottom: 20px;
}

.scroll-track-wrap {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.scroll-track-wrap:active {
  cursor: grabbing;
}

/* Fade edges */
.scroll-track-wrap::before,
.scroll-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.scroll-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--paper, #fcfaf7), transparent);
}
.scroll-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--paper, #fcfaf7), transparent);
}

.scroll-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: strip-scroll 32s linear infinite;
  will-change: transform;
}

.scroll-track-wrap:hover .scroll-track,
.scroll-track-wrap.is-dragging .scroll-track {
  animation-play-state: paused;
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Individual card */
.strip-card {
  position: relative;
  width: 160px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ede6de;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow 0.2s ease;
}

.strip-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}

.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.strip-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.strip-card:hover .strip-card-label {
  opacity: 1;
}

/* ── Mosaic zoom cursor ──────────────────────────────── */
img.mosaic-zoomable {
  cursor: zoom-in;
}

/* ── Drift zoom overrides ────────────────────────────── */
.drift-zoom-pane {
  width: 240px !important;
  height: 240px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.75) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.28) !important;
  overflow: hidden !important;
}

.drift-zoom-pane img {
  max-width: none !important;
}

/* Mobile: disable zoom lens, simplify strip */
@media (max-width: 768px) {
  .scroll-strip-section {
    padding: 20px 0;
  }
  .strip-card {
    width: 120px;
    height: 152px;
  }
  .drift-zoom-pane {
    display: none !important;
  }
}
