:root {
  --ink: #142331;
  --muted: #617386;
  --line: rgba(20, 35, 49, 0.13);
  --white: #ffffff;
  --leaf: #197353;
  --sea: #11758a;
  --stone: #263a4a;
  --sun: #d4912f;
  --surface: rgba(255, 255, 255, 0.9);
  --shadow: 0 24px 80px rgba(8, 24, 40, 0.24);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f5f7f4;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.hero__background,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__background {
  z-index: -2;
  background-image: url("assets/hero-jeju-realestate.png");
  background-position: center;
  background-size: cover;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 249, 246, 0.78) 0%, rgba(246, 249, 246, 0.52) 36%, rgba(246, 249, 246, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 56%, rgba(9, 33, 51, 0.08) 100%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  height: 84px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--leaf);
  font-size: 14px;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  color: #122536;
  font-size: 20px;
  line-height: 1.15;
}

.brand__area {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(12, 33, 54, 0.08);
  backdrop-filter: blur(16px);
}

.nav a,
.nav button,
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: #24394e;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.nav button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav a[aria-current="page"] {
  color: var(--white);
  background: var(--stone);
}

.phone-link {
  border: 1px solid rgba(20, 35, 49, 0.12);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.contact-popover {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: start center;
  padding: 104px 20px 20px;
}

.contact-popover__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 34, 0.32);
  backdrop-filter: blur(4px);
}

.contact-popover__card {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 128px);
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(8, 24, 40, 0.24);
}

.contact-popover__card--intro {
  width: min(760px, 100%);
  padding: 30px 34px;
}

.contact-popover__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(20, 35, 49, 0.12);
  border-radius: 999px;
  color: #24394e;
  background: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.contact-popover__card p,
.contact-popover__card h2,
.contact-popover__card dl {
  margin: 0;
}

