:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.76);
  --text: #1f1913;
  --muted: #887f74;
  --line: rgba(55, 38, 22, 0.1);
  --line-strong: rgba(38, 26, 16, 0.18);
  --accent: #336f2d;
  --accent-soft: #5a9847;
  --accent-dark: #203d1b;
  --shadow-xl: 0 32px 90px rgba(89, 65, 36, 0.16);
  --shadow-lg: 0 18px 48px rgba(89, 65, 36, 0.12);
  --shadow-md: 0 10px 24px rgba(89, 65, 36, 0.08);
  --heading-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --desktop-header-height: 118px;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  font-family: var(--body-font);
  color: var(--text);
  background: transparent;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

input {
  min-width: 0;
}

.page-shell {
  min-height: 100vh;
  background: var(--bg-soft);
}

.brand-block {
  display: grid;
  gap: 4px;
}

.brand-title,
.section-title,
.card-title,
.featured-name,
.sheet-title {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.01em;
}

.brand-title {
  font-size: 44px;
  line-height: 48px;
  font-weight: 600;
}

.brand-subtitle {
  margin: 0;
  max-width: 800px;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
}

.library-prompt {
  display: none;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(60, 132, 52, 0.08);
  border: 1px solid rgba(60, 132, 52, 0.18);
}

.library-prompt-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.library-prompt-title {
  margin: 0;
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  color: var(--accent-dark);
}

.library-prompt-detail {
  margin: 0;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 18px;
  color: var(--text);
  opacity: 0.85;
}

.library-prompt-cta {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent-dark);
  background: #ffffff;
  color: var(--accent-dark);
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
}

.library-prompt-cta:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.library-prompt-mobile {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  text-align: left;
}

.library-prompt-mobile-link {
  margin-left: 4px;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
}

.library-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 32px 80px rgba(35, 28, 18, 0.32);
}

.library-dialog::backdrop {
  background: rgba(20, 16, 12, 0.5);
  backdrop-filter: blur(4px);
}

.library-dialog-inner {
  position: relative;
  padding: 28px 28px 24px;
}

.library-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 500px;
  background: transparent;
  color: var(--muted);
}

.library-dialog-close svg {
  width: 20px;
  height: 20px;
}

.library-dialog-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.library-dialog-title {
  margin: 0 0 16px;
  font-family: var(--heading-font);
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
}

.library-dialog-steps {
  margin: 0 0 16px;
  padding-left: 22px;
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: var(--text);
}

.library-dialog-steps li {
  margin-bottom: 6px;
}

.library-dialog-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(60, 132, 52, 0.08);
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 20px;
  color: var(--text);
}

.library-dialog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.library-dialog-links a {
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
}

.library-dialog-links a:hover {
  text-decoration: underline;
}


.desktop-header {
  display: none;
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 500px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.search-shell svg,
.icon-button svg,
.ghost-button svg,
.locate-button svg,
.nav-item svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.search-shell input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
}

.search-shell input::placeholder {
  color: #a0968a;
}

.desktop-search {
  width: min(34vw, 470px);
}

.ghost-button,
.icon-button,
.sort-button,
.sheet-cta,
.text-button,
.locate-button,
.chip-button {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px;
  border-color: var(--line);
  border-radius: 500px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.main-layout {
  min-height: 100vh;
}

.browse-panel {
  padding-bottom: 24px;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  padding: 22px 24px 14px;
  background: #ffffff;
  backdrop-filter: blur(14px);
}

.mobile-header .brand-block {
  display: contents;
}

.mobile-header .brand-title {
  grid-column: 1 / 2;
  grid-row: 1;
  font-size: 1.85rem;
  line-height: 1;
}

.mobile-header .brand-subtitle {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.92rem;
}

.mobile-header .library-prompt-mobile {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 12px;
  white-space: nowrap;
}

.mobile-header-actions {
  grid-column: 2 / 3;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 500px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.mobile-search-drawer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 220ms ease, padding-bottom 220ms ease;
}

.mobile-search-drawer.is-open {
  max-height: 90px;
  padding-bottom: 16px;
}

.mobile-inline-search {
  width: 100%;
}

.chip-scroll,
.mobile-filter-tray {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-scroll {
  padding: 10px 24px;
}

.chip-scroll.is-expanded {
  flex-wrap: wrap;
  row-gap: 12px;
  overflow: visible;
}

.mobile-filter-tray {
  padding: 0 24px 18px;
}

.chip-scroll::-webkit-scrollbar,
.mobile-filter-tray::-webkit-scrollbar,
.sheet-rail::-webkit-scrollbar {
  display: none;
}

.chip-button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 500px;
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.chip-button.is-active {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.chip-toggle-button {
  color: var(--accent-dark);
  font-weight: 600;
  gap: 4px;
}

.chip-toggle-icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
}

.chip-reset-pill,
.chip-search-pill {
  background: var(--accent-dark);
  color: #ffffff;
  border-color: var(--accent-dark);
}

.content-section {
  padding: 0 24px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 25px;
  line-height: 30px;
  font-weight: 600;
  font-feature-settings: "lnum" 1;
}

.title-mobile {
  display: none;
}

.section-meta {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.availability-footer {
  margin: 16px 0 24px;
  padding: 0 24px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
}

.text-button,
.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
}

.text-button {
  gap: 6px;
}

.text-button::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m13 6 6 6-6 6'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='m13 6 6 6-6 6'/></svg>") no-repeat center / contain;
  transform: none;
  border: 0;
}

.sort-button::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.featured-card,
.place-card,
.sheet-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-solid);
}

