:root {
  color-scheme: light;
  --paper: #f7f4eb;
  --shell: #edeade;
  --ink: #222c23;
  --forest: #253c31;
  --muted: #526056;
  --line: #d9d9cd;
  --bronze: #7b5c36;
  --white: #fdfaf3;
  font: 16px/1.5 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--shell); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button[hidden], [hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9b6d32; outline-offset: 3px; }
.site { max-width: 520px; margin: auto; min-height: 100dvh; background: var(--paper); padding-bottom: 92px; }
.header { height: 71px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { mix-blend-mode: multiply; }
.brand strong { display: block; font-size: 23px; font-weight: 600; letter-spacing: .12em; line-height: 1.15; }
.brand small { display: block; font-size: 9px; letter-spacing: .2em; margin-top: 4px; }
.text-link { background: none; border: 0; padding: 4px 0; font-size: 13px; white-space: nowrap; }
.text-link span { margin-left: 3px; }
.carousel { position: relative; isolation: isolate; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  touch-action: pan-x pan-y; overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; min-width: 0; position: relative; display: block; scroll-snap-align: start;
  background: #425342; color: white; aspect-ratio: 430 / 375;
}
.slide img, .property-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  position: absolute; content: ""; inset: 28% 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 20%, #121e15b0 75%, #102118ee);
}
.slide:focus-visible { outline-offset: -5px; z-index: 1; }
.slide-caption {
  position: absolute; display: flex; align-items: end; justify-content: space-between;
  gap: 10px; bottom: 20px; left: 23px; right: 23px; z-index: 1;
}
.slide-location { display: block; font-size: 12px; margin-bottom: 5px; color: #f6f3e5; letter-spacing: .07em; }
.slide-name { display: block; font-weight: 650; font-size: clamp(18px, 5.25vw, 26px); line-height: 1.2; }
.slide-link {
  white-space: nowrap; font-size: 12px; display: inline-flex; align-items: center;
  min-height: 39px; padding: 0 10px; gap: 7px; border: 1px solid #fff9; background: #26352c79; border-radius: 3px;
}
.carousel-nav { position: absolute; top: 42%; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; }
.icon-button.on-photo {
  pointer-events: auto; background: #12241f8f; color: white; font-size: 28px; line-height: 1;
  border: 1px solid #ffffff70; backdrop-filter: blur(6px);
}
.icon-button.on-photo span { margin-top: -3px; }
.carousel-tools { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.slide-dots { display: flex; gap: 2px; }
.slide-dots button { display: grid; place-items: center; width: 27px; height: 34px; padding: 0; background: none; border: 0; }
.slide-dots button::after { content: ""; width: 6px; height: 6px; border-radius: 8px; background: #9ca39a; }
.slide-dots button[aria-current="true"]::after { width: 16px; background: var(--forest); }
.rotate { color: var(--muted); font-size: 12px; }
.featured, .section { margin: 0 24px; }
.featured { padding: 12px 0 25px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--bronze); font-size: 12px; letter-spacing: .12em; margin: 0 0 10px; }
.eyebrow::before { content: ""; display: block; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(33px, 10vw, 45px); line-height: 1.18; font-weight: 580; letter-spacing: .045em; }
.subtitle { margin-top: 9px; font-size: 15px; color: var(--muted); letter-spacing: .08em; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 13px; border: 1px solid transparent; border-radius: 3px; line-height: 1.3; font-weight: 600; font-size: 14px;
}
.button.primary { background: var(--forest); color: var(--white); }
.button.secondary { background: transparent; border-color: #879589; color: var(--forest); }
.action-row .button { gap: 16px; }
.section { border-top: 1px solid var(--line); padding: 19px 0 24px; scroll-margin-top: 14px; }
h2 { font-size: 23px; font-weight: 600; line-height: 1.3; }
.places { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-top: 13px; }
.places > * {
  display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 43px; padding: 5px 10px;
  border: 1px solid var(--line); background: none; border-radius: 2px; font-size: 12px; text-align: left;
}
.places span { color: var(--muted); }
.project { padding-top: 15px; scroll-margin-top: 18px; }
.project > h3 { color: var(--bronze); font-size: 13px; font-weight: 650; letter-spacing: .04em; margin-bottom: 5px; }
.listing { display: grid; grid-template-columns: 75px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 70px; border-bottom: 1px solid var(--line); }
.listing img { width: 75px; height: 49px; display: block; object-fit: cover; }
.listing strong, .listing small { display: block; }
.listing strong { font-size: 14px; line-height: 1.35; }
.listing small { font-size: 12px; color: var(--muted); margin-top: 3px; }
.guide p, .property-summary { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.guide .text-link { margin-top: 8px; }
.contact-bar {
  position: fixed; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: 2fr 3fr; gap: 10px; width: min(100%, 520px);
  padding: 12px 23px max(14px, env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line);
}
.contact-bar .button { min-height: 49px; }
.contact-bar .button small { display: block; margin-top: 3px; letter-spacing: .07em; }
.contact-bar svg { fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.property-hero { margin: 0; }
.property-hero img { aspect-ratio: 4 / 3; }
.property-hero figcaption { margin: 8px 24px 0; text-align: right; font-size: 12px; color: var(--muted); }
.property-intro { margin: 19px 24px 22px; }
.property-intro h1 { font-size: clamp(27px, 8vw, 36px); letter-spacing: .01em; }
.property-intro .spec { color: var(--muted); margin-top: 9px; }
.amenities { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; margin: 13px 0 0; padding: 0; }
.amenities li { border: 1px solid var(--line); padding: 5px 9px; font-size: 13px; }
.property-photo { display: block; width: 100%; height: auto; margin-top: 12px; }
dialog {
  margin: auto auto 0; padding: 0; width: min(100%, 520px); max-width: 100%;
  max-height: 90dvh; color: var(--ink); background: var(--white);
  border: 0; border-radius: 18px 18px 0 0;
}
dialog::backdrop { background: #14221985; }
.sheet { padding: 23px 24px max(18px, env(safe-area-inset-bottom)); }
.sheet-head { display: flex; align-items: start; justify-content: space-between; }
.sheet-head h2 { font-size: 26px; }
.close { background: #eeede4; font-size: 24px; line-height: 1; }
.contact-topic { color: var(--muted); margin-top: 4px; font-size: 12px; }
.wechat-accounts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 13px; }
.wechat-accounts button { background: #eeede4; }
.wechat-accounts button[aria-pressed="true"] { color: var(--white); background: var(--forest); }
.wechat-help, .wechat-profile { color: var(--muted); text-align: center; font-size: 13px; }
.wechat-help { margin: 12px 0; }
.qr {
  display: block; width: min(258px, 100%, 43dvh); height: auto; margin: auto; border-radius: 4px; background: white;
  border: 1px solid var(--line); -webkit-touch-callout: default;
}
.wechat-profile { margin-top: 8px; }
@media (max-width: 350px) {
  .slide-caption { left: 15px; right: 15px; }
  .slide-link { padding: 0 7px; }
  .contact-bar { padding-right: 15px; padding-left: 15px; }
}

.catalog-cover { position: relative; margin: 0; }
.catalog-cover img {
  display: block; width: 100%; height: clamp(152px, 45vw, 222px); object-fit: cover; object-position: 52% 44%;
}
.catalog-cover figcaption {
  position: absolute; right: 17px; bottom: 12px; padding: 3px 7px; border-radius: 2px;
  background: #15221bcc; color: var(--white); font-size: 11px;
}
.catalog-intro { padding: 20px 24px 17px; }
.catalog-intro .eyebrow { margin-bottom: 6px; }
.catalog-intro h1 { font-size: clamp(30px, 8.6vw, 39px); letter-spacing: .035em; }
.catalog-intro .subtitle { margin-top: 5px; }
.catalog-nav {
  position: sticky; top: 0; z-index: 1; display: flex; gap: 25px;
  padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.catalog-nav a {
  display: inline-flex; align-items: center; min-height: 45px; padding: 0 2px;
  border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; font-weight: 600;
}
.catalog-nav a[aria-current="page"] { border-color: var(--forest); color: var(--forest); }
.catalog-panel { padding: 15px 24px 14px; scroll-margin-top: 52px; }
.catalog-filters { display: grid; grid-template-columns: .87fr 1fr 1fr 1.23fr; gap: 7px; }
.catalog-filters button {
  min-width: 0; min-height: 42px; padding: 4px 2px; border: 1px solid var(--line); border-radius: 4px;
  background: transparent; color: var(--ink); font-size: 13px; font-weight: 550; white-space: nowrap;
}
.catalog-filters button[aria-pressed="true"] { color: var(--white); border-color: var(--forest); background: var(--forest); }
.catalog-count { margin: 10px 0 7px; color: var(--muted); font-size: 12px; }
.catalog-grid { display: grid; }
.catalog-card {
  display: grid; grid-template-columns: minmax(74px, 34%) minmax(0, 1fr) auto; gap: 13px; align-items: center;
  position: relative; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.catalog-card img { width: 100%; height: auto; aspect-ratio: 1.27; object-fit: cover; border-radius: 3px; }
.catalog-card:first-child { border-top: 1px solid var(--line); }
.catalog-card h3 { font-size: clamp(15px, 4vw, 19px); line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.card-number { color: var(--bronze); font-size: 11.5px; line-height: 1.35; margin-bottom: 4px; }
.card-spec { margin-top: 5px; color: var(--muted); font-size: 12px; }
.card-arrow { padding-right: 3px; color: var(--forest); font-weight: 600; font-size: 16px; }
.nearby-stays { margin-top: 26px; }
.nearby-stays h2 { margin-bottom: 11px; font-size: 20px; }
.guide-intro { padding: 6px 0 15px; }
.guide-intro p, .guide-item p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 7px; }
.guide-item { padding: 0 0 12px; border-top: 1px solid var(--line); }
.guide-item summary {
  display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 6px;
  padding: 13px 0 0; min-height: 43px; color: var(--ink); font-size: 16px; font-weight: 600; cursor: pointer;
}
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item summary::after { content: "+"; color: var(--forest); font-weight: 500; font-size: 19px; }
.guide-item[open] summary::after { content: "−"; }
.guide-item button { color: var(--forest); margin-top: 8px; }
.guide-spots { list-style: none; padding: 0; margin: 8px 0 0; }
.guide-spots li { display: grid; gap: 2px; margin: 8px 0; color: var(--muted); font-size: 13px; }
.guide-spots strong { color: var(--ink); }
@media (max-width: 350px) {
  .catalog-intro, .catalog-nav, .catalog-panel { padding-left: 16px; padding-right: 16px; }
  .catalog-filters { gap: 5px; }
  .catalog-filters button { font-size: 12px; }
  .catalog-card { gap: 9px; }
}

.detail-gallery { margin: 0; }
.detail-stage { position: relative; background: #243629; }
.detail-cover {
  display: block; position: relative; width: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; touch-action: pan-y;
}
.detail-cover img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.detail-expand, .detail-position {
  position: absolute; bottom: 12px; padding: 5px 8px; border-radius: 3px;
  background: #142219d9; color: var(--white); font-size: 12px; line-height: 1.4;
}
.detail-expand { left: 13px; }
.detail-position { right: 13px; pointer-events: none; }
.detail-arrows, .lightbox-arrows {
  position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%);
  display: flex; justify-content: space-between; pointer-events: none;
}
.detail-thumbnails {
  position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 10px 24px 3px;
  scrollbar-width: thin; scrollbar-color: #96a598 transparent;
}
.detail-thumb {
  flex: 0 0 clamp(65px, 16vw, 83px); display: block; min-width: 0; padding: 3px;
  border: 1px solid transparent; border-radius: 4px; background: transparent;
}
.detail-thumb[aria-pressed="true"] { border-color: var(--forest); }
.detail-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.detail-caption { margin: 3px 24px 0; color: var(--muted); font-size: 11.5px; }
.detail-intro { margin-top: 16px; }
.detail-location { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px; }
.detail-location .eyebrow { margin: 0; }
.detail-unit { color: var(--forest); background: #e6ece3; padding: 3px 7px; border-radius: 3px; font-size: 12px; }
.detail-spec {
  display: flex; flex-wrap: wrap; gap: 0; margin: 15px 0 2px; border-block: 1px solid var(--line);
  color: var(--ink);
}
.detail-spec > div { flex: 1; min-width: 100px; padding: 8px 14px 9px; }
.detail-spec > div:first-child { padding-left: 0; }
.detail-spec > div + div { border-left: 1px solid var(--line); }
.detail-spec dt { font-size: 11px; color: var(--muted); }
.detail-spec dd { margin: 1px 0 0; font-size: 19px; font-weight: 650; line-height: 1.4; }
.detail-section { padding-top: 16px; padding-bottom: 19px; }
.detail-section h2 { font-size: 20px; }
.detail-section .amenities { margin-top: 10px; }
.room-layout { margin: 10px 0 0; }
.room-layout > div {
  display: grid; grid-template-columns: minmax(56px, .22fr) 1fr; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.room-layout dt { color: var(--bronze); font-weight: 650; }
.room-layout dd { color: var(--muted); margin: 0; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.detail-album-link { display: inline-flex; margin-top: 12px; }
.detail-album { scroll-margin-top: 20px; }
.album-sequence { display: grid; gap: 12px; margin-top: 13px; }
.album-picture {
  display: grid; gap: 5px; width: 100%; padding: 0; text-align: left;
  border: 0; background: transparent; color: var(--muted); cursor: zoom-in;
}
.album-picture img { display: block; width: 100%; height: auto; border-radius: 9px; }
.album-picture span { padding-inline: 2px; font-size: 12px; }
.detail-consult p { margin: 8px 0 12px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.detail-consult .text-link { margin-left: 12px; }
.property-lightbox {
  margin: auto; padding: 0; width: min(100%, 880px); max-width: 100%; max-height: 96dvh;
  background: #142019; color: var(--white); border-radius: 5px;
}
.property-lightbox::backdrop { background: #0d1711ee; }
.lightbox-body { position: relative; display: grid; min-height: 270px; padding: 56px 0 15px; }
.lightbox-body img { display: block; width: 100%; max-height: 74dvh; object-fit: contain; touch-action: pan-y; }
.lightbox-close { position: absolute; top: 8px; right: 9px; color: var(--white); background: #2c4034; font-size: 25px; }
.lightbox-caption { margin: 9px 10px 0; text-align: center; font-size: 13px; }
@media (max-width: 350px) {
  .detail-consult .text-link { margin-left: 6px; }
  .detail-spec dd { font-size: 17px; }
}
.catalog-card.no-photo { grid-template-columns: minmax(0, 1fr) auto; min-height: 86px; }
.regional-index-link { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
.empty-results { color: var(--muted); font-size: 14px; padding: 12px 0; }

.site-registration { padding: 8px 20px 18px; color: var(--muted); font-size: 12px; text-align: center; }
.site-registration a { display: inline-block; padding: 6px; text-decoration: underline; text-underline-offset: 3px; }
