:root {
    --bg: #f4f4f1;
    --paper: #ffffff;
    --paper-2: #fafaf7;
    --ink: #171a18;
    --text: #2c312e;
    --muted: #69716c;
    --brand: #2f7d32;
    --brand-dark: #205d24;
    --brand-soft: #e9f3e9;
    --line: #cfd4cf;
    --line-dark: #9ca59f;
    --danger: #b42318;
    --shadow: 4px 4px 0 rgba(23, 26, 24, .11);
    --radius: 3px;
    --radius-sm: 2px;
    --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.hidden { display: none !important; }

/* HERO */
.hero {
    position: relative;
    padding: 26px 0 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand) 0 11%, transparent 11% 13%, var(--ink) 13% 15%, transparent 15% 100%);
}
.hero-brand {
    display: flex;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}
.hero-logo {
    display: block;
    width: min(500px, 78vw);
    height: auto;
    margin: 0 auto;
}
.hero-contact {
    position: absolute;
    top: 14px;
    left: max(16px, calc((100vw - var(--max))/2));
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
    color: var(--brand-dark);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 2px 2px 0 #d6dad6;
    text-decoration: none;
    font-size: .76rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .01em;
    transition: background .14s ease, color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.hero-contact:hover,
.hero-contact:focus-visible {
    color: #fff;
    background: var(--brand);
    box-shadow: 3px 3px 0 var(--ink);
    transform: translate(-1px, -1px);
    outline: none;
}
.hero-contact:active {
    transform: translate(0, 0);
    box-shadow: 1px 1px 0 var(--ink);
}
.hero-intro {
    max-width: 660px;
    margin: 9px auto 18px;
    text-align: center;
}
.hero-tagline {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.05rem, 2.6vw, 1.38rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.025em;
}
.hero-description {
    margin: 5px auto 0;
    color: var(--muted);
    font-size: clamp(.86rem, 1.6vw, .96rem);
    line-height: 1.45;
}
.finder-switch {
    display: inline-flex;
    gap: 4px;
    margin-top: 9px;
    padding: 3px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: .72rem;
    font-weight: 900;
}
.finder-switch a,
.finder-switch span {
    padding: 5px 8px;
    text-decoration: none;
}
.finder-switch a:hover { text-decoration: underline; }
.finder-switch [aria-current="page"] {
    color: #fff;
    background: var(--brand);
}


.ts-page-share {
    position: absolute;
    top: 14px;
    right: max(16px, calc((100vw - var(--max, 1100px)) / 2));
    z-index: 40;

    width: 38px;
    height: 36px;

    display: grid;
    place-items: center;

    padding: 0;

    color: var(--ink, #171a18);
    background: var(--paper, #ffffff);

    border: 1px solid var(--ink, #171a18);
    border-radius: var(--radius-sm, 2px);

    box-shadow: 2px 2px 0 #d6dad6;

    cursor: pointer;

    transition:
        background .14s ease,
        color .14s ease,
        transform .14s ease,
        box-shadow .14s ease;
}

.ts-page-share:hover,
.ts-page-share:focus-visible {
    color: #ffffff;
    background: var(--brand, #2f7d32);

    outline: none;

    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink, #171a18);
}

.ts-page-share svg {
    display: block;
}

@media (max-width: 600px) {
    .ts-page-share {
        top: 12px;
        right: 12px;
    }
}

/* SEARCH */
.search-card {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.search-card::before {
    content: "FIND A CLUB";
    position: absolute;
    top: -10px;
    left: 12px;
    padding: 2px 7px;
    background: var(--paper);
    color: var(--brand-dark);
    border: 1px solid var(--ink);
    font-size: .62rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .12em;
}
.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.location-search-wrap {
    position: relative;
    min-width: 0;
}

.location-search-wrap>.field {
    display: block;
}
.field {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.field::placeholder { color: #8a918c; }
.field:focus {
    border-color: var(--ink);
    box-shadow: inset 0 -3px 0 var(--brand);
}
.btn {
    min-height: 45px;
    border-radius: var(--radius-sm);
    padding: 10px 17px;
    font-weight: 800;
    letter-spacing: .01em;
    transition: background .14s ease, color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(0, 0); }
.btn:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.btn-primary {
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
}
.btn-primary:hover {
    background: var(--brand-dark);
    box-shadow: 3px 3px 0 var(--ink);
}
.btn-secondary {
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    box-shadow: 2px 2px 0 #d6dad6;
}
.btn-secondary:hover {
    color: #fff;
    background: var(--ink);
}
.btn-wide {
    width: 100%;
    margin-top: 8px;
}
.search-note {
    margin: 9px 2px 0;
    color: var(--muted);
    font-size: .73rem;
    line-height: 1.4;
    text-align: center;
}

/* AUTOCOMPLETE */
.location-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 80;
    max-height: min(360px, 52vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
}

.location-suggestions[hidden] {
    display: none
}

.location-suggestion {
    width: 100%;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-height: 48px;
    padding: 9px 10px;
    text-align: left;
    color: var(--text);
    background: var(--paper);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    cursor: pointer;
}

.location-suggestion:last-child {
    border-bottom: 0
}

.location-suggestion:hover,
.location-suggestion.active {
    background: var(--brand-soft);
}

.location-suggestion.active {
    box-shadow: inset 4px 0 0 var(--brand);
}

.location-suggestion-icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--ink);
    border-radius: 1px;
    font-size: .78rem;
    font-weight: 900;
}

.location-suggestion-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.location-suggestion-main {
    overflow: hidden;
    color: var(--ink);
    font-size: .87rem;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-suggestion-sub {
    overflow: hidden;
    color: #747d77;
    font-size: .73rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* DISTANCE */
.toolbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(244, 244, 241, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ink);
}
.distance-control-wrap {
    display: grid;
    grid-template-columns: minmax(0, 330px) auto;
    align-items: end;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 11px;
}
.compact-control { display: grid; gap: 4px; }
.control-label {
    color: #5c645f;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.compact-select {
    min-height: 40px;
    padding: 8px 36px 8px 11px;
    background: var(--paper);
    font-weight: 700;
}

.fixture-filters {
    display: flex;
    align-items: end;
    gap: 8px;
    min-width: 0;
}

.matches-filter {
    min-height: 40px;
    padding: 8px 14px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 2px 2px 0 #d6dad6;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .02em;
    transition: background .14s ease, color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.matches-filter:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #d6dad6;
}
.matches-filter:active {
    transform: translate(0, 0);
    box-shadow: 1px 1px 0 #d6dad6;
}
.matches-filter[aria-pressed="true"] {
    color: #fff;
    background: var(--danger);
    border-color: #7f1d1d;
    box-shadow: 2px 2px 0 rgba(127, 29, 29, .24);
}
.matches-filter[aria-pressed="true"]:hover {
    background: #8f1c14;
}
.upcoming-filter[aria-pressed="true"] {
    background: var(--brand);
    border-color: var(--brand-dark);
    box-shadow: 2px 2px 0 rgba(32, 93, 36, .24);
}
.upcoming-filter[aria-pressed="true"]:hover {
    background: var(--brand-dark);
}

/* RESULTS */
main { padding: 22px 0 62px; }
.status-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 11px;
}
.status-title {
    margin: 0;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -.02em;
}
.status-sub {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .81rem;
}
.results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.club-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 2px 2px 0 #d9ddd9;
    transition: transform .14s ease, box-shadow .14s ease;
}
.club-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--brand);
}
.club-card:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 #d1d6d1;
}
.club-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 11px 12px 7px 15px;
}
.club-name {
    margin: 0;
    color: var(--ink);
    font-size: .95rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.01em;
}
.club-ground {
    margin: 4px 0 0;
    color: var(--brand-dark);
    font-size: .77rem;
    line-height: 1.3;
    font-weight: 800;
}
.club-address {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.32;
}
.club-head-side {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}
.distance {
    white-space: nowrap;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid #bfd6c1;
    padding: 4px 6px;
    font-size: .76rem;
    font-weight: 900;
}
.match-day-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    white-space: nowrap;
    padding: 4px 7px;
    color: #fff;
    background: var(--danger);
    border: 1px solid #7f1d1d;
    border-radius: var(--radius-sm);
    box-shadow: 1px 1px 0 rgba(127, 29, 29, .24);
    font-size: .60rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
}
.club-meta {
    display: flex;
    gap: 5px 11px;
    flex-wrap: wrap;
    margin: 0 12px 7px 15px;
    padding-top: 7px;
    color: #505852;
    border-top: 1px solid var(--line);
    font-size: .72rem;
    line-height: 1.32;
}
.club-meta span { min-width: 0; }
.club-meta strong { color: var(--ink); }
.travel-times {
    display: flex;
    gap: 4px 10px;
    flex-wrap: wrap;
    margin: 0 12px 8px 15px;
    color: var(--brand-dark);
    font-size: .70rem;
    line-height: 1.2;
    font-weight: 900;
}
.club-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 12px 10px 15px;
}
.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 8px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 1px 1px 0 #d8ddd8;
    text-decoration: none;
    font-size: .70rem;
    font-weight: 900;
    cursor: pointer;
    transition: .14s ease;
}
.link-btn:hover {
    color: #fff;
    background: var(--ink);
    box-shadow: none;
    transform: translate(1px, 1px);
}
.share-btn {
    color: #fff;
    background: var(--brand);
}
.share-btn:hover { background: var(--brand-dark); }
.share-btn.copied {
    color: var(--ink);
    background: var(--brand-soft);
}
.load-more {
    display: none;
    margin: 17px auto 0;
    min-width: 150px;
}
.empty,
.error,
.loading {
    grid-column: 1 / -1;
    padding: 26px 18px;
    color: var(--muted);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}
