:root {
  --green: #0d3b2d;
  --green-dark: #08291f;
  --green-soft: #175743;
  --teal: #0b6659;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --ink: #102f28;
  --muted: #5b6864;
  --gold: #b79352;
  --line: rgba(18, 58, 47, .14);
  --shadow: 0 8px 28px rgba(22, 45, 37, .10);
  --soft-shadow: 0 3px 12px rgba(22, 45, 37, .08);
  --radius: 22px;
  --nav-height: 82px;
  font-family: "Instrument Sans", "Aptos", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eeece8;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eeece8; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: #eeece8; color: var(--ink); }
button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: white; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #e1b860; outline-offset: 3px; }

.app-frame { position: relative; width: min(100%, 520px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: var(--cream); box-shadow: 0 0 70px rgba(22, 37, 31, .2); }
.desktop-demo { display: none; }

.hotel-brand, .cg-brand { position: relative; z-index: 2; color: white; text-align: center; line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hotel-brand span { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 11px; letter-spacing: .35em; text-transform: uppercase; }
.hotel-brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; }
.hotel-brand small { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; }
.hotel-brand.compact strong { font-size: 26px; }
.hotel-brand.compact span, .hotel-brand.compact small { font-size: 8px; }

.cg-brand { transform: rotate(-1deg); }
.cg-brand strong { display: inline-block; position: relative; font-family: Georgia, serif; font-size: 34px; font-weight: 700; line-height: .76; text-align: left; letter-spacing: -.035em; }
.cg-brand em { color: #7dd0b4; font-style: normal; }
.cg-brand i { position: absolute; right: -27px; bottom: -2px; color: #7dd0b4; font-size: 34px; font-style: normal; }
.cg-brand small { display: block; margin: 5px 0 0 68px; color: #85d7bd; font-family: "Segoe Script", cursive; font-size: 19px; font-style: italic; transform: rotate(-6deg); }
.cg-brand.compact strong { font-size: 24px; }
.cg-brand.compact i { right: -21px; font-size: 25px; }
.cg-brand.compact small { margin-left: 47px; font-size: 14px; }

.menu-button { position: relative; z-index: 3; display: grid; place-content: center; gap: 4px; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: rgba(9, 60, 45, .86); box-shadow: 0 4px 18px rgba(0,0,0,.18); cursor: pointer; }
.menu-button span { width: 18px; height: 2px; border-radius: 2px; background: #fff; }

.explore-layout { min-height: 100vh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); background: var(--cream); }
.explore-hero { position: relative; height: 294px; padding: calc(22px + env(safe-area-inset-top)) 28px 24px; overflow: hidden; color: white; background-image: var(--hero); background-size: cover; background-position: 51% 50%; }
.explore-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--hero); background-size: cover; background-position: 51% 50%; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,19,.35), rgba(5,34,25,.14) 42%, rgba(4,28,21,.82)); }
.theme-basic .hero-shade { background: linear-gradient(180deg, rgba(8,34,29,.26), rgba(3,34,29,.2) 44%, rgba(4,33,28,.83)); }
.hero-top { position: relative; display: flex; align-items: flex-start; justify-content: center; min-height: 110px; }
.hero-top .menu-button { position: absolute; right: -8px; top: 1px; }
.hero-copy { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 22px; text-align: center; }
.hero-copy h1 { max-width: 390px; margin: 0 auto 9px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1.12; text-wrap: balance; }
.hero-copy p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.35; }
.hero-copy b { text-decoration: underline; text-underline-offset: 2px; }
.theme-basic .hero-copy h1 { font-size: 24px; }

