:root {
  color-scheme: light;
  --court: #174b3a;
  --court-deep: #10372c;
  --lime: #c8df63;
  --ink: #1d2822;
  --muted: #69756e;
  --paper: #fcfcf8;
  --warm: #f4f5ef;
  --line: #dfe4dc;
  --white: #fff;
  --shadow: 0 10px 28px rgba(25, 46, 35, .08);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--warm);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 252, 248, .96);
  backdrop-filter: blur(14px);
}

.filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100% - 48px, 1600px);
  min-height: 64px;
  margin: 0 auto;
  padding: 9px 0;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  color: var(--court);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -.04em;
}

.brand-mark { width: 29px; height: 29px; }

.search-wrap { position: relative; flex: 1 1 480px; min-width: 240px; max-width: 620px; }
.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  transform: translateY(-50%);
  pointer-events: none;
}

#searchInput {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px 0 46px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

#searchInput:focus, .filter-chip:focus-visible, .filter-choice:focus-visible {
  border-color: var(--court);
  box-shadow: 0 0 0 3px rgba(23, 75, 58, .12);
}

.empty button {
  border: 0;
  background: none;
  color: var(--court);
  cursor: pointer;
  font-size: .87rem;
  font-weight: 750;
  padding: 8px 0;
}
.empty button:hover { color: var(--court-deep); text-decoration: underline; }

