html:has(body.prop-app),
body.prop-app,
body.has-prop-pick-bar {
  overflow-x: clip;
}
.prop-toolbar {
  display: flex;
  gap: 8px;
  align-items: stretch;
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0 0 6px;
  padding: 8px 0 6px;
  background: var(--bg, #f3f7ef);
}
.prop-sort {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted, #7a8a72);
}
.prop-sort select {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(126, 155, 98, 0.14);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236f8564' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 12px;
  padding: 10px 32px 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--deep, #4a5c43);
}
.prop-filter-btn,
.prop-filter-clear,
.prop-filter-apply {
  appearance: none;
  border: 1px solid rgba(126, 155, 98, 0.14);
  background: #ffffff;
  color: var(--deep, #4a5c43);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.prop-filter-btn.on,
.prop-chip.on {
  background: var(--deep, #4a5c43);
  color: #fff;
  border-color: var(--deep, #4a5c43);
}
.prop-count {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted, #7a8a72);
}
.prop-filter {
  background: var(--paper, #ffffff);
  border: 1px solid rgba(126, 155, 98, 0.08);
  border-radius: 18px;
  padding: 14px 14px 12px;
  margin: 0 0 14px;
  box-shadow: 0 10px 24px rgba(60, 42, 34, 0.06);
}
.prop-filter-block { margin: 0 0 14px; }
.prop-filter-block p {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brown, #6f8564);
}
.prop-filter-sub {
  margin: 10px 0 8px !important;
  font-size: 11px !important;
  letter-spacing: 0.06em;
  color: var(--muted, #7a8a72) !important;
}
.prop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.prop-chip {
  appearance: none;
  border: 1px solid rgba(126, 155, 98, 0.14);
  background: #eef5e4;
  color: var(--brown, #6f8564);
  border-radius: 999px;
  padding: 6px 11px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.prop-filter-actions {
  display: flex;
  gap: 8px;
}
.prop-filter-clear { flex: 1 1 auto; }
.prop-filter-apply {
  flex: 1 1 auto;
  background: var(--deep, #4a5c43);
  color: #fff;
  border-color: var(--deep, #4a5c43);
}
.phone-screen .prop-toolbar {
  position: static;
  padding-top: 0;
  background: transparent;
}
.prop-pick {
  display: block;
  width: 100%;
  appearance: none;
  border: 1px solid rgba(126, 155, 98, 0.16);
  background: #ffffff;
  color: var(--deep, #4a5c43);
  border-radius: 14px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  margin: 0 0 8px;
}
.prop-pick.on {
  background: var(--deep, #4a5c43);
  color: #fff;
  border-color: var(--deep, #4a5c43);
}
.prop-pick-bar {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 4000;
  margin: 0;
  max-width: min(228px, calc(100vw - 28px));
  pointer-events: none;
}
.prop-pick-bar .prop-pick-fab {
  pointer-events: auto;
}
.prop-pick-fab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  appearance: none;
  border: 0;
  background: var(--deep, #4a5c43);
  color: #fff;
  border-radius: 18px;
  padding: 12px 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(60, 42, 34, 0.28);
}
.prop-pick-fab small {
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.82;
}
.prop-pick-fab span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.phone-screen.has-pick-bar {
  transform: translateZ(0);
}
.phone-screen .prop-pick-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 200px;
}
.has-pick-bar .prop-list-view,
.has-pick-bar .prop-swipe {
  padding-bottom: 88px;
}
.prop-liked-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(126, 155, 98, 0.08);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 0 0 12px;
}
.prop-liked-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--muted, #7a8a72);
}
.prop-liked-banner button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--brown, #6f8564);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.prop-sheet.is-liked-only .prop-toolbar,
.prop-sheet.is-liked-only .prop-filter {
  display: none !important;
}

.listing {
  background: var(--paper, #ffffff);
  border: 1px solid rgba(126, 155, 98, 0.08);
  border-radius: 22px;
  overflow: hidden;
  margin: 0 0 18px;
  box-shadow: 0 18px 40px rgba(60, 42, 34, 0.08);
}
.listing .hero {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  background: #eee;
  cursor: zoom-in;
}
.listing .hero.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8a72;
  background: #f3f7ef;
  font-size: 14px;
}
.listing .body { padding: 16px 16px 18px; }
.listing h2 {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 20px;
  margin: 0 0 6px;
}
.listing .prop-price {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep, #4a5c43);
}
.listing .prop-access {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted, #7a8a72);
  line-height: 1.55;
}
.listing .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.listing .specs span {
  background: #eef5e4;
  color: var(--brown, #6f8564);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}
.listing p { margin: 0 0 12px; color: var(--muted, #7a8a72); font-size: 14px; line-height: 1.7; }
.listing .ask-note { margin: 0; font-size: 13px; }

.gallery {
  margin: 0 0 14px;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 14px;
  background: #f6f1ea;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-hint {
  margin: 6px 0 0;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted, #7a8a72);
}
.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 210px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f6f1ea;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f6f1ea;
  cursor: zoom-in;
}
.gallery-slide.is-ph {
  background:
    linear-gradient(180deg, #f6f9f2 0%, #e4eed8 100%);
  color: #6f8564;
}
.gallery-slide .ph-label {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.gallery-slide small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7a8a72;
}
.gallery-cap {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(60, 42, 34, 0.72);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.gdot {
  appearance: none;
  width: 7px;
  height: 7px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #d8cbbd;
  cursor: pointer;
}
.gdot.on { background: #4a5c43; width: 16px; border-radius: 99px; }

.ask {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--deep, #4a5c43);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  margin: 0 0 8px;
}
.ask:disabled { opacity: 0.6; cursor: default; }

.phone-screen .listing {
  background: #ffffff;
  color: #2a221b;
  box-shadow: 0 8px 20px rgba(60, 42, 34, 0.08);
}
.phone-screen .listing .hero { height: 150px; }
.phone-screen .gallery-slide { min-height: 160px; }
.phone-screen .listing h2 { font-size: 17px; }

.prop-zoom {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 10, 0.92);
  padding: 48px 16px 56px;
}
.prop-zoom[hidden] { display: none !important; }
.prop-zoom img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
  cursor: default;
}
.prop-zoom-x,
.prop-zoom-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.prop-zoom-x {
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
}
.prop-zoom-nav {
  top: 50%;
  width: 40px;
  height: 56px;
  margin-top: -28px;
  border-radius: 12px;
  font-size: 28px;
}
.prop-zoom-nav.prev { left: 8px; }
.prop-zoom-nav.next { right: 8px; }
.prop-zoom-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 13px;
}
.phone-screen { position: relative; }
.phone-screen .prop-zoom {
  position: absolute;
  border-radius: 18px;
}