.error {
    color: var(--danger);
    border-left-color: #d92d20;
    background: #fffafa;
}

/* SHARED CLUB */
.club-card.shared-target {
    animation: turfscout-shared-pulse 1.05s ease 2;
    box-shadow: 0 0 0 3px var(--brand), 5px 5px 0 rgba(23, 26, 24, .13);
}
.club-card.shared-target::before { width: 7px; }
@keyframes turfscout-shared-pulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--brand), 5px 5px 0 rgba(23, 26, 24, .13); }
    50% { box-shadow: 0 0 0 6px rgba(47, 125, 50, .22), 5px 5px 0 rgba(23, 26, 24, .13); }
}

/* SATELLITE */
.satellite-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: block;
    overflow: hidden;
    background: #111;
    isolation: isolate;
}
.satellite-overlay[hidden] { display: none; }
.satellite-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #111;
    opacity: 0;
    transition: opacity .18s ease;
}
.satellite-overlay.loaded .satellite-image { opacity: 1; }
.satellite-status {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 54px 18px 18px;
    color: #fff;
    background: linear-gradient(rgba(0, 0, 0, .34), rgba(0, 0, 0, .34)), #202420;
    text-align: center;
    font-size: .82rem;
    line-height: 1.45;
    font-weight: 800;
}
.satellite-status::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    margin-top: -46px;
    border: 3px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: turfscout-satellite-spin .8s linear infinite;
}
.satellite-status.satellite-error::before { display: none; }
.satellite-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    min-height: 34px;
    padding: 6px 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .35);
    font-size: .76rem;
    font-weight: 900;
    cursor: pointer;
}
.satellite-close:hover { color: #fff; background: var(--ink); }
@keyframes turfscout-satellite-spin { to { transform: rotate(360deg); } }

/* FOOTER */
footer {
    padding: 21px 0 30px;
    color: #505852;
    background: #e9ebe8;
    border-top: 1px solid var(--ink);
    font-size: .75rem;
    line-height: 1.55;
    text-align: center;
}
footer strong { color: var(--brand-dark); }
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    margin: 0 0 9px;
    font-weight: 800;
}
.footer-nav a { color: var(--ink); text-underline-offset: 2px; }

