﻿:root {
  color-scheme: light;
  font-family: "Yu Gothic", "Meiryo", system-ui, sans-serif;
  background: #fff8f4;
  color: #1d1d1f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 245, 232, 0.92) 0%, rgba(255, 255, 255, 0.9) 42%),
    #fff8f4;
}

body.viewer-open {
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(16px, 5vw, 56px);
  border-bottom: 1px solid rgba(238, 111, 99, 0.16);
  background: rgba(255, 250, 246, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(238, 111, 99, 0.22));
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(238, 111, 99, 0.24);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff8f4;
  color: #8a2532;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 12px;
  border-left: 1px solid rgba(29, 29, 31, 0.16);
}

.header-nav a {
  display: grid;
  place-items: center;
  min-width: 136px;
  min-height: 54px;
  padding: 0 18px;
  border-right: 1px solid rgba(29, 29, 31, 0.16);
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a span {
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.header-nav a:hover {
  color: #8a2532;
}

.eyebrow {
  margin: 0 0 4px;
  color: #e06963;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: #e06963;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.52em;
  font-style: italic;
  font-weight: 700;
}

.primary-link,
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ee6f63 0%, #f3b65e 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(238, 111, 99, 0.2);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.static-page {
  min-height: 52vh;
  display: grid;
  align-content: start;
  gap: 14px;
}

.static-page h1 {
  font-size: 28px;
}

.static-page p {
  max-width: 760px;
  margin: 0;
  line-height: 1.8;
}

.legal-page {
  gap: 18px;
}

.legal-page section {
  display: grid;
  gap: 8px;
}

.legal-page h2 {
  margin: 0;
  font-size: 18px;
}

.legal-table {
  display: grid;
  max-width: 900px;
  margin: 0;
  border-top: 1px solid rgba(29, 29, 31, 0.14);
  border-left: 1px solid rgba(29, 29, 31, 0.14);
}

.legal-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-right: 1px solid rgba(29, 29, 31, 0.14);
  border-bottom: 1px solid rgba(29, 29, 31, 0.14);
}

.legal-table dt,
.legal-table dd {
  margin: 0;
  padding: 12px 14px;
  line-height: 1.7;
}

.legal-table dt {
  background: #f8fbfb;
  font-weight: 800;
}

.legal-table dd {
  background: #fff;
}

.hero {
  display: grid;
  min-height: 190px;
  align-items: end;
  margin-bottom: 18px;
  padding: clamp(18px, 4vw, 34px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 198, 190, 0.76) 0%, rgba(255, 218, 176, 0.76) 58%, rgba(255, 239, 187, 0.84) 100%);
  color: #8a2532;
  box-shadow: 0 22px 50px rgba(238, 111, 99, 0.12);
}

.hero.is-hidden {
  display: none;
}

.hero-logo {
  display: block;
  width: min(360px, 82%);
  max-height: 90px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
  filter: drop-shadow(0 12px 24px rgba(90, 32, 22, 0.1));
}

.hero-copy p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(17px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.14;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.34);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stats span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.search-panel {
  margin-bottom: 22px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 245, 232, 0.92) 0%, rgba(255, 255, 255, 0.9) 42%),
    #fff8f4;
}

.search-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.search-panel summary::-webkit-details-marker {
  display: none;
}

.search-panel summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1eee7;
  color: #1d1d1f;
  font-size: 20px;
  line-height: 1;
}

.search-panel[open] summary {
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.search-panel[open] summary::after {
  content: "-";
}

.filtered-viewer-actions {
  display: none;
}

.filtered-viewer-button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  background: linear-gradient(135deg, #ee6f63 0%, #f3b65e 100%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(238, 111, 99, 0.18);
}

.filtered-viewer-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.desktop-ad-rail {
  position: fixed;
  top: 118px;
  z-index: 2;
  display: none;
  width: min(320px, calc((100vw - 1180px) / 2 - 24px));
  pointer-events: none;
  gap: 12px;
}

.desktop-ad-rail-left {
  left: 12px;
}

.desktop-ad-rail-right {
  right: 12px;
}

.ad-slot {
  display: grid;
  place-items: center;
  min-height: min(640px, calc(100vh - 150px));
  border: 1px solid rgba(238, 111, 99, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 111, 99, 0.08), rgba(243, 182, 94, 0.16)),
    #fff;
  color: #8a2532;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  pointer-events: auto;
}

