/* Trial swipe picker. Remove with properties-swipe.js. */
.prop-modes {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}
.prop-mode {
  flex: 1 1 50%;
  appearance: none;
  border: 1px solid rgba(126, 155, 98, 0.14);
  background: #ffffff;
  color: var(--deep, #4a5c43);
  border-radius: 12px;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.prop-mode.on {
  background: var(--deep, #4a5c43);
  color: #fff;
  border-color: var(--deep, #4a5c43);
}
.prop-sheet.is-swipe .prop-toolbar,
.prop-sheet.is-swipe .prop-count,
.prop-sheet.is-swipe .prop-filter,
.prop-sheet.is-swipe .prop-liked-banner {
  display: none !important;
}
.prop-swipe {
  margin: 0 0 18px;
}
.swipe-stage {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.swipe-fx {
  position: absolute;
  top: 14%;
  bottom: 28%;
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.swipe-fx.like { left: 2px; color: #c45d6a; }
.swipe-fx.skip { right: 2px; color: #7a8a72; }
.swipe-heart,
.swipe-cross {
  display: block;
  font-size: 46px;
  line-height: 1;
  transform: scale(0.34);
  transform-origin: center;
}
.swipe-fx small {
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0;
}
.swipe-fx.ready small { opacity: 1; }
.swipe-fx.like.ready .swipe-heart {
  filter: drop-shadow(0 8px 16px rgba(196, 93, 106, 0.28));
}
.swipe-fx.skip.ready .swipe-cross {
  filter: drop-shadow(0 8px 16px rgba(80, 70, 60, 0.2));
}
.swipe-card {
  position: relative;
  z-index: 3;
  background: var(--paper, #ffffff);
  border: 1px solid rgba(126, 155, 98, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(60, 42, 34, 0.1);
  touch-action: pan-y;
  user-select: none;
}
.swipe-card.is-next {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  transform: scale(0.94) translateY(16px);
  opacity: 0.55;
  pointer-events: none;
}
.swipe-card.is-next.is-in {
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  transform: none;
  opacity: 1;
}
.swipe-card.is-return {
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.swipe-card.is-out-like,
.swipe-card.is-out-skip {
  transition: transform 0.38s ease-in, opacity 0.38s ease-in;
  opacity: 0;
  pointer-events: none;
}
.swipe-card.is-out-like { transform: translateX(118%) rotate(16deg) !important; }
.swipe-card.is-out-skip { transform: translateX(-118%) rotate(-16deg) !important; }
.swipe-card.is-like { box-shadow: 0 18px 40px rgba(196, 93, 106, 0.2); }
.swipe-card.is-skip { box-shadow: 0 18px 40px rgba(140, 70, 50, 0.16); }
.swipe-photos { position: relative; touch-action: none; }
.swipe-thumbs { touch-action: pan-x; }
.swipe-hero {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #eee;
  cursor: zoom-in;
}
.swipe-hero.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8a72;
  background: #f3f7ef;
}
.swipe-photo-count {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(60, 42, 34, 0.72);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  pointer-events: none;
}
.swipe-photos .swipe-pick-hint {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 58px;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(20, 14, 10, 0.55);
  pointer-events: none;
}
.swipe-hand-demo {
  position: absolute;
  left: 0;
  right: 0;
  top: 88px;
  z-index: 4;
  height: 72px;
  pointer-events: none;
}
.swipe-hand {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 28px;
  height: 36px;
  margin-left: -14px;
  border-radius: 12px 12px 14px 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(60, 42, 34, 0.22);
  animation: swipe-hand-move 1.5s ease-in-out infinite;
}
.swipe-hand::after {
  content: "";
  position: absolute;
  left: 7px;
  top: -10px;
  width: 10px;
  height: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(60, 42, 34, 0.16);
}
.swipe-stage.is-demo .swipe-card.is-front {
  animation: swipe-card-demo 1.5s ease-in-out infinite;
}
@keyframes swipe-hand-move {
  0%, 100% { transform: translateX(-34px); }
  50% { transform: translateX(34px); }
}
@keyframes swipe-card-demo {
  0%, 100% { transform: translateX(-18px) rotate(-2.2deg); }
  50% { transform: translateX(18px) rotate(2.2deg); }
}
.swipe-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 8px 0;
  -webkit-overflow-scrolling: touch;
}
.swipe-thumb {
  flex: 0 0 64px;
  appearance: none;
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.swipe-thumb.on { border-color: var(--deep, #4a5c43); }
.swipe-thumb img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  display: block;
}
.swipe-meta { padding: 12px 14px 16px; }
.swipe-meta h2 {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 20px;
  margin: 0 0 4px;
}
.swipe-meta p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted, #7a8a72);
}
.swipe-detail-btn {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(126, 155, 98, 0.16);
  background: #ffffff;
  color: var(--deep, #4a5c43);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.swipe-detail-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 14, 10, 0.46);
  overflow: auto;
  padding: 18px 12px 28px;
}
.swipe-detail-sheet {
  max-width: 440px;
  margin: 0 auto;
}
.swipe-detail-x {
  display: block;
  width: 100%;
  appearance: none;
  border: 0;
  background: #4a5c43;
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  margin: 0 0 10px;
  cursor: pointer;
}
.phone-screen .swipe-detail-layer {
  position: absolute;
  border-radius: 18px;
}
.swipe-actions {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
}
.swipe-skip,
.swipe-like {
  flex: 1 1 50%;
  appearance: none;
  border-radius: 14px;
  padding: 12px 10px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.swipe-skip {
  border: 1px solid rgba(126, 155, 98, 0.16);
  background: #ffffff;
  color: var(--brown, #6f8564);
}
.swipe-like {
  border: 0;
  background: var(--deep, #4a5c43);
  color: #fff;
}
.swipe-status,
.swipe-end-lead {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted, #7a8a72);
}
.swipe-ghost,
.swipe-batch {
  display: block;
  width: 100%;
  appearance: none;
  border: 1px solid rgba(126, 155, 98, 0.14);
  background: #ffffff;
  color: var(--deep, #4a5c43);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  margin: 0 0 8px;
}
.swipe-end {
  background: var(--paper, #ffffff);
  border: 1px solid rgba(126, 155, 98, 0.08);
  border-radius: 22px;
  padding: 18px 16px 14px;
}
.swipe-liked {
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  color: var(--deep, #4a5c43);
}
.swipe-liked li { margin: 0 0 6px; }
.swipe-liked span {
  display: block;
  font-size: 12px;
  color: var(--muted, #7a8a72);
}
.phone-screen .swipe-hero { height: 170px; }
.phone-screen .swipe-subs img { height: 64px; }
.phone-screen .swipe-meta h2 { font-size: 16px; }
.swipe-burst {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.phone-screen .swipe-burst {
  position: absolute;
  border-radius: 18px;
}
.swipe-burst span {
  display: block;
  font-size: 78px;
  line-height: 1;
  transform: scale(0.18);
  opacity: 0;
}
.swipe-burst.on span {
  animation: swipe-burst-pop 0.64s cubic-bezier(0.18, 1.45, 0.28, 1) forwards;
}
.swipe-burst.like span {
  color: #e05670;
  text-shadow: 0 0 18px rgba(224, 86, 112, 0.95), 0 0 42px rgba(224, 86, 112, 0.55);
}
.swipe-burst.skip span {
  color: #7a8a72;
  text-shadow: 0 0 16px rgba(255, 250, 243, 0.9), 0 0 36px rgba(138, 123, 109, 0.45);
}
@keyframes swipe-burst-pop {
  0% { transform: scale(0.18); opacity: 0; }
  42% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