@media (max-width: 760px) {
    .results { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .wrap { width: min(100% - 18px, var(--max)); }
    .hero { padding: 58px 0 20px; }
    .hero-contact {
        top: 12px;
        left: 9px;
        min-height: 32px;
        padding: 6px 9px;
        font-size: .73rem;
    }
    .hero-logo { width: min(360px, 86vw); }
    .hero-intro { margin: 8px auto 14px; }
    .hero-tagline { font-size: 1.08rem; }
    .hero-description { font-size: .84rem; }
    .search-card {
        padding: 12px;
        box-shadow: 3px 3px 0 rgba(23, 26, 24, .10);
    }
    .search-row { grid-template-columns: 1fr; }
    .search-row .btn-primary { width: 100%; }
    .search-note { font-size: .70rem; }
    .location-suggestions {
        top: calc(100% + 4px);
        max-height: 44vh;
    }
    .location-suggestion {
        min-height: 52px;
        padding: 9px 10px;
    }
    .toolbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .distance-control-wrap {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }
    .fixture-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .matches-filter {
        width: 100%;
        padding-inline: 10px;
    }
    .club-head { grid-template-columns: minmax(0, 1fr) auto; }
    .club-head-side { justify-self: end; }
    .club-actions .link-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
    .club-card.shared-target,
    .satellite-status::before { animation: none; }
}

/* ---------------------------------------------------------
   SEARCH RESULTS MAP (OPENSTREETMAP / LEAFLET)
--------------------------------------------------------- */
.search-card.map-open {
    min-height: clamp(280px, 42vw, 340px);
    isolation: isolate;
}

/* Hide the decorative SEARCH / FIND A CLUB tab while the map covers the card. */
.search-card.map-open::before {
    display: none;
}

.search-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 90;
    overflow: hidden;
    background: var(--paper);
    border-radius: var(--radius);
}

