:root {
  --ink: #26342d;
  --ink-soft: #68746c;
  --paper: #f7f6ef;
  --paper-deep: #eeede4;
  --card: #fffffb;
  --line: #dfe3d8;
  --moss: #397c58;
  --moss-dark: #24543c;
  --moss-pale: #e5f0e8;
  --warm: #d6ad69;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(38, 52, 45, .08);
}

* { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.nav {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 62px;
  padding: 0 16px 0 22px;
  border: 1px solid rgba(223, 227, 216, .9);
  border-radius: 19px;
  background: rgba(255, 255, 251, .86);
  box-shadow: 0 10px 36px rgba(38, 52, 45, .07);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}
.nav-brand { margin-right: auto; color: var(--moss); font-size: 17px; font-weight: 750; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.nav-brand span { color: var(--warm); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); font-size: 13px; font-weight: 650; text-decoration: none; transition: background .18s ease, color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--moss-dark); background: var(--moss-pale); }
.nav-toggle { display: none; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 50%; background: transparent; color: var(--moss); }
.nav-toggle i { display: block; height: 2px; margin: 4px 0; border-radius: 999px; background: currentColor; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 760px); gap: 46px; align-items: end; min-height: min(720px, 88dvh); padding: 148px max(28px, calc((100vw - 1080px) / 2)) 82px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 88px; right: -12vw; width: min(58vw, 760px); aspect-ratio: 1; border: 1px solid rgba(57, 124, 88, .13); border-radius: 50%; box-shadow: 0 0 0 56px rgba(57, 124, 88, .035), 0 0 0 112px rgba(57, 124, 88, .025); }
.hero::after { content: ""; position: absolute; bottom: -120px; left: -70px; width: 340px; height: 340px; border-radius: 45% 55% 60% 40%; background: rgba(214, 173, 105, .12); filter: blur(4px); }
.hero-grain { position: absolute; inset: 0; opacity: .28; pointer-events: none; background-image: radial-gradient(rgba(38, 52, 45, .16) .45px, transparent .6px); background-size: 8px 8px; mask-image: linear-gradient(to bottom, #000, transparent 74%); }
.hero-copy, .hero-note { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--moss); font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(43px, 6vw, 82px); font-weight: 760; letter-spacing: -.075em; line-height: 1.04; }
.hero h1 em { display: block; color: var(--moss); font-family: Georgia, "Songti SC", serif; font-style: italic; font-weight: 500; letter-spacing: -.1em; }
.source-disclosure { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 0; padding: 8px 12px; border: 1px solid rgba(214, 173, 105, .42); border-radius: 999px; color: #8e6c36; background: rgba(255, 251, 238, .8); font-size: 12px; font-weight: 650; }
.source-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 3px rgba(214, 173, 105, .18); }
.primary-cta, .primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 22px; border: 0; border-radius: 999px; color: #fff; background: var(--moss); box-shadow: 0 10px 22px rgba(57, 124, 88, .19); font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.primary-cta { margin-top: 30px; }
.primary-cta:hover, .primary-action:hover { background: var(--moss-dark); transform: translateY(-2px); }
.hero-note { display: grid; gap: 14px; padding: 20px 0 0 22px; border-top: 1px solid var(--line); }
.hero-note span { color: var(--moss); font-family: Georgia, serif; font-size: 30px; font-style: italic; }
.hero-note p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.room-section { padding: 80px max(28px, calc((100vw - 1080px) / 2)) 92px; background: var(--paper-deep); }
.community-room-section { container: community-room / inline-size; }
.section-heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; }
.section-heading > div:first-child { min-width: 0; }
.section-heading h2, .how-it-works h2 { margin: 0; font-size: clamp(30px, 4vw, 45px); letter-spacing: -.055em; line-height: 1.1; }
.section-heading > div > p:last-child { max-width: 570px; margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; }
.date-picker { display: grid; flex: 0 0 180px; gap: 5px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.date-picker input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--card); }
.date-picker input:focus-visible, .city-tab:focus-visible, .room-card:focus-visible, .dialog-close:focus-visible, .secondary-action:focus-visible, .primary-action:focus-visible, .nav-toggle:focus-visible, .filter-trigger:focus-visible, .filter-chip:focus-visible, .yard-card:focus-visible { outline: 3px solid rgba(57, 124, 88, .32); outline-offset: 2px; }
.section-controls { display: flex; flex: 0 0 auto; gap: 10px; align-items: end; }
.city-tabs { display: flex; gap: 8px; margin: 34px 0 24px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.city-tab { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 700; transition: background .18s ease, border .18s ease, color .18s ease; }
.city-tab:hover, .city-tab[aria-pressed="true"] { border-color: var(--moss); color: var(--moss-dark); background: var(--moss-pale); }
.filter-trigger { display: inline-flex; min-width: 142px; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 9px 14px; border: 1px solid var(--moss); border-radius: 14px; color: var(--moss-dark); background: var(--card); font-size: 13px; font-weight: 800; white-space: nowrap; transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.filter-trigger[hidden] { display: none; }
.filter-trigger-icon { flex: 0 0 auto; color: var(--moss); font-size: 18px; font-weight: 500; line-height: 1; transition: transform .18s ease; }
.filter-trigger:hover, .filter-trigger[data-has-filters="true"] { background: var(--moss-pale); box-shadow: 0 8px 18px rgba(57, 124, 88, .12); transform: translateY(-1px); }
.filter-trigger[aria-expanded="true"] { border-color: var(--moss-dark); color: #fff; background: var(--moss-dark); box-shadow: 0 8px 18px rgba(57, 124, 88, .18); }
.filter-trigger[aria-expanded="true"] .filter-trigger-icon { color: currentColor; transform: rotate(45deg); }
.filter-trigger:active { transform: translateY(0); }
.filter-summary { margin: -8px 0 20px; padding: 10px 12px; border-left: 3px solid var(--warm); color: #795c29; background: rgba(255, 248, 232, .76); font-size: 12px; font-weight: 650; }
.filter-summary[hidden] { display: none; }
.filter-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter-empty-actions button { min-height: 34px; padding: 6px 11px; border: 1px solid rgba(121, 92, 41, .3); border-radius: 999px; color: #795c29; background: rgba(255,255,251,.72); font-size: 12px; font-weight: 750; }
.filter-empty-actions button:hover { border-color: #795c29; }
.filter-empty-actions button:disabled { opacity: .48; cursor: default; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.room-loading, .room-empty, .room-error { grid-column: 1 / -1; min-height: 200px; display: grid; place-items: center; padding: 28px; border: 1px dashed #cbd5c8; border-radius: var(--radius-lg); color: var(--ink-soft); text-align: center; background: rgba(255,255,251,.45); }
.room-card { position: relative; display: flex; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); color: inherit; text-align: left; background: var(--card); box-shadow: 0 7px 22px rgba(38, 52, 45, .035); transition: border .18s ease, box-shadow .18s ease, transform .18s ease; }
.room-card:hover { border-color: #adbeaF; box-shadow: var(--shadow); transform: translateY(-3px); }
.room-card-main { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
.room-card-visual { position: relative; display: flex; width: 100%; min-height: 0; aspect-ratio: 4 / 3; align-items: end; padding: 18px; overflow: hidden; color: rgba(38,52,45,.58); background: linear-gradient(135deg, #edf0e8, #e6ece0); }
.room-card-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-card-gallery { position: absolute; z-index: 1; inset: 0; display: block; overflow: hidden; }
.room-card-gallery .room-card-image { z-index: 0; }
.room-card-gallery .room-card-image.is-entering { animation: r1-room-gallery-image-enter .36s cubic-bezier(.22,.72,.24,1) both; will-change: opacity, transform; }
.room-card-gallery .room-card-image[data-r1-room-gallery-direction="previous"].is-entering { animation-name: r1-room-gallery-image-enter-previous; }
.room-card-gallery[data-r1-room-gallery-loading="true"] .room-card-image { filter: saturate(.94); }
.room-card-gallery-loading { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; pointer-events: none; color: #fff; background: rgba(20, 38, 30, .18); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.room-card-gallery-loading[hidden] { display: none !important; }
.room-card-gallery-spinner { width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.48); border-top-color: #fff; border-radius: 50%; animation: r1-room-gallery-loading-spin .72s linear infinite; }
.room-card-gallery[data-r1-room-gallery-loading="true"] .room-card-gallery-control { pointer-events: none; opacity: .42; }
.room-card-gallery-control { position: absolute; z-index: 3; top: 50%; display: grid; width: 34px; height: 48px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.76); border-radius: 999px; color: #fff; background: rgba(20,38,30,.48); box-shadow: 0 4px 14px rgba(20,38,30,.2); cursor: pointer; font: inherit; font-size: 25px; line-height: 1; opacity: .7; transform: translateY(-50%); transition: opacity .18s ease, background .18s ease, transform .18s ease; user-select: none; }
.room-card-gallery-control:hover, .room-card-gallery-control:focus-visible { opacity: 1; background: rgba(20,38,30,.82); transform: translateY(-50%) scale(1.04); }
.room-card-gallery-control:focus-visible { outline: 3px solid rgba(255,255,255,.82); outline-offset: 2px; }
.room-card-gallery-prev { left: 12px; }
.room-card-gallery-next { right: 12px; }
.room-card-gallery-dots { position: absolute; z-index: 3; right: 0; bottom: 12px; left: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.room-card-gallery-dot { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(20,38,30,.3); }
.room-card-gallery-dot.is-active { background: #fff; transform: scale(1.2); }
@keyframes r1-room-gallery-image-enter { from { opacity: .16; transform: scale(1.012) translateX(8px); } to { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes r1-room-gallery-image-enter-previous { from { opacity: .16; transform: scale(1.012) translateX(-8px); } to { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes r1-room-gallery-loading-spin { to { transform: rotate(360deg); } }
.room-card-visual::before { content: ""; position: absolute; top: -48px; right: -22px; width: 180px; height: 180px; border: 1px solid rgba(57,124,88,.2); border-radius: 50%; }
.room-card-visual::after { content: ""; position: absolute; bottom: -65px; left: -20px; width: 180px; height: 115px; border-radius: 50% 50% 0 0; background: rgba(214,173,105,.2); }
.room-display-status { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 18px; pointer-events: none; color: #fff; background: linear-gradient(135deg, rgba(38, 52, 45, .68), rgba(57, 89, 65, .46)); }
.room-display-status > span { display: inline-flex; min-width: 7em; min-height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(26, 37, 31, .34); box-shadow: 0 8px 22px rgba(26, 37, 31, .18); text-shadow: 0 1px 3px rgba(0,0,0,.25); }
.room-display-status strong { color: inherit; font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; letter-spacing: .08em; }
.room-display-status small { color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.image-empty-label { position: relative; z-index: 1; align-self: center; width: 100%; color: var(--ink-soft); font-size: 12px; font-weight: 700; text-align: center; }
.image-load-state { position: relative; z-index: 1; display: grid; min-height: 100%; place-items: center; width: 100%; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.room-card-copy { min-width: 0; padding: 20px; }
.room-card-city { margin: 0 0 6px; color: var(--moss); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.room-card h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.yard-name { min-height: 42px; margin: 5px 0 16px; color: var(--ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.room-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.room-meta > span { display: grid; min-width: 0; padding: 9px 10px; border-radius: 10px; background: #f8f8f2; }
.room-meta > span > span { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.room-meta b { margin-top: 2px; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.room-meta--merged-type .room-meta-price { grid-column: 1 / -1; border: 1px solid rgba(57, 124, 88, .2); background: rgba(235, 245, 237, .72); }
.room-meta--merged-type .room-meta-price b { color: var(--moss-dark); font-size: 14px; }
.room-reservation-notice { display: grid; min-width: 0; grid-column: 1 / -1; margin-top: 9px; padding: 9px 10px; border: 1px solid rgba(184, 139, 55, .24); border-radius: 10px; background: rgba(255, 248, 231, .72); }
.room-reservation-notice span { color: #806637; font-size: 10px; font-weight: 750; }
.room-reservation-notice b { margin-top: 2px; color: #654f26; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.room-price-options { display: block; min-width: 0; margin-top: 11px; padding: 11px; border: 1px solid rgba(57, 124, 88, .18); border-radius: 13px; background: linear-gradient(135deg, rgba(235, 245, 237, .76), rgba(250, 248, 238, .82)); }
.room-price-options-head { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.room-price-options-head > span:first-child { display: grid; min-width: 0; gap: 2px; }
.room-price-options-head strong { color: var(--moss-dark); font-size: 11px; font-weight: 800; letter-spacing: .03em; }
.room-price-options-head small { color: var(--ink-soft); font-size: 9px; line-height: 1.35; }
.room-price-toggle { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(57, 124, 88, .35); border-radius: 999px; color: var(--moss-dark); background: rgba(255,255,251,.7); cursor: pointer; font-size: 10px; font-weight: 800; white-space: nowrap; }
.room-price-toggle:hover, .room-price-toggle:focus-visible { border-color: var(--moss); color: #fff; background: var(--moss); outline: none; }
.room-price-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.room-price-panel[hidden] { display: none; }
.room-price-cell { display: grid; min-width: 0; gap: 3px; padding: 7px 6px; border-radius: 9px; background: rgba(255,255,251,.72); }
.room-price-cell > span { color: var(--ink-soft); font-size: 9px; font-weight: 750; }
.room-price-cell strong { min-width: 0; color: var(--ink); font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }
.room-price-cell[data-r1-price-option="monthly"] { background: rgba(255,255,251,.94); box-shadow: inset 0 -2px 0 rgba(57, 124, 88, .35); }
.room-card-cta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--moss); font-size: 12px; font-weight: 750; }
.room-display-status-band { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 16px; margin: -7px 0 16px; padding: 10px 14px; border: 1px solid rgba(57, 124, 88, .2); border-radius: 12px; color: var(--moss-dark); background: rgba(229, 240, 232, .68); }
.room-display-status-band span { color: var(--ink-soft); font-size: 11px; font-weight: 750; letter-spacing: .06em; }
.room-display-status-band strong { min-width: 0; color: var(--moss-dark); font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.section-footnote { max-width: 630px; margin: 25px 0 0; color: var(--ink-soft); font-size: 12px; }

.how-it-works { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; padding: 94px max(28px, calc((100vw - 1080px) / 2)); }
.how-it-works ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.how-it-works li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 19px 0; border-top: 1px solid var(--line); }
.how-it-works li:last-child { border-bottom: 1px solid var(--line); }
.how-it-works li > span { color: var(--warm); font-family: Georgia, serif; font-size: 23px; font-style: italic; }
.how-it-works strong { font-size: 16px; }
.how-it-works p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px max(28px, calc((100vw - 1080px) / 2)); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
footer p { margin: 0; }

.dialog-backdrop { position: fixed; z-index: 40; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(26, 37, 31, .44); backdrop-filter: blur(5px); }
.dialog-backdrop[hidden] { display: none; }
.yard-dialog-backdrop { position: fixed; z-index: 42; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(26, 37, 31, .44); backdrop-filter: blur(5px); }
.yard-dialog-backdrop[hidden] { display: none; }
.room-dialog { position: relative; width: min(560px, 100%); max-height: min(760px, calc(100dvh - 56px)); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; padding: 31px; border: 1px solid rgba(255,255,255,.4); border-radius: 26px; background: var(--card); box-shadow: 0 25px 80px rgba(0,0,0,.22); }
.room-dialog::-webkit-scrollbar { width: 0; height: 0; display: none; }
.yard-room-dialog { position: relative; width: min(1040px, 100%); max-height: min(780px, calc(100dvh - 56px)); overflow-y: auto; padding: 31px; border: 1px solid rgba(255,255,255,.4); border-radius: 26px; background: var(--card); box-shadow: 0 25px 80px rgba(0,0,0,.22); }
.yard-room-dialog[data-room-count="1"] { max-width: 460px; }
.yard-room-dialog[data-room-count="2"] { max-width: 760px; }
.yard-room-dialog[data-room-count="1"] .room-grid { grid-template-columns: 1fr; }
.yard-room-dialog[data-room-count="2"] .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dialog-close { position: absolute; top: 15px; right: 15px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ink-soft); background: #f1f3ec; font-size: 0; line-height: 0; }
.dialog-close::before, .dialog-close::after, .lightbox-close::before, .lightbox-close::after { content: ''; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; border-radius: 999px; background: currentColor; transform-origin: center; }
.dialog-close::before, .lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.dialog-close::after, .lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dialog-eyebrow { margin: 0 42px 7px 0; color: var(--moss); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.dialog-title { margin: 0; font-size: 27px; letter-spacing: -.045em; }
.dialog-yard { margin: 5px 0 23px; color: var(--ink-soft); font-size: 14px; }
.yard-dialog-status { margin: 5px 0 22px; color: var(--ink-soft); font-size: 13px; font-weight: 650; }
.yard-introduction { display: grid; gap: 14px; margin: 0 0 20px; }
.yard-overview-panel { margin: 0 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fafaf5; }
.yard-overview-panel h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -.02em; }
.yard-overview-subsection + .yard-overview-subsection { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.yard-overview-subsection h4 { margin: 0 0 8px; color: var(--moss); font-size: 13px; letter-spacing: -.01em; }
.yard-overview-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 0; }
.yard-overview-list div { min-width: 0; padding: 10px 11px; border-radius: 11px; background: var(--card); }
.yard-overview-list dt { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.yard-overview-list dd { margin: 4px 0 0; color: var(--ink); font-size: 12px; font-weight: 650; line-height: 1.55; overflow-wrap: anywhere; }
.yard-gallery { margin: 0 0 20px; }
.yard-gallery-entry { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; color: inherit; text-align: left; background: var(--card); cursor: zoom-in; }
.yard-gallery-entry:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }
.yard-gallery-preview { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: #edf0e8; }
.yard-gallery-preview::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,37,31,0) 50%, rgba(26,37,31,.42)); content: ''; pointer-events: none; }
.yard-gallery-preview img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.yard-gallery-preview-image.is-entering { animation: r1-yard-gallery-image-enter .36s cubic-bezier(.22,.72,.24,1) both; will-change: opacity, transform; }
.yard-gallery-preview-image[data-r1-yard-gallery-direction="previous"].is-entering { animation-name: r1-yard-gallery-image-enter-previous; }
.yard-gallery-preview[data-r1-yard-gallery-loading="true"] img { filter: saturate(.94); }
.yard-gallery-loading { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; align-content: center; gap: 7px; pointer-events: none; color: #fff; background: rgba(20,38,30,.18); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.yard-gallery-loading[hidden] { display: none !important; }
.yard-gallery-spinner { width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.48); border-top-color: #fff; border-radius: 50%; animation: r1-yard-gallery-loading-spin .72s linear infinite; }
.yard-gallery-preview[data-r1-yard-gallery-loading="true"] .yard-gallery-control { pointer-events: none; opacity: .42; }
.yard-gallery-entry:hover .yard-gallery-preview img { transform: scale(1.03); }
.yard-gallery-control { position: absolute; z-index: 2; top: 50%; display: grid; width: 36px; height: 50px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.76); border-radius: 999px; color: #fff; background: rgba(20,38,30,.48); box-shadow: 0 4px 14px rgba(20,38,30,.2); cursor: pointer; font: inherit; font-size: 25px; line-height: 1; opacity: .82; transform: translateY(-50%); transition: opacity .18s ease, background .18s ease, transform .18s ease; user-select: none; }
.yard-gallery-control:hover, .yard-gallery-control:focus-visible { opacity: 1; background: rgba(20,38,30,.82); transform: translateY(-50%) scale(1.04); }
.yard-gallery-control:focus-visible { outline: 3px solid rgba(255,255,255,.82); outline-offset: 2px; }
.yard-gallery-prev { left: 14px; }
.yard-gallery-next { right: 14px; }
.yard-gallery-dots { position: absolute; z-index: 2; right: 0; bottom: 13px; left: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.yard-gallery-dot { width: 7px; height: 7px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(20,38,30,.3); }
.yard-gallery-dot.is-active { background: #fff; transform: scale(1.2); }
@keyframes r1-yard-gallery-image-enter { from { opacity: .16; transform: scale(1.012) translateX(8px); } to { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes r1-yard-gallery-image-enter-previous { from { opacity: .16; transform: scale(1.012) translateX(-8px); } to { opacity: 1; transform: scale(1) translateX(0); } }
@keyframes r1-yard-gallery-loading-spin { to { transform: rotate(360deg); } }
.yard-gallery-count { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; color: #fff; background: rgba(26,37,31,.42); font-size: 11px; font-weight: 750; }
.yard-gallery-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.yard-gallery-caption span { color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.yard-gallery-caption strong { color: var(--moss-dark); font-size: 12px; font-weight: 800; }
.yard-gallery-empty { display: grid; min-height: 128px; place-items: center; align-content: center; gap: 5px; padding: 24px; border: 1px dashed var(--line); border-radius: 16px; color: var(--ink-soft); background: linear-gradient(135deg, #f1f3ed, #fafaf5); text-align: center; }
.yard-gallery-empty span { color: var(--moss-dark); font-size: 16px; font-weight: 800; }
.yard-gallery-empty small { font-size: 11px; font-weight: 650; }
.room-rent-band { position: relative; display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 18px; margin: 20px 0 17px; padding: 12px 2px 12px 16px; border-top: 1px solid rgba(184, 139, 55, .32); border-bottom: 1px solid rgba(184, 139, 55, .32); color: var(--ink); background: linear-gradient(90deg, rgba(255,248,231,.62), rgba(255,255,255,0)); }
.room-rent-band::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: #c5943f; }
.room-rent-label { color: #806637; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.room-rent-value { min-width: 0; color: var(--ink); font-size: clamp(19px, 2.4vw, 23px); font-weight: 760; letter-spacing: -.025em; overflow-wrap: anywhere; }
.room-booking-summary { margin: 20px 0 17px; border: 1px solid rgba(184, 139, 55, .24); border-radius: 16px; overflow: hidden; background: linear-gradient(115deg, rgba(255,248,231,.7), rgba(255,255,255,.82)); }
.room-booking-summary .room-rent-band { margin: 0; padding: 13px 15px; border-top: 0; }
.room-reservation-band { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 18px; margin: 0 0 17px; padding: 12px 15px; border: 1px solid rgba(184, 139, 55, .24); border-radius: 16px; color: var(--ink); background: linear-gradient(115deg, rgba(255, 248, 231, .7), rgba(255, 255, 255, .82)); }
.room-reservation-band span { flex: 0 0 auto; color: #806637; font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.room-reservation-band strong { min-width: 0; color: #654f26; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; text-align: right; }
.room-image-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 76%); gap: 10px; margin: 16px 0; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; scroll-snap-type: x proximity; }
.room-image-gallery::-webkit-scrollbar { width: 0; height: 0; display: none; }
.room-image-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: 14px; background: #edf0e8; scroll-snap-align: start; }
.image-lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; }
.image-lightbox-trigger:focus-visible { outline: 3px solid var(--warm); outline-offset: -3px; }
.room-image-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-image-gallery .image-load-state { min-height: 150px; }
.room-image-empty { margin: 16px 0; padding: 28px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-soft); text-align: center; background: #fafaf5; font-size: 13px; }
.room-description { margin: 18px 0 4px; padding: 15px 17px; border-left: 3px solid var(--warm); background: #faf9f2; }
.room-description div { min-width: 0; }
.room-description dt { color: var(--ink-soft); font-size: 11px; font-weight: 750; }
.room-description dd { max-width: 64ch; margin: 5px 0 0; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.72; overflow-wrap: anywhere; }
.room-spec-sheet { min-width: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.room-spec-group { min-width: 0; padding: 20px 0 16px; border-bottom: 1px solid var(--line); }
.room-spec-group h3 { margin: 0 0 12px; color: var(--moss-dark); font-size: 13px; letter-spacing: .04em; }
.room-spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; margin: 0; }
.room-spec-list > div { display: grid; min-width: 0; grid-template-columns: minmax(64px, .72fr) minmax(0, 1.28fr); gap: 12px; align-items: start; padding: 8px 0; }
.room-spec-list dt { color: var(--ink-soft); font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.room-spec-list dd { min-width: 0; margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.room-spec-list .room-spec-row--wide { grid-column: 1 / -1; grid-template-columns: 80px minmax(0, 1fr); }
.room-spec-list .room-spec-row--description { grid-column: 1 / -1; grid-template-columns: 80px minmax(0, 1fr); }
.room-spec-list .room-spec-row--description dd { font-weight: 650; line-height: 1.7; }
.room-spec-group--meta .room-spec-list { grid-template-columns: 1fr; }
.dialog-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
.dialog-actions .primary-action { width: 100%; }
.secondary-action { min-height: 50px; padding: 12px; border: 1px solid var(--moss); border-radius: 999px; color: var(--moss-dark); background: transparent; font-weight: 750; }
.secondary-action:hover { background: var(--moss-pale); }

.consultation-backdrop { position: fixed; z-index: 52; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(26, 37, 31, .52); backdrop-filter: blur(7px); }
.consultation-backdrop[hidden],
.lightbox-backdrop[hidden] { display: none; }
.consultation-dialog { position: relative; width: min(540px, 100%); max-height: min(720px, calc(100dvh - 56px)); overflow-y: auto; padding: 32px; border: 1px solid rgba(255,255,255,.48); border-radius: 28px; background: var(--card); box-shadow: 0 25px 80px rgba(0,0,0,.24); }
.consultation-lead { margin: 8px 0 22px; color: var(--ink-soft); font-size: 13px; }
.consultation-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: consultation-step; }
.consultation-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fafaf5; }
.consultation-step-number { color: var(--warm); font-family: Georgia, serif; font-size: 19px; font-style: italic; }
.consultation-step h3 { margin: 0; font-size: 15px; }
.consultation-step p { margin: 5px 0 12px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.consultation-step .secondary-action,
.consultation-step .primary-action { width: 100%; min-height: 44px; }
.consultation-qr-panel { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.consultation-qr-panel img { display: block; width: min(100%, 280px); height: auto; margin: 0 auto; border-radius: 10px; }
.consultation-status { min-height: 22px; margin: 16px 0 0; color: var(--moss-dark); font-size: 12px; font-weight: 700; }

@keyframes r1-lightbox-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes r1-lightbox-dialog-in {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes r1-lightbox-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes r1-lightbox-dialog-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(.975); }
}
@keyframes r1-lightbox-image-slide {
  from { opacity: .18; transform: translateX(var(--r1-lightbox-enter-offset, 10%)) scale(.985); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes r1-lightbox-loading-spin {
  to { transform: rotate(360deg); }
}
.lightbox-backdrop { position: fixed; z-index: 52; inset: 0; display: grid; align-items: stretch; justify-items: stretch; padding: 0; background: #000; color: #fff; backdrop-filter: none; }
.lightbox-backdrop:not([hidden]) { animation: r1-lightbox-backdrop-in .22s ease both; }
.lightbox-backdrop.is-leaving { animation: r1-lightbox-backdrop-out .22s ease both; }
.lightbox-dialog { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; width: 100%; height: 100dvh; min-height: 100svh; max-width: none; overflow: hidden; overscroll-behavior: contain; border: 0; border-radius: 0; color: #fff; background: #000; box-shadow: none; }
.lightbox-dialog > * { min-width: 0; max-width: 100%; }
.lightbox-dialog.is-entering { animation: r1-lightbox-dialog-in .32s cubic-bezier(.22, .72, .28, 1) both; }
.lightbox-dialog.is-leaving { animation: r1-lightbox-dialog-out .22s ease both; }
.lightbox-heading { position: absolute; z-index: 3; top: calc(env(safe-area-inset-top, 0px) + 22px); right: max(18px, env(safe-area-inset-right, 0px)); left: max(18px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.lightbox-counter { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lightbox-close { pointer-events: auto; position: absolute; top: 0; right: 0; display: grid; width: 48px; height: 48px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: rgba(0,0,0,.46); box-shadow: 0 8px 22px rgba(0,0,0,.28); font-size: 0; line-height: 0; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.lightbox-close:hover, .lightbox-close:focus-visible { border-color: #fff; background: rgba(255,255,255,.2); transform: scale(1.04); }
.lightbox-stage { position: relative; display: grid; min-width: 0; width: 100%; max-width: 100%; min-height: 0; place-items: center; overflow: hidden; padding: calc(82px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-left, 0px)) calc(74px + env(safe-area-inset-bottom, 0px)); background: #000; }
.lightbox-image-frame { position: relative; display: grid; box-sizing: border-box; width: 100%; height: 100%; min-width: 0; max-width: 100%; min-height: 0; place-items: center; overflow: hidden; background: #000; }
.lightbox-image-frame.is-loading .lightbox-image { opacity: 0; pointer-events: none; }
.lightbox-loading { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.86); background: rgba(0,0,0,.46); font-size: 13px; line-height: 1; pointer-events: none; }
.lightbox-loading[hidden] { display: none; }
.lightbox-loading::before { width: 14px; height: 14px; content: ''; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: r1-lightbox-loading-spin .72s linear infinite; }
.lightbox-nav { position: absolute; z-index: 4; top: 50%; display: grid; width: 58px; height: 94px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; color: #fff; background: rgba(0,0,0,.2); opacity: .78; cursor: pointer; transform: translateY(-50%); transition: opacity .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; font-size: 46px; font-weight: 300; line-height: 1; }
.lightbox-nav--previous { left: max(14px, env(safe-area-inset-left, 0px)); }
.lightbox-nav--next { right: max(14px, env(safe-area-inset-right, 0px)); }
.lightbox-nav:hover, .lightbox-nav:focus, .lightbox-nav:focus-visible, .lightbox-nav:active { border-color: rgba(255,255,255,.72); background: rgba(0,0,0,.52); opacity: 1; box-shadow: 0 8px 26px rgba(0,0,0,.32); transform: translateY(-50%) scale(1.03); }
.lightbox-nav:focus-visible { outline: 2px solid rgba(255,255,255,.9); outline-offset: 3px; }
.lightbox-nav:disabled { opacity: 0; pointer-events: none; cursor: default; }
.lightbox-image-frame[data-lightbox-direction="-1"] { --r1-lightbox-enter-offset: -10%; }
.lightbox-image-frame[data-lightbox-direction="1"] { --r1-lightbox-enter-offset: 10%; }
.lightbox-image-frame.is-switching .lightbox-image { animation: r1-lightbox-image-slide .34s cubic-bezier(.22, .72, .28, 1) both; }
.lightbox-image { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; touch-action: none; transform-origin: center; transform: translate3d(0, 0, 0) scale(1); transition: transform .18s ease; cursor: zoom-in; will-change: transform; }
.lightbox-image.is-zoomed { cursor: grab; }
.lightbox-image.is-zoomed:active { cursor: grabbing; }
.lightbox-dots { position: absolute; z-index: 3; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 50%; display: flex; gap: 10px; transform: translateX(-50%); }
.lightbox-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.42); transition: background .18s ease, transform .18s ease; }
.lightbox-dot[aria-current="true"] { background: #fff; transform: scale(1.16); }
.lightbox-dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.filter-backdrop { position: fixed; z-index: 45; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(26, 37, 31, .44); backdrop-filter: blur(5px); }
.filter-backdrop[hidden] { display: none; }
.filter-drawer { position: relative; width: min(760px, 100%); max-height: min(780px, calc(100dvh - 56px)); overflow-y: auto; padding: 30px; border: 1px solid rgba(255,255,255,.4); border-radius: 26px; background: var(--card); box-shadow: 0 25px 80px rgba(0,0,0,.22); }
.filter-drawer-heading { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; }
.filter-drawer-heading > div { min-width: 0; }
.filter-drawer-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.045em; }
.filter-drawer-heading > div > p:last-child { max-width: 540px; margin: 7px 42px 0 0; color: var(--ink-soft); font-size: 13px; }
.filter-groups { display: grid; gap: 22px; margin: 28px 0; }
.filter-group { padding-top: 20px; border-top: 1px solid var(--line); }
.filter-group-heading { display: flex; gap: 10px; align-items: baseline; }
.filter-group-heading h3 { margin: 0; font-size: 16px; letter-spacing: -.02em; }
.filter-group-heading span { color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.filter-group > p { margin: 4px 0 12px; color: var(--ink-soft); font-size: 12px; }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-range-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; margin: 12px 0; }
.filter-range-fields label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.filter-range-fields input { width: 100%; min-height: 42px; box-sizing: border-box; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; font: inherit; }
.filter-range-fields input:focus-visible { outline: 3px solid rgba(57, 124, 88, .32); outline-offset: 2px; border-color: var(--moss); }
.filter-range-separator { padding-bottom: 12px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.filter-range-error { margin: -5px 0 12px !important; color: #9f3e35 !important; font-weight: 750; }
.filter-range-error[hidden] { display: none; }
.filter-chip { min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-soft); background: #f8f8f2; font-size: 13px; font-weight: 720; transition: background .18s ease, border .18s ease, color .18s ease, transform .18s ease; }
.filter-chip-count { display: inline-grid; min-width: 21px; min-height: 21px; place-items: center; margin-left: 6px; padding: 0 6px; border-radius: 999px; color: var(--ink-soft); background: rgba(38,52,45,.07); font-size: 10px; font-weight: 800; }
.filter-chip:hover { border-color: #a5bfaf; color: var(--moss-dark); }
.filter-chip[aria-pressed="true"] { border-color: var(--moss); color: var(--moss-dark); background: var(--moss-pale); }
.filter-chip:active { transform: scale(.97); }
.filter-unavailable { margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-soft); font-size: 13px; }
.filter-drawer-actions { position: sticky; bottom: -30px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10px; margin: 0 -30px -30px; padding: 16px 30px; border-top: 1px solid var(--line); background: rgba(255,255,251,.96); backdrop-filter: blur(12px); }

@media (max-width: 1100px) {
  .section-heading { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 20px; }
  .section-controls { width: min(100%, 560px); justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 146px; }
  .hero-note { max-width: 430px; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-it-works { grid-template-columns: 1fr; gap: 36px; }
}

@container community-room (max-width: 803px) {
  .section-controls { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .filter-trigger { justify-self: start; width: min(100%, 360px); }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 78px; }
  .nav { top: 8px; width: calc(100% - 20px); min-height: 54px; padding: 0 10px 0 15px; border-radius: 16px; }
  .nav-brand { font-size: 15px; }
  .nav-toggle { display: block; margin-left: 6px; }
  .nav-links { position: absolute; top: calc(100% + 8px); right: 0; display: none; width: min(250px, 100%); padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
  .nav-links.is-open, .nav-links.open { display: grid; }
  .nav-links a { padding: 10px 12px; }
  .hero { min-height: clamp(520px, 76dvh, 700px); padding: 118px 22px 62px; }
  .hero::before { top: 118px; right: -90px; width: 340px; }
  .hero h1 { font-size: clamp(41px, 13vw, 58px); }
  .source-disclosure { align-items: flex-start; border-radius: 13px; line-height: 1.45; }
  .source-dot { flex: 0 0 auto; margin-top: 5px; }
  .hero-note { padding-left: 0; }
  .room-section, .how-it-works { padding: 58px 16px; }
  .section-heading { display: grid; gap: 20px; }
  .section-heading > div > p:last-child { font-size: 13px; }
  .section-controls { width: 100%; align-items: end; }
  .date-picker { width: 100%; }
  .filter-trigger { width: 100%; min-height: 46px; }
  .city-tabs { margin-top: 25px; }
  .room-grid { grid-template-columns: 1fr; gap: 13px; }
  .yard-room-dialog[data-room-count] .room-grid { grid-template-columns: 1fr; }
  .room-card { min-height: 0; }
  .room-card-main { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .room-card-visual { min-height: 0; aspect-ratio: 3 / 4; padding: 12px; }
  .room-card-copy { padding: 15px; }
  .room-card h3 { font-size: 18px; }
  .yard-name { min-height: 0; margin-bottom: 12px; }
  .room-meta { gap: 5px; }
  .room-meta div { padding: 7px; }
  .room-price-options { margin-top: 9px; padding: 9px; }
  .room-price-options-head { align-items: flex-start; }
  .room-price-options-head small { max-width: 19em; }
  .room-price-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .room-card-cta { margin-top: 12px; padding-top: 10px; }
  .room-display-status > span { min-height: 38px; padding-inline: 14px; font-size: 18px; }
  .how-it-works li { grid-template-columns: 43px 1fr; }
  footer { display: grid; padding: 20px 16px; }
  .dialog-backdrop, .yard-dialog-backdrop { align-items: end; padding: 0; }
  .room-dialog, .yard-room-dialog { width: 100%; max-height: min(86dvh, 780px); padding: 27px 18px 22px; border-radius: 24px 24px 0 0; }
  .dialog-title { font-size: 23px; }
  .yard-overview-list { grid-template-columns: 1fr 1fr; }
  .yard-gallery-preview { aspect-ratio: 16 / 9; }
  .yard-gallery-caption { padding: 10px 12px; }
  .room-spec-list { grid-template-columns: 1fr; }
  .room-spec-list .room-spec-row--wide { grid-column: auto; grid-template-columns: minmax(64px, .72fr) minmax(0, 1.28fr); }
  .room-spec-list .room-spec-row--description { grid-column: auto; grid-template-columns: minmax(64px, .72fr) minmax(0, 1.28fr); }
  .dialog-actions { grid-template-columns: 1fr; }
  .primary-action, .secondary-action { width: 100%; }
  .filter-backdrop { align-items: end; padding: 0; }
  .filter-drawer { width: 100%; max-height: min(84dvh, 780px); padding: 25px 18px 18px; border-radius: 24px 24px 0 0; }
  .filter-drawer-heading h2 { font-size: 24px; }
  .filter-drawer-actions { bottom: -18px; grid-template-columns: 1fr 1.15fr; margin: 0 -18px -18px; padding: 14px 18px; }
  .filter-chip { flex: 1 1 calc(50% - 8px); min-width: 0; }
  .filter-range-fields { gap: 8px; }
  .filter-range-fields input { min-height: 44px; font-size: 16px; }
  .consultation-backdrop { align-items: end; padding: 0; }
  .consultation-dialog { width: 100%; max-height: min(88dvh, 780px); padding: 28px 18px 22px; border-radius: 24px 24px 0 0; }
  .lightbox-heading { top: calc(env(safe-area-inset-top, 0px) + 16px); right: max(14px, env(safe-area-inset-right, 0px)); left: max(14px, env(safe-area-inset-left, 0px)); }
  .lightbox-close { width: 46px; height: 46px; }
  .lightbox-stage { padding: calc(72px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-left, 0px)) calc(68px + env(safe-area-inset-bottom, 0px)); }
  .lightbox-image-frame { width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; }
  .lightbox-nav { width: 48px; height: 76px; font-size: 38px; }
  .lightbox-dots { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); gap: 9px; }
}

/* R1 城市 → 院子 → 房间目录。保留房间详情弹层，目录本身不创建交易表单。 */
.stay-query {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  min-width: min(410px, 100%);
}
.stay-query label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.stay-query input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  color: var(--ink);
}
.stay-query .date-input-shell {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  overflow: hidden;
}
.stay-query .date-input-shell > input[type="date"] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  -webkit-appearance: auto;
  appearance: auto;
}
.stay-query label:has(input[aria-invalid="true"]) .date-input-shell {
  border-color: #b86152;
  box-shadow: 0 0 0 3px rgba(184, 97, 82, .13);
}
.stay-query label:has(input:focus-visible) .date-input-shell {
  border-color: rgba(57, 124, 88, .76);
  box-shadow: 0 0 0 3px rgba(57, 124, 88, .14);
}
.stay-query input:focus-visible,
.yard-card:focus-visible {
  outline: 3px solid rgba(57, 124, 88, .32);
  outline-offset: 2px;
}
.stay-query [data-r1-stay-status] {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: #795c29;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.catalog-notice {
  margin: -8px 0 20px;
  padding: 10px 12px;
  border-left: 3px solid var(--moss);
  color: var(--moss-dark);
  background: rgba(229, 240, 232, .78);
  font-size: 12px;
  font-weight: 650;
}
.catalog-notice[hidden] { display: none; }
.catalog-freshness {
  margin: -12px 0 20px;
  padding: 8px 12px;
  border-left: 3px solid #84a98c;
  color: #52715d;
  background: rgba(239, 247, 239, .78);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}
.catalog-freshness[data-r1-freshness-state="stale"],
.catalog-freshness[data-r1-freshness-state="unknown"] {
  border-left-color: #b98442;
  color: #795c29;
  background: rgba(255, 247, 229, .88);
}
.catalog-freshness[hidden] { display: none; }
.room-detail-freshness {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 3px solid #b98442;
  color: #795c29;
  background: rgba(255, 247, 229, .88);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}
.yard-catalog { min-width: 0; }
.yard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.yard-card {
  display: grid;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: inherit;
  text-align: left;
  background: var(--card);
  box-shadow: 0 7px 22px rgba(38, 52, 45, .035);
  transition: border .18s ease, box-shadow .18s ease, transform .18s ease;
}
.yard-card:hover,
.yard-card[aria-expanded="true"] {
  border-color: #a5bfaf;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.yard-card:active { transform: translateY(-1px); }
.yard-card-visual {
  position: relative;
  display: flex;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  color: rgba(38, 52, 45, .58);
  background: linear-gradient(135deg, #edf0e8, #e6ece0);
}
.yard-card-visual--photo { display: block; padding: 0; background: #e6ece0; }
.yard-card-visual--photo::before,
.yard-card-visual--photo::after { display: none; }
.yard-card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.yard-card-visual::before {
  position: absolute;
  top: -57px;
  right: -28px;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(57, 124, 88, .2);
  border-radius: 50%;
  content: "";
}
.yard-card-visual::after {
  position: absolute;
  bottom: -65px;
  left: -20px;
  width: 185px;
  height: 110px;
  border-radius: 50% 50% 0 0;
  background: rgba(214, 173, 105, .2);
  content: "";
}
.yard-card-visual > span {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border: 1px solid rgba(38, 52, 45, .14);
  border-radius: 999px;
  background: rgba(255,255,251,.72);
  font-size: 12px;
  font-weight: 700;
}
.yard-card-copy { display: grid; min-width: 0; padding: 20px; }
.yard-card-copy h3 { margin: 0; overflow-wrap: anywhere; font-size: 21px; letter-spacing: -.035em; }
.yard-summary {
  margin: 5px 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.yard-meta {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #f8f8f2;
}
.yard-meta span { color: var(--ink-soft); font-size: 10px; font-weight: 700; }
.yard-meta b { min-width: 0; color: var(--ink); font-size: 12px; font-weight: 700; text-align: right; }
.yard-card-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--moss);
  font-size: 12px;
  font-weight: 750;
}
.yard-card-cta > span:last-child { transition: transform .18s ease; }
.yard-card:hover .yard-card-cta > span:last-child,
.yard-card:focus-visible .yard-card-cta > span:last-child { transform: translateX(4px); }
.yard-identity-missing {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--warm);
  color: #795c29;
  background: rgba(255, 248, 232, .76);
  font-size: 12px;
  font-weight: 650;
}
.yard-identity-missing[hidden] { display: none; }
.yard-room-panel[hidden] { display: none; }
.filter-scope { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.filter-scope-heading h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.filter-scope-heading p { margin: 4px 0 0; color: var(--ink-soft); font-size: 12px; }
.filter-scope .filter-group { padding-top: 0; border-top: 0; }

@media (max-width: 860px) {
  .yard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stay-query { min-width: min(390px, 100%); }
}

@media (max-width: 640px) {
  .section-controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: stretch; }
  .stay-query { width: 100%; min-width: 0; }
  .filter-trigger { width: 100%; max-width: 100%; }
  .yard-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .yard-card { grid-template-columns: minmax(0, 1fr); }
  .yard-card-visual { min-height: 0; }
  .yard-card-visual:not(.yard-card-visual--photo) { padding: 12px; }
  .yard-card-visual > span { font-size: 10px; }
  .yard-card-copy { padding: 15px; }
  .yard-card-copy h3 { font-size: 18px; }
  .yard-summary { min-height: 0; margin-bottom: 12px; font-size: 12px; }
  .yard-card-cta { margin-top: 12px; padding-top: 10px; }
}

@media (max-width: 360px) {
  .stay-query { grid-template-columns: minmax(0, 1fr); }
  .stay-query [data-r1-stay-status] { grid-column: auto; }
}

/* Native date inputs can keep a larger intrinsic width in iOS/WeChat WebView.
   Give iPhone-sized viewports one deterministic column instead of allowing
   two controls to compete for the same row. */
@media (max-width: 430px) {
  .stay-query { grid-template-columns: minmax(0, 1fr); }
  .stay-query label,
  .stay-query input { min-width: 0; width: 100%; max-width: 100%; }
  .stay-query input { font-size: 16px; }
  .stay-query [data-r1-stay-status] { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 原分享社区院落卡片：保留原有字段顺序与视觉层级，交互由 R1 弹层接管。 */
.community-yard-card { display: flex; min-width: 0; flex-direction: column; outline: none; }
.community-yard-card:focus-visible { outline: 3px solid rgba(57, 124, 88, .32); outline-offset: 3px; }
.community-yard-card .yi { width: 100%; height: 200px; object-fit: cover; display: block; background: var(--paper); transition: transform .35s ease; }
.community-yard-card .yi-note { display: flex; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(135deg, rgba(57, 124, 88, .12), rgba(93, 155, 140, .08)); color: var(--moss); font-size: 18px; font-weight: 750; text-align: center; line-height: 1.5; }
.community-yard-card .yi-note small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 600; }
.community-yard-card:hover .yi { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .room-card-gallery-control { transition: none; }
}
.community-yard-card .yb { display: flex; flex: 1; padding: 20px 22px 22px; flex-direction: column; }
.community-yard-card .yh { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.community-yard-card .yn { font-size: 18px; font-weight: 750; }
.community-yard-card .yno { color: var(--ink-soft); background: var(--paper); padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.community-yard-card .yd { margin-bottom: 12px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.community-yard-card .yf { display: block; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.community-yard-card .ybtn-wrap { display: block; width: 100%; }
.community-yard-card .ybtn { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 4px; padding: 8px 18px; border: 1px solid var(--moss); border-radius: 999px; color: #fff; background: var(--moss); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.community-yard-card .ybtn { width: 100%; }
.community-yard-card .ybtn:hover { background: var(--moss-dark); transform: translateY(-1px); }
.community-yard-card .ybtn-o { color: var(--moss); background: transparent; }
.community-yard-card .ybtn-o:hover { color: #fff; background: var(--moss); }

@media (prefers-reduced-motion: reduce) {
  .lightbox-backdrop:not([hidden]), .lightbox-backdrop.is-leaving, .lightbox-dialog.is-entering, .lightbox-dialog.is-leaving, .lightbox-image-frame.is-switching .lightbox-image, .lightbox-loading::before { animation: none; }
}

@media (max-width: 640px) {
  .community-yard-card .yi,
  .room-card-visual { height: 180px; }
  .community-yard-card .yb { padding: 16px; }
  .community-yard-card .yh { flex-direction: column; gap: 4px; }
  .community-yard-card .yd { font-size: 13px; }
  .community-yard-card .ybtn { min-height: 40px; padding: 9px 16px; }
  .room-reservation-band { align-items: flex-start; flex-direction: column; gap: 4px; }
  .room-reservation-band strong { text-align: left; }
}
