:root {
  color-scheme: light;
  --page: #fbfcfb;
  --surface: #ffffff;
  --surface-soft: #f6f8f7;
  --ink: #0d1724;
  --muted: #66707d;
  --green: #169447;
  --green-dark: #087736;
  --green-soft: #edf8f0;
  --amber-soft: #fff8e7;
  --amber: #8b5b00;
  --red-soft: #fff1ee;
  --red: #963e2e;
  --line: #dfe4e2;
  --line-strong: #cbd2cf;
  --focus: #0b66c3;
  --shadow: 0 12px 36px rgba(13, 23, 36, .06);
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--page); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-size: 16px; line-height: 1.5; }
button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 5.3vw, 4.75rem); }
h2 { font-size: clamp(1.45rem, 2vw, 2rem); }
h3 { font-size: 1.2rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; color: white; background: var(--green-dark); border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.site-header { width: min(1340px, calc(100% - 64px)); min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.home-header { border-bottom: 0; }
.brand { flex: 0 0 auto; display: inline-flex; text-decoration: none; }
.brand img { width: 174px; height: auto; }
.site-header nav a { min-height: 44px; padding: 11px 0; display: inline-flex; align-items: center; color: #35404c; font-size: .93rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--green-dark); }

.home-search { width: min(970px, calc(100% - 48px)); min-height: calc(100vh - 180px); margin: 0 auto; padding: 60px 0 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.home-copy { max-width: 760px; }
.home-copy h1 { margin-bottom: 36px; text-wrap: balance; }
.home-copy .headline-tail { white-space: nowrap; }
.home-copy .headline-accent { color: var(--green); }
.home-copy p { margin-bottom: 42px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.prompt-composer { width: 100%; }
.composer-row, .results-composer > div { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 9px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); }
.composer-row:focus-within, .results-composer > div:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(22, 148, 71, .11), var(--shadow); }
.search-icon { width: 22px; height: 22px; flex: 0 0 auto; margin-left: 12px; position: relative; border: 2px solid #63707c; border-radius: 50%; }
.search-icon::after { width: 8px; height: 2px; position: absolute; right: -6px; bottom: -3px; background: #63707c; border-radius: 2px; content: ""; transform: rotate(45deg); }
.composer-row input, .results-composer input { min-width: 0; flex: 1; height: 54px; padding: 0 12px; background: transparent; border: 0; outline: 0; font-size: 1.1rem; }
.composer-row button, .results-composer button { min-width: 128px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 22px; color: white; background: var(--green); border: 0; border-radius: 9px; font-weight: 750; }
.composer-row button:hover, .results-composer button:hover, .button:hover { background: var(--green-dark); }
.suggestions { width: 100%; margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 9px; }
.suggestions > span { color: var(--muted); font-size: .78rem; }
.suggestion-chip { min-height: 36px; padding: 7px 11px; color: #46515d; background: transparent; border: 1px solid var(--line); border-radius: 7px; font-size: .8rem; text-decoration: none; }
.suggestion-chip:hover { color: var(--green-dark); background: var(--green-soft); border-color: #badcc6; }

.site-footer { min-height: 98px; padding: 18px max(32px, calc((100% - 1340px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; color: #d7e3dd; background: #0e2020; }
.brand-footer img { width: 126px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a:not(.brand) { color: #e7eee9; font-size: .82rem; text-decoration: none; }
.site-footer p { margin: 0; justify-self: end; color: #a9bbb3; font-size: .75rem; }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; color: white; background: var(--green); border: 0; border-radius: 8px; font-weight: 750; text-decoration: none; transition: background .16s ease, transform .16s ease; }
.button:active { transform: translateY(1px); }
.wide { width: 100%; }
.muted, .quiet-detail { color: var(--muted); }
.eyebrow { margin-bottom: 8px; color: var(--green-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.page-heading { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 36px; }
.compact-heading { max-width: 860px; text-align: center; }
.compact-heading h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.compact-heading > p:last-child { color: var(--muted); }
.directory-shell { width: min(1100px, calc(100% - 48px)); margin: 0 auto 80px; }
.directory-controls { padding: 18px; display: grid; grid-template-columns: 1fr 210px; gap: 8px 18px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.directory-controls label { color: var(--muted); font-size: .8rem; font-weight: 700; }
.directory-search { display: flex; gap: 8px; }
.directory-search input, .directory-controls select { width: 100%; min-width: 0; height: 44px; padding: 0 12px; background: white; border: 1px solid var(--line-strong); border-radius: 7px; }
.results-title { margin: 26px 0 14px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.results-title h2 { margin: 0; }
.results-title p { margin: 0; color: var(--muted); font-size: .82rem; }
.results-title .results-disclaimer { margin-top: 7px; font-size: .76rem; }
.comparison-list { display: flex; flex-direction: column; gap: 12px; }
.comparison-card { min-width: 0; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 8px rgba(13, 23, 36, .02); }
.directory-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.directory-card h3 { margin-bottom: 6px; }
.venue-location-row { min-width: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.location-pin { width: 15px; height: 15px; flex: 0 0 auto; }
.venue-location { min-width: 0; margin: 0; color: var(--muted); font-size: .88rem; }
.map-link { margin-left: 3px; color: var(--green-dark); font-size: .75rem; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.quiet-detail { margin: 0; font-size: .82rem; }
.typical-price { margin: .35rem 0 0; font-size: .92rem; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.secondary-action, .venue-detail-link { color: var(--green-dark); font-size: .84rem; font-weight: 750; text-decoration: none; }
.venue-detail-link { min-height: 44px; padding: .5rem .375rem; display: inline-flex; align-items: center; justify-content: center; }
.secondary-action:hover, .venue-detail-link:hover { text-decoration: underline; }
.pagination { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination button { width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.pagination button[aria-current="page"] { color: white; background: var(--green); border-color: var(--green); }
.empty-state { padding: 44px 28px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 10px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0; color: var(--muted); }

.find-page { width: min(1340px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 80px; }
.results-composer { width: 100%; margin: 0 auto 18px; }
.results-composer > div { padding: 7px; border-radius: 11px; box-shadow: none; }
.results-composer input { height: 48px; }
.results-composer button { min-width: 112px; height: 46px; }
.understood-search-bar { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; background: var(--green-soft); border: 1px solid #c4e3cd; border-radius: 8px; }
.change-search-button, .quiet-button { min-height: 44px; padding: 0 14px; color: var(--green-dark); background: transparent; border: 1px solid transparent; border-radius: 7px; font-weight: 750; }
.change-search-button { flex: 0 0 auto; margin-right: 4px; }
.change-search-button:hover, .quiet-button:hover { background: white; border-color: var(--line-strong); }
.change-search-panel { width: min(760px, calc(100% - 32px)); max-height: min(720px, calc(100vh - 40px)); margin: auto; padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 24px 80px rgba(24, 43, 34, .22); }
.change-search-panel::backdrop { background: rgba(19, 34, 27, .42); }
.change-search-shell { padding: 22px; }
.change-search-shell > header { margin-bottom: 18px; }
.change-search-shell h2 { margin: 2px 0 0; font-size: 1.35rem; }
.change-search-fields { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; align-items: end; gap: 14px; }
.change-search-fields label, .time-control { min-width: 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.change-search-fields label > span, .time-control legend { margin: 0 0 6px 2px; display: block; }
.time-control { margin: 0; padding: 0; border: 0; }
.change-search-fields input, .change-search-fields select { width: 100%; min-width: 0; height: 46px; padding: 0 10px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 7px; font-family: inherit; font-size: .9rem; }
.change-search-fields [aria-invalid="true"] { background: var(--amber-soft); border-color: #c88c1b; }
.change-search-fields label.needs-input { color: var(--amber); }
.control-pair { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.search-validation { min-height: 20px; grid-column: 1 / -1; margin: 0; color: #895a00; font-size: .78rem; font-weight: 700; }
.filter-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.filter-actions .button { white-space: nowrap; }
.search-results { min-width: 0; }
.interpretation-status { min-height: 54px; margin-top: 22px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; }
.understood-search-bar .interpretation-status { min-width: 0; flex: 1; margin: 0; background: transparent; border: 0; }
.interpretation-status strong { font-size: .88rem; }
.interpretation-status p { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .8rem; }
.interpretation-status.understood { background: var(--green-soft); border-color: #c4e3cd; }
.interpretation-status.needs-detail { background: var(--amber-soft); border-color: #ead298; }
.interpretation-status.error { background: var(--red-soft); border-color: #e3b5aa; }
.loading-dot { width: 9px; height: 9px; background: var(--green); border-radius: 50%; animation: pulse 1s ease-in-out infinite alternate; }
.place-choices { display: flex; flex-direction: column; gap: 8px; }
.place-choice { min-height: 44px; padding: 11px 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.place-choice:hover { border-color: var(--green); }
.result-sort { margin: 0 0 12px; padding: 0; display: flex; align-items: center; gap: 14px; border: 0; }
.result-sort legend { margin-right: 2px; float: left; color: var(--muted); font-size: .76rem; font-weight: 700; }
.result-sort label { min-height: 40px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.result-sort label[hidden] { display: none; }
.result-sort label:has(input:checked) { color: var(--green-dark); background: var(--green-soft); border-color: #9fcfad; }
.result-sort input:focus-visible { outline: 3px solid rgba(8, 119, 54, .28); outline-offset: 2px; }
.search-card { min-height: 0; padding: 22px; }
.comparison-list[aria-busy="true"] { opacity: .58; }
.card-topline { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.card-topline h3 { margin-bottom: 7px; font-size: 1.27rem; }
.distance-label { flex: 0 0 auto; color: var(--green-dark); font-size: 1.08rem; }
.court-format { margin: 12px 0 0; color: #44515d; font-size: .82rem; font-weight: 700; }
.booking-panel { margin-top: 16px; }
.concise-state { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 2px 10px; color: #35404c; font-size: .84rem; }
.concise-state strong { flex-basis: 100%; color: var(--ink); }
.concise-state.has-alternative strong { color: var(--amber); }
.concise-state span { color: var(--muted); }
.recommended-booking { padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(168px, auto); align-items: center; gap: 20px; background: var(--green-soft); border: 1px solid #b9dec4; border-radius: 10px; }
.recommended-summary { min-width: 0; }
.slot-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.slot-heading > strong { font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.025em; }
.selected-label { padding: 3px 7px; color: var(--green-dark); background: white; border: 1px solid #b9dec4; border-radius: 999px; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.slot-meta { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.display-price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 7px; }
.display-price strong { color: var(--ink); font-size: 1.25rem; font-weight: 850; }
.display-price span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.primary-action { min-width: 168px; }
.booking-action { min-height: 48px; white-space: nowrap; }
.nearby-alternatives { margin-top: 13px; }
.nearby-alternatives > p { margin: 0 0 7px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.alternative-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.alternative-tile { min-width: 0; min-height: 50px; padding: 6px 9px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; }
.alternative-tile:hover { color: var(--green-dark); border-color: var(--green); }
.alternative-tile strong { font-size: .93rem; }
.alternative-tile span { color: var(--muted); font-size: .68rem; line-height: 1.25; }
.secondary-booking-link { padding-left: 0; justify-content: flex-start; }
.venue-facts { margin: 14px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 19px; list-style: none; color: #44515d; font-size: .8rem; }
.venue-facts li { position: relative; }
.venue-facts li::before { width: 5px; height: 5px; margin-right: 7px; display: inline-block; vertical-align: 2px; background: var(--green); border-radius: 50%; content: ""; }
.card-price { margin: 10px 0 0; display: flex; flex-direction: column; gap: 2px; }
.card-price strong { font-size: .92rem; }
.card-price span { color: var(--muted); font-size: .72rem; }
.live-availability:empty { display: none; }
.live-availability { margin-top: 13px; padding: 11px 12px; color: #35404c; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 7px; font-size: .8rem; }
.live-availability.checking { min-height: 42px; display: flex; align-items: center; color: var(--green-dark); background: var(--green-soft); border-color: #c4e3cd; }
.live-availability.available_exact, .live-availability.available_nearby { background: var(--green-soft); border-color: #b9dec4; }
.live-availability.no_exact_slot_confirmed { background: var(--surface-soft); }
.live-availability.no_exact_slot_observed, .live-availability.not_checked_after_cap, .live-availability.not_checked_after_systemic_provider_failure { color: #6e520f; background: var(--amber-soft); border-color: #ead298; }
.live-availability.check_failed { color: #35404c; background: var(--surface-soft); border-color: var(--line); }
.closest-available { display: block; margin-top: 4px; font-weight: 750; }
.result-summary { margin: 0 0 12px; color: var(--muted); font-size: .86rem; }
.platform-fee-note { margin: -4px 0 12px; color: var(--muted); font-size: .78rem; }
.share-results { min-height: 0; margin: -3px 0 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.share-button { min-height: 44px; padding: 7px 0; background: transparent; border: 0; cursor: pointer; }
.share-whatsapp { min-height: 44px; display: inline-flex; align-items: center; }
.share-fallback { flex-basis: 100%; white-space: pre-line; color: var(--muted); font-size: .76rem; }
.result-section { margin-bottom: 14px; }
.result-section-title { margin: 0 0 4px; color: var(--ink); font-size: 0.98rem; }
.result-section-summary { margin: 0 0 8px; color: var(--muted); font-size: .79rem; }
.result-section-cards { display: flex; flex-direction: column; gap: 12px; }
.inconclusive-venues { margin-top: 14px; }
.inconclusive-venues > summary { min-height: 44px; padding: 11px 13px; color: var(--green-dark); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; font-size: .84rem; font-weight: 750; cursor: pointer; }
.inconclusive-venues[open] > summary { margin-bottom: 10px; }
.live-slot-list { margin: 8px 0 0; padding: 0; display: grid; gap: 6px; list-style: none; }
.live-slot { min-width: 0; padding-top: 7px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; border-top: 1px solid rgba(8, 119, 54, .16); }
.live-slot > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.live-slot > div > strong { color: var(--ink); font-size: .93rem; }
.live-slot > div > span { color: var(--muted); font-size: .74rem; }
.live-slot > div > .price-label { flex-basis: 100%; color: var(--ink); font-size: .8rem; font-weight: 700; }
.live-slot > div > .price-note { flex-basis: 100%; font-size: .72rem; }
.slot-action { min-height: 44px; padding: 8px 4px; display: inline-flex; align-items: center; color: var(--green-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.primary-recommendation { border-color: #8fcba0; box-shadow: 0 7px 24px rgba(8, 119, 54, .1); }
.slot-action { min-width: 112px; padding: 10px 16px; justify-content: center; color: white; background: var(--green); border-radius: 7px; text-decoration: none; }
.more-times-link { min-height: 44px; margin-top: 4px; display: inline-flex; align-items: center; color: var(--green-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.alternatives-toggle { width: 100%; min-height: 48px; padding: 10px 14px; color: var(--green-dark); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 750; }
.alternatives-toggle:hover { border-color: var(--green); }
.alternatives-toggle:focus-visible { outline: 3px solid rgba(8, 119, 54, .28); outline-offset: 2px; }
.alternative-recommendations { margin-top: 12px; display: grid; gap: 12px; }
.alternative-recommendations[hidden] { display: none; }
.card-action { align-self: stretch; padding-left: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; border-left: 1px solid var(--line); }
.card-action .venue-detail-link { text-align: center; }

.venue-profile, .prose-page { width: min(1000px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 80px; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--green-dark); font-weight: 700; text-decoration: none; }
.venue-profile > header { display: flex; justify-content: space-between; align-items: start; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.venue-profile h1 { margin-bottom: 10px; font-size: clamp(2.3rem, 4vw, 3.5rem); }
.profile-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 340px; gap: 52px; }
.profile-grid dl { margin: 0 0 28px; }
.profile-grid dl div { padding: 11px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.profile-grid dt { color: var(--muted); }
.profile-grid dd { margin: 0; text-align: right; }
.court-list { margin: 0; padding: 0; list-style: none; }
.court-list li { padding: 9px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.handoff-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.handoff-card > small { display: block; margin-top: 10px; color: var(--muted); text-align: center; }
.prose-page { max-width: 720px; }
.prose-page h1 { margin-bottom: 18px; font-size: clamp(2.3rem, 4vw, 3.5rem); }
.prose-page h2 { margin-top: 36px; font-size: 1.4rem; }
.prose-page p { color: #3f4d47; }
.prose-page .lead { color: var(--ink); font-size: 1.17rem; }

@keyframes pulse { to { opacity: .35; transform: scale(.8); } }

@media (max-width: 1200px) {
  .change-search-fields { grid-template-columns: 1fr 1.5fr; }
}

@media (max-width: 760px) {
  .site-header, .home-header { width: calc(100% - 32px); min-height: 68px; }
  .brand img { width: 146px; }
  .site-header nav a { font-size: .82rem; }
  .home-search { width: calc(100% - 32px); min-height: calc(100vh - 218px); padding: 48px 0 68px; align-items: stretch; text-align: left; }
  .home-copy h1 { margin-bottom: 14px; font-size: clamp(2.65rem, 13vw, 3.5rem); }
  .home-copy h1 { margin-bottom: 28px; }
  .composer-row { padding: 6px; border-radius: 11px; }
  .search-icon { width: 19px; height: 19px; margin-left: 10px; }
  .composer-row input { height: 48px; padding: 0 7px; font-size: .95rem; }
  .composer-row button { min-width: 48px; width: 48px; height: 46px; padding: 0; }
  .composer-row button span:first-child, .results-composer button span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .suggestions { justify-content: flex-start; }
  .suggestions > span { flex-basis: 100%; }
  .suggestion-chip { min-height: 38px; padding: 8px 9px; font-size: .75rem; }
  .site-footer { min-height: 150px; padding: 22px 16px; grid-template-columns: 1fr auto; gap: 16px; }
  .site-footer p { grid-column: 1 / -1; justify-self: start; }
  .site-footer nav { gap: 14px; }
  .brand-footer img { width: 108px; }
  .page-heading, .find-page, .venue-profile, .prose-page, .directory-shell { width: calc(100% - 32px); }
  .page-heading { padding: 42px 0 22px; text-align: left; }
  .directory-controls { grid-template-columns: 1fr; }
  .directory-card { grid-template-columns: minmax(0, 1fr) auto; }
  .find-page { padding-top: 18px; }
  .results-composer { margin-bottom: 14px; }
  .results-composer > div { padding: 5px; }
  .results-composer input { height: 44px; padding: 0 6px; font-size: .9rem; }
  .results-composer button { min-width: 44px; width: 44px; height: 42px; padding: 0; }
  .understood-search-bar { margin-bottom: 4px; }
  .understood-search-bar .interpretation-status { min-height: 48px; padding: 9px 10px; }
  .understood-search-bar .interpretation-status p { font-size: .74rem; }
  .change-search-button { min-height: 44px; padding: 0 10px; }
  .change-search-panel { width: 100%; max-width: none; max-height: min(88vh, 720px); margin: auto 0 0; border-width: 1px 0 0; border-radius: 14px 14px 0 0; }
  .change-search-shell { padding: 20px 16px max(20px, env(safe-area-inset-bottom)); }
  .change-search-fields { grid-template-columns: 1fr; gap: 13px; }
  .filter-actions { justify-content: space-between; }
  .filter-actions .button, .filter-actions .quiet-button { min-height: 48px; }
  .results-title { align-items: start; }
  .results-title > p { max-width: 145px; text-align: right; }
  .results-title .results-disclaimer { max-width: 255px; text-align: left; }
  .result-sort { flex-wrap: wrap; gap: 7px; }
  .result-sort legend { flex-basis: 100%; }
  .result-sort label { flex: 1 1 120px; justify-content: center; }
  .comparison-list { gap: 10px; }
  .search-card { min-height: 0; padding: 14px 12px; }
  .card-topline h3 { margin-bottom: 5px; font-size: 1.08rem; }
  .distance-label { font-size: .95rem; }
  .venue-location { font-size: .78rem; }
  .venue-facts { margin: 10px 0 9px; gap: 4px 12px; font-size: .72rem; }
  .court-format { margin-top: 8px; }
  .booking-panel { margin-top: 10px; }
  .recommended-booking { grid-template-columns: 1fr; gap: 9px; padding: 11px; }
  .slot-heading { gap: 6px; }
  .slot-heading > strong { font-size: 1.28rem; }
  .selected-label { padding: 2px 6px; font-size: .62rem; }
  .slot-meta { margin-top: 1px; }
  .display-price { margin-top: 5px; }
  .primary-action { min-width: 0; }
  .booking-action { min-height: 44px; }
  .nearby-alternatives { margin-top: 9px; }
  .nearby-alternatives > p { margin-bottom: 5px; }
  .alternative-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .alternative-tile { min-height: 48px; padding: 5px 7px; }
  .alternative-tile strong { font-size: .88rem; }
  .alternative-tile span { font-size: .64rem; }
  .profile-grid { grid-template-columns: 1fr; gap: 28px; }
  .venue-profile > header { flex-direction: column; }
}

@media (max-width: 410px) {
  .home-search { padding-top: 46px; }
  .home-copy h1 { font-size: 2.7rem; }
  .directory-search { flex-direction: column; }
  .directory-card { grid-template-columns: 1fr; gap: 13px; }
}

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