.search-map-overlay[hidden] {
    display: none !important;
}

.search-map {
    width: 100%;
    height: 100%;
    min-height: clamp(280px, 42vw, 340px);
    background: #e9ece8;
}

.search-map-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0 0 2px;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--ink);
    border-radius: 50%;
    box-shadow: 2px 2px 0 rgba(23, 26, 24, .22);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 500;
}

.search-map-close:hover,
.search-map-close:focus-visible {
    color: #fff;
    background: var(--ink);
    outline: none;
}

.turf-map-div-icon {
    background: transparent !important;
    border: 0 !important;
}

.turf-map-pin {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    margin: 1px 0 0 2px;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    box-shadow: 0 2px 5px rgba(23, 26, 24, .42);
    transform: rotate(-45deg);
}

.turf-map-pin > span {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.turf-map-pin--venue {
    background: var(--brand);
}

.turf-map-pin--origin {
    background: #1769d2;
}

.leaflet-tooltip {
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 2px 2px 0 rgba(23, 26, 24, .14);
    font-family: Helvetica, Arial, sans-serif;
    font-size: .76rem;
    font-weight: 800;
}

.leaflet-tooltip-top::before {
    border-top-color: var(--ink);
}

/* Compact, centred marker details shown before jumping to a result card. */
.search-map .leaflet-popup-content-wrapper {
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 rgba(23, 26, 24, .18);
}

.search-map .leaflet-popup-content {
    min-width: 150px;
    margin: 11px 12px 12px;
    font-family: Helvetica, Arial, sans-serif;
    text-align: center;
}

.search-map .leaflet-popup-tip {
    background: var(--paper);
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.turf-map-popup {
    display: grid;
    justify-items: center;
    gap: 9px;
}

.turf-map-popup-name {
    max-width: 230px;
    color: var(--ink);
    font-size: .82rem;
    line-height: 1.25;
    font-weight: 900;
    text-align: center;
}

.turf-map-more-info {
    min-height: 34px;
    padding: 7px 12px;
    color: #fff;
    background: var(--brand);
    border: 1px solid var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: 2px 2px 0 var(--ink);
    font-family: Helvetica, Arial, sans-serif;
    font-size: .74rem;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
}

.turf-map-more-info:hover,
.turf-map-more-info:focus-visible {
    background: var(--brand-dark);
    outline: none;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink);
}

.club-card.map-target {
    animation: turf-map-target 1.8s ease;
}

@keyframes turf-map-target {
    0%, 100% {
        box-shadow: var(--shadow);
    }
    18%, 70% {
        box-shadow: 0 0 0 4px rgba(47, 125, 50, .24), var(--shadow);
    }
}

@media (max-width: 640px) {
    .search-card.map-open,
    .search-map {
        min-height: 300px;
    }

    .search-map-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
    }
}


/* Every co-located result keeps its own More info action. */
.turf-map-popup-group { max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.turf-map-popup-group .turf-map-popup + .turf-map-popup { margin-top: 10px; padding-top: 10px; border-top: 1px solid #d6dbd7; }
@media (prefers-reduced-motion: reduce) { .club-card.map-target { animation: none; } }