.contact-popover__card p {
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.contact-popover__card h2 {
  margin-top: 6px;
  color: #102536;
  font-size: 26px;
}

.contact-popover__card dl {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-popover__card dl div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
}

.contact-popover__card dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-popover__card dd {
  margin: 0;
  color: #142331;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.intro-popover__body {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  color: #263a4a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.78;
}

.intro-popover__body p {
  margin: 0;
}

.intro-popover__body p:first-child,
.intro-popover__body p:last-child {
  color: #142331;
  font-weight: 800;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(420px, 620px);
  align-items: center;
  gap: 34px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 48px 0 74px;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: 16px;
  font-weight: 800;
}

h1 {
  max-width: 820px;
  margin: 0;
  color: #102536;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-title__line--mobile {
  display: none;
}

.hero__lead {
  max-width: 630px;
  margin: 24px 0 30px;
  color: #3f5568;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.68;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 140px) minmax(160px, 190px);
  align-items: end;
  gap: 10px;
  max-width: 650px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-panel label {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0 10px;
}

.search-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
}

.search-panel input::placeholder {
  color: #8494a4;
}

.search-panel button {
  grid-column: 1 / -1;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 800;
  cursor: pointer;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(20, 35, 49, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: #1c3549;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.quick-action--primary {
  border-color: rgba(212, 145, 47, 0.42);
  background: #fff4df;
  color: #83560d;
}

.property-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: center;
  justify-self: end;
  width: 100%;
}

.property-menu__card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  min-height: 178px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #111827;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 24px rgba(5, 16, 24, 0.08);
  backdrop-filter: blur(2px);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.property-menu__card:hover,
.property-menu__card:focus-visible {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.property-menu__card svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.property-menu__card span {
  color: #111827;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.home-footer {
  position: absolute;
  right: 32px;
  bottom: 18px;
  left: 32px;
  color: rgba(16, 37, 54, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
}

@media (min-width: 1200px) {
  .property-menu {
    transform: translateX(120px);
  }
}

@media (max-width: 980px) {
  .topbar {
    height: auto;
    padding: 18px 0 0;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 70px 0 56px;
  }

  .hero__copy {
    max-width: none;
  }

  h1 {
    font-size: 54px;
  }

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-panel__field,
  .search-panel button {
    grid-column: 1 / -1;
  }

  .property-menu {
    max-width: 640px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero__content {
    width: min(100% - 28px, 1180px);
  }

  .brand__name {
    font-size: 17px;
  }

  .brand__area {
    font-size: 11px;
  }

  .phone-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-title__line--desktop {
    display: none;
  }

  .hero-title__line--mobile {
    display: block;
    white-space: nowrap;
  }

  .hero__lead {
    font-size: 17px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel label,
  .search-panel button {
    grid-column: auto;
  }

  .quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .property-menu {
    grid-template-columns: 1fr;
  }

  .property-menu__card {
    min-height: 132px;
    padding: 24px;
    gap: 16px;
  }

  .property-menu__card span {
    font-size: 23px;
  }

  .home-footer {
    position: static;
    padding: 0 14px 20px;
    line-height: 1.6;
  }
}

.request-page {
  color: #111827;
  background: #ffffff;
}

.listings-page {
  color: #111827;
  background: #ffffff;
}

.listings-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.listings-header p,
.listings-header h1 {
  margin: 0;
}

.listings-header p {
  color: #197353;
  font-size: 14px;
  font-weight: 800;
}

.listings-header h1 {
  margin-top: 4px;
  color: #102536;
  font-size: 30px;
}

.listings-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.listings-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #24394e;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.listing-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.listing-filter button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d7dde5;
  border-radius: 999px;
  color: #334155;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.listing-filter button.is-active {
  color: #ffffff;
  border-color: #197353;
  background: #197353;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #f8fafc;
}

.listing-toolbar p {
  margin: 0;
  color: #52677a;
  font-size: 14px;
  font-weight: 800;
}

.listing-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.listing-delete-button,
.listing-feature-button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.listing-feature-button {
  background: #197353;
}

.listing-feature-button--muted {
  color: #0f2537;
  background: #dbeafe;
}

.listing-delete-button {
  background: #b91c1c;
}

.listing-delete-button:disabled,
.listing-feature-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.property-list-table-wrap {
  overflow-x: auto;
  border-top: 1px solid #d6dce3;
}

.property-list-table {
  width: 100%;
  min-width: 1160px;
  border-collapse: collapse;
}

.property-list-table th,
.property-list-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #d9dee5;
  color: #111827;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  vertical-align: middle;
}

.property-list-table th {
  color: #334155;
  background: #f5f6f7;
  font-weight: 500;
}

.property-list-table td:nth-child(2),
.property-list-table td:nth-child(4) {
  text-align: left;
}

.property-list-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.listing-kind,
.listing-title {
  color: #075ed1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.property-list-table td:nth-child(2) strong {
  display: block;
  margin: 2px 0;
  font-size: 13px;
}

.property-list-table td:nth-child(2) span,
.property-list-table td:nth-child(7) span {
  color: #64748b;
}

.listing-thumb {
  width: 104px;
  height: 64px;
  margin: 0 auto;
  border: 1px solid #d7dde5;
  background-image: url("assets/hero-jeju-realestate.png");
  background-size: 300%;
  background-position: center;
}

.listing-thumb[style] {
  background-color: #f8fafc;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.listing-thumb--1 {
  background-position: 68% 54%;
}

.listing-thumb--2 {
  background-position: 78% 68%;
}

.listing-thumb--3 {
  background-position: 30% 74%;
}

.listing-thumb--4 {
  background-position: 53% 49%;
}

.listing-thumb--5 {
  background-position: 84% 72%;
}

.listing-thumb--6 {
  background-position: 94% 57%;
}

.listing-thumb--7 {
  background-position: 64% 66%;
}

.listing-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.listing-title em {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 4px;
  color: #ffffff;
  background: #22c55e;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  text-decoration: none;
}

.listing-feature-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  color: #7c2d12;
  background: #ffedd5;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

.property-list-table p {
  max-width: 250px;
  margin: 4px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.listing-price {
  color: #ff2b16;
  font-size: 15px;
}

.property-list-row {
  cursor: pointer;
}

.property-list-row:hover td {
  background: #f8fafc;
}

.detail-page {
  color: #111827;
  background: #ffffff;
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(960px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0;
}

.detail-header p,
.detail-header h1 {
  margin: 0;
}

.detail-header p {
  color: #197353;
  font-size: 14px;
  font-weight: 800;
}

.detail-header h1 {
  margin-top: 4px;
  color: #102536;
  font-size: 30px;
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.detail-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #24394e;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.detail-shell {
  width: min(960px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0 0 46px;
}

.detail-loading {
  margin: 40px 0;
  color: #64748b;
  font-size: 16px;
  text-align: center;
}

.detail-top {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 190px 210px;
  min-height: 112px;
  border-top: 2px solid #111827;
  border-bottom: 1px solid #d9dee5;
}

.detail-badge {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0;
  padding-top: 20px;
}

.detail-badge strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 8px;
  color: #ffffff;
  background: #22c55e;
  font-size: 18px;
  font-weight: 800;
}

.detail-badge span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #22c55e;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}

.detail-title,
.detail-area,
.detail-price {
  padding: 22px 20px;
  border-left: 1px solid #edf0f3;
}

.detail-title h1 {
  max-width: none;
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
}

.detail-title p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 14px;
}

.detail-area span,
.detail-price span,
.detail-side-price span {
  display: block;
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 13px;
}

.detail-area strong,
.detail-price strong,
.detail-side-price strong {
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.detail-price strong {
  color: #dc2626;
}

.detail-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  border-bottom: 1px solid #d9dee5;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 22px 14px 0;
}

.detail-fact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid #edf0f3;
}

.detail-fact span,
.detail-agent span,
.detail-info-grid dt {
  color: #6b7280;
  font-size: 13px;
}

.detail-fact strong,
.detail-info-grid dd {
  margin: 0;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.detail-agent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 4px 0;
  padding: 10px 0 0;
}

.detail-agent strong,
.detail-agent a,
.detail-agent small {
  grid-column: 2;
}

.detail-agent strong {
  color: #111827;
  font-size: 14px;
}

.detail-agent a {
  color: #075ed1;
  font-size: 17px;
  font-weight: 800;
}

.detail-agent small {
  max-width: 560px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.detail-side-price {
  padding: 22px 18px;
  border-left: 1px solid #edf0f3;
  text-align: center;
}

.detail-side-price a {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.detail-section {
  padding: 22px 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-section h2 {
  margin: 0 0 20px;
  color: #111827;
  font-size: 17px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 70px;
  margin: 0;
}

.detail-info-grid div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
}

.detail-description {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.9;
}

.detail-youtube-admin {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #f8fafc;
}

.detail-youtube-admin label {
  display: grid;
  gap: 6px;
  color: #24394e;
  font-size: 13px;
  font-weight: 800;
}

.detail-youtube-admin input {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
}

.detail-youtube-admin button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #197353;
  font-weight: 800;
  cursor: pointer;
}

.detail-youtube-admin button[data-youtube-clear] {
  background: #64748b;
}

.detail-youtube-admin button:disabled {
  opacity: 0.58;
  cursor: default;
}

.detail-youtube-admin p {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.detail-video {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.detail-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-video-empty {
  margin: 0;
  color: #64748b;
  font-weight: 700;
}

.detail-photo-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 16px;
}

.detail-photo-tabs strong {
  color: #075ed1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.detail-photo-tabs span {
  color: #8a9099;
}

.detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  overflow: visible;
}

.detail-thumb-item {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.detail-thumb-item[draggable="true"] {
  cursor: grab;
}

.detail-thumb-item[draggable="true"]:active {
  cursor: grabbing;
}

.detail-thumb-item.is-dragging {
  opacity: 0.42;
}

.detail-thumb-item.is-drop-target .listing-thumb {
  border: 3px dashed #197353;
  transform: translateY(-2px);
}

.detail-thumbs .listing-thumb {
  width: 82px;
  height: 58px;
  margin: 0;
  cursor: pointer;
}

.detail-thumbs .listing-thumb.is-active {
  border: 3px solid #f0441f;
}

.detail-photo-tools {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.detail-representative-button {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #197353;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.detail-representative-button:disabled {
  color: #ffffff;
  border-color: #197353;
  background: #197353;
  cursor: default;
}

.detail-photo-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 12px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #f8fafc;
}

.detail-photo-admin form {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-photo-admin label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #24394e;
  font-size: 14px;
  font-weight: 800;
}

.detail-photo-admin button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #197353;
  font-weight: 800;
  cursor: pointer;
}

.detail-photo-admin button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.detail-photo-admin p {
  width: 100%;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.detail-photo-check {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.detail-photo-check input {
  width: 14px;
  height: 14px;
}

.detail-main-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: 520px;
  overflow: hidden;
  background-image: url("assets/hero-jeju-realestate.png");
  background-size: cover;
  background-position: center;
}

.detail-main-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 860px);
  object-fit: contain;
  background: #f8fafc;
}

.detail-main-photo.has-photo {
  height: auto;
  min-height: 0;
  padding: 12px;
  overflow: visible;
  background-image: none;
  background-color: #f8fafc;
}

.detail-photo-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 34%;
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.detail-photo-nav--prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 18px;
}

.detail-photo-nav--next {
  right: 0;
  justify-content: flex-end;
  padding-right: 18px;
}

.detail-photo-nav span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.46);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.detail-photo-nav:hover span,
.detail-photo-nav:focus-visible span {
  background: rgba(15, 23, 42, 0.72);
}

.detail-photo-counter {
  position: absolute;
  right: 16px;
  bottom: 48px;
  z-index: 2;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  font-size: 13px;
  font-weight: 800;
}

.detail-main-photo > span {
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.18);
  font-size: 20px;
  font-weight: 800;
}