.desktop-ad-rail-right .ad-slot {
  min-height: min(314px, calc((100vh - 162px) / 2));
}

.ad-slot-cta {
  align-content: center;
  gap: 10px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(238, 111, 99, 0.16), rgba(243, 182, 94, 0.24)),
    #fff;
  color: #8a2532;
  text-align: center;
  text-decoration: none;
}

.ad-slot-cta strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
}

.ad-slot-cta span {
  max-width: 14em;
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.7;
}

.ad-slot-cta em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, #ee6f63 0%, #f3b65e 100%);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.listing-cta-under-pagination {
  display: none;
  justify-items: center;
  gap: 8px;
  max-width: 520px;
  margin: 18px auto 0;
  border: 1px solid rgba(238, 111, 99, 0.22);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(238, 111, 99, 0.13), rgba(243, 182, 94, 0.22)),
    #fff;
  color: #8a2532;
  text-align: center;
  text-decoration: none;
}

.listing-cta-under-pagination strong {
  font-size: 20px;
  line-height: 1.35;
}

.listing-cta-under-pagination span {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.65;
}

.listing-cta-under-pagination em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, #ee6f63 0%, #f3b65e 100%);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.mobile-feed-ad {
  display: none;
}

@media (min-width: 1560px) {
  .desktop-ad-rail {
    display: grid;
  }
}

body.has-active-filters main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px 20px;
  align-items: start;
}

body.has-active-filters .search-panel {
  position: sticky;
  top: 96px;
  grid-column: 1;
  grid-row: 1 / span 3;
  max-height: calc(100vh - 112px);
  overflow: auto;
  margin-bottom: 0;
}

body.has-active-filters .filtered-viewer-actions,
body.has-active-filters .instagram-section,
body.has-active-filters .reel-grid {
  grid-column: 2;
}

body.has-active-filters .filters {
  gap: 14px;
  padding: 12px;
}

body.has-active-filters .location-filters,
body.has-active-filters .condition-filters {
  grid-template-columns: 1fr;
  max-width: none;
}

body.has-active-filters .check-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}

body.has-active-filters .range-controls {
  grid-template-columns: 1fr;
}

.instagram-section {
  margin-bottom: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.viewer-action-slot {
  display: flex;
  align-items: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 18px;
}

.filtered-count {
  margin: 0;
  color: #8a2532;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(29, 29, 31, 0.18);
  border-radius: 8px;
  color: #1d1d1f;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.instagram-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.pagination[hidden] {
  display: none;
}

.pagination button {
  min-width: 42px;
  min-height: 40px;
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #1d1d1f;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pagination button.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, #ee6f63 0%, #f3b65e 100%);
  color: #fff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.instagram-card,
.instagram-empty {
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: #fff;
}

.instagram-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 0;
}

.instagram-card-media {
  min-width: 0;
  border-right: 1px solid rgba(29, 29, 31, 0.08);
  background: #fff8f4;
  overflow: hidden;
  height: 360px;
}

.instagram-card-info {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 16px;
}

.property-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.property-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  background: #ee6f00;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.card-poster {
  color: #0059c9;
  font-size: 16px;
  font-weight: 800;
  text-decoration: underline;
}

.property-table {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(29, 29, 31, 0.18);
  border-left: 1px solid rgba(29, 29, 31, 0.18);
}

.property-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 42px;
  border-right: 1px solid rgba(29, 29, 31, 0.18);
  border-bottom: 1px solid rgba(29, 29, 31, 0.18);
}

.property-table dt,
.property-table dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 8px 10px;
  line-height: 1.45;
}

.property-table dt {
  background: #f8fbfb;
  color: #555;
  font-size: 12px;
  font-weight: 700;
}

.property-table dd {
  border-left: 1px solid rgba(29, 29, 31, 0.12);
  color: #111;
  font-size: 14px;
  font-weight: 700;
}