@media (hover: hover) and (pointer: fine) {
  .featured-card,
  .place-card,
  .sheet-card,
  .leaflet-interactive {
    cursor: pointer;
  }
}

.featured-card {
  min-height: 185px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

#featuredSlot {
  display: grid;
  gap: 14px;
}

.featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 9, 5, 0.64) 0%, rgba(15, 9, 5, 0.34) 28%, rgba(15, 9, 5, 0) 48%),
    radial-gradient(circle at left bottom, rgba(20, 13, 8, 0.82) 0%, rgba(20, 13, 8, 0.46) 34%, rgba(20, 13, 8, 0) 64%);
}

.featured-content,
.featured-top {
  position: relative;
  z-index: 1;
}

.featured-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 18px;
}

.featured-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 500px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--body-font);
  font-size: 10px;
  line-height: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-tag.is-featured {
  background: var(--accent-dark);
}

.featured-content {
  display: grid;
  gap: 10px;
}

.featured-name {
  font-size: 38px;
  line-height: 40px;
  font-weight: 600;
  padding-right: 56px;
}

.featured-meta,
.card-meta,
.sheet-meta {
  margin: 0;
  color: inherit;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  opacity: 0.9;
}

.card-meta,
.sheet-meta {
  color: var(--muted);
}

.supporting-grid,
.list-stack {
  display: grid;
  align-items: stretch;
  gap: 18px;
}

.supporting-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.place-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.card-image {
  height: 162px;
  background-position: center;
  background-size: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 20px;
}

.card-title {
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
}

.card-title.small {
  font-size: 18px;
  line-height: 20px;
}

.card-summary {
  margin: 0;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
}

.pass-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: inherit;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.pass-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pass-dot {
  width: 12px;
  height: 12px;
  border-radius: 500px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.pass-row-soldout {
  color: #b04a2f;
  opacity: 0.85;
}

.pass-row-used {
  color: var(--muted);
}

.pass-row-unknown {
  color: var(--muted);
  font-weight: 400;
}

.pass-availability {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pass-today {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.pass-other {
  font-size: 0.82rem;
  color: var(--muted);
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.card-footer > .pass-availability,
.card-footer > .pass-row {
  min-width: 0;
}

.card-footer > .book-now-button {
  margin-left: auto;
}

@media (max-width: 409px) {
  .card-footer > .pass-availability,
  .card-footer > .pass-row {
    flex-basis: 100%;
  }
  .card-footer > .book-now-button {
    margin-left: 0;
    margin-right: auto;
  }
}

.venue-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.9;
  flex-shrink: 0;
}

.book-now-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #ffffff;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.book-now-arrow {
  width: 14px;
  height: 14px;
}

.book-now-button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.book-now-button.is-disabled {
  background: #d4d4d4;
  color: #888;
  cursor: not-allowed;
  pointer-events: none;
}

.book-now-button.is-disabled:hover {
  transform: none;
  opacity: 1;
}

.featured-card .book-now-button {
  background: #ffffff;
  color: var(--accent-dark);
  justify-self: start;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 16px;
}

.featured-card .book-now-button.is-disabled {
  background: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.65);
}

.venue-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.featured-card .venue-link {
  color: rgba(255, 255, 255, 0.88);
}

.featured-card .venue-link:hover {
  color: #fff;
}

.bookmark-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 500px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(20, 20, 18, 0.28);
  backdrop-filter: blur(8px);
  color: #fff;
}

.bookmark-button svg {
  width: 18px;
  height: 18px;
}