.detail-main-photo::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 11px 18px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  content: "조은땅공인중개사 (대표:김송례)   010-2983-4676 / 010-2983-4676";
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.detail-main-photo.has-photo::after {
  display: none;
  content: none;
}

.detail-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 22px;
}

.detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #24394e;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .detail-header {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-nav {
    justify-content: flex-start;
  }

  .detail-top {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .detail-area,
  .detail-price {
    border-top: 1px solid #edf0f3;
  }

  .detail-summary,
  .detail-facts,
  .detail-youtube-admin,
  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .detail-side-price {
    border-top: 1px solid #edf0f3;
    border-left: 0;
  }

  .detail-main-photo {
    height: min(62vw, 420px);
    min-height: 260px;
  }

  .detail-main-photo.has-photo {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .detail-header,
  .detail-shell {
    width: min(100% - 18px, 960px);
  }

  .detail-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-nav a {
    min-height: 40px;
    padding: 0 8px;
    font-size: 13px;
  }

  .detail-top,
  .detail-fact,
  .detail-agent,
  .detail-info-grid div {
    grid-template-columns: 1fr;
  }

  .detail-title,
  .detail-area,
  .detail-price {
    padding: 16px 0;
    border-left: 0;
  }

  .detail-agent strong,
  .detail-agent a,
  .detail-agent small {
    grid-column: auto;
  }
}

.request-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px 0 42px;
}