.property-table dd strong {
  color: #f05a00;
  font-size: 20px;
  margin-right: 3px;
}

.open-viewer-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(29, 29, 31, 0.88);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.detail-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid rgba(238, 111, 99, 0.24);
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(29, 29, 31, 0.08);
}

.instagram-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding: 0;
  border-top: 0;
  background: #fff;
}

.instagram-deferred {
  position: relative;
  display: grid;
  min-height: 360px;
  height: 100%;
  place-items: end center;
  overflow: hidden;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 198, 190, 0.42), rgba(255, 239, 187, 0.5)),
    #fff8f4;
  text-align: center;
}

.instagram-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instagram-preview-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  justify-items: center;
  width: 100%;
  padding: 56px 14px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 248, 244, 0.96) 58%);
}

.instagram-preview-loading {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(29, 29, 31, 0.84);
  color: #fff;
  font-weight: 800;
}

.instagram-deferred a {
  color: #b73a48;
  font-size: 13px;
  font-weight: 800;
}

.instagram-card-media .instagram-media {
  min-width: 326px !important;
  max-width: 326px !important;
  margin: 0 !important;
  transform: scale(0.55);
  transform-origin: top left;
}

.native-reel {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #111;
  object-fit: cover;
}

.native-reel-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.native-reel-body h3 {
  margin: 0;
  font-size: 16px;
}

.native-reel-body a {
  color: #b73a48;
  font-weight: 700;
}

.instagram-fallback-link {
  display: block;
  padding: 12px;
  color: #b73a48;
  font-weight: 700;
}

.instagram-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 18px;
}

.instagram-empty p {
  margin: 0;
  color: #666;
}

.instagram-empty a {
  color: #b73a48;
  font-weight: 700;
}

.reel-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #060606;
  color: #fff;
}

.reel-viewer[hidden] {
  display: none;
}

.viewer-close,
.viewer-next {
  position: fixed;
  z-index: 103;
}

.viewer-close,
.viewer-next {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.viewer-close {
  top: 10px;
  right: 10px;
}

.viewer-next {
  right: 14px;
  bottom: 14px;
}

.viewer-next:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.viewer-track {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.viewer-slide {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 0;
  scroll-snap-align: start;
}

.viewer-video-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100vw, calc(100svh * 9 / 16));
  height: 100vh;
  height: 100svh;
  overflow: visible;
  background: #000;
}

