.vtg-dialog {
  --guide-stroke: color-mix(in srgb, var(--accent) 58%, var(--line));
  --vtg-viewport:100vh;
  --vtg-gutter:clamp(16px,3vw,36px);
  --vtg-height:min(55rem,calc(var(--vtg-viewport) - 32px));
  position:fixed;
  inset:calc(var(--vtg-viewport-top,0px) + (var(--vtg-viewport) - var(--vtg-height))/2) 0 auto;
  margin:0 auto;
  width:min(74rem,calc(100% - 32px));
  max-width:100%;
  height:var(--vtg-height);
  max-height:none;
  padding:0;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--bg);
  color:var(--ink);
  overflow:hidden;
  box-shadow:0 20px 90px #112d2933;
}
@supports (height:100dvh) {.vtg-dialog {--vtg-viewport:100dvh;}}
.vtg-dialog[open] { display:flex; flex-direction:column; }
.vtg-dialog > #app-dock {position:relative;inset:auto;flex:none;order:1;width:100%;max-width:none;transform:none;}
.vtg-dialog[data-search-dock] {padding-bottom:0;}
.vtg-dialog[data-search-dock] .vtg-location {grid-template-columns:minmax(0,1fr);}
.vtg-dialog [hidden] {display:none!important;}
.vtg-dialog::backdrop {background:#0c1b2ab8;}
.vtg-dialog svg:where(:not(#app-dock *, .centre-map-surface *)) {width:20px;height:20px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.vtg-dialog button:where(:not(.search-field-clear, #app-dock *)) {font:inherit;}
.vtg-dialog button {cursor:pointer;}
.vtg-top,.vtg-picker,.vtg-content,.vtg-details {padding-inline:var(--vtg-gutter);}
.vtg-top {display:flex;flex:none;align-items:center;gap:clamp(6px,2vw,16px);padding-block:22px 15px;}
.vtg-top h2 {min-width:0;flex:1;margin:0;font-size:clamp(26px,4vw,39px);letter-spacing:-.045em;}
.vtg-top .vtg-back {flex:none;padding-inline:12px;white-space:nowrap;}
.vtg-top h2:focus {outline:none;}
.vtg-close,.vtg-secondary,.vtg-back,.vtg-chip {display:inline-flex;align-items:center;justify-content:center;gap:7px;color:var(--ink);border:1px solid var(--line);border-radius:32px;background:var(--surface);}
.vtg-dialog :is(.vtg-close,.vtg-secondary,.vtg-back,.vtg-chip,.vtg-map-toggle):hover {border-color:var(--accent);}
.vtg-dialog :is(.vtg-close,.vtg-card,.vtg-secondary,.vtg-back,.vtg-chip,.vtg-plan,.vtg-out,summary):focus-visible {outline:3px solid var(--accent);outline-offset:2px;}
.vtg-close {padding:9px;flex-shrink:0;width:44px;height:44px;}
.vtg-list {display:flex;flex:1;flex-direction:column;min-height:0;}
.vtg-picker {flex:none;padding-bottom:13px;border-bottom:1px solid var(--line);}
.vtg-location {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px;}
.vtg-area-tools {display:flex;align-items:stretch;align-self:start;gap:8px;min-width:0;}
.vtg-location>.vtg-search {min-width:0;}
.vtg-area {flex:1 1 9rem;width:0;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:7px 9px;background:var(--surface);color:var(--ink);font:inherit;}
.vtg-area:focus-visible {outline:2px solid var(--accent);outline-offset:1px;}
.vtg-location > .vtg-search {display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:0 14px;color:var(--muted);min-height:46px;}
.vtg-location > .vtg-search:focus-within {outline:2px solid var(--accent);outline-offset:1px;}
.vtg-location > .vtg-search .search-query-field {flex:1 1 0%;width:100%;min-height:44px;outline:none;border:0;background:transparent;color:var(--ink);padding:10px 0;}
.vtg-location > .vtg-search .search-query-field::placeholder {color:var(--muted);}
.vtg-filters {display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px;min-width:0;}
.vtg-activity-types {display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.vtg-chip {padding:7px 12px;min-height:36px;max-width:100%;font-weight:600!important;font-size:13px!important;line-height:1.25;text-align:center;}
.vtg-chip svg {width:15px;height:15px;}
.vtg-chip[aria-pressed=true] {color:var(--on-accent);border-color:var(--accent);background:var(--accent);}
.vtg-chip[data-key=free] {margin:0;flex:none;min-height:44px;border-radius:10px;white-space:nowrap;}
.vtg-free::before {content:'';width:14px;height:14px;box-sizing:border-box;border-radius:4px;border:1px solid var(--guide-stroke);background:var(--surface);}
.vtg-free[aria-pressed=true]::before {width:7px;height:12px;margin-inline:3.5px;border:solid currentColor;border-width:0 2px 2px 0;background:transparent;border-radius:0;transform:translateY(-2px) rotate(45deg);}
.vtg-age {display:inline-block;font:650 11px/1.3 system-ui,sans-serif;letter-spacing:.02em;color:var(--muted);background:var(--surface-soft);border-radius:4px;padding:2px 5px;}
.vtg-content,.vtg-details {flex:1;min-height:0;overflow:auto;padding-block:15px 26px;overscroll-behavior:contain;scrollbar-color:var(--line) transparent;scrollbar-width:thin;}
.vtg-count {color:var(--muted);font-size:13px;margin:0 0 17px;}
.vtg-result-tools {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:14px;}
.vtg-result-tools .vtg-count {margin:0;}
.vtg-price-band, .vtg-cuisine, .vtg-music-style, .vtg-playground-operator {max-width:100%;min-height:44px;padding:5px 9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;}
.vtg-price-band:focus-visible, .vtg-cuisine:focus-visible, .vtg-music-style:focus-visible, .vtg-playground-operator:focus-visible {outline:2px solid var(--accent);outline-offset:2px;}
.vtg-price-band[data-active], .vtg-cuisine[data-active], .vtg-music-style[data-active] {background:var(--surface-soft);border-color:var(--guide-stroke);}
.vtg-range-note {display:block;margin:0 0 14px;color:var(--muted);font-size:13px;}
.vtg-section+.vtg-section {margin-top:28px;}
.vtg-context-note {margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.45;}
.vtg-prior-title {margin:22px 0 8px;font-size:17px;}
.vtg-section h3 {font-size:clamp(20px,2vw,24px);letter-spacing:-.03em;margin:0 0 12px;font-weight:700;}
.vtg-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17.5rem),1fr));gap:clamp(9px,1.1vw,15px);}
.vtg-card-wrap > .vtg-card {padding-inline-end:52px;}
.vtg-card-wrap.has-venue-gallery > .vtg-card {padding-block-end:48px;}
.vtg-card-gallery {position:absolute;inset-block-end:1px;inset-inline-start:calc(27px + var(--thumb-width,min(86px,22vw)));display:inline-flex;align-items:center;min-height:44px;color:var(--accent);font-size:13px;font-weight:650;text-underline-offset:3px;}
.vtg-card-gallery:focus-visible {outline:2px solid var(--accent);outline-offset:2px;border-radius:4px;}
.vtg-card-wrap > .social-share-trigger {position:absolute;inset-block-start:5px;inset-inline-end:5px;z-index:2;}
.vtg-detail-actions {display:flex;align-items:center;justify-content:flex-end;}
.vtg-card {display:flex;text-align:start;align-items:flex-start;gap:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:14px;width:100%;transition:border-color .15s,background .15s;}
.vtg-card:hover {border-color:var(--guide-stroke);background:var(--surface-soft);}
.vtg-card>svg {width:13px;height:13px;flex:none;margin-left:auto;margin-top:4px;color:var(--muted);}
.vtg-cardtext {display:flex;align-items:flex-start;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere;}
.vtg-card strong {font-size:17px;line-height:1.24;letter-spacing:-.02em;font-weight:700;}
.vtg-meta,.vtg-price {font:500 12px/1.45 system-ui,sans-serif;color:var(--muted);display:block;}
.vtg-price {font-family:inherit;font-size:13px;font-weight:650;color:var(--accent);margin-top:3px;}
.vtg-glyph {--tint:#e2ebd2;--glyph:#426844;background:var(--tint);color:var(--glyph);display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:12px;}
[data-kind=food]>.vtg-glyph {--tint:#fae4ce;--glyph:#985723;}
[data-kind=coffee]>.vtg-glyph {--tint:#e8dfce;--glyph:#78553d;}
[data-kind=music]>.vtg-glyph {--tint:#e5e3f2;--glyph:#615185;}
.vtg-empty {max-width:42rem;text-align:center;margin:24px auto;padding:clamp(18px,3vw,32px);background:var(--surface);border:1px solid var(--line);border-radius:16px;}
.vtg-empty>svg {height:26px;width:26px;color:var(--accent);}
.vtg-empty p {margin:10px 0;}
.vtg-secondary,.vtg-back {min-height:44px;padding:8px 15px;font-size:14px!important;font-weight:620!important;color:var(--accent);}
.vtg-back svg {width:16px;height:16px;}
.vtg-details {width:100%;margin-inline:auto;padding-inline:max(var(--vtg-gutter),calc((100% - 44rem)/2));border-top:1px solid var(--line);}
.vtg-dhead {margin-top:18px;padding-bottom:18px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:center;overflow-wrap:anywhere;}
.vtg-dhead .large {grid-row:span 2;width:55px;height:55px;border-radius:16px;}
.vtg-dhead .large svg {width:30px;height:30px;}
.vtg-dhead h3 {font-size:clamp(23px,4vw,33px);line-height:1.12;letter-spacing:-.043em;margin:4px 0;}
.vtg-tags {grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap;margin-top:10px;}
.vtg-tags span {font-size:12px;font-weight:620;background:var(--surface-soft);padding:6px 10px;border-radius:20px;}
.vtg-details h4 {margin:19px 0 5px;font-size:17px;}
.vtg-details p {font-size:15px;line-height:1.45;margin:0;}
.vtg-details .vtg-meta {font-size:12px;}
.vtg-details p.vtg-note {margin-top:7px;color:var(--muted);}
.vtg-out {display:inline-flex;align-items:center;gap:6px;color:var(--accent);text-underline-offset:3px;font-weight:640;font-size:14px;margin-top:7px;}
.vtg-out svg {width:15px;height:15px;}
.vtg-source {margin-top:12px;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;}
.vtg-source small {font-size:12px;color:var(--muted);}
.vtg-plan {display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;color:var(--on-accent);background:var(--accent);border-radius:26px;padding:13px 20px;font-weight:650!important;margin-top:20px;}
.vtg-plan:hover {box-shadow:inset 0 0 0 1px currentColor;}
.vtg-plan svg {width:15px;height:15px;order:2;}
.vtg-details button[aria-pressed=true] {border-color:var(--accent);background:var(--surface-soft);color:var(--accent);}
[data-kind=culture]>.vtg-glyph {--tint:#f3dece;--glyph:#85503c;}
html[data-theme="dark"] .vtg-glyph {background:color-mix(in srgb,var(--glyph) 30%,var(--surface));color:var(--tint);}

.vtg-resources {border-top:1px solid var(--line);margin-top:18px;padding-top:14px;color:var(--muted);font-size:14px;}
.vtg-resources summary {cursor:pointer;}
.vtg-resources a {margin-right:18px;}
.vtg-details>.vtg-secondary {margin-top:12px;}
.vtg-details>.vtg-neighbourhood {display:flex;width:fit-content;max-width:100%;text-align:start;}
.vtg-neighbourhood svg {width:16px;height:16px;}

.vtg-thumb,.vtg-hero-photo {position:relative;display:block;overflow:hidden;background:var(--surface-soft);border-radius:8px;}
.vtg-thumb {width:86px;min-width:72px;aspect-ratio:1.15;flex:0 1 86px;}
.vtg-thumb img,.vtg-hero-photo img {width:100%;height:100%;display:block;object-fit:cover;}
.vtg-hero-photo {margin:14px 0 6px;width:100%;aspect-ratio:2.25;}
.vtg-photo-label {position:absolute;bottom:4px;left:4px;right:4px;background:#132921db;color:#fff;padding:3px 5px;width:fit-content;max-width:calc(100% - 8px);border-radius:5px;font-size:10px;line-height:1.15;}
.vtg-hero-photo .vtg-photo-label {font-size:12px;bottom:8px;left:8px;}

@media (max-width:640px), (max-height:500px) and (max-width:960px) {
  .vtg-dialog {--vtg-height:var(--vtg-viewport);width:100%;inset:var(--vtg-viewport-top,0px) 0 auto;margin:0;border:0;border-radius:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);}
  .vtg-top {padding-block:12px 10px;}
  .vtg-chip {min-height:44px;padding:6px 9px;}
  .vtg-filters {gap:3px 5px;}
  .vtg-chip[data-key=free] {margin-left:0;}
  .vtg-back,.vtg-secondary {min-height:44px;}
  .vtg-dhead {gap:5px 12px;}
}
@media (max-width:600px) {
  .vtg-location {grid-template-columns:minmax(0,1fr);}
  .vtg-area-tools {gap:6px;}
  .vtg-plan {width:100%;}
}
/* On phones and shorter windows the close control stays in view while the full list of categories scrolls with the results. */
.vtg-dialog[data-short] .vtg-list {display:block;overflow:auto;overscroll-behavior:contain;}
.vtg-dialog[data-short] .vtg-content {overflow:visible;}
.vtg-dialog[data-short] .vtg-top {padding-block:5px;border-bottom:1px solid var(--line);}
.vtg-dialog[data-short] .vtg-picker {padding-top:9px;}
.vtg-dialog[data-short] .vtg-top h2 {font-size:clamp(23px,3vw,30px);}
.vtg-category-picker {display:none;}
.vtg-dialog[data-short] .vtg-filters {display:none;}
.vtg-dialog[data-short] .vtg-category-picker {
  display:block;width:100%;min-height:44px;margin-top:7px;padding:7px 10px;
  border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--surface);font:inherit;font-size:16px;
}
.vtg-category-picker:focus-visible {outline:2px solid var(--accent);outline-offset:2px;}
.vtg-section>.vtg-secondary,.vtg-groups>.vtg-secondary {margin-top:10px;}

.vtg-escape-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.vtg-escape-age-control, .vtg-escape-party-control, .vtg-beach-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.vtg-escape-age, .vtg-escape-party, .vtg-beach-access {
  min-height: 44px;
  min-width: 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.vtg-beach-control, .vtg-beach-access { max-width: 100%; }
.vtg-beach-access[data-active] { background: var(--surface-soft); border-color: var(--guide-stroke); }
.vtg-escape-controls select:focus-visible, .vtg-beach-access:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vtg-escape-card-meta { font-size: 12px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.vtg-room-age-policy { border-inline-start: 2px solid var(--line); padding-inline-start: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.vtg-empty .vtg-secondary + .vtg-secondary { margin-inline-start: 6px; }
@media(max-width: 580px){
  .vtg-escape-controls { flex: 1 0 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .vtg-escape-age-control, .vtg-escape-party-control, .vtg-beach-control { display: grid; gap: 3px; }
  .vtg-beach-control { flex: 1 0 100%; }
  .vtg-escape-controls select, .vtg-beach-access { width: 100%; min-width: 0; font-size: 16px; }
}
.vtg-map-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.vtg-map-toggle svg { width: 17px; height: 17px; }
.vtg-map-toggle[aria-expanded=true] { background: var(--surface-soft); border-color: var(--guide-stroke); }
.vtg-map-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vtg-centre-map { min-width: 0; margin-bottom: 18px; }

.vtg-card-address {font:400 12px/1.4 system-ui,sans-serif;color:var(--muted);}

@media (max-width: 600px) {
  .vtg-card-wrap { --thumb-width: clamp(76px, 25vw, 102px); }
  .vtg-card-wrap .vtg-thumb { flex-basis: var(--thumb-width); width: var(--thumb-width); }
  .vtg-card-wrap > .photo-zoom { width: var(--thumb-width); }
}

.vtg-neighbors {margin-top:22px;display:flex;gap:6px;flex-wrap:wrap;}
.vtg-neighbors h3 {flex-basis:100%;margin:0 0 4px;font-size:17px;}