.request-top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 0 14px;
}

.request-top-actions a,
.request-top-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
}

.request-top-actions a {
  border: 1px solid #cbd5e1;
  color: #334155;
  background: #ffffff;
}

.request-top-actions button {
  border: 0;
  color: #ffffff;
  background: #197353;
  cursor: pointer;
}

.request-notice {
  display: grid;
  gap: 5px;
  padding: 0 0 18px;
  border-bottom: 1px solid #d9dee5;
  color: #b91c1c;
  font-size: 16px;
  line-height: 1.35;
}

.request-notice p {
  margin: 0;
}

.request-form {
  display: grid;
  gap: 26px;
  padding-top: 18px;
}

.form-row,
.form-grid label {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.form-grid {
  display: grid;
  gap: 36px;
}

.form-grid--thirds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid--quarters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-grid--fifths {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.request-form label,
.request-form span {
  color: #111827;
  font-size: 16px;
  font-weight: 500;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #1f2937;
  background: #ffffff;
  font-size: 16px;
  outline: none;
}

.request-form input,
.request-form select {
  min-height: 38px;
  padding: 0 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.address-search-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 112px minmax(220px, 1fr);
  gap: 8px;
  align-items: center;
}

.address-search-row button {
  min-height: 38px;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: #197353;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.address-search-row button:hover {
  background: #126346;
}

.request-form textarea {
  min-height: 104px;
  padding: 10px 12px;
  line-height: 1.55;
  resize: vertical;
}

.request-form input[type="file"] {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.photo-upload-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
}

.photo-upload-control button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #102536;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.photo-upload-control button:hover {
  border-color: #197353;
  color: #197353;
}

.photo-upload-control span {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: #197353;
  box-shadow: 0 0 0 3px rgba(25, 115, 83, 0.12);
}

.consent-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
}