.viewer-native-video,
.viewer-instagram-embed {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.viewer-native-video {
  object-fit: cover;
}

.viewer-instagram-embed {
  display: grid;
  place-items: start center;
  overflow: hidden;
  padding: 0;
}

.viewer-instagram-embed .instagram-media {
  width: min(100vw, calc(100svh * 9 / 16)) !important;
  min-width: min(100vw, calc(100svh * 9 / 16)) !important;
  max-width: min(100vw, calc(100svh * 9 / 16)) !important;
  height: 100svh !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.viewer-detail-link {
  position: fixed;
  top: 10px;
  right: 96px;
  z-index: 104;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.viewer-instagram-embed .instagram-fallback-link {
  color: #fff;
  text-align: center;
}

.filters {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 18px;
  padding: 16px;
}

.location-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 160px 220px 200px;
  gap: 12px;
}

.condition-filters {
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: 760px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.check-filter,
.range-filter {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.check-filter legend,
.range-filter legend {
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}

.check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.check-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 30px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
}

.check-option input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  accent-color: #1d1d1f;
}

.range-controls {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 8px;
}

.range-controls span {
  color: #666;
  font-weight: 700;
}

.search-submit-row {
  width: min(1180px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-left: 0;
}

.apply-search-button {
  width: min(320px, 100%);
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: linear-gradient(135deg, #ee6f63 0%, #f3b65e 100%);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(238, 111, 99, 0.18);
}

.draft-count {
  margin-left: 18px;
  color: #8a2532;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(29, 29, 31, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
}

select:disabled {
  cursor: not-allowed;
  color: #999;
  background: #f3f0ea;
}

.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.reel-card {
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(29, 29, 31, 0.08);
}

.video-frame {
  aspect-ratio: 9 / 16;
  background: #111;
}

.video-frame video,
.empty-video {
  width: 100%;
  height: 100%;
}

.video-frame video {
  display: block;
  object-fit: cover;
}

.empty-video {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.card-body { padding: 16px; }

.card-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #14733f;
  font-size: 12px;
  font-weight: 700;
}

.meta,
.rent { margin: 0 0 8px; }

.meta {
  color: #666;
  font-size: 14px;
}

.rent {
  font-size: 20px;
  font-weight: 800;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}

.tags span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f1eee7;
  color: #514b43;
  font-size: 12px;
  font-weight: 700;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.actions .instagram { background: #b73a48; }
.actions .disabled { pointer-events: none; opacity: 0.45; }

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.detail-page {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.post-disclaimer {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 58, 72, 0.22);
  border-radius: 8px;
  background: #fff7f4;
  color: #8a2532;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.post-disclaimer h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.post-disclaimer p {
  margin: 0;
  white-space: pre-line;
}

.detail-header {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-header a {
  color: #b73a48;
  font-weight: 800;
}

.detail-header h1 {
  font-size: 20px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.detail-embed,
.detail-card {
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 8px;
  background: #fff;
}

.detail-embed {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: sticky;
  top: 18px;
}

.detail-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.detail-summary div {
  padding: 10px;
  border-radius: 8px;
  background: #f6f4ef;
}

.detail-summary dt {
  color: #666;
  font-size: 12px;
  font-weight: 800;
}

.detail-summary dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.detail-map-section {
  display: grid;
  gap: 10px;
}

.detail-map-section h2 {
  margin: 0;
}

.map-note {
  margin: 0;
  color: #b73a48;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.detail-map {
  display: grid;
  gap: 10px;
}

.map-location-label,
.map-unpublished {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f6f4ef;
  color: #1d1d1f;
  font-weight: 800;
}

.detail-map iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 8px;
  background: #f6f4ef;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: #1d1d1f;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.detail-caption {
  margin: 0;
  color: #333;
  font: inherit;
}

.detail-table dl {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(29, 29, 31, 0.14);
  border-left: 1px solid rgba(29, 29, 31, 0.14);
}

.detail-table div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-right: 1px solid rgba(29, 29, 31, 0.14);
  border-bottom: 1px solid rgba(29, 29, 31, 0.14);
}

.detail-table dt,
.detail-table dd {
  margin: 0;
  padding: 10px 12px;
  line-height: 1.55;
}

.detail-table dt {
  background: #f8fbfb;
  color: #555;
  font-size: 13px;
  font-weight: 800;
}

.detail-table dd {
  border-left: 1px solid rgba(29, 29, 31, 0.1);
  background: #fff;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.detail-extra-section {
  display: grid;
  gap: 10px;
}

.detail-accordion {
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 8px;
  background: #fff;
}

.detail-accordion summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f6f4ef;
}

.detail-accordion[open] summary {
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.detail-accordion[open] summary::after {
  content: "-";
}

.accordion-body {
  min-height: 72px;
  padding: 14px;
  background: #fbfaf7;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(238, 111, 99, 0.16);
  background: rgba(255, 250, 246, 0.92);
  color: #1d1d1f;
}

.footer-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 118px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #1d1d1f;
  font-size: 30px;
  font-weight: 900;
  text-decoration: none;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.footer-links a {
  color: #8a2532;
  text-decoration: none;
}

.footer-copy {
  grid-column: 1;
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.page-top {
  grid-column: auto;
  justify-self: center;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 12px;
  border: 1px solid rgba(238, 111, 99, 0.24);
  background: #fff;
  color: #8a2532;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 720px) {
  .topbar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 8px 14px 12px;
  }

  .brand {
    gap: 8px;
    width: 100%;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: 18px;
  }

  h1 span {
    font-size: 0.48em;
  }

  .header-nav {
    flex: 1 1 0;
    width: auto;
    max-width: calc(100% - 82px);
    margin-left: 0;
    overflow-x: auto;
  }

  .header-nav a {
    min-width: max-content;
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .header-nav a span {
    font-size: 10px;
  }

  .topbar-actions {
    flex: 0 0 auto;
    width: auto;
    justify-content: flex-end;
    gap: 8px;
    margin-left: 0;
  }

  .login-link {
    min-height: 40px;
    border-radius: 0;
    padding: 0 10px;
    background: transparent;
    color: #1d1d1f;
    font-size: 12px;
  }

  main {
    width: min(100% - 16px, 1180px);
    padding-top: 18px;
  }

  .hero {
    min-height: 118px;
    margin-bottom: 12px;
    padding: 14px 16px;
  }

  .hero-logo {
    width: min(250px, 76%);
    max-height: 54px;
    margin-bottom: 8px;
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.2;
  }

  .search-panel summary {
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .search-panel summary::after {
    width: 24px;
    height: 24px;
    font-size: 18px;
  }

  body.has-active-filters main {
    display: block;
  }

  body.has-active-filters .search-panel {
    position: static;
    max-height: none;
    margin-bottom: 22px;
  }

  body.has-active-filters .check-options {
    display: flex;
  }

  body.has-active-filters .range-controls {
    grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  }

  .filters { grid-template-columns: 1fr; }
  .location-filters { grid-template-columns: 1fr; }
  .instagram-card {
    grid-template-columns: 118px minmax(0, 1fr);
    height: 230px;
  }
  .instagram-card-media {
    height: 230px;
    border-right: 1px solid rgba(29, 29, 31, 0.08);
    border-bottom: 0;
    min-height: 0;
  }
  .instagram-card-media .instagram-media {
    transform: scale(0.35);
  }
  .instagram-deferred {
    min-height: 230px;
  }
  .instagram-card-info {
    gap: 6px;
    padding: 8px;
    height: 230px;
    overflow: auto;
  }
  .property-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .property-badge {
    min-height: 18px;
    padding: 0 5px;
    font-size: 10px;
  }
  .card-poster {
    font-size: 12px;
  }
  .property-table div {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 29px;
  }
  .property-table dt,
  .property-table dd {
    padding: 4px 5px;
    line-height: 1.25;
  }
  .property-table dt {
    font-size: 10px;
  }
  .property-table dd {
    font-size: 11px;
  }
  .property-table dd strong {
    font-size: 13px;
  }
  .instagram-card-actions {
    gap: 6px;
  }
  .detail-page-link,
  .open-viewer-button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }
  .desktop-ad-rail {
    display: none;
  }
  .mobile-feed-ad {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(29, 29, 31, 0.08);
    border-radius: 8px;
    background: #fff;
  }
  .mobile-feed-ad .ad-slot {
    min-height: 92px;
    border: 0;
    border-radius: 0;
    font-size: 12px;
  }
  .listing-cta-under-pagination {
    display: grid;
    gap: 7px;
    margin-top: 14px;
    padding: 14px 12px;
  }
  .listing-cta-under-pagination strong { font-size: 16px; }
  .listing-cta-under-pagination span { font-size: 12px; }
  .listing-cta-under-pagination em {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }
  .reel-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-summary { grid-template-columns: 1fr; }
  .post-disclaimer {
    margin-bottom: 10px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.35;
  }
  .post-disclaimer h2 {
    margin-bottom: 3px;
    font-size: 13px;
  }
  .legal-table div {
    grid-template-columns: 1fr;
  }
  .legal-table dt,
  .legal-table dd {
    padding: 10px;
  }
  .detail-table div {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .detail-table dt,
  .detail-table dd {
    padding: 8px;
    font-size: 12px;
  }
  .detail-embed {
    position: static;
    min-height: 420px;
  }

  .viewer-next {
    display: none;
  }

  .viewer-video-shell {
    width: min(100vw, calc(100svh * 9 / 16));
    overflow: hidden;
  }

  .viewer-detail-link {
    top: 10px;
    right: 96px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-copy {
    grid-column: auto;
  }

  .page-top {
    justify-self: center;
  }
}

@media (min-width: 721px) {
  .viewer-track {
    overflow: hidden;
  }

  .viewer-slide {
    height: 100vh;
  }
}
