/* BK Finder national search + map (landing pages only) */
.hp-hero-nat { padding-bottom: 28px; }
.nf-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 22px; max-width: 760px; background: var(--charcoal); border: 1px solid #262626; border-radius: 12px; padding: 14px; }
.nf-search label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #a8a8a8; font-family: var(--font-display); margin-bottom: 6px; }
.nf-q { grid-column: 1 / -1; }
.nf-r { min-width: 0; }
.nf-go { align-self: end; min-height: 46px; }
.nf-loc { grid-column: 1 / -1; min-height: 44px; }
.nf-privacy { font-size: 0.78rem; color: #8a8a8a; margin-top: 10px; }
.nf-app { padding-top: 24px; }
.nf-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.nf-title { font-size: clamp(1.2rem, 4vw, 1.6rem); margin: 0; }
.nf-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nf-tools select { width: auto; min-width: 180px; }
.nf-toggle { display: inline-flex; gap: 8px; align-items: center; font-size: 0.88rem; color: #cfcfcf; cursor: pointer; }
.nf-toggle input { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: #f4f1ea; }
.nf-status { color: #cfcfcf; font-size: 0.92rem; margin: 10px 0 12px; min-height: 1.4em; }
.nf-alt { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; font-size: 0.85rem; color: #a8a8a8; align-items: center; }
.nf-alt button { background: none; border: 1px solid #333; color: var(--cream); border-radius: 999px; padding: 5px 12px; cursor: pointer; font: inherit; }
.nf-alt button:hover { border-color: var(--white); }
.nf-layout { display: grid; grid-template-columns: 1fr; gap: 16px; }
.nf-map { height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid #222; background: #111; position: relative; }
.nf-map-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #777; font-size: 0.9rem; background: repeating-linear-gradient(45deg, #101010 0 12px, #131313 12px 24px); }
.nf-list { margin-top: 0; counter-reset: nf; }
.nf-list .hp-card { position: relative; }
.nf-dist { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.06em; color: var(--cream); white-space: nowrap; }
.nf-approx { color: #8a8a8a; font-size: 0.75rem; }
.nf-more { margin: 14px 0 0; width: 100%; min-height: 44px; }
.nf-places h3 { margin: 22px 0 6px; font-size: 1.1rem; }
.nf-place-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: 0.88rem; }
.nf-place-list li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #1d1d1d; padding: 7px 0; }
.nf-place-list a { color: var(--cream); text-decoration: underline; text-decoration-color: #555; }
.nf-states { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }
.nf-states a { display: flex; justify-content: space-between; border-bottom: 1px solid #1f1f1f; padding: 8px 2px; font-size: 0.92rem; }
.nf-states a span { color: #8d8d8d; }
.nf-states a:hover { color: var(--white); border-color: #555; }
.nf-pin { width: 14px; height: 14px; border-radius: 50%; background: #f4f1ea; border: 2px solid #050505; box-shadow: 0 0 0 1px #f4f1ea; }
.leaflet-container { font: inherit; background: #1a1a1a; }
.leaflet-popup-content { font-size: 0.85rem; line-height: 1.4; color: #111; }
.leaflet-popup-content a { color: #0b4fa8; text-decoration: underline; }
@media (min-width: 640px) {
  .nf-search { grid-template-columns: 1fr 150px auto auto; align-items: end; }
  .nf-q { grid-column: auto; }
  .nf-loc { grid-column: auto; }
  .nf-states { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .nf-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; }
  .nf-map-wrap { order: 2; position: sticky; top: 76px; }
  .nf-map { height: calc(100vh - 110px); max-height: 720px; }
  .nf-results { order: 1; }
  .nf-results .hp-grid { grid-template-columns: 1fr; }
  .nf-states { grid-template-columns: repeat(4, 1fr); }
}
/* The Ballers Map filters: desktop collapsible panel, mobile bottom sheet (spec §5.1) */
.nf-fbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 0; }
.nf-fbtn { min-height: 40px; padding: 7px 16px; }
.nf-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nf-pill { display: inline-flex; gap: 6px; align-items: center; min-height: 34px; padding: 4px 12px; border-radius: 999px; border: 1px solid #8e5cf0; background: rgba(107, 47, 179, 0.25); color: #f4f1ea; font: inherit; font-size: 0.82rem; cursor: pointer; }
.nf-pill:hover, .nf-pill:focus-visible { border-color: #f2c14e; }
.nf-clear { background: none; border: 0; color: #f2c14e; text-decoration: underline; font: inherit; font-size: 0.85rem; cursor: pointer; padding: 6px 4px; min-height: 34px; }
.nf-filters { margin: 10px 0 4px; border: 1px solid #2f1d4f; border-radius: 12px; background: rgba(20, 10, 36, 0.6); }
.nf-filters.is-collapsed { display: none; }
.nf-fhandle, .nf-fhead, .nf-ffoot { display: none; }
.nf-fbody { padding: 10px 14px 6px; display: grid; gap: 4px; }
#nf .nf-fsec .nf-fsh { font-size: 0.78rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.1em; color: #bdb3cf; margin: 8px 0 2px; font-family: var(--font-display); }
#nf .nf-fsec-sport { display: none; } /* desktop: the sport row above already shows every sport */
.nf-glabel { font-size: 0.8rem; color: #a99fbd; margin: 6px 0 0; }
.nf-gchips { flex-wrap: wrap; overflow: visible; }
.bm-chip .nf-n { color: #bdb3cf; font-size: 0.78rem; }
.bm-chip[aria-pressed="true"] .nf-n { color: #f4f1ea; }
.bm-chip:disabled { opacity: 0.45; cursor: not-allowed; }
.nf-note, .nf-cov, .nf-thin { font-size: 0.76rem; color: #9a90ad; margin: 2px 0 4px; display: block; }
.nf-recover { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.nf-recover button { background: none; border: 1px solid #8e5cf0; color: #f4f1ea; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 0.85rem; cursor: pointer; }
.nf-recover button:hover, .nf-recover button:focus-visible { border-color: #f2c14e; color: #f2c14e; }
.nf-self { font-style: italic; }
.nf-unk { color: #8a8a8a; }
.nf-fback[hidden] { display: none; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(242, 193, 78, 0.35); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: rgba(242, 193, 78, 0.9); color: #120a1f; font-weight: 600; }
@media (min-width: 768px) {
  .nf-fsec { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 4px 0; border-bottom: 1px solid #22163a; }
  .nf-fsec:last-child { border-bottom: 0; }
  .nf-fsec > * { grid-column: 2; }
  #nf .nf-fsec > .nf-fsh { grid-column: 1; grid-row: 1 / span 9; margin-top: 14px; }
  .nf-fsec[hidden] { display: none; }
}
@media (max-width: 767px) {
  .nf-filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; margin: 0; max-height: 85vh; height: 85vh; display: flex; flex-direction: column; border-radius: 16px 16px 0 0; background: #140a24; border-bottom: 0; transform: translateY(105%); visibility: hidden; transition: transform 0.22s ease, visibility 0s linear 0.22s; }
  .nf-filters.is-open { transform: none; visibility: visible; transition: transform 0.22s ease; }
  .nf-fhandle { display: block; width: 44px; height: 5px; border-radius: 3px; background: #4a3670; margin: 8px auto 0; flex: none; }
  .nf-fhead { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px 4px; flex: none; }
  .nf-fhead h2 { font-size: 1.1rem; margin: 0; }
  .nf-fclose { background: none; border: 1px solid #3a2560; color: #f4f1ea; border-radius: 999px; width: 40px; height: 40px; font-size: 1.3rem; cursor: pointer; }
  .nf-fbody { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
  #nf .nf-fsec-sport { display: block; }
  #nf .nf-fsec-sport[hidden] { display: none; }
  .nf-ffoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #2f1d4f; flex: none; background: #140a24; }
  .nf-ffoot .nf-show { flex: 1; max-width: 240px; min-height: 46px; }
  .nf-fback { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.6); }
  html.nf-sheet-open, html.nf-sheet-open body { overflow: hidden; }
}