.consent-check input {
  width: 16px;
  min-height: 16px;
}

.request-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.request-actions a,
.request-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
}

.request-actions a {
  border: 1px solid #cbd5e1;
  color: #334155;
  background: #ffffff;
}

.request-actions button {
  border: 0;
  color: #ffffff;
  background: #197353;
  cursor: pointer;
}

.request-actions button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 22px;
  margin: -10px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.form-message.is-success {
  color: #197353;
}

.form-message.is-error,
.admin-empty.is-error {
  color: #b91c1c;
}

.admin-page {
  color: #111827;
  background: #f6f8f7;
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header p,
.admin-header h1 {
  margin: 0;
}

.admin-header p {
  color: #197353;
  font-size: 15px;
  font-weight: 800;
}

.admin-header h1 {
  margin-top: 6px;
  color: #102536;
  font-size: 34px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-weight: 800;
}

.admin-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #ffffff;
  background: #102536;
  font-weight: 800;
  cursor: pointer;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
}

.admin-login h2,
.admin-login p {
  margin: 0;
}

.admin-login h2 {
  color: #102536;
  font-size: 24px;
}

.admin-login div p {
  margin-top: 7px;
  color: #64748b;
  font-size: 14px;
}

.admin-login form {
  display: flex;
  gap: 8px;
}

.admin-login input {
  width: min(260px, 48vw);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
}

.admin-login button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #197353;
  font-weight: 800;
  cursor: pointer;
}

.admin-login button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.admin-login-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 800;
}

.admin-import,
.admin-list-section {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
}

.admin-import {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.admin-import h2,
.admin-section-title h2 {
  margin: 0;
  color: #102536;
  font-size: 22px;
}

.admin-import p,
.admin-section-title p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

.admin-import-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-import-form input {
  max-width: 260px;
  color: #334155;
  font-size: 14px;
}

.admin-import-form button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #197353;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.admin-import-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.admin-import-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.admin-import-status.is-success {
  color: #047857;
  font-weight: 800;
}

.admin-import-status.is-error {
  color: #b91c1c;
  font-weight: 800;
}

.admin-import-status a {
  color: #075ed1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.admin-skipped {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #f0c6c6;
  border-radius: 8px;
  background: #fff7f7;
  color: #7f1d1d;
  font-weight: 600;
}

