/* golfnearyou: fairway green, orange, cream. Gold (--gold) is reserved for Featured and Verified. Mobile first. */
:root {
  --verified-gold: #fbbf24; --verified-edge: #92400e; --verified-ink: #78350f; --verified-pale: #fffbeb; --verified-text: #451a03;
  --green: #14532d; --green-2: #166534; --green-soft: #dcfce7; --gold: #fbbf24; --sand: #fef3c7;
  --ink: #1c2421; --muted: #5b6660; --line: #e2e6e3; --bg: #fbfaf6; --card: #fff; --focus: #2563eb;
  --r: 12px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 2px 8px rgba(0,0,0,.04);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--green-2); }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }

.site-header { background: var(--green); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 1.25rem; }
.main-nav { display: flex; gap: 14px; margin-left: auto; flex-wrap: wrap; font-size: .95rem; }
.main-nav a { color: #e7f5ec; text-decoration: none; }
.main-nav a[aria-current], .main-nav a:hover { color: #fff; text-decoration: underline; }
.banner { background: var(--sand); border-bottom: 1px solid #f5d77a; font-size: .9rem; padding: 8px 0; }

main { padding-top: 12px; padding-bottom: 40px; min-height: 60vh; }
h1 { font-size: 1.85rem; line-height: 1.2; margin: .4em 0 .3em; color: var(--green); }
h2 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.lede { font-size: 1.08rem; color: #33403a; margin-top: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.crumbs a { color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: 11px 16px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; min-height: 44px; }
.btn:hover { background: var(--green-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.btn-ghost:hover { background: var(--green-soft); color: var(--green); }
.linkish { background: none; border: 0; padding: 0; color: var(--green-2); text-decoration: underline; font: inherit; cursor: pointer; }

/* finder */
.hero { padding: 4px 0 8px; }
.finder { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.where { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.where .combo { grid-column: 1 / -1; }
.where .btn { justify-content: center; }
@media (min-width: 640px) { .where { grid-template-columns: 1fr auto auto; } .where .combo { grid-column: auto; } }
.combo { position: relative; }
.combo input { width: 100%; font: inherit; font-size: 1.05rem; padding: 11px 12px; border: 1.5px solid #c9d1cc; border-radius: 10px; min-height: 48px; background: #fff; }
.combo input:focus { border-color: var(--green-2); outline: none; box-shadow: 0 0 0 3px rgba(22,101,52,.2); }
.suggest { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 320px; overflow: auto; }
.suggest li { padding: 10px 10px; border-radius: 8px; cursor: pointer; }
.suggest li:hover, .suggest li[aria-selected=true] { background: var(--green-soft); }
.chips { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips[hidden] { display: none; }
/* Mini golf list pages: pills that narrow the cards by kind of course (src/mini-features.js, BACKLOG 2.19) */
.mf-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.mf-pills[hidden] { display: none; }
.mf-pill { font: inherit; font-size: .95rem; font-weight: 600; padding: 8px 14px; min-height: 44px; border-radius: 999px; border: 2px solid #ddd6fe; background: #fff; color: #5b21b6; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.mf-pill:hover { background: #f5f3ff; }
.mf-pill[aria-pressed=true] { background: #5b21b6; border-color: #5b21b6; color: #fff; }
.mf-pill:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.mf-n { font-weight: 400; }
ol.cards > li.card[hidden] { display: none; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1.5px solid #c9d1cc; border-radius: 999px; cursor: pointer; background: #fff; font-size: .95rem; user-select: none; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
select { font: inherit; padding: 8px 10px; border: 1.5px solid #c9d1cc; border-radius: 8px; background: #fff; min-height: 40px; margin-left: 4px; }
.more { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.more summary { cursor: pointer; font-weight: 600; color: var(--green); }
.more-grid { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.facil { border: 0; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.facil legend { font-weight: 600; margin-bottom: 6px; }
.check { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.status { margin: 14px 2px 8px; color: #33403a; min-height: 1.5em; }

/* casual home: Filters button, panel, occasion tiles */
.filter-bar { margin-top: 12px; }
.filter-bar .btn { display: inline-flex; align-items: center; gap: 8px; }
.filter-bar .btn[hidden], .filters-toggle[hidden] { display: none; }
.badge[hidden] { display: none; }
#filters-count { background: var(--green); color: #fff; min-width: 22px; text-align: center; padding: 1px 7px; }
.filters-panel { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 4px; }
.filters-panel[hidden], .course-only[hidden] { display: none; }
.facil-legend { font-weight: 600; margin: 12px 0 0; }
.occasions { margin: 28px 0 8px; }

/* results and cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.card { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow); }
.card-title { font-weight: 650; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.card-title:hover { color: var(--green-2); text-decoration: underline; }
.card-meta { display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; margin-top: 4px; font-size: .9rem; color: var(--muted); }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.badge.ok { background: var(--sand); color: #7c5a00; }
.dist { font-weight: 700; color: var(--green); white-space: nowrap; font-size: 1.05rem; }
#more { margin-top: 12px; }

/* lists */
.state-list, .link-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.state-list.big { grid-template-columns: 1fr; font-size: 1.05rem; }
.link-cols { columns: 2 180px; padding-left: 18px; }
.link-cols li { break-inside: avoid; margin-bottom: 4px; }

/* venue */
.facil-list { columns: 2 180px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prose { max-width: 680px; }
.notice { background: var(--sand); border: 1px solid #f5d77a; border-radius: 10px; padding: 4px 14px; }

.site-footer { background: #0f2a1b; color: #cfe0d5; padding: 24px 0; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }

/* map */
.view-toggle { display: inline-flex; border: 1.5px solid var(--green); border-radius: 10px; overflow: hidden; margin: 4px 0 10px; }
.view-toggle button { font: inherit; font-weight: 600; padding: 8px 18px; border: 0; background: #fff; color: var(--green); cursor: pointer; min-height: 40px; }
.view-toggle button[aria-pressed=true] { background: var(--green); color: #fff; }
.map { position: relative; height: 70vh; min-height: 380px; max-height: 640px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #e8efe9; }
.map-small { height: 300px; min-height: 0; margin: 16px 0; }
/* Top left: the bottom edge belongs to the map credit line, which the legend used to cover. The zoom buttons sit top right. */
.map-legend { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; flex-wrap: wrap; gap: 4px 10px; background: rgba(255,255,255,.92); padding: 6px 10px; border-radius: 8px; font-size: .78rem; max-width: calc(100% - 64px); }
.map-legend i { display: inline-block; width: 16px; height: 16px; line-height: 0; margin-right: 4px; vertical-align: -3px; }
.pop-title { font-weight: 700; color: var(--green); }
.pop-meta { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.pop-cmp { margin-top: 6px; }
.rl-onmap { margin: 0 0 8px; }
.origin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--focus); border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(37,99,235,.35); }
/* a transparent button over each pin: keyboard and screen reader access to the canvas pins (src/map.js pinButtons) */
.pin-btn { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.pin-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.venue-dot { width: 46px; height: 46px; line-height: 0; border-radius: 15px; box-shadow: 0 0 0 3px var(--green), 0 2px 6px rgba(0,0,0,.35); }
.maplibregl-popup-content { border-radius: 10px; padding: 10px 12px; font: inherit; }

/* venue extras */
.photo { margin: 14px 0; }
.photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--r); display: block; background: #e8efe9; }
.photo figcaption { font-size: .78rem; color: var(--muted); margin: 4px 0 0; line-height: 1.3; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { padding: 4px 0; border-bottom: 1px solid var(--line); }
.map-fail { padding: 16px; margin: 0; }

/* public / private and active filters */
.seg { border: 0; padding: 0; margin: 12px 0 0; display: inline-flex; flex-wrap: wrap; border: 1.5px solid #c9d1cc; border-radius: 10px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 8px 12px; cursor: pointer; font-size: .92rem; background: #fff; }
.seg input:checked + span { background: var(--green); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 2px 0; font-size: .9rem; }
.af-label { color: var(--muted); }
.af { display: inline-flex; align-items: stretch; font-size: .85rem; border: 1px solid var(--green); color: var(--green); background: var(--green-soft); border-radius: 999px; overflow: hidden; }
.af button, .af-text { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 4px 10px; }
.af-text { cursor: default; }
.af-edit { padding-right: 6px; text-decoration: underline; text-decoration-color: transparent; }
.af-edit:hover { text-decoration-color: currentColor; }
.af-x { padding-left: 8px; padding-right: 10px; border-left: 1px solid #bbf7d0 !important; }
.af-x:hover, .af-edit:hover { background: #dcfce7; }
.access-note { margin: 0 2px 8px; }
.seg-wrap { border: 0; padding: 0; margin: 12px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seg-legend { float: left; padding: 0; font-size: .95rem; }
.seg-wrap .seg { margin: 0; }

/* ---- refresh (Nov 2026): one big search, type icons, map beside the list ---- */
.hero { padding: 0 0 4px; }
.hero-band { margin: 0 -16px 0; padding: 22px 16px 54px; background: linear-gradient(160deg, #14532d 0%, #166534 60%, #1f7a43 100%); color: #fff; border-radius: 0 0 22px 22px; }
.hero-band h1 { color: #fff; font-size: 2.1rem; margin: 0 0 6px; letter-spacing: -.01em; }
.hero-band .lede { color: #dcfce7; margin: 0; }
.hero .finder { margin-top: -38px; position: relative; border: 0; box-shadow: 0 6px 24px rgba(20,83,45,.14), 0 1px 3px rgba(0,0,0,.06); border-radius: 16px; padding: 16px; }
.combo input { font-size: 1.1rem; min-height: 52px; border-radius: 12px; padding-left: 14px; }
.chips { gap: 8px; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; }

/* activity tiles: the icon is the whole tile (filled glyph on a solid rounded square, drawn in src/model.js) */
.tile { flex: none; display: block; width: 44px; height: 44px; line-height: 0; }
.tile.big { width: 60px; height: 60px; }
.tile svg { display: block; width: 100%; height: 100%; }
.card { position: relative; justify-content: flex-start; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
.card-main { flex: 1; min-width: 0; }
.card-title::after { content: ''; position: absolute; inset: 0; } /* whole card is the link */
.card-title { overflow-wrap: anywhere; }
.type-line { font-weight: 600; color: #3f4a44; }
.card-meta > span + span::before { content: none; }

.status { font-weight: 500; }
@media (min-width: 1000px) {
  .wrap { max-width: 1180px; }
  body.split #results-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; align-items: start; }
  body.split .view-toggle { display: none; }
  body.split #map { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 12px; height: calc(100vh - 24px); max-height: 760px; }
  body.split #results, body.split #more { grid-column: 1; }
  body.split #results { grid-row: 1; }
}

/* venue page */
.venue-head { display: flex; gap: 14px; align-items: center; margin-top: 0; }
.venue-head h1 { margin: 0 0 4px; }
.review-links { display: flex; gap: 8px; flex-wrap: wrap; }
.open-badge { display: inline-block; font-size: .76rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.open-badge.is-open { background: #dcfce7; color: #166534; }
.open-badge.is-closed { background: #fee2e2; color: #991b1b; }
h2 .open-badge { margin-left: 6px; }

/* ---- refresh 2 (15 Nov): lighter, brighter, HappyCow-style ---- */
:root {
  --green: #15803d; --green-2: #16a34a; --bright: #22c55e; --green-soft: #ecfdf5; --ink: #1f2937; --muted: #6b7280; --line: #e5e7eb; --bg: #ffffff;
  --course: #16a34a; --range: #ea580c; --mini: #8b5cf6; --indoor: #3b82f6;   /* same as TILE_COLOR in src/model.js */
}
body { background: #f8fafc; }
.site-header { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 1px 8px rgba(15,23,42,.04); position: sticky; top: 0; z-index: 20; }
.brand { color: var(--ink); font-weight: 800; letter-spacing: -.015em; font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.brand b { color: #f97316; font-weight: inherit; }
.main-nav a { color: #374151; font-weight: 500; padding: 6px 10px; border-radius: 999px; }
.main-nav a[aria-current], .main-nav a:hover { color: var(--green); background: var(--green-soft); text-decoration: none; }
.banner { background: #fffbeb; }

/* The white circle behind the heading is a golf ball (BACKLOG section 2 item 11): a soft shade towards the lower right and faint
   dimples, a small inline SVG kept pale so the dark green heading keeps its contrast. Same place and size as the old circle.
   The balls here, the flat circle at the right of the hero and the one in the city band (BACKLOG 2.40) are the shared ball, G.BALL in
   src/model.js: build.js writes them in at the ball tokens. */
.hero-band { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='w' cx='.38' cy='.32' r='.72'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.62' stop-color='%23fbfdfc'/%3E%3Cstop offset='1' stop-color='%23dde8e1'/%3E%3C/radialGradient%3E%3Cpattern id='d' width='3.4' height='2.94' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='0.85' cy='0.735' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='1.05' cy='0.93' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3Ccircle cx='2.55' cy='2.205' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='2.75' cy='2.4' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11.4' fill='url(%23w)' fill-opacity='0.94'/%3E%3Ccircle cx='12' cy='12' r='10.9' fill='url(%23d)' opacity='0.67'/%3E%3C/svg%3E") calc(12% - 60px) calc(20% - 60px) / 120px 120px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='w' cx='.38' cy='.32' r='.72'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.62' stop-color='%23fbfdfc'/%3E%3Cstop offset='1' stop-color='%23dde8e1'/%3E%3C/radialGradient%3E%3Cpattern id='d' width='3.4' height='2.94' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='0.85' cy='0.735' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='1.05' cy='0.93' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3Ccircle cx='2.55' cy='2.205' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='2.75' cy='2.4' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11.4' fill='%23bbf7d0' fill-opacity='0.9'/%3E%3Ccircle cx='12' cy='12' r='10.9' fill='url(%23d)' opacity='0.37'/%3E%3C/svg%3E") calc(88% - 90px) calc(30% - 90px) / 180px 180px no-repeat,
    linear-gradient(160deg, #dcfce7 0%, #bbf7d0 55%, #a7f3d0 100%);
  color: #14532d; border-radius: 0 0 28px 28px; padding: 28px 16px 60px; }
.hero-band h1 { color: #14532d; font-weight: 800; }
.hero-band .lede { color: #166534; }
.hero .finder { border-radius: 20px; box-shadow: 0 10px 30px rgba(22,163,74,.15), 0 2px 6px rgba(0,0,0,.05); }
.combo input { border: 2px solid #e5e7eb; background: #f9fafb; border-radius: 999px; padding-left: 20px; }
.combo input:focus { background: #fff; border-color: var(--bright); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.btn { border-radius: 999px; background: var(--bright); padding: 11px 20px; box-shadow: 0 2px 6px rgba(34,197,94,.3); }
.btn:hover { background: var(--green-2); }
.btn-ghost { background: #fff; color: var(--green); border: 2px solid #bbf7d0; box-shadow: none; }
.btn-ghost:hover { background: var(--green-soft); border-color: var(--bright); }


.chip span { position: relative; border: 2px solid #e5e7eb; background: #fff; font-weight: 600; padding: 5px 14px 5px 5px; gap: 8px; }
.chip span svg { flex: none; width: 30px; height: 30px; }
/* a picked activity also gets a tick on its tile, so it is not shown by colour alone */
.chip-course input:checked + span::after, .chip-range input:checked + span::after, .chip-mini input:checked + span::after, .chip-indoor input:checked + span::after {
  content: ""; position: absolute; right: -5px; top: -7px; width: 17px; height: 17px; border-radius: 50%; border: 2px solid #fff; background: #1f2937 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.chip-course input:checked + span { background: #f0fdf4; border-color: var(--course); color: #166534; }
.chip-range input:checked + span { background: #fff7ed; border-color: var(--range); color: #9a3412; }
.chip-mini input:checked + span { background: #f5f3ff; border-color: var(--mini); color: #5b21b6; }
.chip-indoor input:checked + span { background: #eff6ff; border-color: var(--indoor); color: #1e40af; }

.seg { border: 2px solid #e5e7eb; border-radius: 999px; }
.seg span { padding: 7px 14px; }
.seg input:checked + span { background: var(--bright); }
.view-toggle { border: 2px solid #bbf7d0; border-radius: 999px; }
.view-toggle button[aria-pressed=true] { background: var(--bright); }

.card { border: 0; border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); }
.card:hover { box-shadow: 0 6px 20px rgba(15,23,42,.10); }
.dist { color: var(--green-2); background: var(--green-soft); padding: 4px 10px; border-radius: 999px; font-size: .95rem; }
.badge { background: var(--green-soft); color: var(--green); }
.af { border-color: #bbf7d0; background: var(--green-soft); }

h1 { color: #14532d; }
.site-footer { background: #0f172a; }
/* Phones: once a search has run, the form folds into one line (place, distance, types) with an Edit button, so the
   first results are on the first screen. Wider screens are unchanged; without JavaScript the form never folds. */
.finder-summary { display: none; }
@media (max-width: 640px) {
  .finder.collapsed > :not(.finder-summary):not(.filters-panel):not(.chips) { display: none; }
  /* the four type buttons stay under the folded line (two by two), so the type can be picked right after a search */
  .finder.collapsed .chips { margin-top: 10px; gap: 8px; }
  .finder.collapsed .chip span { min-height: 44px; }
  .finder.collapsed { padding: 10px 12px; }
  .finder.collapsed .finder-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .finder-line { margin: 0; font-weight: 600; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .finder-summary .btn { padding: 6px 14px; min-height: 40px; flex: none; }
  .finder-summary .btn[hidden] { display: none; }
  .finder-summary .finder-line { flex: 1 1 0; }
  .finder.collapsed .filters-panel { margin-top: 8px; }
  .hero.searched .hero-band { padding: 12px 16px 40px; }
  .hero.searched .hero-band .lede { display: none; }
  .hero.searched .hero-band h1 { font-size: 1.4rem; margin: 0; }
  .hero.searched .finder { margin-top: -30px; }
}

@media (max-width: 640px) {
  .header-inner { flex-wrap: nowrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .brand { font-size: 1.1rem; } .brand .logo { width: 30px; height: 30px; }
  .main-nav { flex-wrap: nowrap; gap: 2px; font-size: .84rem; overflow-x: auto; }
  .main-nav a { padding: 5px 8px; white-space: nowrap; }
  .hero-band h1 { font-size: 1.75rem; }
  /* One ball on phones (owner, 23 Nov 2026: two balls behind the heading were too busy): the larger ball, cropped into the top right corner
     (200 px across, its centre 40 px past the right edge and 40 px above the top, so 60 px shows). The heading keeps the normal 22 px top gap: its first line ends short of the ball at 360 px and wider, so no text sits on it. */
  .hero-band { background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='w' cx='.38' cy='.32' r='.72'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.62' stop-color='%23fbfdfc'/%3E%3Cstop offset='1' stop-color='%23dde8e1'/%3E%3C/radialGradient%3E%3Cpattern id='d' width='3.4' height='2.94' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='0.85' cy='0.735' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='1.05' cy='0.93' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3Ccircle cx='2.55' cy='2.205' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='2.75' cy='2.4' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11.4' fill='%23bbf7d0' fill-opacity='0.9'/%3E%3Ccircle cx='12' cy='12' r='10.9' fill='url(%23d)' opacity='0.37'/%3E%3C/svg%3E") right -140px top -140px / 200px 200px no-repeat,
      linear-gradient(160deg, #dcfce7 0%, #bbf7d0 55%, #a7f3d0 100%);
    padding-top: 22px; }
  .hero.searched .hero-band { background: linear-gradient(160deg, #dcfce7 0%, #bbf7d0 55%, #a7f3d0 100%); padding-top: 12px; }
}
@media (max-width: 640px) {
  .main-nav a:first-child { display: none; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chip { display: flex; }   /* the two chips in a row are the same height: tops and bottoms line up, the content centred in each */
  .chip span { flex: 1; box-sizing: border-box; width: 100%; font-size: .9rem; line-height: 1.25; }
  #locate { font-size: .95rem; padding-left: 10px; padding-right: 10px; }
}

/* "Before you go" answers and good-for tags (venue pages) */
.before-go { margin: 16px 0 6px; padding: 14px 16px 10px; background: var(--green-soft); border: 1px solid #bbf7d0; border-radius: var(--r); }
.before-go h2 { margin: 0 0 8px; font-size: 1.15rem; }
.bg-list { margin: 0; display: grid; gap: 8px; }
.bg-list > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 4px 12px; }
.bg-list dt { font-weight: 650; color: var(--green); }
.bg-list dd { margin: 0; }
.before-go p { margin: 10px 0 0; }
.before-go .bg-note { display: block; }
.before-go .bg-checked { margin: 6px 0 0; text-align: right; font-size: .75rem; color: var(--muted); }
@media (max-width: 480px) { .bg-list > div { grid-template-columns: 1fr; gap: 0; } }
.tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { background: #fff; border: 1.5px solid var(--green-2); color: var(--green); border-radius: 999px; padding: 3px 12px; font-size: .9rem; font-weight: 600; }

/* typical weather table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.climate { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; text-align: center; }
.climate th, .climate td { padding: 6px 6px; border-bottom: 1px solid var(--line); }
.climate thead th { background: var(--green-soft); color: var(--green); font-weight: 600; }
.climate tbody th { text-align: left; white-space: nowrap; font-weight: 600; position: sticky; left: 0; background: var(--card); }
.climate thead th:first-child { position: sticky; left: 0; }
.climate tr:last-child th, .climate tr:last-child td { border-bottom: 0; }


/* ad slots: only present when ads are on; fixed height so nothing jumps when the ad loads */
.ad-slot { list-style: none; margin: 18px 0; text-align: center; height: 292px; overflow: hidden; }
.ad-slot .ad-label { margin: 0 0 4px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad-slot .ad-box { display: block; width: 300px; height: 250px; margin: 0 auto; }

/* trust mark (Checked / Verified) */
.badge.trust { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.badge.chk { background: #fff; color: var(--green-2); box-shadow: inset 0 0 0 1.5px #86efac; }

/* venue page: facts with the map beside them (below them on a phone) */
.where-map .map-small { margin: 0 0 6px; }
.where-map p { margin: 0 0 12px; }
.map-show { position: absolute; inset: 0; margin: auto; width: max-content; height: 44px; }
@media (min-width: 641px) { .map-show { display: none; } }
@media (max-width: 640px) { .map-small.is-idle { height: 72px; } }
.map-city { height: 380px; min-height: 0; margin: 16px 0; }
@media (max-width: 640px) { .map-city.is-idle { height: 72px; } .map-city { height: 340px; } }

/* venue page: way back to the visitor's search, and the two nearby lists */
.back-search { margin: 8px 0 0; font-size: .92rem; font-weight: 600; }
.back-search a { text-decoration: none; }
.back-search a:hover { text-decoration: underline; }
.near-h { font-size: 1rem; margin: 14px 0 8px; color: var(--muted); font-weight: 600; }
.near-note { margin: 0 0 10px; }

/* ---- visual lift (Nov 2026): tiles, richer cards, "Popular around", city header ---- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* tiles: icon in its colour, short title, one-line subtitle or count. Used for occasions, cities, states, guides and the
   activity and occasion rows on city pages. */
.tiles { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tiles.compact { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.tl { display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; background: #fff; border-radius: 16px; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); transition: box-shadow .15s, transform .15s; }
.tl:hover { box-shadow: 0 6px 20px rgba(15,23,42,.10); transform: translateY(-1px); color: var(--ink); }
.tl:hover b { color: var(--green); text-decoration: underline; }
.tl svg { flex: none; width: 40px; height: 40px; }
.tiles.compact .tl { padding: 10px 12px; gap: 10px; }
.tiles.compact .tl svg { width: 34px; height: 34px; }
.tl > span { min-width: 0; }
.tl b { display: block; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.tl small { display: block; font-size: .875rem; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.occasions .tiles { margin-top: 12px; }
/* home "Browse by state": under each state tile, its biggest tourism regions as small links (src/pages-region.js) */
.tiles.states { align-items: start; }
.tiles .st-item { display: flex; flex-direction: column; gap: 6px; }
.tiles .st-item > .tl { height: auto; }
.reg-chips { list-style: none; margin: 0; padding: 0 2px; display: flex; flex-wrap: wrap; gap: 6px; }
.reg-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.08); color: var(--ink); text-decoration: none; font-size: .9375rem; line-height: 1.25; }
.reg-chips a:hover { color: var(--green); text-decoration: underline; }
.reg-chips .reg-all a { background: transparent; box-shadow: none; color: var(--green); font-weight: 600; padding-left: 6px; padding-right: 6px; }
.guides-block .tiles { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* cards: icon by search, small icons for the venue's other activities, price pill and good-for chips */
.card .tile .ti { display: block; width: 100%; height: 100%; }
.type-line { display: inline-flex; align-items: center; gap: 6px; }
.also { display: inline-flex; gap: 3px; }
.also .ai { width: 18px; height: 18px; display: block; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.card-note { margin: 7px 0 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.price { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #fff7ed; color: #9a3412; box-shadow: inset 0 0 0 1.5px #fdba74; }  /* venue pages; on a card the price is the bold solid pill in the card zones block */
.gf { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; padding: 2px 9px 2px 3px; border-radius: 999px; background: #f8fafc; color: #374151; box-shadow: inset 0 0 0 1.5px #e5e7eb; }
.gf .gi { width: 16px; height: 16px; display: block; }
/* Mini golf feature tags on a card (glow, 3D, indoor, outdoor course): same shape as the good-for tags, no icon (BACKLOG 2.19) */
.tt { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #eff6ff; color: #1e40af; box-shadow: inset 0 0 0 1.5px #bfdbfe; }
.mf { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #f5f3ff; color: #5b21b6; box-shadow: inset 0 0 0 1.5px #ddd6fe; }
.ms { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #f0fdf4; color: #166534; box-shadow: inset 0 0 0 1.5px #bbf7d0; }
.pu { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #fffbeb; color: #92400e; box-shadow: inset 0 0 0 1.5px #fde68a; }
.pu[hidden], .pop-note[hidden] { display: none; }
.pop-note { margin: 8px 0; color: #92400e; }
.mini-styles { margin: 12px 0; }
/* Type list pages (src/list-page.js, BACKLOG 2.34): range facts on a card, the "Also here" line, quick filter pills, jump links and region groups */
.rf { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #f0fdf4; color: #14532d; box-shadow: inset 0 0 0 1.5px #bbf7d0; }
.lt { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #f0fdf4; color: #14532d; box-shadow: inset 0 0 0 1.5px #bbf7d0; }   /* the Lessons tag on a card (BACKLOG 2.24) */
.rl-also { margin: 7px 0 0; font-size: .85rem; color: var(--muted); }
.rl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.rl-pill { font: inherit; font-size: .95rem; font-weight: 600; padding: 8px 14px; min-height: 44px; border-radius: 999px; border: 2px solid #bbf7d0; background: #fff; color: var(--green); cursor: pointer; }
.rl-pill:hover { background: #f0fdf4; }
.rl-pill[aria-pressed=true] { background: var(--green); border-color: var(--green); color: #fff; }
.rl-pill:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rl-pn { font-weight: 400; }
.rl-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0; }
.rl-jump-t { font-size: .875rem; font-weight: 600; color: var(--muted); }
.rl-jump .reg-chips { padding: 0; }
.rl-jump .jn { font-size: .78rem; color: var(--muted); margin-left: 4px; }
.rl-group { scroll-margin-top: 72px; }
.rl-h { display: flex; align-items: center; gap: 8px; margin: 26px 0 10px; font-size: 1.15rem; }
.rl-n { font-size: .8rem; font-weight: 700; color: var(--muted); background: #eef2ef; border-radius: 999px; padding: 1px 9px; }
/* A long state list (list-page.js FOLD_AT): every region after the first folds under its heading; the heading is the control. */
.rl-fold > summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; }
.rl-fold > summary::-webkit-details-marker { display: none; }
.rl-fold > summary .rl-h { flex: 1; margin: 12px 0; }
.rl-fold > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 6px 3px 10px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.rl-fold[open] > summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.rl-fold > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.rl-fold + .rl-fold { border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .rl-fold > summary::after { transition: none; } }
@media (max-width: 600px) { .rl-pills { gap: 6px; } .rl-pill { padding: 8px 12px; font-size: .9rem; } }

/* home: "Popular around <city>" before a search, or city tiles when there is no guess */
.near-you { display: none; margin: 4px 0 8px; }
.ny-guess .near-you, .ny-none .near-you { display: block; }
.ny-guess .ny-pick, .ny-none .ny-around { display: none; }
.ny-none #cities-block { display: none; }
.near-you h2 { margin: 6px 0 2px; }
.ny-sub { margin: 0 0 12px; color: var(--muted); }
.ny-cards { min-height: 0; }
/* Home rows ("Popular around ..."): narrow cards read top to bottom, the same on every card (Jarrad, 17 Nov: "formatting not
   great"): icon and title at the top; Open now and Checked on one line; the kind of venue on its own line; the suburb on its
   own line; then the price and good-for chips. */
.ny-cards .card-tags { gap: 5px; }
.ny-cards .skel { height: 92px; border-radius: 16px; background: linear-gradient(90deg, #f1f5f9, #f8fafc 50%, #f1f5f9); }
@media (min-width: 1000px) {
  body.split #near-you, body.split #results, body.split #more { grid-column: 1; grid-row: auto; }
  body.split #map { grid-row: 1 / span 4; }
}

/* city pages: header band with stat tiles */
.city-band { margin: 6px 0 14px; padding: 18px 18px 16px; border-radius: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3CradialGradient id='w' cx='.38' cy='.32' r='.72'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.62' stop-color='%23fbfdfc'/%3E%3Cstop offset='1' stop-color='%23dde8e1'/%3E%3C/radialGradient%3E%3Cpattern id='d' width='3.4' height='2.94' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='0.85' cy='0.735' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='1.05' cy='0.93' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3Ccircle cx='2.55' cy='2.205' r='0.72' fill='%230b2a1a' fill-opacity='0.17'/%3E%3Ccircle cx='2.75' cy='2.4' r='0.4' fill='%23fff' fill-opacity='.4'/%3E%3C/pattern%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='11.4' fill='%23ffffff' fill-opacity='0.75'/%3E%3Ccircle cx='12' cy='12' r='10.9' fill='url(%23d)' opacity='0.3'/%3E%3C/svg%3E") calc(92% - 70px) calc(15% - 70px) / 140px 140px no-repeat, linear-gradient(160deg, #dcfce7 0%, #bbf7d0 60%, #a7f3d0 100%); }
.city-band h1 { margin: 0 0 12px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.stat { display: flex; align-items: center; gap: 10px; height: 100%; padding: 10px 12px; background: #fff; border-radius: 16px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 3px rgba(15,23,42,.08); }
a.stat:hover { box-shadow: 0 6px 20px rgba(15,23,42,.12); color: var(--ink); }
a.stat:hover span span { color: var(--green); text-decoration: underline; }
.stat .ti { flex: none; width: 38px; height: 38px; }
.st-t b { display: block; font-size: 1.35rem; line-height: 1.1; }
.st-t span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .city-band { margin-left: -4px; margin-right: -4px; padding: 14px 12px 12px; } }

/* guides index: big tiles */
.guide-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.gl { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; border-radius: 16px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); }
.gl:hover { box-shadow: 0 6px 20px rgba(15,23,42,.10); color: var(--ink); }
.gl:hover h2 { text-decoration: underline; }
.gl svg { flex: none; width: 48px; height: 48px; }
.gl h2 { margin: 0 0 4px; font-size: 1.12rem; color: var(--green); }
.gl p { margin: 0; color: #374151; }
.guide-find, .guide-related { margin-top: 28px; }
.guide .tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* header: Guides shows on wider screens only, so the phone header stays on one line */
@media (max-width: 640px) { .main-nav .nav-wide { display: none; } }
/* The phone header (25 Nov 2026): logo, Find golf, a search button and a Menu (By state, Guides, For venues). One row, 44 px targets. From 641 px the full nav shows and this is hidden. */
.nav-phone { display: none; }
@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-phone { display: flex; align-items: center; gap: 0; margin-left: auto; position: relative; font-size: .9rem; }
  .nav-phone a, .nav-phone summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 9px; box-sizing: border-box; color: #374151; font-weight: 500; text-decoration: none; border-radius: 999px; cursor: pointer; list-style: none; white-space: nowrap; }
  .nav-phone summary::-webkit-details-marker { display: none; }
  .nav-phone summary::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .nav-phone details[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
  .nav-phone a[aria-current], .nav-phone a:hover, .nav-phone summary:hover, .nav-phone details[open] > summary { color: var(--green); background: var(--green-soft); }
  .nav-phone .np-menu { position: static; }
  .nav-phone .np-list { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 11rem; display: flex; flex-direction: column; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 20px rgba(15,23,42,.12); }
  .nav-phone .np-list a { justify-content: flex-start; border-radius: 8px; padding: 0 12px; }
  @media (max-width: 370px) { .nav-phone a, .nav-phone summary { padding: 0 6px; } .nav-phone summary::after { margin-left: 4px; } .site-header .logo-word { font-size: .95em; } }   /* 350 px phones: the row fits with no sideways scroll */
}
.ny-empty { padding: 14px 16px; background: #fff; border-radius: 16px; color: var(--muted); box-shadow: 0 1px 3px rgba(15,23,42,.08); }
/* phones: a smaller icon and tighter padding, so the zones get the full width (the card zones block is near the end of this file) */
@media (max-width: 640px) {
  .card { align-items: flex-start; padding: 12px; gap: 10px; }
  .card .tile { width: 40px; height: 40px; }
}
/* wide screens: list pages (state, suburb, type, city) show cards in two columns, so a row is not mostly white space */
@media (min-width: 900px) { main > .cards, .city-page .cards { grid-template-columns: 1fr 1fr; } }

/* ---- specials, and food and drink icons (Nov 2026) ---- */
/* src/hours.js hides a special once its last day has passed: the hidden attribute must win over every display rule below */
[data-until][hidden], [data-sp-group][hidden], [data-sp-none][hidden] { display: none !important; }
.sp-key { display: none; }
/* card chip: a solid pink pill, so it reads apart from the outlined orange price pill, the green Checked mark and the grey good-for chips */
.sp-chip { display: inline-block; font-size: .8rem; font-weight: 700; line-height: 1.5; padding: 2px 10px; border-radius: 999px; background: #be185d; color: #fff; white-space: nowrap; }
/* food and licensed bar icons sit after the other-activity icons */
.amen { display: inline-flex; gap: 3px; }
.amen .ai { width: 18px; height: 18px; display: block; }
.also + .amen { margin-left: 3px; }
/* the Specials block on a venue page, directly under "Before you go" */
.specials { margin: 16px 0 6px; padding: 14px 16px 10px; background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: var(--r); }
.specials h2 { margin: 0 0 8px; font-size: 1.15rem; }
.specials > p { margin: 8px 0 0; }
.sp-list, .sp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-item, .sp-row { background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1.5px #fbcfe8; }
.sp-item p { margin: 4px 0 0; }
.sp-title { margin: 0 0 2px; font-size: 1.02rem; overflow-wrap: anywhere; }
.sp-dates { font-weight: 650; color: #9d174d; }
.sp-featured { margin-left: 4px; vertical-align: middle; }
.sp-row { overflow-wrap: anywhere; }
.sp-venue { font-weight: 650; }
.sp-place { font-size: .9rem; }
.sp-line { margin: 4px 0 0; }
.sp-line .sp-dates { margin-left: 6px; white-space: nowrap; }
.sp-detail { display: block; margin-top: 2px; }
.city-specials { margin: 18px 0 6px; }
.city-specials .sp-rows { margin-top: 10px; }
@media (min-width: 700px) { .city-specials .sp-rows, .specials .sp-rows { grid-template-columns: 1fr 1fr; } }
/* "What's here": a small icon beside each item that has one; items without one line up with the text of the others */
.facil-list { list-style: none; padding: 0; margin: 8px 0; columns: 2 230px; column-gap: 18px; }
.facil-list li { display: flex; align-items: center; gap: 9px; padding: 4px 0; break-inside: avoid; }
.facil-list .fi { flex: none; width: 22px; height: 22px; display: block; }
.facil-list li.no-icon { padding-left: 31px; }

.card-tags .sp-wrap { flex: 0 0 100%; }

/* "Search again" shortcut: a quiet chip under the postcode box for a returning visitor (hidden until app.js shows it) */
.again { display: inline-flex; align-items: center; margin: 10px 0 0; border: 1px solid var(--line); border-radius: 999px; background: #f9fafb; font-size: .92rem; max-width: 100%; }
.again-go, .again-x { font: inherit; color: var(--green); background: none; border: 0; cursor: pointer; min-height: 44px; }
.again-go { padding: 0 6px 0 14px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.again-go b { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.again-x { padding: 0 14px 0 8px; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.again-go:hover b, .again-x:hover { color: var(--green-2); }
.again-go:focus-visible, .again-x:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 999px; }
.finder.collapsed .again { display: none; }
.still-right { margin: 6px 0 0; }
.still-right a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.still-right a:hover { color: var(--green); }

/* Featured listings: a gold border on the card (and a gold-edged label with dark text, 4.5:1 or better, so it never relies on colour alone) */
.card.is-featured { box-shadow: 0 0 0 2px var(--gold), 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); }
.card.is-featured:hover { box-shadow: 0 0 0 2px var(--gold), 0 6px 20px rgba(15,23,42,.10); }
.badge.feat { background: var(--sand); color: #7c5a00; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--gold); }

/* ---- home page v2 (17 Nov 2026): search first, the place line, occasion tiles, rows for the visitor's place ---- */
/* The state classes on <html> are set before first paint by the inline script and kept up to date by src/app.js:
   ny-guess (the visitor has a place), ny-none (no place yet: "Where are you?"), ny-off (a search is showing results). */

/* The place line under the search box: "Showing ideas around Melbourne. Change", or "Where are you?" when a plan tile is tapped first.
   Hidden without JavaScript (there is no place to show then). */
.place { display: none; margin: 12px 0 0; }
.ny-guess .place, .ny-none .place { display: block; }
.ny-none .place { margin: 0; }
.place-line { margin: 0; font-size: .97rem; color: #374151; }
.place-line::before { content: ""; display: inline-block; vertical-align: -3px; margin-right: 6px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7z' fill='%2315803d'/%3E%3Ccircle cx='12' cy='9' r='2.6' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }
.place-line b { font-weight: 700; color: var(--ink); }
.place-change { min-height: 40px; margin-left: 4px; padding: 4px 2px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.place-change:hover { color: var(--green-2); }
/* No place yet (24 Nov): the line is hidden, the search box and Near me already ask. Only the "Where are you?" line can show, when a plan tile is tapped with no place set (26 Nov 2026: it replaced the city buttons). */
.ny-none .place-line { display: none; }
.place-ask { margin: 8px 2px 0; font-weight: 650; color: var(--ink); }
.place-ask[hidden] { display: none; }
/* The search box, highlighted while it waits for a place: a green ring and one gentle pulse (no pulse with reduced motion). */
.where.ask-ring { border-radius: 18px; box-shadow: 0 0 0 3px var(--green); }
@keyframes ask-pulse { 0% { box-shadow: 0 0 0 3px var(--green), 0 0 0 3px rgba(21,128,61,.45); } 100% { box-shadow: 0 0 0 3px var(--green), 0 0 0 16px rgba(21,128,61,0); } }
@media (prefers-reduced-motion: no-preference) { .where.ask-ring { animation: ask-pulse .9s ease-out 1; } }

/* Before a search the finder is quiet: search box, place line, occasion tiles and activity tiles only. Distance, sort,
   Filters and the List or Map switch appear once results are showing. */
.ny-guess .search-only, .ny-none .search-only, .ny-guess #filters-panel, .ny-none #filters-panel,
.ny-guess .view-toggle, .ny-none .view-toggle { display: none; }
.status:empty { margin: 0; min-height: 0; }

/* Occasion tiles ("What's the plan?", src/idea-chips.js). Quiet from 25 Nov 2026 (design review: twelve fill colours read as a rainbow and colour
   here meant nothing, while on the rest of the site colour means the kind of golf): a white tile, a 1px line border, a 12px radius, a 30px soft green disc
   with a green icon, an ink label; hover and focus turn the border green. Two across on a phone, four from 600 px. Eight tiles show; the rest sit
   behind "More ideas" (a details element, so they work without JavaScript). Hidden once a search is showing results. No gold (gold is for Featured). */
.ideas { margin: 16px 0 0; }
.ny-off .ideas, .ny-off .place { display: none; }
.ideas-h { margin: 0 0 8px; font-size: 1.15rem; color: var(--ink); }
.ideas-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 600px) { .ideas-list { grid-template-columns: repeat(4, 1fr); } }
.idea { display: flex; flex-direction: row; align-items: center; gap: 10px; height: 100%; min-height: 52px; box-sizing: border-box; padding: 8px 12px 8px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; transition: border-color .15s; }
.idea:hover { color: var(--ink); border-color: var(--green-2); }
/* Desktop looked washed out (owner, 25 Nov 2026): each tile keeps a white fill and takes a border in its own icon colour (--c, set per tile);
   the faint fill was dropped at the owner's request. color-mix falls back to the plain white tile in older browsers. */
.idea { background: #fff; border: 1.5px solid color-mix(in srgb, var(--c, #15803d) 40%, #fff); box-shadow: 0 1px 2px rgba(15,23,42,.05); }   /* owner: border only, no fill */
.idea:hover { border-color: color-mix(in srgb, var(--c, #15803d) 75%, #fff); }
.idea:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.idea-ic { display: block; width: 32px; height: 32px; margin: 0; flex: none; }
/* Words never break inside (22 Nov, BACKLOG 2.33): a label wraps only between words, and a tile that needs more room takes it
   (no min-width: 0, so the grid column grows to the longest word rather than the word being cut). */
.idea-t { font-size: .9rem; line-height: 1.2; overflow-wrap: normal; word-break: normal; hyphens: manual; }
/* The second line (25 Nov 2026: tiles looked sparse on desktop): the icon spans both lines, the name above, a short grey line below. */
.idea { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 1px; align-content: center; }
.idea .idea-ic { grid-row: 1 / span 2; align-self: center; }
.idea-s { grid-column: 2; font-size: .78rem; font-weight: 400; line-height: 1.25; color: var(--muted); }
@media (max-width: 599px) { .idea-s { display: none; } }   /* phones keep the compact two-across tiles */
@media (min-width: 900px) { .idea { min-height: 68px; padding: 10px 14px 10px 12px; column-gap: 12px; } .idea .idea-ic { width: 36px; height: 36px; } .idea-t { font-size: .95rem; } }
@media (min-width: 600px) { .idea { min-height: 58px; } }
/* "More ideas": a text link that opens the rest of the tiles in the same grid */
.ideas-extra { margin: 4px 0 0; }
.ideas-extra summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; color: var(--green); font-weight: 600; font-size: .9rem; list-style: none; }
.ideas-extra summary::-webkit-details-marker { display: none; }
.ideas-extra summary::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.ideas-extra[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
.ideas-extra summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.ideas-extra[open] .ideas-list { margin-top: 2px; }

/* Rows for the visitor's place, HappyCow style: a heading with "See all" (the matching city page), then cards. On a phone
   each row swipes sideways (the next card peeks in); from 700 px the cards sit in a grid. */
.ny-row { margin: 22px 0 0; }
.ny-row:first-child { margin-top: 8px; }
.ny-row-h { display: flex; align-items: baseline; justify-content: space-between; gap: 2px 14px; margin: 0 0 8px; }
.ny-row-h h2 { margin: 0; font-size: 1.3rem; }
.ny-row-h h2:focus { outline: none; }
.ny-all { flex: none; font-weight: 650; white-space: nowrap; text-underline-offset: 3px; }
@media (max-width: 699px) {
  .ny-scroll { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
    margin: 0 -16px; padding: 2px 16px 12px; scroll-padding: 0 16px; gap: 10px; align-items: flex-start; }
  .ny-scroll::-webkit-scrollbar { display: none; }
  .ny-scroll > li { flex: 0 0 84%; max-width: 330px; scroll-snap-align: start; }
  .ny-scroll > li.ny-empty { flex-basis: 100%; max-width: none; }
}
@media (min-width: 700px) { .ny-scroll { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }

/* The group enquiry banner (src/pages-group.js): home page, city party and function pages, the group guide and venue pages
   for venues that take parties or functions. Pink, like the Kids' parties tile; no gold. */
.ge-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 18px 0; padding: 16px 18px;
  border-radius: 20px; background: linear-gradient(135deg, #fdf2f8 0%, #f0fdfa 100%); box-shadow: inset 0 0 0 2px #fbcfe8; }
.ge-b-text { flex: 1 1 260px; min-width: 0; }
.ge-b-h { margin: 0; font-weight: 800; font-size: 1.12rem; line-height: 1.3; color: #831843; }
.ge-b-p { margin: 3px 0 0; color: #374151; }
.ge-b-btn { flex: none; background: #be185d; box-shadow: 0 2px 6px rgba(190,24,93,.28); }
.ge-b-btn:hover { background: #9d174d; color: #fff; }
.ny-off .ge-home { display: none; }
.prose .ge-banner p { margin-top: 0; }
/* The group quote on a venue page: tick pills in the pink box, then the form opens under it (src/pages-group.js venueBlock). */
.ge-pills { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ge-pills li { display: inline-flex; align-items: center; gap: 5px; font-size: .86rem; font-weight: 650; padding: 3px 11px 3px 8px; border-radius: 999px; background: #fff; color: #831843; box-shadow: inset 0 0 0 1.5px #f9a8d4; }
.ge-pills .ge-tick { flex: none; color: #be185d; }
.ge-vform { margin: 0 0 18px; }
.ge-vform[hidden] { display: none; }
.ge-vform h2:focus { outline: none; }
.ge-vrows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ge-near-pick { margin: 10px 0 0; padding: 0; border: 0; min-width: 0; }
.ge-near-pick legend { padding: 0; margin: 0 0 6px; font-weight: 650; }
.ge-vpick { display: flex; align-items: flex-start; gap: 10px; margin: 0; min-height: 44px; padding: 6px 12px; border: 2px solid #e5e7eb; border-radius: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ge-vpick input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.ge-vrow.is-picked .ge-vpick { background: var(--green-soft); border-color: var(--green-2); }
/* The rows are never switched off: at the limit a further tick is undone and .ge-limit-n says why. */
.ge-limit-n { margin: 6px 0 0; font-size: .92rem; font-weight: 650; color: var(--ink); }
.ge-limit-n:empty { margin: 0; }
.ge-away { margin-left: 4px; font-size: .88rem; font-weight: 700; color: var(--green); white-space: nowrap; }
.ge-vrow[hidden] { display: none; }
.ge-vpick-t { min-width: 0; }
.ge-fp { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; font-weight: 600; }
.ge-fpill { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; padding: 1px 8px 1px 6px; border-radius: 999px; background: #fff; color: #831843; box-shadow: inset 0 0 0 1.2px #f9a8d4; }
.ge-fpill::before { content: ""; flex: none; width: 12px; height: 12px; background: #be185d; -webkit-mask: var(--ge-tick) center / contain no-repeat; mask: var(--ge-tick) center / contain no-repeat; }
.ge-fpill, .ge-vform { --ge-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ge-fpill[hidden], .ge-fp-none[hidden] { display: none; }
.ge-fp-none { display: block; margin-top: 3px; font-size: .84rem; font-weight: 500; color: var(--muted); }
/* Occasion first (src/pages-group.js occasionStep, guestsStep; src/quote.js applyRows): step 1 large occasion buttons and a small
   "Something else", step 2 how many people, step 3 the venues that take the occasion with the others folded away, step 4 details. */
.ge-occ { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; flex: 1 1 100%; }
.ge-occ legend { padding: 0 0 8px; font-weight: 800; font-size: 1.05rem; }
.ge-occ-btns { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.ge-occ-b { position: relative; }
.ge-occ-b { display: block; }
.ge-occ-b input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ge-occ-b span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 8px 14px; text-align: center; border: 2px solid #e5e7eb; border-radius: 16px; background: #fff; font-weight: 750; font-size: 1.02rem; line-height: 1.25; }
.ge-occ-b:hover span { border-color: var(--green-2); }
.ge-occ-b input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.ge-occ-b input:checked + span::before { content: "\2713"; font-weight: 800; }
.ge-occ-b input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.ge-occ-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 2px; }
.ge-occ-clear[hidden] { display: none; }
.ge-occ-clear { padding: 10px 0; }
.ge-filters > .ge-field { flex: 1 1 100%; }
.ge-filters > .ge-field label { margin-top: 0; }
#ge-guests { max-width: 160px; }
.ge-form > form > .ge-occ { margin-top: 12px; }
.ge-form > form > .ge-chosen { margin-top: 14px; }
.ge-step-h { margin: 18px 0 6px; font-size: 1.05rem; }
.ge-compare .ge-step-h { margin-top: 4px; }
.ge-occ-sum { margin: 12px 0 0; font-weight: 650; }
.ge-miss { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdf2f8; box-shadow: inset 0 0 0 1.5px #f9a8d4; color: #831843; font-weight: 650; }
.ge-wait, .ge-main-none, .ge-small-n { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
.ge-miss[hidden], .ge-wait[hidden], .ge-main-none[hidden], .ge-small-n[hidden], .ge-other[hidden], .ge-near-pick[hidden] { display: none; }
.ge-other { margin: 12px 0 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.ge-other summary { cursor: pointer; padding: 11px 12px; font-weight: 650; min-height: 24px; }
.ge-other .ge-vrows { padding: 0 8px 8px; }
.ge-must { margin: 0 0 8px; }
.ge-must[hidden] { display: none; }
.ge-must-l { display: block; margin-bottom: 4px; font-size: .88rem; font-weight: 650; }
.ge-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ge-chip { position: relative; display: inline-flex; }
.ge-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ge-chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 2px solid #e5e7eb; background: #fff; font-size: .9rem; font-weight: 650; }
.ge-chip input:checked + span { background: var(--green-soft); border-color: var(--green-2); color: var(--green); }
.ge-chip input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 2px; }
.ge-must-n { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }

/* /group-events/ */
.ge-steps { margin: 10px 0 16px; padding-left: 1.4em; }
.ge-steps li { margin: 4px 0; }
.ge-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 8px; padding: 12px 14px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); }
.ge-filters[hidden] { display: none; }
.ge-filters > label { font-weight: 650; }
.ge-filters select, .ge-field input, .ge-field select, .ge-field textarea { font: inherit; padding: 9px 12px; border: 2px solid #e5e7eb; border-radius: 12px; background: #fff; min-height: 46px; box-sizing: border-box; }
.ge-filters select:focus, .ge-field input:focus, .ge-field select:focus, .ge-field textarea:focus { outline: none; border-color: var(--bright); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.ge-count { margin: 0; color: var(--muted); flex-basis: 100%; }
.ge-state h2, .ge-nearby h2 { margin: 22px 0 8px; }
.ge-local { margin: 4px 0 14px; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ge-local-h { margin: 4px 0 2px; font-weight: 700; font-size: .95rem; }
.ge-local-list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: .93rem; }
.ge-where { flex-basis: 100%; }
.ge-lbl { display: block; font-weight: 650; margin: 0 0 4px; }
.ge-place { display: flex; flex-wrap: wrap; gap: 8px; }
.ge-place .combo { flex: 1 1 240px; }
.ge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ge-row label { font-weight: 650; }
.ge-row select { max-width: 100%; min-width: 0; }
.ge-row { flex: 1 1 100%; min-width: 0; }
#ge-region { flex: 1 1 200px; width: 100%; min-width: 0; }
.ge-prompt { margin: 10px 0; }
.ge-prompt[hidden], .ge-nearby[hidden], .ge-list[hidden], .ge-state[hidden] { display: none; }
.ge-dist { margin: 2px 0 0; font-weight: 700; font-size: .9rem; color: var(--green); }   /* under the place line, so the name keeps the row (BACKLOG 27) */
.ge-dist[hidden] { display: none; }
.ge-where .also { margin-left: 6px; vertical-align: middle; }
.ge-badges { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ge-badges li { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 650; padding: 2px 10px; border-radius: 999px; background: #f3f4f6; color: #1f2937; }
/* the price zone: the party price (or, on a School holiday group page, the playing price) as the same bold solid pill as every venue card */
.ge-costs { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ge-costs li { display: block; font-size: .95rem; font-weight: 800; line-height: 1.3; padding: 5px 11px; border-radius: 10px; background: transparent; color: #9a3412; border: 1px solid #ea580c; }
.ge-costs .ge-b-play { display: none; }
body[data-occ="holiday"] .ge-costs .ge-b-play { display: block; }
body[data-occ="holiday"] .ge-costs .ge-b-price, body[data-occ="holiday"] .ge-card .ge-price { display: none; }
.ge-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; }
.ge-badges .bi { width: 16px; height: 16px; flex: none; }
.ge-t-adult { background: #eef2ff; color: #3730a3; box-shadow: inset 0 0 0 1.5px #c7d2fe; }
.ge-also { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.ge-rule { margin: 14px 0 0; }
.ge-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .ge-cards { grid-template-columns: 1fr 1fr; } }
.ge-card { padding: 14px 14px 12px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); overflow-wrap: anywhere; }
.ge-card.is-featured { box-shadow: 0 0 0 2px var(--gold), 0 1px 3px rgba(15,23,42,.08); }
.ge-card.is-picked { box-shadow: 0 0 0 2px var(--green-2), 0 4px 14px rgba(15,23,42,.08); }
.ge-top { display: flex; gap: 12px; align-items: flex-start; }
.ge-head { min-width: 0; }
.ge-name { margin: 0; font-size: 1.06rem; }
.ge-name a { color: var(--ink); }
.ge-where { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.ge-tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ge-tags li { font-size: .82rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.ge-t-kids { background: #fdf2f8; color: #9d174d; box-shadow: inset 0 0 0 1.5px #f9a8d4; }
.ge-t-work { background: #f0fdfa; color: #115e59; box-shadow: inset 0 0 0 1.5px #99f6e4; }
.ge-price, .ge-note { margin: 8px 0 0; font-size: .93rem; }
.ge-note { color: #374151; }
.ge-src { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.ge-form { margin: 28px 0 10px; padding: 16px 18px 18px; background: #f9fafb; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ge-form h2 { margin-top: 4px; }
.ge-chosen { margin: 0 0 6px; padding: 10px 12px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.ge-chosen-l { margin: 0; font-weight: 650; }
.ge-chosen-list { margin: 6px 0 0; padding-left: 1.2em; }
.ge-chosen-list:empty { display: none; }
.ge-field label { display: block; margin: 14px 0 4px; font-weight: 650; }
.ge-field input, .ge-field select, .ge-field textarea { width: 100%; max-width: 520px; margin: 0; }
.ge-opt { font-weight: 400; color: var(--muted); }
.ge-hint { margin: 0 0 4px; font-size: .87rem; color: var(--muted); }
.ge-errors { margin: 12px 0 0; color: #991b1b; font-weight: 600; }
.ge-errors:empty { display: none; }
.ge-errors ul { margin: 4px 0 0; padding-left: 1.2em; }
.ge-err { margin: 4px 0 0; color: #991b1b; font-weight: 600; font-size: .92rem; }
.ge-err[hidden] { display: none; }
.ge-field [aria-invalid=true] { border-color: #dc2626; }
.ge-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ge-privacy { margin: 14px 0 0; color: var(--muted); max-width: 640px; }
.ge-sending { margin: 8px 0 0; color: var(--muted); }
.ge-sending:empty { display: none; }
.ge-fail { margin: 12px 0 0; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 2px #fecaca; color: #991b1b; font-weight: 600; }
.ge-fail[hidden], .ge-fail p[hidden] { display: none; }
.ge-fail p { margin: 0; }
#quote-form[hidden] { display: none; }
.ge-form .btn[type=submit] { margin-top: 16px; }
.ge-done { margin: 16px 0 0; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 2px #bbf7d0; }
.ge-done[hidden] { display: none; }
.ge-done:focus { outline: none; }
.ge-done-h { margin: 2px 0 6px; font-size: 1.15rem; }
.ge-done-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ge-done b { overflow-wrap: anywhere; }
.ge-resend-msg { margin: 8px 0 0; color: var(--muted); }
.ge-resend-msg:empty { display: none; }
.qc-out { margin-top: 18px; }
.qc-out ul { margin: 8px 0 10px; padding-left: 1.2em; }

/* Static map of Australia on the By state page: wide screens only, the list under it always stays (see src/pages-statemap.js) */
.statemap { display: none; }
@media (min-width: 900px) {
  .statemap { display: grid; grid-template-columns: minmax(0, 560px) minmax(220px, 1fr); gap: 8px 32px; align-items: center; margin: 12px 0 28px; }
  .statemap svg { width: 100%; height: auto; display: block; }
  .sm-credit { grid-column: 1 / -1; margin: 0; }
  .sm-s { cursor: pointer; outline: none; }
  .sm-s path { stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; transition: fill .15s; }
  .sm-fa path { fill: #bbf7d0; } .sm-fb path { fill: #d6f5e0; } .sm-fc path { fill: #e4efe7; }
  .sm-s:hover path, .sm-s:focus-visible path { fill: #86efac; }
  .sm-s:focus-visible .sm-b { stroke: var(--focus); stroke-width: 4; }
  .sm-b { fill: var(--green); stroke: #fff; stroke-width: 2; }
  .sm-s:hover .sm-b { fill: var(--green-2); }
  .sm-n { fill: #fff; font: 700 17px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
  .sm-t { fill: #dcfce7; font: 600 10px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .04em; }
  .sm-lead { stroke: var(--green); stroke-width: 1.5; }
  .sm-pin { fill: var(--green); }
  .sm-caps { min-height: 4.5em; font-size: 1.1rem; }
  .sm-cap { display: none; margin: 0; }
  .sm-cap-none { display: block; color: var(--muted); }
  .statemap:has(.sm-s:hover) .sm-cap-none, .statemap:has(.sm-s:focus-visible) .sm-cap-none { display: none; }
}
/* Checked venues on cards: a small green tick beside the name (src/model.js trustTick). It sits above the card's whole-card
   link so its hover label can show. */
/* Checked: a white circle with a green outline and green tick under the activity icon (Jarrad, 18 Nov). Above the card's whole-card link so its hover label shows. */
.card-side { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }  /* the icon only: the trust mark is a pill in the status row (BACKLOG 27) */
.trust-tick { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }  /* white circle, green outline, green tick (Jarrad, 18 Nov) */
.trust-tick svg { width: 13px; height: 13px; }

/* ---- checked and verified marks ---- */
/* Checked is black and neutral (a circle); Verified by venue is the gold shield (Jarrad, 20 Nov), so the shape carries the meaning as well as the colour.
   The gold comes from the --verified-* tokens, which build.js writes from src/model.js VERIFIED_MARK (the one place the gold is defined). */
.badge.chk { color: var(--ink); box-shadow: inset 0 0 0 1.5px #bbb; }
.badge.ok.trust { background: var(--verified-pale); color: var(--verified-text); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--verified-gold); }
.badge.ok.trust .trust-shield { flex: none; width: 16px; height: 16px; margin-left: -2px; }
.trust-shield { flex: none; }
.verified-note { margin: 10px 0 0; font-size: .9rem; color: var(--verified-text); }

/* Common questions on city pages (src/city-faq.js) and the "may be out of date" note on venue pages (src/firstparty.js staleNote). */
.city-faq { margin: 28px 0; }
.city-faq .faq-item { padding: 12px 0; border-top: 1px solid var(--line); }
.city-faq .faq-item:last-child { border-bottom: 1px solid var(--line); }
.city-faq h3 { margin: 0 0 4px; font-size: 1.02rem; }
.city-faq p { margin: 0; }
.city-faq .faq-item a { overflow-wrap: anywhere; }
.before-go .bg-stale { color: var(--ink); font-weight: 600; }
/* Next 7 days on venue pages (src/forecast.js). The box is empty in the static page and keeps its height until the forecast arrives. */
.fc { min-height: 230px; margin-top: 4px; }
.fc-hint { margin: 0 0 8px; font-weight: 600; }
.fc-strip { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.fc-day { flex: 1 0 74px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: .85rem; line-height: 1.25; scroll-snap-align: start; }
.fc-dow { font-weight: 650; }
.fc-icon { display: block; }
.fc-temp b { font-weight: 700; }
.fc-rain, .fc-wind { color: var(--muted); font-size: .78rem; }
.fc-icon { width: 32px; height: 32px; }
.fc-icon .fc-sun { fill: #f59e0b; }
.fc-icon .fc-ray { stroke: #f59e0b; stroke-width: 2; stroke-linecap: round; fill: none; }
.fc-icon .fc-cloud { fill: #94a3b8; }
.fc-icon .fc-drop { stroke: #2563eb; stroke-width: 2; stroke-linecap: round; fill: none; }
.fc-icon .fc-bolt { fill: #f59e0b; }
.fc-icon .fc-air { stroke: #64748b; stroke-width: 2; stroke-linecap: round; fill: none; }
.fc-credit { margin: 6px 0 0; }
@media (min-width: 720px) { .fc { min-height: 200px; } .fc-day { flex-basis: 0; } }
/* the strip swipes sideways and never drags the page with it; each tile snaps to the left edge */
.fc-strip { overscroll-behavior-x: contain; scroll-snap-type: x mandatory; position: relative; } /* position: relative keeps the hidden screen-reader text inside the swipe row, so it cannot widen the page */
/* phones: one row swiped from the right; four cards and half of the fifth fit across, so it is clear the row carries on (12 px is the smallest text) */
@media (max-width: 640px) {
  .fc-strip { gap: 6px; scroll-padding-left: 0; }
  .fc-day { flex: 0 0 calc((100% - 24px) / 4.5); min-width: 0; padding: 6px 2px; font-size: .8rem; gap: 1px; overflow-wrap: anywhere; }
  .fc-rain, .fc-wind { font-size: .75rem; }
}
/* the hidden monthly table (about 620 px wide) scrolls inside its own box and can never widen the page */
.weather { min-width: 0; max-width: 100%; }
.weather .table-scroll { overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; }

/* "Typical weather by month": the SILO averages sit in a closed box under the live forecast (src/forecast.js opens it if the forecast cannot load) */
.weather { margin: 14px 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.weather > summary { cursor: pointer; padding: 12px 0; font-weight: 650; }
.weather[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.weather[open] { padding-bottom: 10px; }
/* the amenity icons in a venue's heading, after the Open now badge */
.head-amen .ai { cursor: help; }
/* The trust marks on every card (owner, 23 Nov 2026: the venue page has the full details): icons stacked under the activity icon or photo, the gold shield first, then the black-outlined tick; the labelled pills stay on the venue page and in the compare table. A status row with nothing visible in it goes. */
.card-marks { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 2px; }
.card-marks .trust-tick { width: 20px; height: 20px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.card-marks .trust-tick svg { width: 12px; height: 12px; }
.card-marks .mark-shield { display: inline-flex; }
.card-status:not(:has(> :not([hidden]))) { display: none; }
/* ---- nearby tiles (venue pages) ---- */
/* The nearby lists on a venue page (other courses, practice, more like this) are tiles, side by side where there is room: two across from 640 px,
   three across from 1000 px. Phones keep one card per row. Tiles in a row share a height. */
@media (min-width: 640px) {
  article.venue .cards { grid-template-columns: 1fr 1fr; align-items: start; }
  article.venue .cards > .card { box-sizing: border-box; align-self: start; }   /* a card is as tall as its content: no blank space at its foot */
  article.venue .cards > .card .card-title { overflow-wrap: anywhere; }
  article.venue .cards .type-line { flex-wrap: wrap; white-space: nowrap; row-gap: 2px; }
}
@media (min-width: 1000px) { article.venue .cards { grid-template-columns: repeat(3, 1fr); } }

/* ---- where this comes from (Before you go) ---- */
.before-go .bg-src-h { margin: 12px 0 0; font-size: .85rem; font-weight: 700; }
.before-go .bg-src { margin: 4px 0 0; padding-left: 18px; font-size: .85rem; }
.before-go .bg-src li { margin: 2px 0; }
/* ---- public or members badge (golf courses) ---- */
/* Text first ("Public course", "Members only", "Members and guests"); the colours are calm and only reinforce it. */
.badge.acc { white-space: nowrap; }
.badge.acc-public { background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1.5px #6ee7b7; }
.badge.acc-members { background: #f1f5f9; color: #334155; box-shadow: inset 0 0 0 1.5px #94a3b8; }
.badge.acc-guests { background: #fffbeb; color: #78350f; box-shadow: inset 0 0 0 1.5px #fcd34d; }
.type-line > .badge.acc { font-size: .72rem; padding: 1px 7px; vertical-align: middle; }
/* tap, hover or keyboard focus shows the icon's name under the icon row's own text (phones have no hover) */
.ai-tip { position: relative; display: inline-flex; border-radius: 4px; }
.ai-tip:hover::after, .ai-tip:focus::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 20; background: #1f2937; color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.4; padding: 3px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
/* phones: maps never trap the page. One finger scrolls the page and shows "Use two fingers to move the map" (MapLibre's cooperative
   gestures, switched on for every map in src/map.js); two fingers move and zoom the map. Markers and zoom buttons still take taps. */
@media (max-width: 640px) {
  .maplibregl-cooperative-gesture-screen { font-size: 1.05rem; text-align: center; }
  .maplibregl-canvas-container.maplibregl-cooperative-gestures .maplibregl-canvas { touch-action: pan-x pan-y; }
}
/* last word of a card's name and its Checked tick: never split across lines */
.nw { white-space: nowrap; }
/* the clear button inside the search box (src/app.js); the browser's own clear mark is hidden so there is only one */
.combo input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.combo .q-clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.combo .q-clear:hover { color: var(--ink); background: #eef2ef; }
.combo .q-clear:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }
.finder .combo input:not(:placeholder-shown) { padding-right: 48px; }

.btn-search .ball { flex: none; display: block; width: 24px; height: 24px; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.25)); transition: transform .3s ease-out; }  /* bigger, clearer ball (Jarrad, 18 Nov) */
.btn-search:active .ball { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .btn-search .ball { transition: none; } .btn-search:active .ball { transform: none; } }
/* Seasonal features (src/seasonal.js): dated tiles and the end-of-year banner ship hidden; a small script shows them in their window */
.ideas-list li[data-when][hidden], .season-banner[hidden] { display: none !important; }
.season-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 12px 0; padding: 10px 14px; border: 1px solid #f3c4d9; border-radius: 12px; background: #fdf2f8; color: #831843; }
.season-banner p { margin: 0; font-weight: 650; font-size: .95rem; }
.season-banner .btn { padding: 6px 14px; font-size: .9rem; }

/* ---------------------------------------------------------------- venue forms (src/venue-forms.js, src/pages-forms.js)
   Update, claim, add and closure forms on venue pages, /for-venues/ and /update-a-listing/. One folded panel per form. */
.vf { margin: 24px 0; }
.vf > h2 { margin-bottom: 4px; }
.vf-panel { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); margin: 12px 0; }
.vf-panel[open] { border-color: var(--green-2); }
.vf-panel > summary { cursor: pointer; padding: 14px 16px; min-height: 44px; display: grid; gap: 2px; list-style: none; }
.vf-panel > summary::-webkit-details-marker { display: none; }
.vf-panel > summary::after { content: "Open"; justify-self: start; margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--green-2); }
.vf-panel[open] > summary::after { content: "Close"; }
.vf-panel > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.vf-title { font-weight: 700; font-size: 1.1rem; }
.vf-blurb { color: var(--muted); }
.vf-body { padding: 0 16px 16px; }
.vf-form { max-width: 620px; }
.vf-field { margin: 0 0 14px; position: relative; }
.vf-field > label { display: block; font-weight: 600; margin-bottom: 2px; }
.vf-req { font-weight: 400; color: var(--muted); }
.vf-hint { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }
.vf input[type="text"], .vf input[type="email"], .vf input[type="tel"], .vf input[type="url"], .vf select, .vf textarea { display: block; width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; min-height: 44px; border: 1.5px solid #8a948e; border-radius: 10px; background: #fff; color: var(--ink); }
.vf textarea { resize: vertical; }
.vf input:focus, .vf select:focus, .vf textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.vf [aria-invalid="true"] { border-color: #b91c1c; border-width: 2px; }
.vf-error { margin: 6px 0 0; color: #b91c1c; font-weight: 600; font-size: .92rem; }
.vf-group { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px 4px; margin: 0 0 14px; min-width: 0; }
.vf-group > legend { font-weight: 700; padding: 0 4px; }
.vf-group .vf-group { border: 0; padding: 0; margin: 0 0 12px; }
.vf-group .vf-group > legend { font-weight: 600; padding: 0; }
.vf-ticks { display: grid; grid-template-columns: 1fr; gap: 2px 12px; margin: 4px 0 8px; }
@media (min-width: 560px) { .vf-ticks { grid-template-columns: 1fr 1fr; } }
.vf-tick { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 400; }
.vf-tick input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--green-2); }
.vf-works { font-weight: 600; }
.vf-pair { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .vf-pair { grid-template-columns: 1fr 1fr; } }
.vf-intro, .vf-venue { margin: 0 0 12px; }
.vf-arrive { margin: 0 0 12px; font-weight: 600; }
.vf-money { display: flex; align-items: center; gap: 6px; }
.vf-money > span { font-weight: 600; }
.vf-format[hidden] { display: none; }
.vf-options { list-style: none; margin: 4px 0 0; padding: 4px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; max-height: 300px; overflow-y: auto; box-shadow: var(--shadow); }
.vf-options li { padding: 10px; min-height: 44px; box-sizing: border-box; border-radius: 8px; cursor: pointer; }
.vf-options li:hover, .vf-options li[aria-selected="true"] { background: #e7f3ec; outline: 2px solid var(--green-2); }
.vf-count:empty { display: none; }
.vf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vf-done { border-top: 1px solid var(--line); padding-top: 12px; }
.vf-done h3 { margin: 0 0 6px; }
.vf-done h3:focus { outline: none; }
.vf-q { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.vf-q h4 { margin: 0 0 6px; }
.vf-q h4:focus, .vf-qthanks:focus { outline: none; }
.vf-sending:empty { display: none; }
/* Course filters: one slim row of small pills under the activity chips, shown while "Play a round" is ticked. */
.course-row { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; align-items: center; }
.course-row[hidden], .cr-set[hidden] { display: none; }
.cr-set { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cr-label { font-size: .8rem; font-weight: 600; color: #4b5563; margin-right: 2px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 3px 10px; border: 1.5px solid #c9d1cc; border-radius: 999px; cursor: pointer; background: #fff; font-size: .82rem; line-height: 1.4; user-select: none; }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
/* the folded phone form hides everything but the summary line and the Filters panel; the row stays, so access and group can change */
form.finder.collapsed > .course-row.course-row:not([hidden]) { display: flex; }
/* phone: the labels give way so each group stays on one line (two lines in all); screen readers still hear them */
@media (max-width: 640px) {
  .course-row { gap: 6px; }
  .cr-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cr-set { gap: 4px; }
  .more-grid .cr-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .pill span { padding: 3px 9px; font-size: .8rem; }
}
/* ---------------------------------------------------------------- venue page tidy
   One quiet line instead of the three form cards (src/pages-forms.js), "What’s here" inside Before you go, and the hours and
   forecast gathered with the facts. The two-column desktop layout is the one @media (min-width: 1000px) block at the end of this section. */
.vf-quiet { margin: 18px 0 8px; }
.vf-line { margin: 0; color: var(--muted); }
.vf-line a { font-weight: 700; }
.vf-part { display: block; }
.vf-dot { display: none; }
@media (min-width: 561px) { .vf-part { display: inline; } .vf-dot { display: inline; } }
.vf-inline { margin: 10px 0 0; }
.vf-inline > summary { display: none; }
.before-go .facil-list { margin: 0; columns: 2 150px; column-gap: 14px; }
.before-go .facil-list.act-facts { columns: 1; }   /* an activity section is one column, one fact a line, on the same left edge as the other values */
.facil-list.act-inline li { display: inline; }   /* every fact short: they share a line, separated by a middle dot */
.facil-list.act-inline li + li::before { content: " \00b7  "; white-space: pre; }   /* two spaces after the escape: the first only ends it */
.hours-rows { list-style: none; margin: 0; padding: 0; }
.before-go .facil-list + .facil-list { margin-top: 6px; }
/* An activity section (Driving range, Mini golf, Indoor golf): plain words, no icon, so the first line starts where every other value starts and sits on the label's line. */
.facil-list.act-facts li, .facil-list.act-facts li.no-icon { padding: 0 0 3px 0; }
.before-go .bg-map { margin-top: 4px; font-size: .8rem; color: var(--muted); }



/* ---- sending animation ---- */
/* Sending animation (18 Nov 2026, BACKLOG 2.12): a golf ball rolls into a cup beside "Sending ... This takes a few seconds." on the quote and venue forms. Still when reduced motion is on. */
.ge-sending:not(:empty), .vf-sending:not(:empty) { display: flex; align-items: center; gap: 10px; min-height: 52px; }
.sendball { flex: none; width: 112px; height: 52px; }
.sendball .sb-turf { fill: var(--green-soft); stroke: var(--green-2); stroke-width: 1.5; }
.sendball .sb-cup { fill: var(--ink); }
.sendball .sb-pole { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; fill: none; }
.sendball .sb-flag { fill: #ea580c; }
.sendball .sb-ball circle:first-child { fill: #fff; stroke: #7b8680; stroke-width: 1.5; }
.sendball .sb-dim { fill: #b9c2bd; }
.sendball .sb-ball { transform-box: fill-box; transform-origin: center; animation: sb-roll 2.4s ease-in infinite; }
@keyframes sb-roll {
  0% { transform: translateX(0) rotate(0); opacity: 1; }
  68% { transform: translateX(68px) rotate(540deg); opacity: 1; }
  82% { transform: translateX(80px) translateY(8px) rotate(600deg) scale(.7); opacity: 1; }
  90% { transform: translateX(82px) translateY(11px) scale(.5); opacity: 0; }
  100% { transform: translateX(0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .sendball .sb-ball { animation: none; transform: translateX(68px); } }

/* ---- one search box (19 Nov 2026) ---- */
/* The home page's search box suggests places (cities and tourism regions), suburbs and postcodes, and venues, in that order, each
   group under a small heading. A place reads "Hunter (NSW)" with "Region" or "City" beside it, on one line. */
.suggest li.sg-area { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; padding: 11px 10px; }
.suggest .sg-area .sg-sub { display: inline; }
.suggest li.sg-place { padding: 11px 10px; }
/* the line "Only 2 venues in the Hunter are open tonight ..." and its link stay readable on a phone */
.status .linkish[data-showall] { text-align: left; min-height: 44px; }

/* ---- group events use the one search box (20 Nov 2026) ---- */
/* The place box on /group-events/ is the home page's combobox: the same rules apply, plus room for the clear button, and the
   distance choice (only for a suburb, postcode or city) stays small. */
.ge-filters .combo input:not(:placeholder-shown) { padding-right: 48px; }
.ge-row[hidden] { display: none; }
.ge-row { font-size: .95rem; }
.ge-row select { min-height: 38px; padding-top: 4px; padding-bottom: 4px; }

/* ---- school holiday group (19 Nov 2026) ----
   The phone card rules (name full width with only Compare and the heart beside it, two tags and "+N more", no facility icons) are in the card zones block near the end of this file. */
/* School holiday group: a fourth occasion button, and the holiday sentences (shown by the season script on the holiday days only) */
@media (min-width: 640px) { .ge-occ-btns { grid-template-columns: repeat(3, 1fr); } }
.ge-b-hol { margin: 6px 0 0; font-weight: 700; color: #831843; }
.ge-b-hol a { color: #9d174d; }
.ge-hol { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #fdf2f8; box-shadow: inset 0 0 0 2px #fbcfe8; font-weight: 700; color: #831843; }
.ge-hol[hidden], .ge-b-hol[hidden] { display: none; }
.ge-hol a { color: #9d174d; }

/* ---- home categories (19 Nov 2026) ---- */
/* Four cards under the hero: mini golf, driving ranges, indoor golf, golf courses, each with its live count (src/pages-national.js).
   2 by 2 on a phone, 4 across from 1024 px. The icon is the same coloured tile as everywhere else. Hidden while search results show. */
.home-cats { margin: 18px 0 0; }
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  color: var(--ink); text-decoration: none; box-shadow: 0 1px 3px rgba(15,23,42,.08), 0 4px 14px rgba(15,23,42,.04); transition: box-shadow .15s, transform .15s, border-color .15s; }
.cat:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(15,23,42,.10); color: var(--ink); }
.cat:hover b { text-decoration: underline; }
.cat-mini:hover { border-color: #8b5cf6; } .cat-range:hover { border-color: #ea580c; } .cat-indoor:hover { border-color: #3b82f6; } .cat-course:hover { border-color: #16a34a; }
.cat .cat-ic { flex: none; width: 48px; height: 48px; }
.cat-text { min-width: 0; }
.cat-text b { display: block; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.cat-text small { display: block; margin-top: 2px; font-size: .9375rem; color: var(--muted); }
.ny-off .home-cats { display: none; }
/* From 600 px each card is a row (icon left, title and count right, centred), about 80 px tall; 2 by 2 until 1024 px. */
@media (min-width: 600px) {
  .cat { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
}
@media (min-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .cat { gap: 12px; }
}

/* ---- streamline lists (19 Nov 2026): no repeated type label, state page suburbs behind one tap ---- */
/* A list where every card is the same activity names it in the heading, so the card leaves the label off (G.venueCard hideType). With nothing else in the line, the line goes. */
.card .type-line.is-same:empty { display: none; }
/* "Show all suburbs" on a state page: a native details, so it works without JavaScript and the links stay in the page. */
.subs-more { margin-top: 4px; border-top: 0; padding-top: 0; }
.subs-more > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.subs-more[open] > summary { margin-bottom: 8px; }

/* ---- venue page: address under the name, contact list, one facts list, one group block (19 Nov 2026) ---- */
.venue-head { gap: 12px; align-items: flex-start; }
.venue-head .tile { margin-top: 4px; }
.venue-hmain { flex: 1; min-width: 0; }
.venue-head h1 { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 639px) { .venue-head .tile.big { width: 40px; height: 40px; } }
.venue-addr { display: inline-flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; font-weight: 600; color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; }
.venue-addr .pin { flex: none; margin-top: 2px; }
.venue .lede { font-size: 1rem; margin: 8px 0 0; }
.venue-top > .card-meta { margin-top: 8px; }
.save-btn.heart { flex: none; width: 40px; height: 40px; min-width: 40px; border: 1px solid var(--line); box-shadow: none; color: #be123c; }
.save-btn.heart .save-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.save-btn.heart[aria-pressed=true] svg { fill: currentColor; }
.venue-top { display: block; }
/* The contact block (24 Nov 2026; redone 25 Nov 2026, design review item 3, mock-up 3): a small white card holding one filled green primary button (Book online, else
   Website, else Call) and quiet rows under it (icon, word, then the number or address on the right). Full width and first on a phone; from 900 px a 340 px card at the
   right with the facts beside it. The icons are the owner's (call, book, website, email). */
.venue-contact { margin-top: 16px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; }
.contact-list li { border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; }
.cl { display: flex; align-items: center; gap: 10px; box-sizing: border-box; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.cl:hover .cl-n { text-decoration: underline; }
.cl:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.cl-ic { flex: none; width: 20px; height: 20px; display: grid; place-items: center; color: var(--green); }
.cl-ic svg { width: 18px; height: 18px; padding: 0; background: none; }
.cl-t { font-size: .95rem; }
.cl-n { margin-left: auto; min-width: 0; text-align: right; overflow-wrap: anywhere; color: var(--green); font-weight: 650; font-size: .95rem; }
.cl-v { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.cl-lead .cl { justify-content: center; }
.cl-lead .cl-v { flex: none; justify-content: center; gap: 0; }
.cl-lead .cl-n { margin-left: 0; color: #fff; font-weight: 700; font-size: 1.05rem; }
.cl-lead .cl { justify-content: center; min-height: 52px; padding: 10px 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; font-size: 1.05rem; }
.cl-lead .cl:hover { background: #166534; }
.cl-lead .cl-ic { width: 22px; height: 22px; color: #fff; }
.cl-lead .cl-ic svg { width: 20px; height: 20px; }
.cl-lead .cl-t { font-size: 1.05rem; }
.cl-lead .cl:focus-visible { outline-offset: 3px; border-radius: 999px; }
@media (min-width: 900px) {
  .venue-top { display: flow-root; }
  .venue-contact { float: right; width: 340px; margin: 0 0 16px 24px; }
  .venue-top .venue-main { display: flow-root; }
}
.gear-row { display: inline-flex; gap: 9px; align-items: center; }
.gear-row .fi { flex: none; width: 22px; height: 22px; display: block; }
.src-line { margin: 16px 0 0; }
.venue-hours h2 { margin: 16px 0 6px; font-size: 1.15rem; }
.venue-hours .hours { margin: 0; padding-left: 0; list-style: none; }
.venue-hours .hours li { padding: 2px 0; line-height: 1.4; }
.venue-hours .small { margin: 6px 0 0; }
.hours-none { margin: 12px 0 0; }
.thin-note { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.thin-tip { margin: 4px 0 0; }
.ge-venue .ge-b-note { font-size: .95rem; }
/* Normal text colour, not the muted grey: muted (#6b7280) on the banner's pink end (#fdf2f8) is 4.43:1, under 4.5 (22 Nov, BACKLOG 2.36). */
.ge-venue .ge-b-free { color: var(--ink); font-size: .9rem; }
.ge-venue h2.ge-b-h { margin: 0; }

/* ---- filters hold distance and sort (20 Nov 2026): the first row of the Filters panel, on phones and desktop alike ---- */
.filters-panel .panel-main { margin-top: 10px; align-items: center; gap: 10px 16px; }
.filters-panel .panel-main label { display: inline-flex; align-items: center; gap: 4px; }

/* ---- card price units (20 Nov 2026): "From $11 per person for 30 minutes (4 sharing)" inside the one price chip ---- */
.price .price-unit { font-weight: 400; }
.price:has(.price-unit) { max-width: 100%; border-radius: 14px; line-height: 1.3; }
/* per-activity prices (22 Nov 2026): the quiet "+ 18 holes" hint after a labelled price, and one cost line per activity on a venue page */
.price-also { display: inline-block; font-size: .75rem; color: #6b7280; align-self: center; }
.cost-line { display: block; }
.cost-line + .cost-line { margin-top: 6px; }
.cost-act { font-weight: 600; margin-right: 6px; }

/* ---- card zones (BACKLOG 27, built 23 Nov 2026) ----
   One card, the same zones in the same order everywhere (src/model.js venueCard): (a) the name row, with Compare and the save heart at its far right;
   (b) the status row: the trust pill ("Verified by venue" or "Checked"), then Open now or Closed now; (c) the place row: activity, suburb, distance;
   (d) the price pill with its unit; (e) the tags; (f) the "Also here" line. The default below is the stacked layout (phones, the narrow
   home rows and the nearby tiles on venue pages): the price is a full-width pill under the place row. From 641 px, where a card is wide enough
   (every list page, search results, saved), the price moves to the top right of the card body, level with the status row. */
.card-main { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 6px; align-content: start; }
.card-main > .card-meta, .card-main > .card-tags, .card-main > .rl-also, .card-main > .card-note { margin: 0; }
.card-info { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "status" "meta" "price"; row-gap: 6px; align-items: start; }
.card-info > .card-status { grid-area: status; }
.card-info > .card-meta { grid-area: meta; }
.card-info > .card-price { grid-area: price; }
.card-status, .ge-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.card-status > .badge, .ge-status > .badge { font-size: .78rem; }
.card .card-meta { gap: 2px 10px; align-items: baseline; }
.card .card-meta .type-line { flex-wrap: wrap; row-gap: 2px; }
.card .card-meta .dist-i { font-weight: 700; color: var(--green-2); white-space: nowrap; }
.card .card-meta .sub, .card .card-meta .bits { min-width: 0; }
/* the trust pill for a checked venue: the black-outlined circle with a tick, then the word */
.trust-pill { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: 2px 9px 2px 3px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #bbb; }
.trust-pill .trust-tick { width: 16px; height: 16px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.trust-pill .trust-tick svg { width: 10px; height: 10px; }
.card-status > .badge.ok.trust { line-height: 1.3; }
/* Open now: a green dot and the word; Closed now: muted, no dot (never red) */
.card .open-badge, .ge-status .open-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; line-height: 1.3; padding: 2px 9px; }
.card .open-badge[hidden], .ge-status .open-badge[hidden] { display: none; }
.card .open-badge.is-open, .ge-status .open-badge.is-open { background: var(--green-soft); color: var(--green-2); }
.card .open-badge.is-open::before, .ge-status .open-badge.is-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); flex: none; }
.card .open-badge.is-closed, .ge-status .open-badge.is-closed { background: #eef2ef; color: var(--muted); }
/* the price: no fill (the card's white shows through), a thin warm border (#ea580c, 3.56:1 on white) and dark warm text (#9a3412, 7.31:1 on white), the amount bold and the unit plain, the height of the other pills (23 Nov 2026: the solid block was too heavy, then the tint) */
.card-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.card-price .price { display: block; box-sizing: border-box; width: auto; max-width: 100%; font-size: .8rem; font-weight: 800; line-height: 1.3; padding: 2px 9px; border-radius: 999px; background: transparent; color: #9a3412; border: 1px solid #ea580c; box-shadow: none; }
.card-price .price:has(.price-unit) { border-radius: 12px; }
.card-price .price .price-unit { font-size: .8rem; font-weight: 400; }
.card-price .price-also { align-self: flex-start; }
.price-cmp { display: block; font-size: .72rem; line-height: 1.3; color: #6b7280; }
.before-go .cost-cmp { color: #6b7280; font-size: .85em; }
/* the standard price fields of a kind on the venue page (BACKLOG 50): a small table, then the one Price notes line */
.cost-table { border-collapse: collapse; margin: 2px 0 4px; }
.cost-table th { font-weight: 400; text-align: left; padding: 1px 18px 1px 0; }
.cost-table td { font-weight: 700; padding: 1px 0; }
.before-go .cost-notes { color: #4b5563; }
/* tags: calm, one row of chips; the facility icons follow them */
.card-tags { margin-top: 0; align-items: center; gap: 6px; }
.card-tags .tag-more { display: none; font-size: .8rem; color: var(--muted); }
.card-tags .amen { display: inline-flex; align-items: center; gap: 6px; margin-left: 2px; }
@media (min-width: 641px) {
  .cards:not(.ny-cards, article.venue .cards) .card-info { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "status price" "meta price"; column-gap: 12px; }   /* the price spans both rows, so a tall one (a long unit) never pushes the place row down */
  .cards:not(.ny-cards, article.venue .cards) .card-info:not(:has(> .card-status)) { grid-template-areas: "meta price"; }
  .cards:not(.ny-cards, article.venue .cards) .card-info > .card-price { align-items: flex-end; align-self: start; justify-self: end; max-width: 15rem; margin-top: 2px; }
  .cards:not(.ny-cards, article.venue .cards) .card-info > .card-price .price { width: auto; text-align: right; }
}
/* phones: the bits line (holes, access) is left off, except on the type list pages, where access is what a visitor needs */
@media (max-width: 640px) {
  .card .card-meta { gap: 2px 8px; }
  .card .card-meta .bits { display: none; }
  [data-rl] .card .card-meta .bits { display: block; flex: 0 0 100%; order: 5; }
  .card .also { display: none; }
  .card .card-tags > :nth-child(n+4):not(.tag-more), .card .card-tags .amen { display: none; }   /* the first three tags, then a quiet "+N more" */
  .card .card-tags .tag-more { display: inline; }
}

/* ---- the leaner venue card (25 Nov 2026, design review item 2, owner-approved mock-up 2) ----
   The same card everywhere (G.venueCard), drawn as: name; one muted line (kind, suburb, distance); status and up to three tags as one muted line
   ("Open now" in green, then "Kids, Groups, Beginners +2 more"); the price as plain text (bold amount, the unit muted); and "+ Compare" as a
   text control at the bottom right. About 110 px tall on a phone. The markup is unchanged: only the look. Gone from cards (still on the venue page): the coloured
   tag chips, the food, bar and club icons, the "Also here" line and "Works out at ..." under the price (the gold Verified shield stays; the black Checked tick came back as a 16 px mark, see below). From 641 px the price is at the top right beside the heart, as in the mock-up. */
.card .card-main { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0; row-gap: 2px; align-content: start; position: static; }
.card .card-main > *, .card .card-main > .card-info > .card-meta, .card .card-main > .card-info > .card-price { grid-column: 1 / span 2; }
.card .card-info { display: contents; }
.card .card-main > .card-title { grid-row: 1; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.card .card-main > .card-info > .card-meta { grid-row: 2; margin: 0; font-size: .88rem; color: var(--muted); gap: 0; align-items: baseline; }
.card .card-main > .card-info > .card-status { grid-row: 3; grid-column: 1; margin: 0; font-size: .88rem; gap: 0 6px; flex-wrap: nowrap; }
.card .card-main > .card-tags { grid-row: 3; grid-column: 2; margin: 0; min-width: 0; font-size: .88rem; color: var(--muted); gap: 0 5px; align-items: baseline; }
.card .card-main > .card-info > .card-price { grid-row: 4; margin: 2px 0 0; padding-right: 104px; align-items: flex-start; max-width: none; }
.card .card-main > .card-info > .card-status:not(:has(> :not([hidden]))) { display: none; }
.card .card-main:not(:has(.card-price))::after { content: ""; grid-row: 4; height: 22px; }
/* the meta line: kind and also-kinds, suburb, distance, then holes or access, separated by middle dots */
.card .card-meta .type-line { font-weight: 500; color: #4b5563; }
.card .card-meta .type-line .also-kinds { font-weight: 400; }
.card .card-meta > .type-line:not(:empty) + .sub::before, .card .card-meta > .sub ~ span::before { content: "\00b7"; margin: 0 6px; color: var(--muted); }
.card .card-meta .dist-i { font-weight: 700; color: var(--green-2); white-space: nowrap; }   /* the km away keeps its bold green, as before the leaner card (owner, 25 Nov 2026) */
.card .card-meta .bits { display: none; }
[data-rl] .card .card-meta .bits { display: block; flex: 0 0 100%; order: 5; }
/* status: plain words, no pill. Open now in green, Closed now muted */
.card .open-badge, .ge-status .open-badge { padding: 0; border-radius: 0; background: none; font-size: .88rem; }
.card .open-badge.is-open { background: none; color: #166534; font-weight: 600; }
.card .open-badge.is-open::before { content: none; }
.card .open-badge.is-closed { background: none; color: var(--muted); font-weight: 400; }
.card .card-main > .card-info > .card-status::after { content: "\00b7"; color: var(--muted); margin: 0 5px 0 0; }
.card .card-main:not(:has(> .card-tags)) > .card-info > .card-status::after { content: none; }
/* tags: one muted line, three at most, then "+N more" */
.card .card-tags { display: flex; flex-wrap: wrap; }
.card .card-tags > span:not(.sp-wrap):not(.amen):not(.tag-more) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: .88rem; font-weight: 400; line-height: inherit; white-space: normal; min-width: 0; }   /* a long tag ("Open until 1 am on Fridays and Saturdays") wraps, never widens the page */
.card .card-tags > span:not(.sp-wrap):not(.amen):not(.tag-more):has(~ span:not(.amen):not(.tag-more)):not(:nth-child(3))::after { content: ","; }
.card .card-tags > :where(span:not(.sp-wrap):not(.amen):not(.tag-more)) { display: inline; }
.card .card-tags .gi { display: none; }
.card .card-tags .sp-wrap { flex: none; }
.card .card-tags .sp-chip { font-size: .72rem; padding: 0 8px; }
.card .card-tags > :nth-child(n+4):not(.tag-more), .card .card-tags .amen { display: none; }
.card .card-tags .tag-more { display: inline; font-size: .88rem; color: var(--muted); }
.card .also, .card .rl-also { display: none; }
.card .card-note { margin: 2px 0 0; font-size: .85rem; font-weight: 400; color: var(--muted); }
/* the price: plain text, a bold amount and the unit beside it in muted words */
.card .card-price .price { display: inline; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.3; text-align: left; }
.card .card-price .price .price-unit { display: inline; font-size: .85rem; font-weight: 400; color: var(--muted); }
.card .card-price .price-also, .card .card-price .price-cmp { display: none; }
/* The black Checked tick is back (25 Nov 2026): a small quiet 16 px mark on the icon's top right corner, with no pill and no extra height (the card-marks stack stays for the gold shield under the icon). */
.card .card-side { position: relative; }
.card .card-marks .trust-tick { display: inline-flex; position: absolute; top: -5px; right: -5px; width: 16px; height: 16px; box-shadow: 0 0 0 2px #fff, inset 0 0 0 1.5px var(--ink); }
.card .card-marks .trust-tick svg { width: 10px; height: 10px; }
/* A verified venue (owner, 25 Nov 2026: "more grand", under the icon): the activity icon gets a gold ring, and under it sits the large gold shield
   with the word Verified, so it reads as an award rather than a tick. The black Checked tick stays in the corner for checked venues only. */
.card .card-side:has(.mark-shield) .tile { border-radius: 50%; box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--verified-gold), 0 2px 10px rgba(217,119,6,.35); }
.card .card-marks .mark-shield { position: static; display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 8px; }
.card .card-marks .mark-shield svg { width: 30px; height: 30px; display: block; filter: drop-shadow(0 1px 2px rgba(217,119,6,.25)); }
.card .card-marks .mark-shield-t { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #b7791f; line-height: 1; }
/* The card shield is white with a gold edge and a gold tick (owner, 25 Nov 2026: less dark orange, white fill); the shared mark elsewhere is unchanged. */
.card .card-marks .mark-shield svg path:first-child { fill: #fff; stroke: #f59e0b; }
.card .card-marks .mark-shield svg path:nth-child(2) { stroke: #f59e0b; stroke-opacity: .5; }
.card .card-marks .mark-shield svg path:last-child { stroke: #e3a008; }
.card .card-marks:has(.mark-shield) .trust-tick { display: none; }
/* Compare: a text control at the bottom right. Still a real checkbox (kept in the card, invisible, filling the control so the whole word is its tap target), with the visible word Compare */
.card .card-main > .cmp-pick { position: absolute; right: 14px; bottom: 0; z-index: 3; display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; box-sizing: border-box; width: auto; min-height: 44px; margin: 0; padding: 0 6px 0 10px; border: 0; border-radius: 999px; background: none; box-shadow: none; color: var(--green); font-size: .88rem; font-weight: 600; }
.card .card-main > .cmp-pick:hover { background: var(--green-soft); }
.card .card-main > .cmp-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.card .card-main > .cmp-pick .cmp-pick-t::before { content: "+ "; }
.card .card-main > .cmp-pick:has(input:checked) { background: var(--green-soft); color: var(--green); }
.card .card-main > .cmp-pick:has(input:checked) .cmp-pick-t::before { content: ""; display: inline-block; width: 4px; height: 8px; margin: 0 7px 2px 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.card .card-main > .cmp-pick:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 0; }
@media (min-width: 641px) {
  .cards:not(.ny-cards, article.venue .cards) .card .card-main { grid-template-columns: auto minmax(0, 1fr) auto 48px; min-height: 66px; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-main > .card-title { grid-column: 1 / 3; padding-right: 8px; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-main > .card-info > .card-meta { grid-column: 1 / 3; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-main > .card-tags { grid-column: 2 / 4; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-main > .card-info > .card-price { grid-row: 1 / 3; grid-column: 3; justify-self: end; align-self: start; margin: 0; padding: 0; max-width: 15rem; text-align: right; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-price .price { display: block; text-align: right; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-price .price .price-unit { display: block; font-size: .8rem; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-main:not(:has(.card-price))::after { content: none; }
  .cards:not(.ny-cards, article.venue .cards) .card .card-main > .cmp-pick { min-height: 32px; bottom: 6px; }
}

/* The All filters page (/search/, 25 Nov 2026, BACKLOG 2.58): four big kind choices, the place, then only the chosen kind's filters, each with a count. 44 px targets. */
.more-filters-p { margin: 4px 0 8px; font-size: .95rem; }
.more-filters-row { margin: 8px 2px 0; font-size: .95rem; }
.more-filters, .all-filters-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.filter-bar .all-filters-link { margin-left: 12px; font-size: .9rem; }
@media (max-width: 640px) { .filter-bar .all-filters-link { display: none; } }
@media (min-width: 641px) { .more-filters-row { display: none; } }
.sx { margin-top: 8px; }
.sx fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sx legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.sx-kind-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 700px) { .sx-kind-row { grid-template-columns: repeat(4, 1fr); } }
.sx-kind { --kc: var(--green); display: block; position: relative; }
.sx-kind-mini { --kc: #8b5cf6; } .sx-kind-range { --kc: #ea580c; } .sx-kind-indoor { --kc: #3b82f6; } .sx-kind-course { --kc: #16a34a; }
.sx-kind input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sx-kind-in { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px; background: #fff; border: 2px solid #e5e7eb; border-radius: var(--r); font-weight: 600; box-shadow: var(--shadow); }
.sx-kind-in svg { flex: none; width: 36px; height: 36px; }
.sx-kind-name { line-height: 1.2; }
.sx-kind input:checked + .sx-kind-in { border-color: var(--kc); background: #fff; box-shadow: 0 0 0 2px var(--kc) inset; }
.sx-kind input:focus-visible + .sx-kind-in { outline: 3px solid var(--focus); outline-offset: 2px; }
.sx-n { color: var(--muted); font-weight: 500; font-size: .9em; white-space: nowrap; }
.sx-where { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 14px; margin-top: 18px; }
.sx-where .sx-label { flex: 1 0 100%; font-weight: 700; }
.sx-where .where { flex: 1 1 320px; }
.sx-r { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.sx-r select { min-height: 44px; padding: 0 10px; font: inherit; border: 1.5px solid #c9d1cc; border-radius: 10px; background: #fff; }
.sx-r select:disabled { color: var(--muted); background: #f3f4f1; }
.sx-prompt { margin: 18px 2px; color: var(--muted); }
.sx-panel { margin-top: 22px; }
.sx-panel h2 { margin: 0 0 4px; font-size: 1.25rem; color: var(--green); }
.sx-set { margin-top: 16px; }
.sx-note { margin: 0 0 6px; }
.sx-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 14px; }
.sx-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.sx-opt input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--green); }
.sx-opt.sx-off { color: #6b7570; cursor: default; }
.sx-opt.sx-off .sx-n { color: #6b7570; }
.sx-opt input:disabled { cursor: default; }
.sx-actions { margin: 18px 0 0; }
.sx-status { margin-top: 18px; font-weight: 600; }
#sx-results { margin-top: 10px; }

/* ---- city page top (18 Nov): ideas above the map; from 1000 px the checked list is the left half and the map the right (26 Nov 2026: the map is on the right on every page, as in the finder results) ---- */
.city-split-list > h2:first-child, .city-split-more > h2:first-child { margin-top: 16px; }
@media (min-width: 1000px) {
  .city-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .city-split > .map-city { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 72px; height: calc(100vh - 96px); max-height: 760px; margin: 16px 0 0; }
  .city-split > .city-split-list { grid-column: 1; grid-row: 1; }
  .city-split > .city-split-more { grid-column: 1; grid-row: 2; }
  .city-split .cards, .city-page .city-split .cards { grid-template-columns: 1fr; }
  .city-split .sp-rows, .city-split .city-specials .sp-rows { grid-template-columns: 1fr; }
  /* Every other page with a list and a map (activity and occasion pages for a city, region pages, state lists, /group-events/): the content is the left column and the
     map the right one, sticky, the same as the finder results and the city page. The element that holds the map (#cmap) becomes the two-column grid. */
  *:has(> #cmap.map-city):not(.city-split) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  *:has(> #cmap.map-city):not(.city-split) > * { grid-column: 1; }
  *:has(> #cmap.map-city):not(.city-split) > #cmap { grid-column: 2; grid-row: 1 / span 60; position: sticky; top: 72px; height: calc(100vh - 96px); max-height: 760px; margin: 16px 0 0; }
  *:has(> #cmap.map-city):not(.city-split) .cards { grid-template-columns: 1fr; }
}
/* Venue pages with little data: general guidance for courses, the missing-price note and its quiet prompt (src/course-help.js). */
.before-play { margin: 16px 0 6px; padding: 14px 16px 10px; background: var(--green-soft); border: 1px solid #bbf7d0; border-radius: var(--r); }
.before-play h2 { margin: 0 0 8px; font-size: 1.15rem; }
.before-play p { margin: 8px 0 0; }
.before-play .bp-range { font-weight: 600; }
.price-gap { margin: 12px 0 6px; padding: 10px 14px; border: 1px dashed #d1d5db; border-radius: var(--r); }
.price-gap p { margin: 0; }
.price-gap p + p { margin-top: 6px; }
/* Our own reviews (src/reviews.js, src/review-form.js): the venue page’s Reviews section, the write-a-review form and the card rating. */
.reviews { margin: 8px 0 0; }
.rv-row { position: relative; display: inline-block; color: #d1d5db; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.rv-row .rv-on { position: absolute; left: 0; top: 0; overflow: hidden; color: #b45309; }
.rv-big { font-size: 1.4rem; vertical-align: -2px; margin-right: 6px; }
.rv-summary { margin: 4px 0 12px; }
.rv-write { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin: 0 0 16px; }
.rv-write > summary { cursor: pointer; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.rv-write-title { font-weight: 700; color: var(--green-2); }
.rv-write-blurb { font-size: .9rem; color: var(--muted); }
.rv-write[open] > summary { border-bottom: 1px solid var(--line); }
.rv-body { padding: 12px 14px 14px; }
.rv-nojs { margin: 0; }
.rv-stars-pick { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.rv-star { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.rv-star input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rv-glyph { font-size: 2rem; line-height: 1; color: #6b7280; }
.rv-star.on .rv-glyph { color: #b45309; }
.rv-star:hover .rv-glyph { color: #d97706; }
.rv-star input:focus-visible + .rv-glyph { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.rv-star-word { margin-left: 8px; font-weight: 600; }
.rv-confirm { font-weight: 600; }
.rv-count:empty { display: none; }
.rv-list { list-style: none; margin: 0 0 12px; padding: 0; }
.rv-item { border-top: 1px solid var(--line); padding: 12px 0; }
.rv-item p { margin: 6px 0 0; }
.rv-item .rv-stars { margin: 0; font-size: 1.05rem; }
.rv-title { margin: 6px 0 0; font-size: 1.05rem; }
.rv-by { margin-top: 8px; }
.rv-other { margin: 16px 0 8px; font-size: 1.05rem; }
.card-rating { color: #92400e; font-weight: 600; white-space: nowrap; }
.rv-write input[type="text"], .rv-write input[type="email"], .rv-write select, .rv-write textarea { display: block; width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; min-height: 44px; border: 1.5px solid #8a948e; border-radius: 10px; background: #fff; color: var(--ink); }
.rv-write textarea { resize: vertical; }
.rv-write input:focus, .rv-write select:focus, .rv-write textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.rv-write [aria-invalid="true"] { border-color: #b91c1c; border-width: 2px; }
.rv-write fieldset.rv-rating[aria-invalid="true"], .rv-stars-pick input[aria-invalid="true"] + .rv-glyph { color: #b91c1c; }

/* "What do you need?" pills on /group-events/ (shown for the chosen kind of event; a pill is hidden when too few venues carry it) */
.ge-needs { flex: 1 1 100%; border: 0; margin: 0; padding: 0; min-width: 0; }
.ge-needs[hidden] { display: none; }
.ge-needs legend { padding: 0 0 6px; font-weight: 650; }
.ge-need-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ge-need-list li[hidden] { display: none; }
.ge-need-list label { position: relative; display: block; }
.ge-need-list input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ge-need-list span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px; border: 2px solid #e5e7eb; border-radius: 999px; font-weight: 600; background: #fff; }
.ge-need-list input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.ge-need-list input:checked + span::before { content: "\2713"; font-weight: 800; }
.ge-need-list input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Save a venue on this device, and the newsletter box (18 Nov 2026; src/save.js, src/newsletter.js). No "----" header: test/city-top.test.js wants its block to be the last one with one. */
.save-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer;
  border: 0; color: #be185d; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.12); min-width: 36px; min-height: 36px; padding: 0; border-radius: 999px; }
.save-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; flex: none; }
.save-btn[aria-pressed=true] svg { fill: currentColor; }
.save-btn:hover { background: #fdf2f8; }
.save-btn:focus-visible { outline: 3px solid #14532d; outline-offset: 2px; }
/* on a card: top right, above the whole-card link; the words are for screen readers (the label carries the name) */
.card .save-btn { position: absolute; top: 6px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
/* The heart is a 40 px circle at the top right (44 px on phones). The Compare tick box (.cmp-pick) is not up here: it is the last row of the card's text (24 Nov 2026), so the name keeps its width. */
.card .save-btn { right: 8px; }
.card .save-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
@media (max-width: 640px) {
  .card .save-btn { top: 2px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }   /* 44 px tap target for the heart */
  .card .save-btn { right: 4px; }
}
.card .save-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card:has(> .save-btn) .card-title { display: block; padding-right: 52px; }
.saved-row .ny-all { background: none; border: 0; padding: 0; font: inherit; font-weight: 650; color: var(--green-2, #166534); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.news { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.news-text { flex: 1 1 260px; min-width: 0; }
.news-h { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.news-text p { margin: 2px 0 0; font-size: .92rem; }
.news-form { flex: 1 1 320px; min-width: 0; }
.news-row { display: flex; gap: 8px; flex-wrap: wrap; }
.news-email { flex: 1 1 200px; min-width: 0; font: inherit; padding: 10px 12px; border: 1.5px solid #cbd5e1; border-radius: 12px; min-height: 44px; background: #fff; color: #0f172a; }
.news-go { min-height: 44px; }
.news-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-msg { margin: 6px 0 0; font-weight: 600; font-size: .92rem; min-height: 0; }
.news-msg:empty { display: none; }
.news-form.is-done .news-row, .news-form.is-done .news-note { display: none; }
.news-note { margin: 6px 0 0; }
.news-footer { padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.18); color: #e2e8f0; }
.news-footer .news-msg.is-bad { color: #fecaca; }
.news-footer .news-msg.is-ok { color: #bbf7d0; }
.news-footer .news-note { color: #cbd5e1; }
.news-home { margin: 26px 0; padding: 22px 20px; border-radius: 20px; background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%); box-shadow: inset 0 0 0 2px #bbf7d0; }
.news-home .news-h { font-size: 1.35rem; color: #14532d; }
.news-home .news-text p { font-size: 1rem; }
.news-home .news-msg.is-ok { color: #166534; }
.news-home .news-msg.is-bad { color: #b91c1c; }

/* Venue photos. The main one (src/photos.js) sits above the name: edge to edge and about a third of the screen tall on a phone,
   a banner within the page on a wider screen, 360 px tall at most (220 px on a phone). The rest scroll sideways and snap. Cards show a thumbnail in the activity
   tile's place (src/model.js cardTile), with the activity icon as a small badge in the corner. */
.vphoto { margin: 0; }
.vphoto img { display: block; width: 100%; background: #e8efe9; object-fit: cover; }
.vphoto-credit { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.vphoto-credit a { color: inherit; }
.vphoto-main { margin: 0 -16px 16px; }
.vphoto-main img { height: auto; aspect-ratio: 16 / 9; }   /* 16:9 on a phone (24 Nov 2026); object-fit: cover crops a different shape, object-position is the photo's optional focus point */
.vphoto-main .vphoto-credit { padding: 0 16px; }
/* No photo yet (BACKLOG 2.28): a flat scene for the venue's kind in the photo's place, 16:9, with the owner link under it. */
.vphoto .art { display: block; width: 100%; height: 33svh; min-height: 160px; max-height: 220px; background: #dff1e5; }
.vphoto .art-wide { display: none; }   /* the wide scene is for 700 px and up */
.vphoto-owner { font-size: .8rem; }
.vphoto-owner a { color: var(--green-2, #166534); text-decoration: underline; }
@media (min-width: 700px) {
  .vphoto-main { margin: 0 0 16px; }
  .vphoto-main img { aspect-ratio: 3 / 1; max-height: 400px; border-radius: var(--r); }   /* a full-width band about 3:1, 400 px at most; object-fit: cover from .vphoto img crops the picture to it */
  .vphoto-main .vphoto-credit { padding: 0; }
  .vphoto .art-sq { display: none; }
  .vphoto .art-wide { display: block; width: 100%; height: 200px; max-height: 200px; border-radius: var(--r); }   /* wide screens (24 Nov 2026): the wide scene as a full-width band, 200 px high; slice crops only the edge scenery */
}
/* No photo: the artwork is a small strip (84 px) inside the content column, so the page does not advertise the missing photo (25 Nov 2026). A page with a photo keeps the full header. */
.vphoto.vphoto-art.vphoto-main { margin: 0 0 12px; }
.vphoto.vphoto-art .art, .vphoto.vphoto-art .art-wide { height: 84px; min-height: 0; max-height: 84px; border-radius: var(--r); }
.vgallery { margin: 24px 0; }
.vgal { list-style: none; margin: 0; padding: 2px 0 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.vgal:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.vgal-item { flex: 0 0 min(82%, 440px); scroll-snap-align: start; }
.vgal-item figure { margin: 0; }
.vgal-item img { display: block; width: 100%; object-fit: cover; background: #e8efe9; height: auto; aspect-ratio: 3 / 2; border-radius: var(--r); }
.tile-photo { position: relative; }
.card .tile-photo .tph { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: #e8efe9; }
.card .tile-photo .tb { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 7px; box-shadow: 0 0 0 2px #fff; }

/* Venue names in the search box (18 Nov): the suggestion list has two labelled groups, "Places to play" (venues, with the
   activity tile) and "Suburbs and postcodes"; below the results of a place search, a "Looking for a venue?" line. */
.suggest .sg-group { padding: 0; cursor: default; border-radius: 0; }
.suggest .sg-group:hover { background: none; }
.suggest .sg-group + .sg-group { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 4px; }
.suggest .sg-head { display: block; padding: 6px 10px 2px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #5b6b60); }
.suggest .sg-list { margin: 0; padding: 0; list-style: none; }
.suggest .sg-venue { display: flex; align-items: center; gap: 10px; }
.suggest .sg-tile { width: 28px; height: 28px; }
.suggest .sg-text { min-width: 0; display: block; }
.suggest .sg-name { font-weight: 600; overflow-wrap: anywhere; }
.suggest .sg-sub { display: block; font-size: .875rem; color: var(--muted, #5b6b60); }
.name-hint { margin: 4px 0 8px; font-size: .9375rem; }
#suggest, #ge-suggest { max-height: min(440px, 62vh); }
.suggest li.sg-venue { padding: 7px 10px; }
/* Compare up to 3 venues (src/compare.js, src/compare-view.js): the toggle beside the heart, the bar at the foot of the page and the table. Palette colours only. */
.cmp-pick { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .875rem; font-weight: 650; line-height: 1.2; cursor: pointer; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.cmp-pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); flex: none; cursor: pointer; }
.cmp-pick:hover { background: var(--green-soft); }
.cmp-pick:has(input:checked) { background: var(--green-soft); border-color: var(--green-2); color: var(--green); }
.cmp-pick:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
/* The tick box is its own row at the foot of the card, left aligned with the text: a card's text block (.card-main) or a group events card (.ge-card). 44 px tall to tap; the row sits a little up into the gap so the card grows by about 40 px, not 50. */
.card-main > .cmp-pick, .ge-card > .cmp-pick { position: relative; z-index: 3; display: flex; width: fit-content; max-width: 100%; margin: -4px 0 0; padding: 0 12px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ge-card > .cmp-pick { margin-top: 6px; }
.card-main > .cmp-pick:hover, .ge-card > .cmp-pick:hover { background: none; }
/* One Compare control everywhere (owner, 25 Nov 2026: "some are still ticks"): the green "+ Compare" text pill from the leaner card, on group events
   cards, the suggested row, map popups and the venue page's nearby cards too. The checkbox stays real (it fills the pill, invisible), so it works
   by keyboard and screen reader; ticked, the pill turns soft green and the plus becomes a tick. The card's own rules above only place it. */
.cmp-pick, .card-main > .cmp-pick, .ge-card > .cmp-pick, .ge-sug-row .cmp-pick { position: relative; display: inline-flex; align-items: center; gap: 5px; width: auto; min-height: 44px; padding: 0 10px; border: 0; border-radius: 999px; background: none; box-shadow: none; color: var(--green); font-size: .88rem; font-weight: 600; cursor: pointer; }
.cmp-pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cmp-pick .cmp-pick-t::before { content: "+ "; }
.cmp-pick:hover, .card-main > .cmp-pick:hover, .ge-card > .cmp-pick:hover { background: var(--green-soft); }
.cmp-pick:has(input:checked) { background: var(--green-soft); border-color: transparent; color: var(--green); }
.cmp-pick:has(input:checked) .cmp-pick-t::before { content: ""; display: inline-block; width: 4px; height: 8px; margin: 0 7px 2px 2px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cmp-pick:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 0; }
.cmp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15,23,42,.10); }
body { padding-bottom: var(--cmp-bar-h, 0px); }
.cmp-bar[hidden] { display: none; }
.cmp-bar-in { max-width: 928px; margin: 0 auto; }
.cmp-bar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cmp-count { margin: 0; color: var(--green); }
.cmp-go[disabled] { background: var(--muted); cursor: not-allowed; }
.cmp-bar-chips { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cmp-chips { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cmp-chip { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); padding-left: 12px; }
.cmp-chip-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 600; max-width: 14em; }
.cmp-chip-x, .cmp-clear { min-height: 44px; min-width: 44px; background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cmp-chip-x svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.cmp-clear { flex: none; font-weight: 650; color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px; }
.cmp-chip-x:focus-visible, .cmp-clear:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 999px; }
.cmp-hint, .cmp-note { margin: 2px 0 0; min-height: 0; color: var(--ink); }
.cmp-hint:empty, .cmp-note:empty { display: none; }
.cmp-toast:empty { display: none; }
.cmp-toast { position: fixed; left: 16px; right: 16px; bottom: calc(var(--cmp-bar-h, 68px) + 8px); z-index: 41; max-width: 480px; margin: 0 auto; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 12px; }
.cmp-page .cmp-wrap { margin: 12px 0; }
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); overflow-wrap: break-word; }   /* a word breaks only when it is wider than its column */
.cmp-table thead th { border-top: 0; background: #fff; vertical-align: bottom; }
.cmp-table .cmp-corner { width: 22%; }
.cmp-table .cmp-f { font-weight: 650; font-size: .9rem; color: var(--muted); }
.cmp-table .cmp-few td, .cmp-table .cmp-noprice td { padding: 12px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
.cmp-table .cmp-sec th { background: var(--green-soft); color: var(--green); font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; padding: 6px 12px; }
.cmp-name { display: block; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.cmp-sub { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
.cmp-pill { display: block; margin-bottom: 4px; }
.cmp-hrs { display: block; }
.cmp-nw { white-space: nowrap; }
.cmp-here { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--sand); font-size: .8rem; font-weight: 650; }
.cmp-na { color: var(--muted); }
.cmp-extra { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.3; color: var(--muted); }
.cmp-extra a { color: inherit; text-decoration: underline; }
.cmp-k { font-weight: 650; }
.cmp-lines { margin: 0; padding: 0; list-style: none; }
.cmp-lines li + li { margin-top: 4px; }
.cmp-acts { vertical-align: middle; }
.cmp-acts .btn { position: relative; display: block; box-sizing: border-box; width: 100%; min-height: 44px; line-height: 28px; text-align: center; padding: 8px 10px; white-space: nowrap; }   /* block, not flex: the words are one run of text */
.cmp-table .cmp-actions .cmp-r + .cmp-r .cmp-c, .cmp-table .cmp-actions .cmp-r + .cmp-r .cmp-f { border-top: 0; padding-top: 0; }
.cmp-trust { display: block; margin-top: 6px; font-weight: 400; }
.cmp-table .trust { white-space: normal; }
.cmp-quote { margin: 16px 0; }
.cmp-quote .btn { font-size: 1.05rem; }
.cmp-fit { margin: 8px 0 14px; padding: 0; list-style: none; }
.cmp-q-h { margin: 0 0 10px; font-size: 1.05rem; }
.cmp-quote .cmp-fit-h { margin: 18px 0 0; }
.cmp-fit li { margin: 6px 0 0; padding: 6px 10px; border-radius: 10px; font-size: .88rem; }   /* quieter now it sits under the button */
.cmp-fit-good { background: #f0fdf4; box-shadow: inset 0 0 0 1.5px #bbf7d0; color: #14532d; }
.cmp-fit-maybe { background: #f3f4f6; color: var(--muted); }
.cmp-fit-unlikely { background: #fef2f2; box-shadow: inset 0 0 0 1.5px #fca5a5; color: #7f1d1d; font-weight: 600; }
.cmp-fit-l { font-weight: 700; }
.cmp-fit-l::after { content: "."; }
.cmp-lists { padding-left: 20px; }
.cmp-lists li { padding: 4px 0; }
.cmp-h2 { margin-top: 1em; }
.cmp-stick { position: fixed; z-index: 19; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); box-sizing: border-box; padding-left: 22%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px rgba(15,23,42,.08); }   /* wider screens: past the label column (.cmp-corner, 22%) */
.cmp-stick[hidden] { display: none; }
.cmp-stick-n { padding: 8px 12px; font-weight: 700; font-size: .875rem; line-height: 1.25; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-more { margin: 12px 0; }
@media (max-width: 640px) {
  .cmp-table, .cmp-table tbody, .cmp-table thead, .cmp-table tr { display: block; }
  .cmp-stick { padding-left: 0; }
  .cmp-stick-n { padding: 8px 6px; font-size: .8125rem; }
  .cmp-table tr:not(.cmp-sec) { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .cmp-table .cmp-few td, .cmp-table .cmp-noprice td { grid-column: 1 / -1; }
  .cmp-table .cmp-corner { display: none; }
  .cmp-table .cmp-f, .cmp-table .cmp-sec th { grid-column: 1 / -1; }
  .cmp-table .cmp-sec th { display: block; }
  .cmp-table .cmp-f { padding: 8px 8px 0; border-top: 1px solid var(--line); }
  .cmp-table td { border-top: 0; padding: 2px 8px 10px; font-size: .92rem; }
  .cmp-table thead th { padding: 8px 6px; }
  .cmp-table td { padding-left: 6px; padding-right: 6px; }
  .cmp-table .cmp-f { padding-left: 6px; padding-right: 6px; }
  .cmp-name { font-size: .875rem; overflow-wrap: break-word; }
  .cmp-table .cmp-f-blank { display: none; }
  .cmp-table .cmp-r-options .cmp-f-blank ~ .cmp-c { padding-top: 10px; }   /* a row with no label (the Formats section): the values sit just under the section bar, no gap above or empty bold cell */
  .cmp-table .cmp-actions .cmp-c { padding: 0 4px 6px; }
  .cmp-table .cmp-actions .cmp-r-remove .cmp-c { padding-bottom: 12px; }
  .cmp-acts .btn { padding: 8px 4px; font-size: .9rem; }
  .cmp-acts .cmp-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* phones: "View" and "Book"; the full words stay for screen readers */
}
.ge-sum { margin: 10px 0 4px; }
/* Arriving from a venue page with other venues already in compare: one question above the form, then a line saying what was done; and up to 3 nearby venues under the list, each with its Compare tick. */
.ge-arrive { margin: 0 0 14px; }
.ge-ask { padding: 12px 14px; background: var(--green-soft); border: 1px solid var(--green-2); border-radius: 12px; }
.ge-ask-q { margin: 0 0 10px; font-weight: 650; color: var(--ink); }
.ge-ask-b { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ge-ask-b .btn { min-height: 44px; justify-content: center; }
.ge-arrive-n { margin: 8px 0 0; font-weight: 650; color: var(--ink); }
.ge-arrive-n:empty { margin: 0; }
.ge-sug { margin: 12px 0 0; }
.ge-sug-h { margin: 0 0 4px; font-weight: 650; color: var(--ink); }
.ge-sug-list { list-style: none; margin: 0; padding: 0; }
.ge-sug-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.ge-sug-row:first-child { border-top: 0; }
.ge-sug-n { min-width: 0; font-weight: 600; }
.ge-sug-row .cmp-pick { display: inline-flex; padding: 0 12px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ge-sum .small { margin: 8px 0 0; font-weight: 650; }
.ge-chosen-list[hidden] { display: none; }
@media (max-width: 640px) { .cmp-chip-n { max-width: 7.5em; } .cmp-bar { padding-top: 8px; } }
/* Phones (under 560 px): one compact row, "Comparing 3 of 3 venues", Compare now and Clear, about 60 px tall. The name chips are left out here (no
   invisible tab stops); the names and Remove controls are on the compare page. The limit and "choose one more" notes
   float just above the bar so the bar never grows. */
@media (max-width: 559px) {
  .cmp-bar { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .cmp-bar-in { display: flex; align-items: center; gap: 6px; }
  .cmp-bar-top, .cmp-bar-chips { display: contents; }
  .cmp-count { flex: 1 1 auto; min-width: 0; font-size: .88rem; line-height: 1.2; }
  .cmp-go { flex: none; padding: 8px 12px; }
  .cmp-clear { order: 3; padding: 0 4px; min-width: 44px; }
  .cmp-chips { display: none; }
  .cmp-hint, .cmp-note { position: absolute; left: 12px; right: 12px; bottom: 100%; margin: 0 0 6px; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: 10px; }
}


/* The send form on /group-events/ is self-contained (the occasion and the number of people are in it), says where you are, and shows each
   chosen venue's group size check (quote flow, 23 Nov 2026). */
.ge-ask { margin: 0 0 6px; font-size: 1.05rem; }
.ge-field[hidden], .ge-occ-f[hidden], .ge-occ-sum[hidden], .ge-occ-fo[hidden], .ge-guests-line[hidden] { display: none; }
.ge-occ-f > .ge-occ-fo { margin: 12px 0 14px; }
.ge-guests-line { margin: 0 0 14px; font-weight: 650; }
.ge-guests-line .linkish { padding: 10px 6px; }
.ge-occ-f > .ge-occ-sum { margin: 12px 0 0; }
.ge-form select { font: inherit; max-width: 100%; min-height: 44px; }
#ge-guests-f { max-width: 160px; }
.ge-form .ge-field input, .ge-form .ge-field select, .ge-form .ge-field textarea, .ge-fit li, .ge-errors { scroll-margin-bottom: 96px; scroll-margin-top: 16px; }
.ge-fit { margin: 8px 0 0; padding: 0; list-style: none; }
.ge-fit li, .ge-chosen-list li.ge-fi { margin: 6px 0 0; padding: 8px 10px; border-radius: 10px; font-size: .95rem; list-style: none; }
.ge-fit-g { background: #f0fdf4; box-shadow: inset 0 0 0 1.5px #bbf7d0; color: #14532d; }
.ge-fit-w { background: #fef2f2; box-shadow: inset 0 0 0 1.5px #fca5a5; color: #7f1d1d; font-weight: 600; }
.ge-fit-q { background: #f3f4f6; color: var(--muted); }
.ge-fit-l { font-weight: 700; margin-right: 2px; }
.ge-fit-l::after { content: "."; }
.ge-fit li:focus-visible, .ge-chosen-list li.ge-fi:focus-visible, .ge-errors:focus-visible, .ge-form h2:focus-visible { outline: 3px solid var(--focus, #1d4ed8); outline-offset: 2px; }
.ge-errors a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cmp-hrs { margin-left: 4px; }
.cmp-table .open-badge.is-closed { background: #eef2ef; color: var(--muted); }
.ge-form { scroll-margin-top: 76px; }
/* The few results prompt under the home finder results (BACKLOG 2.45) */
.few-prompt { margin: 12px 2px 8px; color: #33403a; font-weight: 500; }
.few-prompt[hidden] { display: none; }
.few-prompt .linkish { min-height: 44px; margin-left: 10px; }

/* Venue page spacing (24 Nov 2026): 16 px between related blocks, 24 px between sections, one margin between two blocks (never two stacked). */
.venue .venue-main { margin-top: 16px; }
.venue .venue-main > * { margin-top: 0; margin-bottom: 0; }
.venue .venue-main > * + * { margin-top: 16px; }
.venue .host-note { margin: 8px 0 0; }
.venue > h2, .venue #nearby > h2 { margin: 24px 0 8px; }
.venue .near-h { margin: 16px 0 8px; }
.venue .specials, .venue .ge-banner { margin: 24px 0 0; }
.venue .vgallery { margin: 24px 0 0; }

/* Compare table: the note under the "Compared like for like" heading (BACKLOG 2.50). */
.cmp-sec .cmp-sec-note { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.cmp-table .cmp-f .cmp-sec-note { display: block; font-weight: 400; font-size: .78rem; line-height: 1.3; color: var(--muted); margin-top: 2px; }

/* The home hero scene (24 Nov 2026, src/art.js heroScene; calmer and tablet/desktop only from 25 Nov 2026): a quiet landscape along the foot of the
   hero band. Hidden under 768 px, and the band's extra bottom padding applies only where it shows. The strip sits behind the heading and the
   search card; the card overlaps its turf. Hidden once a search is showing (the band shrinks then). */
.hero-band { position: relative; overflow: hidden; }
.hero-band h1, .hero-band .lede { position: relative; z-index: 1; }
.hero-scene { display: none; }
/* The ball in the scene (25 Nov 2026): one gentle flight along the dotted line, a short roll and into the cup, once per page load. Left out for visitors who ask for less motion. */
/* Moved with CSS offset-path (runs on the compositor, so it stays smooth while the page loads), not SMIL. Starts hidden at the tee. */
.hero-ball { offset-path: path('M520 104Q640 16 780 96Q796 101 812 100L832 99'); offset-rotate: 0deg; offset-distance: 0%; opacity: 0; will-change: offset-distance, opacity; animation: hero-ball 2.8s cubic-bezier(.33,.08,.32,1) 1.2s 1 forwards; }
@keyframes hero-ball { 0% { offset-distance: 0%; opacity: 1; } 94% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-ball { display: none; } }
@media (min-width: 768px) {
  .hero-scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; display: block; pointer-events: none; }
  .hero-band { padding-top: 40px; padding-bottom: 150px; }
  .hero.searched .hero-scene { display: none; }
  .hero.searched .hero-band { padding-top: 12px; padding-bottom: 40px; }
}
@media (min-width: 1000px) { .hero.searched .hero-band { padding-bottom: 60px; } }

/* The small pictures beside a few idea headings (kids' party balloons, and src/idea-chips.js art on date night, rainy day, beginners and end-of-year).
   Always visible; smaller on phones (25 Nov 2026: they were hidden below 380px, so a phone never showed them). .h-end keeps the last word and the picture together. */
.party-balloons, .idea-art { display: inline-block; vertical-align: middle; margin-left: .5rem; height: auto; }
.party-balloons { width: 3rem; }
.idea-art { width: 2.75rem; }
.h-end { white-space: nowrap; }
@media (max-width: 480px) { .party-balloons, .idea-art { width: 2.25rem; margin-left: .35rem; } }
/* Desktop nav (25 Nov 2026): "Search" with the glass opens the all filters page, like the phone search button; the logo goes home. */
.main-nav .nav-search { display: inline-flex; align-items: center; gap: 6px; }

/* "What's the plan?" chips above the results (25 Nov 2026, src/idea-chips.js chipsRow, src/app.js syncPlanChips): the home page's ideas as a compact
   row once a search is showing. Icon and name only. Desktop wraps; on a phone it is one row that scrolls sideways (no wrap, 44px chips, no page overflow). */
.plan-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 12px 0 0; min-width: 0; max-width: 100%; }
.plan-chips[hidden], .pc-list li[hidden] { display: none; }
.pc-l { font-weight: 700; color: var(--ink); font-size: .97rem; }
.pc-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; min-width: 0; }
.pchip { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 44px; padding: 4px 14px 4px 8px; border: 1.5px solid color-mix(in srgb, var(--c, #15803d) 40%, #fff); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; }
.pchip:hover { border-color: color-mix(in srgb, var(--c, #15803d) 75%, #fff); color: var(--ink); }
.pchip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pchip[aria-pressed="true"] { background: var(--green-soft); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.pc-ic { display: block; width: 26px; height: 26px; flex: none; }
@media (max-width: 599px) {
  .plan-chips { display: block; overflow: hidden; }
  .pc-l { display: block; margin: 0 0 4px; }
  .pc-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 2px 4px; }
  .pc-list::-webkit-scrollbar { display: none; }
  .pc-list > li { flex: none; }
}

/* The distance beside the results line (25 Nov 2026, src/app.js rq): a small select that sets the same distance as Filters > Within. */
.status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
.status-row .status { flex: 1 1 auto; min-width: 0; }
.rq { display: inline-flex; align-items: center; gap: 6px; margin: 6px 2px 0; font-size: .9rem; color: #33403a; }
.rq[hidden] { display: none; }
.rq select { min-height: 44px; padding: 4px 28px 4px 10px; border: 1.5px solid #c9d1cc; border-radius: 10px; background-color: #fff; font: inherit; color: var(--ink); }