.filter-controls { display: flex; flex: 0 1 auto; align-items: center; gap: 8px; min-width: 0; }
.filter-popover { position: relative; min-width: 0; }
.location-filter { flex: 0 1 210px; }
.filter-chip {
  display: inline-flex;
  width: 100%;
  height: 40px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.filter-chip:hover { border-color: #c4ccc3; }
.filter-chip.is-active { border-color: var(--court); background: #eff3e5; color: var(--court-deep); }
.filter-chip strong { overflow: hidden; font-size: .82rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.filter-chevron {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: -3px 1px 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.more-filters-trigger { width: auto; white-space: nowrap; }
.more-filters-trigger svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#courtTypeTrigger { min-width: 150px; }
.filter-count {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--court);
  color: var(--white);
  font-size: .62rem;
  font-weight: 800;
}
.filter-count[hidden] { display: none; }
.filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1100;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(25, 46, 35, .16);
}
.filter-menu[hidden] { display: none !important; }
.filter-menu-title { margin: 0 0 9px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.filter-choice-row { display: flex; gap: 6px; }
.filter-choice {
  min-width: 82px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: .74rem;
  font-weight: 700;
}
.filter-choice:hover { border-color: #b9c4ba; }
.filter-choice.is-selected { border-color: var(--court); background: var(--court); color: var(--white); }
.court-type-menu { width: max-content; }
.more-filters-menu { right: 0; left: auto; width: 340px; }
.filter-section + .filter-section { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 12px; }
.filter-apply { width: 100%; margin-top: 13px; border: 0; border-radius: 9px; padding: 9px 12px; background: var(--court); color: var(--white); cursor: pointer; font-size: .8rem; font-weight: 750; }
.filter-apply:hover { background: var(--court-deep); }
.location-menu {
  display: grid;
  gap: 4px;
  width: 320px;
  max-height: min(70vh, 430px);
  overflow-y: auto;
  padding: 10px;
}
.location-group { min-width: 0; margin: 0; border: 0; padding: 0; }
.location-group legend { width: 100%; padding: 0; }
.location-localities { display: grid; gap: 2px; margin: 2px 0 7px 28px; }
.location-option { display: flex; align-items: center; gap: 9px; min-height: 32px; color: var(--ink); cursor: pointer; font-size: .86rem; }
.location-option input { width: 16px; height: 16px; margin: 0; accent-color: var(--court); cursor: pointer; }
.location-district { font-weight: 750; }
.location-back { width: 100%; margin-top: 5px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; background: var(--white); color: var(--court); cursor: pointer; font-size: .84rem; font-weight: 750; }
.location-back:hover { border-color: var(--court); background: #f3f7ef; }

.app-shell {
  display: grid;
  grid-template-columns: 42% 58%;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  transition: grid-template-columns .22s ease;
}

.results-panel {
  min-width: 0;
  overflow-y: auto;
  padding: 28px clamp(22px, 4vw, 56px) 34px 24px;
  scrollbar-width: thin;
  scrollbar-color: #c8d2c8 transparent;
}
.results-heading-actions {
  display: grid;
  justify-items: end;
  gap: 9px;
}
.list-width-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--paper);
  color: var(--court);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 750;
}
.list-width-toggle:hover { border-color: #a9bcae; background: #f3f7ef; }
.list-width-toggle[hidden] { display: none; }

.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.eyebrow {
  margin: 0 0 7px;
  color: var(--court);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(1.65rem, 2.4vw, 2.2rem); letter-spacing: -.045em; line-height: 1; }
.results-hint { max-width: 170px; color: var(--muted); font-size: .76rem; line-height: 1.35; text-align: right; }

.club-list { display: grid; gap: 10px; }
.club-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  padding: 15px 16px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.club-card:hover, .club-card:focus-within { border-color: #a9bcae; box-shadow: var(--shadow); transform: translateY(-1px); }
.club-card-selected { border-color: var(--court); box-shadow: 0 0 0 2px rgba(23, 75, 58, .12), var(--shadow); }
.club-select {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.club-select:focus-visible { outline: 2px solid var(--court); outline-offset: 4px; border-radius: 8px; }
.club-main { min-width: 0; }
.club-card h2 { margin: 0 0 4px; font-size: 1rem; line-height: 1.2; letter-spacing: -.015em; }
.place-line, .address, .club-info, .court-details { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.place-line { color: var(--court); font-weight: 700; }
.address { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.court-details { margin-top: 5px; color: var(--court); font-weight: 700; }
.club-info { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 7px; }
.club-info span + span::before { content: "·"; margin-right: 10px; color: #a4aea5; }
.rating-block { display: flex; align-items: center; align-self: start; gap: 4px; min-width: 67px; color: var(--court); font-size: .88rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.rating-star { color: #8a9b31; font-size: .9rem; line-height: 1; }
.rating-count { color: var(--muted); font-size: .72rem; font-weight: 500; line-height: 1; }
.no-rating { color: var(--muted); font-weight: 700; }
.actions { display: flex; grid-column: 1 / -1; gap: 7px; margin-top: 2px; }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--court);
  background: var(--white);
}
.icon-link:hover { border-color: var(--court); background: #f3f7ef; }
.action-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.action-icon-fill { fill: currentColor; stroke: none; }
.unplottable { color: #9a6c2c; }

.empty { padding: 50px 20px; color: var(--muted); text-align: center; }
.empty-icon { display: block; color: var(--court); font-size: 2.4rem; line-height: 1; }
.empty h2 { margin: 12px 0 4px; color: var(--ink); font-size: 1.1rem; }
.empty p { margin: 0 0 12px; font-size: .85rem; }

@media (min-width: 1100px) {
  .app-shell[data-list-compact="true"] { grid-template-columns: clamp(300px, 24vw, 350px) minmax(0, 1fr); }
  .app-shell[data-list-compact="true"] .results-panel { padding-right: 18px; }
  .app-shell[data-list-compact="true"] .results-heading { align-items: start; }
  .app-shell[data-list-compact="true"] .results-heading h1 { font-size: 1.5rem; }
  .app-shell[data-list-compact="true"] .results-hint { display: none; }
  .app-shell[data-list-compact="true"] .club-card { gap: 5px 10px; padding: 12px 13px; }
  .app-shell[data-list-compact="true"] .club-card .address,
  .app-shell[data-list-compact="true"] .club-card .court-details,
  .app-shell[data-list-compact="true"] .club-card .actions { display: none; }
}
.map-panel { position: relative; min-width: 0; border-left: 1px solid var(--line); background: #e7ece6; }
.desktop-detail-panel {
  position: absolute;
  inset: 16px auto 16px 16px;
  z-index: 1000;
  display: flex;
  width: min(445px, calc(100% - 32px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfe9da;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(25, 46, 35, .12);
  animation: desktop-detail-panel-in .22s ease-out;
}
.desktop-detail-panel[hidden], .desktop-detail-reopen[hidden] { display: none; }
@keyframes desktop-detail-panel-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.desktop-detail-hero {
  position: relative;
  flex: 0 0 150px;
  overflow: hidden;
  background: #e9eee5;
}
.desktop-detail-hero::before {
  display: none;
}
.desktop-detail-hero-copy {
  position: absolute;
  top: 22px;
  right: 58px;
  left: 22px;
  z-index: 1;
  color: var(--court-deep);
}
.desktop-detail-hero-copy h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.desktop-detail-address {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.25;
}
.desktop-detail-rating {
  margin-top: 5px;
  color: var(--court);
  font-size: .78rem;
  font-weight: 800;
}
.desktop-detail-rating > span:first-child { color: #82952d; }
.desktop-detail-rating small {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 550;
}
.desktop-detail-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dfe9da;
  border-radius: 50%;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(25, 46, 35, .08);
}
.desktop-detail-close:hover { color: var(--court); }
.desktop-detail-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  padding: 0 14px;
  background: var(--paper);
}
.desktop-detail-navigation button {
  border: 0;
  padding: 8px;
  background: none;
  color: var(--court);
  cursor: pointer;
  font-size: .72rem;
  font-weight: 750;
}
.desktop-detail-navigation button:first-child { justify-self: start; }
.desktop-detail-navigation button:last-child { justify-self: end; }
.desktop-detail-navigation button:disabled { color: #aab3ac; cursor: default; }
.desktop-detail-navigation > span { color: var(--muted); font-size: .69rem; font-weight: 650; }
.desktop-detail-scroll {
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: #b8c9b5 transparent;
  scrollbar-width: thin;
}
.desktop-detail-scroll::-webkit-scrollbar { width: 6px; }
.desktop-detail-scroll::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #b8c9b5;
}
.desktop-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.desktop-detail-action {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: var(--court);
  cursor: pointer;
  font-size: .65rem;
  font-weight: 750;
  text-align: center;
}
.desktop-detail-action[hidden] { display: none; }
.desktop-action-circle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dfe9da;
  border-radius: 50%;
  background: #eef6e8;
  color: var(--court);
}
.desktop-detail-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.desktop-court-summary {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 13px 22px;
  background: #f4f8ef;
  color: var(--court);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.desktop-detail-info {
  display: grid;
  gap: 0;
  padding: 0 19px;
}
.desktop-info-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  min-height: 49px;
  border-bottom: 1px solid #edf0eb;
  padding: 13px 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.3;
}
.desktop-info-row:last-child { border-bottom: 0; }
.desktop-info-row strong {
  color: var(--ink);
  font-size: .78rem;
  text-align: right;
}
.desktop-detail-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding: 14px 20px;
  background: var(--paper);
}
.desktop-detail-footer a {
  display: grid;
  place-items: center;
  min-height: 41px;
  border: 1px solid #dfe9da;
  border-radius: 10px;
  background: #eef6e8;
  color: var(--court);
  font-size: .74rem;
  font-weight: 800;
}
.desktop-detail-footer a:hover { background: #e4efde; }
.desktop-detail-footer a.secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--court);
  font-weight: 750;
}
.desktop-detail-reopen {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  width: 29px;
  height: 54px;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: var(--white);
  color: var(--court);
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(25, 46, 35, .1);
  font-size: 1.1rem;
}
.club-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.rating-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 23px;
  border: 2px solid var(--white);
  border-radius: 999px;
  padding: 0 4px;
  background: var(--court);
  box-shadow: 0 4px 11px rgba(17, 46, 34, .27);
  color: var(--white);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: -.02em;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
.rating-marker-selected { background: var(--lime); color: var(--court-deep); box-shadow: 0 0 0 4px rgba(200, 223, 99, .32), 0 5px 14px rgba(17, 46, 34, .34); transform: translateY(-2px); }
.mobile-club-sheet { display: none; }
.mobile-sheet-panel { position: absolute; right: 0; bottom: 0; left: 0; max-height: calc(100% - 22px); overflow: hidden; border-radius: 16px 16px 0 0; background: var(--paper); box-shadow: 0 -10px 26px rgba(17, 46, 34, .2); }
.mobile-sheet-head { position: relative; padding: 9px 14px 0; }
.mobile-sheet-grabber { display: block; width: 31px; height: 4px; margin: 0 auto 10px; border-radius: 999px; background: #cbd5cb; }
.mobile-sheet-close { position: absolute; top: 8px; right: 12px; width: 27px; height: 27px; border: 0; border-radius: 50%; background: #eef2eb; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.mobile-sheet-close:hover { background: #e4ebe0; color: var(--court); }
.mobile-sheet-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-right: 34px; }
.mobile-sheet-title h2 { margin: 0; color: var(--ink); font-size: 1rem; letter-spacing: -.02em; line-height: 1.1; }
.mobile-sheet-title p { margin: 5px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.mobile-sheet-rating { flex: 0 0 auto; color: var(--court); font-size: .9rem; font-weight: 850; white-space: nowrap; }
.mobile-sheet-rating-star { color: #8a9b31; }
.mobile-sheet-priority { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 13px; }
.mobile-sheet-priority div { min-height: 48px; border-radius: 9px; padding: 8px 7px; background: #eef3ea; }
.mobile-sheet-priority span { display: block; color: var(--muted); font-size: .64rem; line-height: 1.1; }
.mobile-sheet-priority strong { display: block; margin-top: 5px; color: var(--court); font-size: .77rem; line-height: 1.1; }
.mobile-sheet-scroll { max-height: min(33vh, 250px); margin-top: 12px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b8c9b5 transparent; }
.mobile-sheet-scroll::-webkit-scrollbar { width: 5px; }
.mobile-sheet-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: #b8c9b5; }
.mobile-sheet-details { display: grid; gap: 8px; border-top: 1px solid var(--line); padding: 11px 2px 13px 0; }
.mobile-sheet-row { display: flex; align-items: start; justify-content: space-between; gap: 12px; border-top: 1px solid #edf0eb; padding-top: 8px; color: var(--muted); font-size: .74rem; line-height: 1.3; }
.mobile-sheet-row:first-child { border-top: 0; padding-top: 0; }
.mobile-sheet-row strong { color: var(--ink); font-size: .75rem; text-align: right; }
.mobile-sheet-actions { display: grid; gap: 7px; border-top: 1px solid var(--line); padding: 10px 0 13px; }
.mobile-sheet-actions a.mobile-sheet-maps-fallback { border: 1px solid var(--line); background: var(--white); color: var(--court); font-size: .74rem; font-weight: 750; }
.mobile-sheet-actions a.mobile-sheet-maps-fallback[hidden] { display: none; }
.mobile-sheet-actions a { display: grid; place-items: center; min-height: 42px; border: 1px solid #dfe9da; border-radius: 8px; background: #eef6e8; color: var(--court); font-size: .82rem; font-weight: 850; text-decoration: none; }
.mobile-sheet-actions a:hover { background: #e4efde; }
@media (max-width: 700px) {
  .mobile-club-sheet { position: absolute; inset: 0; z-index: 1100; display: block; pointer-events: none; }
  .mobile-club-sheet[hidden] { display: none; }
  .mobile-sheet-panel { pointer-events: auto; }
}
.leaflet-container { font: inherit; }
.leaflet-tile-pane {
  filter: saturate(.38) hue-rotate(18deg) brightness(1.05) contrast(.92);
}
.leaflet-control-zoom a { color: var(--court) !important; }

.mobile-tabs { display: none; }

@media (max-width: 900px) and (min-width: 701px) {
  .filterbar { width: min(100% - 32px, 1600px); }
  .search-wrap { flex-basis: 320px; min-width: 200px; }
  .filter-controls { flex: 1 1 auto; }
  .location-filter { flex: 1 1 190px; }
  .brand span { display: none; }
  .results-panel { padding-left: 24px; padding-right: 24px; }
  .results-hint { display: none; }
}

@media (max-width: 700px) {
  body { overflow: hidden; }
  .filterbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: calc(100% - 28px);
    min-height: 0;
    padding: 9px 0 10px;
  }
  .search-wrap { width: 100%; min-width: 0; max-width: none; }
  #searchInput { height: 40px; }
  .brand { display: none; }
  .filter-controls {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .filter-controls::-webkit-scrollbar { display: none; }
  .filter-popover, .location-filter { flex: 0 0 auto; }
  .location-filter { width: 160px; }
  .filter-chip { width: auto; max-width: 170px; }
  .location-filter .filter-chip { width: 100%; }
  .filter-menu { position: fixed; top: 99px; right: 14px; left: 14px; width: auto; max-height: min(60vh, 430px); }
  .filter-choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-choice { min-width: 0; }
  .mobile-tabs { display: grid; grid-template-columns: 1fr 1fr; flex: 0 0 47px; height: 47px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .mobile-tab { position: relative; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .86rem; font-weight: 750; }
  .mobile-tab.is-active { color: var(--court); }
  .mobile-tab.is-active::after { position: absolute; right: 22%; bottom: -1px; left: 22%; height: 3px; border-radius: 3px 3px 0 0; background: var(--court); content: ""; }
  .app-shell { display: block; height: auto; }
  .results-panel, .map-panel { display: none; height: 100%; border: 0; }
  .app-shell[data-mobile-view="list"] .results-panel, .app-shell[data-mobile-view="map"] .map-panel { display: block; }
  .results-panel { padding: 22px 14px 26px; }
  .results-heading { align-items: start; margin-bottom: 17px; }
  .results-hint { display: none; }
  .club-card { padding: 14px; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .desktop-detail-panel { width: min(390px, 100%); }
}

@media (max-width: 700px) {
  .desktop-detail-panel, .desktop-detail-reopen { display: none !important; }
}