.admin-skipped summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.admin-skipped ul {
  display: grid;
  gap: 8px;
  max-height: 280px;
  margin: 12px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.admin-skipped li {
  display: grid;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #ffffff;
}

.admin-skipped strong {
  color: #111827;
  font-size: 14px;
}

.admin-skipped span,
.admin-skipped em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-list-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-list-actions p {
  margin: 0;
  color: #52677a;
  font-size: 14px;
  font-weight: 800;
}

.admin-delete-button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #b91c1c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

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

.admin-empty {
  margin: 0;
  padding: 24px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
}

.admin-table {
  width: 100%;
  min-width: 1240px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #e5eaf0;
  color: #1f2937;
  font-size: 14px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table th {
  color: #52677a;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.admin-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.admin-table tbody tr:hover {
  background: #fbfdfb;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-address {
  max-width: 260px;
  overflow: hidden;
  color: #102536;
  font-weight: 800;
  text-overflow: ellipsis;
}

.admin-memo {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-photo-links {
  display: flex;
  gap: 6px;
}

.admin-photo-links a,
.admin-muted {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: #197353;
  background: #eaf6f0;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .form-grid--thirds,
  .form-grid--quarters,
  .form-grid--fifths {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .address-search-row {
    grid-template-columns: 1fr;
  }

  .request-actions {
    justify-content: stretch;
  }

  .request-actions a,
  .request-actions button {
    flex: 1;
  }

  .admin-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-login {
    grid-template-columns: 1fr;
  }

  .admin-login form {
    flex-direction: column;
  }

  .admin-login input {
    width: 100%;
  }

  .admin-import {
    grid-template-columns: 1fr;
  }

  .admin-import-form {
    align-items: stretch;
    flex-direction: column;
    justify-content: stretch;
  }

  .admin-import-form input {
    max-width: none;
  }
}

.album-page {
  color: #111827;
  background:
    radial-gradient(circle at 16px 16px, rgba(214, 176, 72, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 48px 16px, rgba(214, 176, 72, 0.12) 0 2px, transparent 3px),
    #fffdf8;
  background-size: 64px 32px;
}

.map-page {
  color: #111827;
  background: #f6f8f7;
}

.map-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.map-header p,
.map-header h1 {
  margin: 0;
}

.map-header p {
  color: #197353;
  font-size: 14px;
  font-weight: 800;
}

.map-header h1 {
  margin-top: 4px;
  color: #102536;
  font-size: 30px;
}

.map-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #24394e;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  min-height: calc(100vh - 134px);
}

.map-canvas {
  min-height: 680px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #e8eef3;
}

.map-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.map-panel__head {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-bottom: 1px solid #e5eaf0;
}

.map-panel__head p,
.map-panel__head h2,
.map-panel__head span {
  margin: 0;
}

.map-panel__head p {
  color: #197353;
  font-size: 13px;
  font-weight: 800;
}

.map-panel__head h2 {
  color: #102536;
  font-size: 24px;
}

.map-panel__head span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.map-property-list {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
}

.map-property-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.map-property-item:hover,
.map-property-item:focus-visible {
  border-color: #197353;
  background: #fbfdfb;
}

.map-property-item.is-unmapped {
  opacity: 0.72;
}

.map-property-item.is-unmapped small {
  color: #b45309;
}

.map-property-thumb {
  display: block;
  width: 82px;
  height: 64px;
  border: 1px solid #d7dde5;
  border-radius: 6px;
  background-image: url("assets/hero-jeju-realestate.png");
  background-size: cover;
  background-position: center;
}

.map-property-thumb[style] {
  background-color: #f8fafc;
  background-repeat: no-repeat;
  background-size: contain;
}

.map-property-thumb.is-empty {
  background:
    linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.18)),
    url("assets/hero-neighborhood.png");
  background-size: cover;
  background-position: center;
}

.map-property-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.map-property-copy span {
  color: #1765ff;
  font-size: 12px;
  font-weight: 800;
}

.map-property-copy strong {
  color: #102536;
  font-size: 16px;
}

.map-property-copy em {
  color: #a81919;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.map-property-copy small {
  color: #475569;
  font-size: 13px;
}

.map-empty {
  margin: 0;
  padding: 16px;
  color: #64748b;
  font-weight: 700;
}

.map-empty.is-error {
  color: #b91c1c;
}

.dong-count-marker {
  display: grid;
  gap: 3px;
  min-width: 118px;
  max-width: 190px;
  padding: 9px 12px;
  border: 2px solid #ffffff;
  border-radius: 16px;
  color: #ffffff;
  background: #197353;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  text-align: center;
}

.dong-count-marker strong {
  font-size: 13px;
  line-height: 1.1;
}

.dong-count-marker span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.dong-count-marker small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.map-info-window {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 10px 12px;
}

.map-info-window strong {
  color: #102536;
  font-size: 14px;
}

.map-info-window span {
  color: #a81919;
  font-size: 13px;
  font-weight: 800;
}

.map-info-window small {
  color: #475569;
  font-size: 12px;
}

.album-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.album-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.album-header p,
.album-header h1 {
  margin: 0;
}

.album-header p {
  color: #197353;
  font-size: 14px;
  font-weight: 800;
}

.album-header h1 {
  margin-top: 4px;
  color: #102536;
  font-size: 30px;
}

.album-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.album-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #24394e;
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.album-summary {
  margin: 0 0 16px;
  color: #197353;
  font-size: 15px;
  font-weight: 800;
}

.album-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  border: 1px solid #eadfbf;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  font-weight: 800;
  text-align: center;
}

.album-property-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(214, 176, 72, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.album-property-card:hover,
.album-property-card:focus-visible {
  border-color: rgba(25, 115, 83, 0.32);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.album-property-image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  background-image: url("assets/hero-jeju-realestate.png");
  background-size: cover;
  background-position: center;
}

.album-property-image[style] {
  background-color: #f8fafc;
  background-repeat: no-repeat;
  background-size: contain;
}

.album-property-image strong {
  padding: 8px 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  font-weight: 800;
}

.album-property-image--empty {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    url("assets/hero-neighborhood.png");
  background-size: cover;
  background-position: center;
}

.album-property-image--empty strong {
  padding: 8px 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  font-weight: 800;
}

.album-property-image--room {
  background-position: 75% 74%;
  background-size: 250%;
}

.album-property-image--street {
  background-position: 34% 68%;
  background-size: 220%;
}

.album-property-image--house {
  background-position: 90% 62%;
}

.album-property-image--view {
  background-position: 48% 46%;
}

.album-property-image--store {
  background-position: 95% 58%;
}

.album-property-body {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 26px 28px;
  text-align: center;
}

.album-property-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #1d68ff;
  border-radius: 4px;
  color: #1765ff;
  background: #ffffff;
  font-size: 15px;
  line-height: 1;
}

.album-property-body h2,
.album-property-body h3,
.album-property-body p {
  margin: 0;
}

.album-property-body h2 {
  color: #030712;
  font-size: 21px;
  font-weight: 800;
}

.album-property-address {
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.album-property-body h3 {
  color: #a81919;
  font-size: 21px;
  font-weight: 800;
}

.album-property-spec {
  color: #030712;
  font-size: 15px;
  font-weight: 800;
}

.album-property-tags {
  color: #dc3545;
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .map-canvas,
  .map-panel {
    min-height: 520px;
  }

  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .map-shell {
    width: min(100% - 28px, 1320px);
  }

  .map-header {
    align-items: stretch;
    flex-direction: column;
  }

  .map-canvas,
  .map-panel {
    min-height: 420px;
  }

  .album-shell {
    width: min(100% - 28px, 1280px);
  }

  .album-header {
    align-items: stretch;
    flex-direction: column;
  }

  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-property-image {
    min-height: 220px;
  }
}

/* Full-screen Kakao map page */
.map-page {
  overflow: hidden;
  background: #eef2f7;
}

.map-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.map-topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 70px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.86);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.map-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.map-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #ffffff;
  background: #197353;
  font-size: 14px;
  font-weight: 800;
}