.explore-content { position: relative; z-index: 3; margin-top: -1px; padding: 0 14px 24px; background: linear-gradient(#f7f3eb, #fbfaf6); }
.live-strip { display: grid; grid-template-columns: .92fr 1.22fr; min-height: 74px; margin: -1px 0 12px; border-radius: 19px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(24,55,45,.16); transform: translateY(-14px); }
.live-strip > div { display: flex; align-items: center; gap: 11px; padding: 13px 15px; }
.live-strip > div + div { position: relative; border-left: 1px solid var(--line); }
.live-strip p { min-width: 0; margin: 0; line-height: 1.15; }
.live-strip strong, .live-strip small { display: block; white-space: nowrap; }
.live-strip strong { margin-bottom: 5px; font-size: 14px; }
.live-strip small { color: #42554f; font-size: 11px; }
.live-strip a { position: absolute; right: 11px; font-family: Georgia, serif; font-size: 29px; }
.live-icon { display: grid; place-items: center; min-width: 30px; font-size: 27px; }

.stay-selector { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; min-height: 47px; margin: -4px 4px 13px; }
.stay-selector > span { font-family: Georgia, serif; font-size: 12px; white-space: nowrap; }
.date-button, .browse-button { min-height: 42px; border: 0; border-radius: 22px; background: rgba(255,255,255,.75); box-shadow: var(--soft-shadow); cursor: pointer; }
.date-button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; }
.date-button i { font-style: normal; }
.date-button b { font-size: 12px; font-weight: 600; white-space: nowrap; }
.browse-button { padding: 0 17px; border: 1px solid var(--green); background: transparent; font-size: 12px; white-space: nowrap; box-shadow: none; }
.stay-form { position: absolute; z-index: 8; top: 47px; right: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 14px; border-radius: 16px; background: white; box-shadow: var(--shadow); }
.stay-form[hidden] { display: none; }
.stay-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.stay-form input { width: 100%; min-height: 40px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.stay-form button { grid-column: 1/-1; min-height: 40px; border: 0; border-radius: 10px; background: var(--green); color: white; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.category-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 96px; padding: 11px 6px 10px; border: 1px solid rgba(21,59,48,.07); border-radius: 13px; background: rgba(255,255,255,.58); box-shadow: var(--soft-shadow); text-align: center; }
.category-grid span { display: grid; place-items: center; min-height: 35px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.category-grid strong { margin-top: 5px; font-size: 11px; font-weight: 650; line-height: 1.14; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 15px 8px 8px; }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: 16px; font-weight: 500; }
.section-heading a { font-size: 11px; font-weight: 650; }
.recommendation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recommendation-card { overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.8); box-shadow: var(--soft-shadow); }
.card-image { position: relative; height: 108px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.recommendation-badge { display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 999px; color: white; font-family: "Segoe UI", sans-serif; font-size: 10px; font-weight: 600; line-height: 1.08; }
.card-image .recommendation-badge { position: absolute; top: 0; left: 0; max-width: 92%; border-radius: 11px 0 11px 0; }
.recommendation-badge.cg { background: var(--green); }
.recommendation-badge.hotel { border: 1px solid #d2b27c; background: #f8f0df; color: #614b27; }
.card-image .recommendation-badge.hotel { background: rgba(139,94,36,.91); color: white; }
.card-body { padding: 9px 10px 10px; }
.card-body h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.15; }
.card-body p { margin: 0; color: #53625e; font-size: 10px; }

.sponsor-card { display: grid; grid-template-columns: 42% 1fr; min-height: 88px; margin-top: 10px; overflow: hidden; border-radius: 12px; background: rgba(255,255,255,.76); box-shadow: var(--soft-shadow); }
.sponsor-image { position: relative; min-height: 88px; }
.sponsor-image img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-image span { position: absolute; top: 0; left: 0; padding: 7px 11px; border-radius: 0 0 12px 0; background: rgba(12,77,65,.94); color: white; font-size: 10px; }
.sponsor-card > div:last-child { padding: 12px 10px; }
.sponsor-card h3 { margin: 0 0 6px; font-size: 13px; }
.sponsor-card p { margin: 0 0 6px; color: #5b6663; font-size: 10px; }
.sponsor-card small { color: #5b6663; font-size: 9px; }
.powered-footer { padding: 24px 8px 4px; color: #74817d; font-size: 10px; text-align: center; }

.bottom-nav { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); height: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding: 10px 12px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(105deg, #0b3c30, #064f41); color: white; box-shadow: 0 -4px 22px rgba(8,41,31,.15); }
.theme-premium .bottom-nav { background: linear-gradient(105deg, #0b3428, #123f31); }
.theme-premium .bottom-nav { grid-template-columns: repeat(4, 1fr); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 60px; min-height: 56px; color: rgba(255,255,255,.92); }
.bottom-nav span { display: grid; place-items: center; width: 30px; height: 28px; font-family: Georgia, serif; font-size: 26px; line-height: 1; }
.bottom-nav small { font-size: 10px; }
.bottom-nav a.active span { border-radius: 50%; background: var(--cream); color: var(--green); font-size: 20px; }
.bottom-nav a.active small { font-weight: 700; }

.menu-sheet { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 5px; width: min(100%, 520px); max-height: 84vh; margin: auto; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: var(--paper); box-shadow: 0 -20px 80px rgba(0,0,0,.25); transform: translateY(105%); transition: transform .25s ease; }
.menu-sheet.open { transform: translateY(0); }
.menu-sheet .sheet-close { align-self: flex-end; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #edf0eb; font-size: 26px; cursor: pointer; }
.menu-sheet .eyebrow { margin: -32px 0 0; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.menu-sheet h2 { margin: 6px 0 12px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.menu-sheet a { min-height: 49px; padding: 14px 3px; border-bottom: 1px solid var(--line); font-size: 15px; }
.menu-sheet small { margin-top: 14px; color: var(--muted); }
.toast { position: fixed; z-index: 70; right: 20px; bottom: calc(var(--nav-height) + 18px + env(safe-area-inset-bottom)); left: 20px; width: fit-content; max-width: calc(100% - 40px); margin: auto; padding: 11px 16px; border-radius: 999px; background: #102f28; color: white; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Place detail */
.detail-page { min-height: 100vh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); background: #0e2d24; }
.detail-hero { position: relative; height: 41vh; min-height: 340px; max-height: 480px; overflow: hidden; background: #163a31; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.09), transparent 60%, rgba(5,29,22,.18)); pointer-events: none; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.round-action { position: absolute; z-index: 4; top: calc(24px + env(safe-area-inset-top)); display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(10,60,46,.88); color: white; box-shadow: 0 3px 14px rgba(0,0,0,.18); font-family: Georgia, serif; font-size: 33px; }
.round-action.back { left: 18px; }
.round-action.save { right: 18px; padding: 0; cursor: pointer; }
.round-action.saved { background: #fff; color: var(--green); }
.detail-sheet { position: relative; z-index: 3; min-height: 58vh; margin-top: -23px; padding: 22px 22px 27px; border-radius: 28px 28px 0 0; background: linear-gradient(145deg, #fffdf9, #f7f3eb); }
.detail-badges { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 39px; }
.detail-sheet h1 { margin: 8px 0 6px; font-family: Georgia, serif; font-size: clamp(34px, 9vw, 44px); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; }
.theme-basic .detail-sheet h1 { color: #103f32; }
.detail-sheet .distance { margin: 0 0 13px; font-size: 13px; }
.detail-sheet .summary { margin: 0; font-size: 14px; line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 17px; }
.tag-row span { padding: 9px 12px; border: 1px solid rgba(19,57,47,.06); border-radius: 999px; background: #f3f0e9; font-size: 11px; white-space: nowrap; }
.cta-stack { display: grid; gap: 8px; }
.primary-cta, .outline-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 49px; padding: 0 16px; border-radius: 999px; }
.primary-cta { background: linear-gradient(105deg, #103d2f, #0a4d3b); color: white; }
.primary-cta b { margin-left: 9px; font-size: 13px; }
.primary-cta small { font-size: 11px; }
.outline-cta { border: 1px solid var(--green); background: rgba(255,255,255,.42); }
.outline-cta span { font-size: 20px; }
.outline-cta b { margin-left: 12px; font-size: 13px; font-weight: 500; }
.outline-cta i { font-family: Georgia, serif; font-size: 24px; font-style: normal; }
.outline-cta.centered b { grid-column: 1/3; margin: 0; text-align: center; }
.info-note { display: flex; align-items: center; gap: 13px; min-height: 62px; margin-top: 17px; padding: 12px 15px; border-radius: 13px; background: #f0ece4; }
.info-note span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border: 1px solid var(--ink); border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.info-note p { margin: 0; color: #454f4c; font-size: 11px; line-height: 1.4; }

/* Map */
.map-page { position: relative; min-height: 100vh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); background: #dce8d2; }
.map-header { position: relative; z-index: 5; padding: calc(22px + env(safe-area-inset-top)) 14px 10px; background: #fffdfa; box-shadow: 0 4px 13px rgba(20,57,47,.08); text-align: center; }
.map-header h1 { margin: 0 0 3px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.map-header p { margin: 0 0 13px; font-size: 12px; }
.view-switch { display: grid; grid-template-columns: 1fr 1fr; min-height: 45px; margin-bottom: 10px; overflow: hidden; border: 1px solid var(--green); border-radius: 13px; }
.view-switch a { display: grid; place-items: center; font-size: 12px; }
.view-switch a.active { background: var(--green); color: white; }
.filter-chips { display: flex; gap: 5px; overflow-x: auto; padding: 1px 0 2px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips button { flex: 0 0 auto; min-height: 31px; padding: 0 10px; border: 1px solid #9aa9a4; border-radius: 999px; background: white; font-size: 9px; cursor: pointer; }
.filter-chips button.active { border-color: var(--green); color: var(--green); }
.map-canvas { position: relative; z-index: 1; height: calc(100vh - 212px - var(--nav-height)); min-height: 500px; overflow: hidden; background: #dce8d2; }
.nearby-map { position: absolute; z-index: 1; inset: 0; background: #dce8d2; }
.map-loading { position: absolute; z-index: 650; inset: 0; display: grid; place-items: center; background: linear-gradient(145deg, #e7eddd, #d8e4d2); color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.map-loading[hidden] { display: none; }
.map-loading::before { content: ""; position: absolute; top: calc(50% - 39px); width: 25px; height: 25px; border: 3px solid rgba(10,78,60,.16); border-top-color: var(--green); border-radius: 50%; animation: map-spin .8s linear infinite; }
@keyframes map-spin { to { transform: rotate(1turn); } }
.map-location-control { position: absolute; z-index: 650; top: 82px; left: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid rgba(255,255,255,.95); border-radius: 12px; background: #fffdf9; color: var(--green); box-shadow: 0 2px 8px rgba(20,57,47,.22); font-size: 23px; line-height: 1; cursor: pointer; }
.map-location-control.active { background: #347fe5; color: white; }
.map-noscript { position: absolute; z-index: 700; inset: 20px; display: grid; place-items: center; padding: 20px; border-radius: 16px; background: white; text-align: center; }
.cg-map-div-icon { border: 0; background: transparent; }
.cg-map-marker { display: grid; place-items: center; width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.97); border-radius: 50% 50% 50% 5px; background: #14624f; color: white; box-shadow: 0 6px 14px rgba(10,61,48,.32); font-family: Georgia, serif; font-size: 16px; transform: rotate(-45deg); transform-origin: 50% 50%; transition: transform .18s ease, background .18s ease; }
.cg-map-marker > span { display: grid; place-items: center; width: 100%; height: 100%; padding-top: 1px; transform: rotate(45deg); }
.cg-map-marker.is-selected { width: 46px; height: 46px; background: var(--green-dark); box-shadow: 0 8px 22px rgba(8,55,42,.42); font-size: 22px; }
.cg-map-marker.is-property { border-color: #fffaf0; background: #b4853d; color: white; font-weight: 700; }
.leaflet-control-zoom { overflow: hidden; border: 0 !important; border-radius: 12px !important; box-shadow: 0 2px 8px rgba(20,57,47,.22) !important; }
.leaflet-control-zoom a { width: 42px !important; height: 39px !important; border-color: #e8e4dc !important; background: #fffdf9 !important; color: var(--green) !important; font: 21px/39px Georgia, serif !important; }
.leaflet-control-attribution { max-width: 190px; padding: 3px 6px !important; border-radius: 0 0 0 7px; background: rgba(255,253,249,.9) !important; color: #53605c; font-size: 8px !important; }
.leaflet-control-attribution a { color: #0b5b48; }
.leaflet-tooltip.cg-map-tooltip { padding: 6px 9px; border: 0; border-radius: 8px; background: #fffdf9; box-shadow: 0 4px 15px rgba(20,57,47,.18); color: var(--green-dark); font-size: 10px; font-weight: 700; }
.leaflet-tooltip-top.cg-map-tooltip::before { border-top-color: #fffdf9; }
.map-drawer { position: absolute; z-index: 8; right: 0; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); left: 0; display: grid; grid-template-columns: 124px 1fr 32px; gap: 14px; min-height: 178px; padding: 30px 14px 15px; border-radius: 21px 21px 0 0; background: rgba(255,253,249,.98); box-shadow: 0 -10px 35px rgba(22,55,45,.18); }
.drawer-handle { position: absolute; top: 10px; left: 50%; width: 42px; height: 4px; border-radius: 4px; background: #d4d1ca; transform: translateX(-50%); }
.map-drawer-image { display: block; }
.map-drawer img { width: 124px; height: 124px; border-radius: 13px; object-fit: cover; }
.map-drawer h2 { margin: 5px 0 7px; font-family: Georgia, serif; font-size: 19px; font-weight: 500; }
.map-drawer h2 a { color: inherit; }
.map-drawer p { margin: 0 0 7px; font-size: 10px; line-height: 1.4; }
.map-drawer > button { align-self: start; padding: 2px; border: 0; background: transparent; font-family: Georgia, serif; font-size: 28px; cursor: pointer; }
.open-pill { display: inline-block; padding: 6px 8px; border: 1px solid #abb9b4; border-radius: 999px; color: #426059; font-size: 9px; }

/* Your Stay */
.stay-page { min-height: 100vh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); background: linear-gradient(145deg, #0b3126, #123c2e); }
.stay-header { min-height: 210px; padding: calc(26px + env(safe-area-inset-top)) 24px 22px; color: white; text-align: center; }
.stay-header .hotel-brand strong { font-size: 31px; }
.stay-header h1 { margin: 20px 0 8px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.gold-rule { display: inline-flex; align-items: center; gap: 0; color: var(--gold); font-size: 9px; }
.gold-rule::before, .gold-rule::after { content: ""; width: 45px; height: 1px; margin: 0 -1px; background: var(--gold); }
.stay-content { min-height: calc(100vh - 210px); padding: 12px 14px 20px; border-radius: 24px 24px 0 0; background: linear-gradient(145deg,#fffdf9,#f8f5ee); }
.stay-card { margin-bottom: 6px; border: 1px solid rgba(20,57,47,.06); border-radius: 16px; background: rgba(255,255,255,.75); box-shadow: var(--soft-shadow); }
.stay-card summary { display: grid; grid-template-columns: 50px 1fr 18px; align-items: center; gap: 9px; min-height: 72px; padding: 7px 12px; list-style: none; cursor: pointer; }
.stay-card summary::-webkit-details-marker { display: none; }
.stay-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f0f0e8; font-family: Georgia, serif; font-size: 22px; }
.stay-card h2 { margin: 0 0 5px; font-family: Georgia, serif; font-size: 17px; font-weight: 500; }
.stay-card p { margin: 0; color: #58635f; font-size: 9px; line-height: 1.32; }
.stay-card summary i { font-family: Georgia, serif; font-size: 27px; font-style: normal; transition: transform .2s; }
.stay-card[open] summary i { transform: rotate(90deg); }
.stay-more { margin: -2px 13px 12px 71px; padding: 10px; border-radius: 10px; background: #f6f2ea; font-size: 10px; line-height: 1.4; }
.stay-more strong { display: block; margin-bottom: 4px; color: #8a652c; }
.contact-card { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 9px; min-height: 68px; padding: 7px 12px; }
.contact-card .stay-icon { font-size: 25px; }
.contact-buttons { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 7px; }
.contact-buttons a { display: grid; place-items: center; min-height: 40px; padding: 0 8px; border-radius: 10px; background: var(--green); color: white; font-size: 9px; text-align: center; }

/* Lists and saved */
.simple-page { min-height: 100vh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); background: #fbf9f4; }
.simple-header { position: relative; padding: calc(22px + env(safe-area-inset-top)) 16px 17px; background: linear-gradient(145deg,#0e3b2e,#0a5748); color: white; }
.theme-basic .simple-header { background: linear-gradient(145deg,#075347,#0c7766); }
.simple-header .hotel-brand, .simple-header .cg-brand { width: fit-content; text-align: left; }
.simple-header .menu-button { position: absolute; top: calc(20px + env(safe-area-inset-top)); right: 16px; }
.simple-header h1 { margin: 34px 0 7px; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.simple-header > p { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; }
.inline-back { display: block; width: fit-content; margin-top: 27px; color: rgba(255,255,255,.85); font-size: 12px; }
.inline-back + h1 { margin-top: 12px; }
.search-box { display: grid; grid-template-columns: 34px 1fr; align-items: center; min-height: 47px; margin: 15px 0 10px; padding: 0 9px; border-radius: 13px; background: white; color: var(--ink); }
.search-box span { font-family: Georgia, serif; font-size: 24px; text-align: center; }
.search-box input { width: 100%; height: 43px; border: 0; outline: 0; background: transparent; }
.simple-header .filter-chips button { background: rgba(255,255,255,.15); color: white; border-color: rgba(255,255,255,.5); }
.simple-header .filter-chips button.active { background: white; color: var(--green); }
.listing-cards, .saved-list { display: grid; gap: 10px; padding: 14px; }
.place-row { display: grid; grid-template-columns: 112px 1fr 30px; gap: 12px; min-height: 135px; padding: 10px; border-radius: 15px; background: white; box-shadow: var(--soft-shadow); }
.place-row[hidden] { display: none; }
.place-row img { width: 112px; height: 115px; border-radius: 11px; object-fit: cover; }
.place-row > div > span { color: var(--teal); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.place-row h2 { margin: 5px 0; font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.place-row p { display: -webkit-box; margin: 0 0 7px; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.place-row small { color: var(--muted); font-size: 9px; }
.place-row > button { align-self: start; padding: 0; border: 0; background: transparent; font-family: Georgia, serif; font-size: 26px; cursor: pointer; }
.place-row > button.saved { color: var(--teal); }
.empty-state { padding: 70px 25px; text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 15px; border-radius: 50%; background: #e9efe9; font-family: Georgia, serif; font-size: 36px; }
.empty-state h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.empty-state p { max-width: 280px; margin: 0 auto 18px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.empty-state a, .error-page a { display: inline-grid; place-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--green); color: white; }
.error-page { display: grid; place-content: center; min-height: 100vh; padding: 30px; text-align: center; }
.error-page > span { font-size: 48px; }
.error-page h1 { margin: 12px 0 8px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.error-page p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 365px) {
  :root { --nav-height: 76px; }
  .explore-hero { height: 276px; padding-inline: 20px; }
  .hotel-brand strong { font-size: 29px; }
  .cg-brand strong { font-size: 29px; }
  .hero-copy { left: 20px; right: 20px; }
  .hero-copy h1 { font-size: 22px; }
  .live-strip > div { gap: 7px; padding: 11px 9px; }
  .live-strip strong { font-size: 12px; }
  .live-strip small { font-size: 9px; }
  .stay-selector { grid-template-columns: auto 1fr; }
  .browse-button { grid-column: 2; min-height: 37px; }
  .category-grid a { min-height: 89px; }
  .detail-sheet { padding-inline: 17px; }
  .detail-badges { align-items: flex-start; }
  .recommendation-badge { font-size: 8.5px; }
  .contact-buttons { grid-template-columns: 1fr 1fr; }
  .contact-buttons a:first-child { grid-column: 1/-1; }
  .map-drawer { grid-template-columns: 102px 1fr 28px; gap: 10px; }
  .map-drawer img { width: 102px; height: 112px; }
}

@media (min-width: 521px) {
  .bottom-nav { right: calc((100vw - 520px)/2); left: calc((100vw - 520px)/2); }
}

@media (min-width: 840px) {
  body { padding: 72px 28px 40px; background: radial-gradient(circle at 15% 20%, #faf8f3, #e7e5df 44%, #d6d8d1); }
  .app-frame { min-height: calc(100vh - 112px); border: 9px solid #1a211f; border-radius: 46px; box-shadow: 0 32px 90px rgba(25,35,31,.28); }
  .app-frame::before { content: ""; position: absolute; z-index: 60; top: 10px; left: 50%; width: 115px; height: 28px; border-radius: 20px; background: #0b0d0c; transform: translateX(-50%); pointer-events: none; }
  .bottom-nav { right: calc((100vw - 502px)/2); bottom: 49px; left: calc((100vw - 502px)/2); border-radius: 0 0 36px 36px; }
  .menu-sheet { width: 502px; bottom: 49px; border-radius: 28px 28px 36px 36px; }
  .toast { bottom: 148px; }
  .desktop-demo { position: fixed; z-index: 80; top: 18px; left: 50%; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.88); box-shadow: 0 6px 26px rgba(20,40,33,.12); backdrop-filter: blur(12px); transform: translateX(-50%); }
  .desktop-demo span { padding: 0 9px; color: #6a746f; font-size: 11px; }
  .desktop-demo a { padding: 7px 12px; border-radius: 999px; font-size: 11px; }
  .desktop-demo a.active { background: var(--green); color: white; }
}

@media (min-width: 1200px) and (min-height: 820px) {
  body { padding-top: 58px; }
  .app-frame { width: 1040px; min-height: calc(100vh - 98px); border-radius: 34px; }
  .app-frame::before { display: none; }
  .explore-layout { display: grid; grid-template-columns: minmax(390px, .88fr) minmax(520px, 1.12fr); min-height: calc(100vh - 98px); padding-bottom: 0; }
  .explore-hero { position: sticky; top: 58px; height: calc(100vh - 98px); min-height: 760px; padding: 55px 48px; }
  .hero-top { min-height: 180px; }
  .hotel-brand strong { font-size: 43px; }
  .cg-brand strong { font-size: 43px; }
  .hero-copy { left: 48px; right: 48px; bottom: 72px; }
  .hero-copy h1 { font-size: 34px; }
  .explore-content { margin: 0; padding: 55px 34px 118px; overflow: auto; }
  .live-strip { margin: 0 0 18px; transform: none; }
  .category-grid a { min-height: 112px; }
  .bottom-nav { right: calc((100vw - 1022px)/2 + 24px); bottom: 40px; left: auto; width: 500px; border-radius: 18px; }
  .detail-page { display: grid; grid-template-columns: 1.08fr .92fr; min-height: calc(100vh - 98px); padding: 0 0 92px; background: #0e2d24; }
  .detail-hero { height: 100%; min-height: 720px; max-height: none; }
  .detail-sheet { height: 100%; min-height: 720px; margin: 0; padding: 90px 50px 40px; border-radius: 0; }
  .map-page { min-height: calc(100vh - 98px); }
  .map-header { display: grid; grid-template-columns: 1fr 400px; align-items: center; gap: 8px 20px; min-height: 112px; padding: 25px 32px; text-align: left; }
  .map-header h1 { font-size: 31px; }
  .map-header p { margin: 0; }
  .view-switch { grid-column: 2; grid-row: 1/3; margin: 0; }
  .map-header .filter-chips { grid-column: 1/-1; }
  .map-canvas { height: calc(100vh - 302px); min-height: 560px; }
  .map-drawer { right: 28px; bottom: 116px; left: auto; width: 460px; border-radius: 22px; }
  .stay-page { display: grid; grid-template-columns: .72fr 1.28fr; min-height: calc(100vh - 98px); padding-bottom: 0; }
  .stay-header { min-height: 100%; padding-top: 120px; }
  .stay-content { min-height: 100%; padding: 55px 45px 120px; border-radius: 0; }
  .simple-page { min-height: calc(100vh - 98px); }
  .simple-header { padding: 48px 54px 30px; }
  .listing-cards, .saved-list { grid-template-columns: repeat(2, 1fr); padding: 30px 44px 120px; }
  .menu-sheet { width: 500px; right: calc((100vw - 1022px)/2 + 24px); bottom: 40px; left: auto; border-radius: 28px; }
}

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