/* 参考：refs/cartesia、refs/upload-zone-x，加上现站 santacam.org（evergreen + red CTA + Bree/Nunito）。
   Draft B-landscape "Your photo → your video": drag-compare (DESIGN §6) between the photo that
   was uploaded (sample-door.jpg, src/content/santa.ts:216-221) and the clip made from it
   (nicelist.mp4). Same 1280×720 frame and crop, so the divider lines up exactly.
   The drag knob sits on the bottom edge, not over Santa. */

.hero {
  padding-top: 12px;
}
.media {
  margin-top: 16px;
}
.compare {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-panel);
  border: 1px solid var(--line-soft);
  touch-action: pan-y;
}
.compare .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  z-index: 1;
}
.compare .handle {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
.compare .handle span {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--bg);
  font: 800 16px/1 var(--body);
}
.compare .slider {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.note {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-2);
}
.actions .ctas {
  margin-top: 16px;
}

@media (min-width: 900px) {
  .hero .media {
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
  }
}
