.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.map-app {
  display: flex;
  flex-direction: column;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.2rem 1.15rem 3rem;
}
.map-intro { order: 1; }
.map-toolbar { order: 2; }
.map-status { order: 3; }
.map-app > .div-tiles { order: 3; }
.map-layout { order: 4; }
.finder { order: 5; }
@media (min-width: 900px) {
  .finder { order: 2; }
  .map-toolbar { order: 3; }
  .map-status { order: 4; }
  .map-app > .div-tiles { order: 4; }
  .map-layout { order: 5; }
}
.map-intro h1 {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.15;
}
.map-intro__lede {
  margin: 0 0 0.55rem;
  color: var(--muted);
  max-width: 40rem;
}
.map-about {
  margin: 0 0 0.9rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.map-about summary {
  cursor: pointer;
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.map-about p { margin: 0.45rem 0 0; }
.finder {
  margin: 0 0 1.1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
}
details.finder > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
details.finder > summary::-webkit-details-marker { display: none; }
.finder h2,
.club-list-wrap h2 {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.finder__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.finder__place {
  flex: 1 1 12rem;
}
.finder input,
.map-toolbar input,
.map-toolbar select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--edge);
  border-radius: 4px;
  background: #07140e;
  color: var(--cream);
  font: inherit;
}
.finder__geo,
.finder__go,
.chip {
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}
.finder__geo:hover,
.finder__go:hover,
.chip:hover,
.chip.is-on {
  background: var(--gold);
  color: var(--ink-on-gold);
  border-color: var(--gold);
}
.finder__hint {
  min-height: 1.2rem;
  margin: 0.45rem 0 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
}
.finder__results {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
}
.finder__results li {
  margin: 0 0 0.45rem;
  padding: 0.55rem 0.65rem;
  background: #07140e;
  border-left: 3px solid var(--gold);
}
.finder__results a {
  color: var(--gold);
}
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: end;
  margin: 0 0 0.7rem;
}
.map-toolbar label {
  font-size: 0.78rem;
  color: var(--muted);
}
.map-search {
  flex: 1 1 10rem;
}
.map-check {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.map-status {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.map-layout {
  display: grid;
  gap: 0.9rem;
}
.map-canvas {
  height: 28rem;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: #0a1a12;
}
.club-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 28rem;
  overflow: auto;
}
.club-list button {
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.5rem;
  border: 0;
  border-bottom: 1px solid var(--edge);
  background: transparent;
  color: var(--cream);
  font: inherit;
  cursor: pointer;
}
.club-list button:hover,
.club-list button:focus-visible,
.club-list button.is-on {
  color: var(--gold);
}
.club-list small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}
.club-sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 10, 7, 0.55);
  display: flex;
  justify-content: flex-end;
}
.club-sheet[hidden] { display: none; }
.club-sheet__card {
  width: min(24rem, 100%);
  height: 100%;
  padding: 1.2rem 1.15rem;
  background: var(--card);
  border-left: 1px solid var(--edge);
  overflow: auto;
}
.club-sheet__close {
  float: right;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
}
.club-sheet h2 {
  margin: 0.3rem 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
}
.club-sheet__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.club-sheet__links a { color: var(--gold); }
.pin-wrap {
  background: transparent !important;
  border: none !important;
}
.pin.pin--ball {
  display: block;
  width: 24px;
  height: 15px;
  border: 0;
  border-radius: 0;
  background: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.55));
}
.pin.pin--ball svg {
  display: block;
}
.pin.pin--ball.is-selected {
  filter: drop-shadow(0 0 0 2px #e0b03a) drop-shadow(0 1px 1px rgba(0,0,0,0.55));
  transform: scale(1.28);
  transform-origin: center;
}
.leaflet-container { background: #07140e; font-family: Outfit, system-ui, sans-serif; }
.leaflet-tooltip.prov-tip {
  background: #0c1d15;
  color: #f3ead8;
  border: 1px solid #e0b03a;
}
@media (min-width: 900px) {
  .map-layout { grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 1fr); }
  .map-canvas, .club-list { height: 34rem; }
}

.leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.88) contrast(0.92) saturate(0.35);
}
.leaflet-control-attribution {
  background: rgba(7, 20, 14, 0.75) !important;
  color: #b4c3b6 !important;
}
.leaflet-control-attribution a { color: #e0b03a !important; }

.div-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0 0 0.7rem;
}
.div-tiles .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.4rem;
  font-size: 0.86rem;
}
.div-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid #f3ead8;
  flex-shrink: 0;
}
.div-dot[data-div="1A"] { background: #e0b03a; }
.div-dot[data-div="1B"] { background: #f3ead8; }
.div-dot[data-div="2A"] { background: #4ea072; }
.div-dot[data-div="2BN"] { background: #8aa7c4; }
.div-dot[data-div="2BS"] { background: #c45a2a; }

.club-game {
  margin: 0 0 0.95rem;
  padding: 0.7rem 0.9rem 0.8rem;
  max-width: 40rem;
  background: var(--card);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--gold);
  border-radius: 2px 8px 8px 2px;
}
.club-game__title {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.club-game__lede {
  margin: 0;
  color: var(--cream);
  font-size: 0.95rem;
}
.club-game__list {
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}
.club-game__list li + li { margin-top: 0.2rem; }
.club-game__note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