.featured-card .bookmark-button {
  position: absolute;
  top: 18px;
  right: 18px;
}

.place-card .bookmark-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: #181410;
}

.bookmark-button.is-saved {
  background: rgba(39, 86, 31, 0.92);
  color: #fff;
  border-color: transparent;
}

.place-card.is-active,
.sheet-card.is-active,
.featured-card.is-active {
  border: 2px solid #336f2d;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
}

.map-panel {
  position: relative;
  isolation: isolate;
  min-height: 50vh;
}

#map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 50vh;
  background: linear-gradient(180deg, #e7f1f7, #f8f6f0);
}

.leaflet-container {
  font-family: var(--body-font);
  background: #e6eff5;
}

.leaflet-tile {
  filter: saturate(0.72) brightness(1.06) contrast(0.88) sepia(0.08);
}

.leaflet-control-zoom {
  display: none;
}

.leaflet-control-attribution {
  border-radius: 6px 0 0 0;
  background: rgba(255, 255, 255, 0.74) !important;
  backdrop-filter: blur(8px);
}

.leaflet-popup-content-wrapper {
  border-radius: 9px;
  box-shadow: var(--shadow-md);
}

.leaflet-popup-content {
  margin: 14px 16px;
}

.popup-title {
  margin: 0 0 4px;
  font-family: var(--heading-font);
  font-size: 1.04rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.015em;
}

.leaflet-popup-content .popup-title-link {
  color: var(--text);
  text-decoration: none;
}

.leaflet-popup-content .popup-title-link:hover {
  text-decoration: underline;
}

.popup-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.popup-status {
  margin: 6px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.popup-status-available {
  color: var(--accent);
}

.popup-status-soldout {
  color: #b04a2f;
}

.popup-status-used {
  color: var(--muted);
}

.user-location-marker {
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.locate-button,
.mobile-map-topbar,
.mobile-filter-tray,
.mobile-sheet {
  display: none;
}


.locate-button {
  position: absolute;
  right: 24px;
  bottom: 26px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 500px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  color: var(--accent);
}

.mobile-nav {
  display: none;
}

.nav-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-item svg {
  width: 22px;
  height: 22px;
}

.nav-item.is-active {
  color: #181410;
}

.dot-marker {
  filter: drop-shadow(0 8px 12px rgba(35, 74, 28, 0.16));
}

.leaflet-control-attribution {
  display: none;
}

.support-card {
  display: none;
}

@media (min-width: 900px) {
  .support-card {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin: 12px 38px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 199, 0, 0.4);
    background: #fff8d9;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .support-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 199, 0, 0.18);
  }

  .support-card-icon {
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1;
  }

  .support-card-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .support-card-title {
    font-family: var(--body-font);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: var(--text);
  }

  .support-card-detail {
    font-family: var(--body-font);
    font-size: 12.5px;
    line-height: 18px;
    color: var(--muted);
  }

  .support-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 9px 16px;
    border-radius: 8px;
    background: #ffdd00;
    color: #1a1a1a;
    font-family: var(--body-font);
    font-size: 13px;
    line-height: 16px;
    font-weight: 700;
  }

  .support-card-cta svg {
    width: 14px;
    height: 14px;
  }
}

.sheet-card {
  display: flex;
  flex-direction: column;
  width: 184px;
  min-width: 184px;
  border-radius: 12px;
}

.sheet-card .card-image {
  height: 151px;
  flex-shrink: 0;
}

.sheet-card .card-body {
  flex: 1 1 auto;
  padding: 16px 16px 18px;
}

.sheet-card .book-now-button {
  margin-top: auto;
}

.sheet-card .card-title {
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  body {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .page-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    border: 1px solid rgba(68, 50, 30, 0.1);
    box-shadow: var(--shadow-xl);
  }

  .desktop-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 38px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-header,
  .mobile-search-drawer,
  .mobile-nav,
  #desktopMapButton {
    display: none;
  }

  .main-layout {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(400px, 0.95fr) minmax(460px, 1fr);
    min-height: 0;
  }

  .browse-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
  }

  .browse-scroll {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
    padding-bottom: 40px;
  }

  .chip-scroll {
    position: sticky;
    top: 0;
    z-index: 15;
    flex-wrap: nowrap;
    padding: 10px 38px;
    overflow: hidden;
    background: #ffffff;
    backdrop-filter: blur(12px);
  }

  .chip-scroll.is-expanded {
    flex-wrap: wrap;
    row-gap: 12px;
    overflow: visible;
  }

  .content-section {
    padding-right: 38px;
    padding-left: 38px;
  }

  .availability-footer {
    padding-right: 38px;
    padding-left: 38px;
    text-align: left;
  }

  .map-panel {
    min-height: 0;
    border-left: 1px solid var(--line);
  }

  #map {
    height: 100%;
    min-height: 0;
  }

  .locate-button {
    display: inline-flex;
  }

  .place-card .card-image {
    height: 150px;
  }
}

