/* ── Reset & tokens ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #f0ddc6;
  --surface:     #ffffff;
  --surface2:    #fdf5e6;
  --border:      #dfd0b8;
  --header-bg:   #000000;
  --header-text: #ffffff;
  --accent:      #e8b400;
  --accent-dark: #b88c00;
  --pink:        #d4006e;
  --text:        #1a1a1a;
  --muted:       #7a6a57;
  --radius:      10px;
  --font: 'Nunito', system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* ── App shell ────────────────────────────────────────── */
#app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

/* ── Header ───────────────────────────────────────────── */
header {
  background: var(--header-bg);
  padding: 10px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

header h1 {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--header-text);
  white-space: nowrap;
}
header h1 .year { color: var(--accent); }

.day-tabs { display: flex; gap: 6px; }

.day-tab {
  padding: 5px 14px;
  border-radius: 4px;
  border: 2px solid #444;
  background: transparent;
  color: #aaa;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.day-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

/* ── View tabs ────────────────────────────────────────── */
.view-tabs {
  display: flex;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  flex-shrink: 0;
}

.view-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}
.view-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

/* ── Main content ─────────────────────────────────────── */
main {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.view {
  position: absolute;
  inset: 0;
  display: none;
}
.view.active { display: flex; flex-direction: column; }

/* ── Filter bar (sort toggle + near me) ───────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sort-toggle {
  display: flex;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sort-btn {
  padding: 5px 14px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.sort-btn.active {
  background: var(--accent);
  color: #000;
  font-weight: 700;
}

.near-me-btn {
  margin-left: auto;
  padding: 5px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface2);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.near-me-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

/* ── Genre pill bar (horizontally scrollable) ─────────── */
.genre-bar {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  scrollbar-width: none;
}
.genre-bar::-webkit-scrollbar { display: none; }

/* ── Artist search bar ────────────────────────────────── */
.search-bar {
  padding: 7px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
#artist-search {
  width: 100%;
  padding: 7px 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--surface2);
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
}
#artist-search:focus { border-color: var(--accent); }
#artist-search::placeholder { color: var(--muted); }

.genre-pill {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface2);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.genre-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

/* ── Schedule list ────────────────────────────────────── */
#show-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 10px 80px;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.loading.hidden { display: none; }

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Venue group header (By Venue mode) */
.venue-group { margin-bottom: 18px; }

.venue-group-header {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 4px 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.venue-group-distance {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: none;
  letter-spacing: 0;
}

/* Time divider (Upcoming mode) */
.time-group { margin-bottom: 18px; }
.time-group-header {
  font-family: var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 4px 8px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 8px;
}
/* Hour boundaries (5:00, 6:00…) — bold, prominent, accent underline */
.time-group-header.hour-header {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  border-bottom-color: var(--accent);
}
/* Half-hour slots (5:30, 6:30…) — lighter, slightly indented */
.time-group-header.sub-header {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  padding-left: 14px;
  border-bottom-color: var(--border);
}
/* Fallback for slots with no class (shouldn't happen) */
.time-group-header:not(.hour-header):not(.sub-header) {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

/* Show card */
.show-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 7px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: border-color 0.15s;
  position: relative;
}
.show-card:active { border-color: var(--accent); }
.show-card.live  { border-color: var(--pink); }
.show-card.past  { opacity: 0.4; }

.show-img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
}
.show-img-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.show-info { flex: 1; min-width: 0; }
.show-name {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
/* Subtitle line under artist name — shows genre OR venue depending on sort mode */
.show-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Venue pill row — pill + distance + map pin side by side */
.show-venue-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  flex-wrap: nowrap;
}
.show-venue-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--accent);
  color: #000;
  padding: 2px 7px;
  border-radius: 10px;
  border: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.show-venue-pill:active { background: var(--accent-dark); }
/* Distance badge — stands alone next to the venue pill for visibility */
.pill-dist {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.show-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}
/* Star button — absolutely positioned top-right corner of card */
.star-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--border);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s, transform 0.1s;
  z-index: 1;
}
.star-btn.saved { color: var(--accent); }
.star-btn.saved svg path { fill: var(--accent); }
.star-btn:active { transform: scale(1.3); }
.show-time {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
/* Day label shown on cards when "All" days are selected */
.show-day-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.live-badge {
  background: var(--pink);
  color: #fff;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

/* My List view */
#mylist-list {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 10px 80px;
}
.mylist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}
.mylist-empty-star {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 4px;
}
.mylist-empty p { font-size: 0.95rem; font-weight: 600; }
.mylist-empty-sub { font-size: 0.82rem; font-weight: 400; }

.empty-msg {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
  font-size: 0.9rem;
}

