.filter-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--bg-canvas) 92%, transparent);
  backdrop-filter: blur(10px);
  min-height: var(--filter-bar);
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-field { flex: 0 0 auto; }
.filter-bar select, .near, .reset {
  appearance: none;
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23141416' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--ink-primary);
  border-radius: 999px;
  padding: 8px 28px 8px 12px;
  font-size: 16px;
  max-width: 46vw;
}
.near, .reset {
  flex: 0 0 auto;
  white-space: nowrap;
  background-image: none;
  padding-right: 12px;
  cursor: pointer;
}
.near {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 12px;
  background: var(--accent-primary);
  color: var(--ink-on-accent);
  border-color: var(--accent-primary);
  font-weight: 650;
  box-shadow: var(--shadow-card);
}
.near svg { width: 16px; height: 16px; flex: none; }
.near:hover { background: var(--accent-pressed); }
.filter-bar select.is-set, .near.is-on {
  background-color: var(--accent-primary);
  color: var(--ink-on-accent);
  border-color: var(--accent-primary);
}
.filter-bar select.is-set {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FAF9F6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
.count-line { margin: 0; color: var(--ink-muted); font-size: 0.85rem; white-space: nowrap; }
.uk-back {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-float);
}
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row a, .chip-row button {
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
}
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink-primary); font-weight: 650; }

.pill-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.pill-row::-webkit-scrollbar { display: none; }
.filter-block { display: grid; gap: 6px; }
.filter-label { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.filter-block select {
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  color: var(--ink-primary);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
}
.pill, .view-toggle button, .admin-main button, .shot-open {
  border: 1px solid var(--border-hairline);
}
.pill {
  background: var(--bg-subtle);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.pill.is-on, .admin-filters .pill.is-on {
  background: var(--accent-primary);
  color: var(--ink-on-accent);
  border-color: var(--accent-primary);
}
.count-line { margin: 0; color: var(--ink-muted); font-size: 0.92rem; }

.venue-card {
  --type-color: var(--pin-bar);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.venue-card.type-club { --type-color: var(--pin-club); }
.venue-card.type-cabaret { --type-color: var(--pin-cabaret); }
.venue-card.type-event { --type-color: var(--pin-event); }
.venue-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.card-link { display: flex; gap: 14px; align-items: stretch; padding: 10px; text-decoration: none; color: inherit; }
.card-thumb {
  position: relative;
  flex: 0 0 104px;
  align-self: flex-start;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--type-color) 12%, var(--bg-subtle));
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms var(--ease); }
.venue-card:hover .card-thumb img { transform: scale(1.04); }
.thumb-initial {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--type-color) 70%, var(--ink-primary));
}
.thumb-count {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.66);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}
.card-copy { min-width: 0; padding: 2px 4px 2px 0; display: flex; flex-direction: column; gap: 3px; }
.card-kind { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-kind::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--type-color); }
.card-copy h2 { margin: 0; font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.card-copy .meta { margin: 0; font-size: 0.85rem; font-weight: 600; }
.meta { margin: 0 0 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 6px 0 0; list-style: none; }
.tags li { background: var(--bg-subtle); border-radius: 999px; padding: 2px 8px; font-size: 0.72rem; color: var(--ink-secondary); }
@media (min-width: 960px) {
  .card-thumb { flex-basis: 128px; }
  .card-copy h2 { font-size: 1.12rem; }
}
.badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(20, 20, 22, 0.72);
  color: #fff;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.badge.basement { position: static; display: inline-block; margin-top: 8px; }
.open-state { font-weight: 650; color: var(--ink-primary); }

.city-pill, .hover-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-float);
}
.city-pill {
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 650;
  cursor: pointer;
}
.maplibregl-popup-content {
  padding: 0;
  border-radius: 16px;
  box-shadow: var(--shadow-float);
  background: transparent;
  font: inherit;
}
.maplibregl-popup-tip { display: none; }
.maplibregl-ctrl-attrib, .maplibregl-compact { display: none !important; }
.hover-card {
  position: relative;
  width: 272px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink-primary);
  box-shadow: none;
}
.hover-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--bg-subtle); }
.hover-photos.is-single { grid-template-columns: 1fr; }
.hover-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hover-photos.is-single img { aspect-ratio: 16 / 9; }
.hover-body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.hover-card h3 { margin: 0; font-size: 16px; line-height: 1.25; letter-spacing: -0.015em; }
.hover-card p { margin: 0; font-size: 13px; line-height: 1.4; }
.hover-kind { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: 12px !important; }
.hover-kind::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pin-bar); }
.hover-kind.type-club::before { background: var(--pin-club); }
.hover-kind.type-cabaret::before { background: var(--pin-cabaret); }
.hover-kind.type-event::before { background: var(--pin-event); }
.hover-state { font-weight: 600; }
.hover-card .open-listing {
  justify-self: start;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--accent-primary);
  color: var(--ink-on-accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.hover-card:hover .open-listing { background: var(--accent-pressed); }
.hover-card .open-listing:focus:not(:focus-visible) { outline: none; }
.touch-preview {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 7;
  background: var(--bg-surface);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.touch-preview .hover-card { width: auto; border: 0; border-radius: 0; }
.touch-preview .hover-photos.is-single img { aspect-ratio: 21 / 9; }
.touch-preview .hover-photos img { aspect-ratio: 16 / 9; }
.touch-preview .hover-body { padding-right: 52px; }
.touch-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #141416;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(20, 20, 22, 0.16);
  cursor: pointer;
}

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.open-text.is-open { color: var(--open); }
:root[data-theme="dark"] .filter-bar select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F4F2EC' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .filter-bar select.is-set {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23141416' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .maplibregl-ctrl-group { background: #1C1C1F; }
:root[data-theme="dark"] .maplibregl-ctrl-group button + button { border-top-color: rgba(244, 242, 236, 0.14); }
:root[data-theme="dark"] .maplibregl-ctrl button .maplibregl-ctrl-icon { filter: invert(1); }
.open-text.is-closed { color: var(--ink-muted); }