@media (min-width: 1080px) {
  .list-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1770px) {
  .list-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  #mapChipTray .chip-toggle-button {
    display: none !important;
  }

  body.mobile-map-open {
    overflow: hidden;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
  }

  .desktop-actions {
    display: none;
  }

  .supporting-grid {
    display: none;
  }

  .list-stack {
    gap: 16px;
  }

  .place-card {
    grid-template-columns: 122px 1fr;
    grid-template-rows: 1fr;
    min-height: 155px;
  }

  .place-card .card-image {
    height: 100%;
    min-height: 155px;
    grid-row: 1 / -1;
  }

  .place-card .card-body {
    padding: 18px 18px 18px 16px;
  }

  .place-card .card-title {
    font-size: 1.06rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 44px;
  }

  .card-summary {
    display: none;
  }

  .featured-card {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 24px;
  }

  .featured-name {
    font-size: 1.8rem;
  }

  .text-button,
  .sort-button {
    font-size: 0.88rem;
  }

  .map-panel {
    display: none;
  }

  body.mobile-map-open .map-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
  }

  body.mobile-map-open #map {
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
  }

  body.mobile-map-open .mobile-nav {
    display: none;
  }

  .mobile-map-topbar {
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    z-index: 1001;
    display: none;
    align-items: center;
    gap: 12px;
  }

  body.mobile-map-open .mobile-map-topbar {
    display: flex;
  }

  .map-search-shell {
    flex: 1;
    min-height: 54px;
  }

  .map-search-shell input {
    font-size: 13px;
  }

  .filter-button {
    width: 54px;
    height: 54px;
  }

  .mobile-filter-tray {
    position: absolute;
    top: calc(max(16px, env(safe-area-inset-top)) + 72px);
    right: 16px;
    left: 16px;
    z-index: 1000;
    display: none;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
  }

  .mobile-filter-tray.is-open {
    display: flex;
  }

  .mobile-filter-tray.is-expanded {
    flex-wrap: wrap;
    row-gap: 12px;
    overflow: visible;
  }

  .locate-button {
    right: 18px;
    bottom: calc(var(--sheet-height, 360px) + 28px);
    display: inline-flex;
    z-index: 1001;
  }

  .mobile-sheet {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;
    display: none;
    flex-direction: column;
    height: var(--sheet-height, 360px);
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    background: #ffffff;
    box-shadow: 0 -20px 60px rgba(65, 47, 28, 0.18);
    backdrop-filter: blur(18px);
    overflow: hidden;
  }

  body.mobile-map-open .mobile-sheet {
    display: flex;
    transition: height 0.25s ease;
  }

  .mobile-sheet.is-minimized {
    height: calc(14px + 56px + 14px + env(safe-area-inset-bottom)) !important;
  }

  body.mobile-map-open:has(.mobile-sheet.is-minimized) .locate-button {
    bottom: calc(14px + 56px + 14px + env(safe-area-inset-bottom) + 28px);
  }

  .mobile-sheet.is-minimized .sheet-header,
  .mobile-sheet.is-minimized .sheet-rail {
    display: none;
  }

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

  .sheet-title {
    font-size: 1.53rem;
    line-height: 0.94;
    font-weight: 300;
  }

  .sheet-subtitle {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
  }

  .close-sheet-button {
    width: 44px;
    height: 44px;
    box-shadow: none;
  }

  .sheet-rail {
    display: flex;
    align-items: flex-start;
    flex: 1 1 auto;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;
    min-height: 0;
    margin-bottom: 18px;
    padding-bottom: 2px;
  }

  .sheet-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    min-height: 56px;
    border-radius: 500px;
    background: #171410;
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.71rem;
  }

  .mobile-header .brand-title {
    font-size: 1.62rem;
  }

  .featured-name {
    font-size: 1.8rem;
  }

  .featured-card {
    min-height: 0;
  }

  .place-card {
    grid-template-columns: 108px 1fr;
  }

  .place-card .card-title {
    font-size: 1rem;
  }

  .card-meta,
  .pass-row,
  .sheet-meta {
    font-size: 0.88rem;
  }

  .pass-dot {
    width: 11px;
    height: 11px;
  }
}