/* Past shows collapsible */
.past-section {
  margin-top: 24px;
  border-top: 2px solid var(--border);
}
.past-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.past-section-header::-webkit-details-marker { display: none; }
.past-section-header::after {
  content: '▸';
  font-size: 0.8rem;
  transition: transform 0.2s;
}
details[open] .past-section-header::after { transform: rotate(90deg); }
.past-section-count {
  background: var(--border);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
  margin-right: auto;
  margin-left: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.past-section-body {
  padding-bottom: 12px;
}

/* ── Map ──────────────────────────────────────────────── */
#map-view { overflow: hidden; }
#map { width: 100%; height: 100%; flex: 1; }

/* Floating venue search over the map */
.map-search-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 56px; /* clear zoom/locate controls */
  z-index: 200;
}
#map-search {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius);
  border: none;
  background: var(--surface);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  -webkit-appearance: none;
}
#map-search::placeholder { color: var(--muted); }
.map-search-results {
  list-style: none;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  margin-top: 4px;
  overflow: hidden;
}
.map-search-results:empty { display: none; }
.map-search-results li {
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.map-search-results li:last-child { border-bottom: none; }
.map-search-results li:active { background: var(--accent); color: #000; }

/* Venue labels — light weight, not all-caps, easy to read */
.venue-label {
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 2px 7px;
  color: #f0f0f0;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 400;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.venue-label::before { display: none !important; }

/* Venue marker flash animation (triggered by showOnMap from schedule card) */
@keyframes venue-flash {
  0%   { transform: scale(1);   filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
  20%  { transform: scale(2.0); filter: drop-shadow(0 0 8px rgba(232,180,0,0.9)); }
  40%  { transform: scale(1);   filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
  65%  { transform: scale(1.7); filter: drop-shadow(0 0 8px rgba(232,180,0,0.9)); }
  100% { transform: scale(1);   filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
}
.venue-dot-flash {
  animation: venue-flash 1.8s ease-in-out forwards;
}

/* Venue markers (divIcon) */
.venue-marker-icon { background: none; border: none; }
.venue-hit-area {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.venue-dot {
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
}

/* User location dot */
.user-dot-wrapper { position: relative; width: 16px; height: 16px; }
.user-dot {
  width: 16px; height: 16px;
  background: #2563eb;
  border: 2.5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37,99,235,0.5);
  position: absolute;
}
.user-dot-pulse {
  position: absolute;
  inset: -8px;
  background: rgba(37,99,235,0.18);
  border-radius: 50%;
  animation: loc-pulse 2s ease-out infinite;
}
@keyframes loc-pulse {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ── Overlay & bottom sheet ───────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.overlay.visible { opacity: 1; pointer-events: all; }

.bottom-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 88dvh;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  z-index: 500;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--accent);
}
.bottom-sheet.open { transform: translateY(0); }

.sheet-handle {
  width: 36px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px auto 0;
  flex-shrink: 0;
}

.close-btn {
  position: absolute;
  top: 12px; right: 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--muted);
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.detail-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 18px 40px;
  flex: 1;
}

/* Back button — full-bleed bar at top of artist sheet when opened from a venue */
.back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Stretch edge-to-edge, compensating for detail-content padding (18px each side) */
  width: calc(100% + 36px);
  margin: -8px -18px 16px -18px;
  padding: 13px 18px;
  background: var(--surface2);
  border: none;
  border-bottom: 2px solid var(--accent);
  cursor: pointer;
  text-align: left;
}
.back-arrow {
  font-size: 1.2rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.back-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Artist detail ────────────────────────────────────── */
.detail-hero {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.detail-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.detail-name {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  flex: 1;
}
.detail-star-btn {
  position: static;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-genre {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.detail-genre-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.detail-genre-row .detail-genre { margin-bottom: 0; }
.detail-artist-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  margin-bottom: 8px;
}
.detail-artist-link:active { text-decoration: underline; }
.detail-words {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  margin-bottom: 14px;
}
.detail-meta {
  background: var(--surface2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}
.detail-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.detail-meta-icon { flex-shrink: 0; }
.detail-meta-text { font-weight: 600; }
.detail-meta-sub  { font-size: 0.78rem; color: var(--muted); }

.detail-desc {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #555;
  margin-bottom: 18px;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.btn-primary {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-align: center;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-secondary {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-align: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
}

/* ── Venue detail ─────────────────────────────────────── */
.venue-detail-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 14px 0 4px;
}
.venue-detail-addr {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2px;
}
.venue-detail-age {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f0e0f0;
  color: var(--pink);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.venue-shows-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.venue-show-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.venue-show-row:last-child { border-bottom: none; }
.venue-show-time-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  width: 56px;
  flex-shrink: 0;
}
.venue-show-day {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.venue-show-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.venue-show-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.venue-show-name {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.venue-show-genre {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.venue-show-arrow { color: var(--muted); font-size: 0.9rem; flex-shrink: 0; }
/* Prominent distance badge on venue sheet */
.venue-detail-dist {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #000;
  background: var(--accent);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.venue-show-past {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
  flex-shrink: 0;
}
.venue-show-live {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--pink);
  color: #fff;
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}
.venue-show-row.past {
  opacity: 0.45;
}

/* Locate Me button */
.locate-btn {
  width: 34px;
  height: 34px;
  background: var(--surface);
  border: 2px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 5px rgba(0,0,0,0.25);
  margin-top: 6px;
}
.locate-btn:active { background: var(--bg); }

/* ── Splash screen ────────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.3s;
}
.splash.splash-hidden {
  opacity: 0;
  pointer-events: none;
}
.splash-card {
  background: var(--surface);
  border-radius: 16px;
  border-top: 4px solid var(--accent);
  padding: 28px 24px 24px;
  max-width: 380px;
  width: 100%;
}
.splash-header {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--header-bg);
  line-height: 1;
}
.splash-year { color: var(--accent); }
.splash-sub {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 18px;
}
.splash-body {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}
.splash-contact {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.6;
}
.splash-contact a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}
.splash-contact a:active { text-decoration: underline; }
.splash-btn {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.splash-btn:active { background: var(--accent-dark); }

/* About ? floating action button */
.about-fab {
  position: fixed;
  bottom: 20px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--header-bg);
  color: #aaa;
  border: 2px solid #333;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  z-index: 300;
  -webkit-tap-highlight-color: transparent;
}
.about-fab:active { border-color: var(--accent); color: var(--accent); }

/* ── Leaflet z-index fix ──────────────────────────────── */
.leaflet-pane, .leaflet-top, .leaflet-bottom { z-index: 100; }