.map-brand span:last-child {
  display: grid;
  gap: 2px;
}

.map-brand strong {
  color: #102536;
  font-size: 16px;
  line-height: 1.15;
}

.map-brand small {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.map-topbar .map-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.map-topbar .map-nav a {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #24394e;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.map-topbar .map-nav a[aria-current="page"] {
  color: #ffffff;
  background: #263a4a;
}

.map-filter.listing-filter {
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.map-filter.listing-filter::-webkit-scrollbar {
  display: none;
}

.map-filter.listing-filter button {
  min-height: 30px;
  padding: 0 13px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.map-layout {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  width: 100%;
  min-height: 0;
}

.map-panel {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  padding-top: 0;
  overflow: hidden;
  border-right: 1px solid #cbd5e1;
  background: #ffffff;
}

.map-canvas {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

@media (max-width: 980px) {
  .map-topbar {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding: 10px 14px;
  }

  .map-layout {
    grid-template-columns: 330px minmax(0, 1fr);
    min-height: 0;
  }

  .map-panel {
    min-height: 0;
  }

  .map-canvas {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .map-page {
    overflow: auto;
  }

  .map-shell {
    height: auto;
    min-height: 100vh;
  }

  .map-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-topbar .map-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .map-topbar .map-nav a {
    white-space: nowrap;
  }

  .map-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .map-panel {
    order: 2;
    grid-column: auto;
    grid-row: auto;
    display: block;
    min-height: 0;
    max-height: none;
    padding-top: 0;
    overflow: visible;
    border-top: 1px solid #cbd5e1;
    border-right: 0;
  }

  .map-property-list {
    overflow: visible;
    padding-bottom: 24px;
  }

  .map-canvas {
    order: 1;
    grid-column: auto;
    grid-row: auto;
    height: 58vh;
    min-height: 360px;
    max-height: 520px;
  }
}

.listing-thumb[style],
.map-property-thumb[style],
.album-property-image[style] {
  background-color: #f8fafc !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.detail-main-photo img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: min(78vh, 860px) !important;
  object-fit: contain !important;
  object-position: center !important;
}

.detail-main-photo.has-photo,
.detail-main-photo:has(img) {
  height: auto !important;
  min-height: 0 !important;
  padding: 12px !important;
  overflow: visible !important;
  background-image: none !important;
  background-color: #f8fafc !important;
}
