:root {
  color-scheme: dark;
  --ink: #f7f4ec;
  --night: #080b10;
  --deep: #0d1118;
  --panel: #121926;
  --panel-2: #182233;
  --paper: #080b10;
  --surface: #101722;
  --surface-strong: #f5f0e6;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 11, 16, 0.18);
  --muted: #a8b2c2;
  --muted-strong: #4d5868;
  --blue: #4aa3ff;
  --green: #8ee66b;
  --coral: #ff765f;
  --gold: #f5c84b;
  --teal: #45d6c8;
  --red: #ff5d78;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --shell-max: 1880px;
  --shell-width: min(calc(100% - 40px), var(--shell-max));
  --sticky-header-height: 76px;
}

.seo-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.seo-city-grid a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.seo-city-grid a:hover {
  border-color: rgba(142, 230, 107, 0.55);
  color: var(--green);
}

.seo-city-grid a {
  align-items: flex-start;
  flex-direction: column;
}

.seo-city-grid span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.seo-page .site-header {
  margin-bottom: clamp(26px, 4vw, 56px);
}

.seo-shell {
  width: var(--shell-width);
  margin: 0 auto clamp(48px, 8vw, 96px);
}

.breadcrumb {
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--green);
}

.seo-detail,
.seo-list-hero,
.seo-section {
  max-width: 1120px;
}

.seo-detail h1,
.seo-list-hero h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.seo-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 18px;
  margin: 30px 0;
}

.seo-fact-panel,
.seo-action-panel,
.seo-section,
.seo-event-row {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.seo-fact-panel h2,
.seo-action-panel h2,
.seo-section h2 {
  font-size: 1.5rem;
}

.seo-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.seo-facts div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.seo-facts dt {
  color: var(--muted);
  font-weight: 850;
}

.seo-facts dd {
  margin: 0;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-section {
  margin-top: 18px;
}

.seo-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-link-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-link-list a {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.seo-link-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.seo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-related-links h2 {
  flex: 0 0 100%;
}

.seo-related-links a {
  color: var(--green);
  font-weight: 850;
}

.seo-event-list {
  display: grid;
  gap: 12px;
}

.seo-event-row time {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 900;
}

.seo-event-row h3 {
  margin-bottom: 8px;
}

.seo-event-row h3 a {
  color: inherit;
  text-decoration: none;
}

.seo-event-row h3 a:hover {
  color: var(--green);
}

@media (max-width: 820px) {
  .seo-detail-grid,
  .seo-facts div {
    grid-template-columns: 1fr;
  }

  .seo-detail h1,
  .seo-list-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .seo-link-list li {
    align-items: flex-start;
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(142, 230, 107, 0.08), transparent 320px),
    linear-gradient(180deg, rgba(8, 11, 16, 0.92), rgba(8, 11, 16, 1) 620px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: var(--shell-width);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 20px;
  background: rgba(9, 14, 22, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: 0 22px 76px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-size: 1.05rem;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.84rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 2.6vw, 34px);
  min-width: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

nav a.is-active {
  color: var(--green);
}

nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(142, 230, 107, 0.44);
}

nav svg,
.button svg,
.control-field svg,
.date-segment svg,
.popular-genres svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.saved-link {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.app-hero {
  position: relative;
  min-height: clamp(500px, 58svh, 640px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  width: var(--shell-width);
  margin: 0 auto;
  padding: clamp(42px, 5.4vw, 76px) clamp(24px, 4vw, 56px) clamp(38px, 4.6vw, 56px);
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.98), rgba(8, 11, 16, 0.84) 42%, rgba(8, 11, 16, 0.52) 66%, rgba(8, 11, 16, 0.78)),
    linear-gradient(0deg, rgba(8, 11, 16, 0.98), rgba(8, 11, 16, 0.08) 44%),
    var(--hero-image, url("https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&w=1800&q=80")) var(--hero-position, 58% center) / var(--hero-size, cover);
  transition: background-image 0.45s ease;
}

.hero-copy {
  max-width: 1100px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(3.35rem, 6vw, 5.05rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.14;
}

.lede {
  max-width: 740px;
  color: #d4dae6;
  font-size: 1.22rem;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .button {
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--night);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.dark {
  border-color: var(--blue);
  background: var(--blue);
  color: #07101d;
}

.button.compact {
  min-width: 82px;
  padding-right: 14px;
  padding-left: 14px;
}

.hero-panel,
.local-pick-panel,
.event-card,
.source-table,
.submit-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 25, 38, 0.92);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(20px, 4vw, 32px);
}

.hero-stats-strip {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-height: 46px;
  width: auto;
  min-width: min(100%, 390px);
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 18, 27, 0.7);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero-stats-strip strong,
.hero-stats-strip span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.hero-stats-strip strong {
  color: var(--green);
  text-transform: uppercase;
}

.hero-stats-strip span + span,
.hero-stats-strip strong + span {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats-strip b {
  display: inline-block;
  margin-right: 4px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1;
}

.hero-stats-strip em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.stats-date {
  gap: 8px;
}

.stats-date svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.stats-date span {
  display: grid;
  gap: 3px;
  min-height: 0;
  padding: 0;
  border-left: 0;
}

.stats-date b {
  margin-right: 0;
  font-size: 0.82rem;
}

.local-pick-panel {
  container-type: inline-size;
  align-self: center;
  padding: clamp(18px, 3vw, 26px);
  background:
    linear-gradient(145deg, rgba(18, 25, 38, 0.95), rgba(10, 14, 21, 0.9)),
    rgba(18, 25, 38, 0.92);
  backdrop-filter: blur(18px);
}

.pick-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pick-panel-heading .status-line {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
  text-transform: none;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.text-button:hover {
  color: #fff;
}

.pick-context {
  color: var(--muted);
  font-weight: 800;
}

.pick-context {
  margin-bottom: 14px;
}

.hero-pick {
  display: grid;
  grid-template-columns: minmax(112px, 0.36fr) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
}

.hero-pick-utility,
.hero-pick-main {
  min-width: 0;
}

.hero-pick-utility {
  display: grid;
  gap: 11px;
  align-content: start;
}

.hero-pick-media {
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #172131;
}

.hero-pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-pick-date {
  display: grid;
  place-items: center;
  height: 110px;
  padding: 10px;
  color: #fff;
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, rgba(142, 230, 107, 0.22), rgba(69, 214, 200, 0.16)),
    #131d2b;
}

.hero-pick-date strong {
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.hero-pick h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-pick-meta,
.hero-pick-reason {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.hero-pick-reason {
  color: #d6dde8;
}

.hero-pick-action-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-top: 2px;
}

.hero-pick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.hero-pick-tag {
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #d7deea;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.7rem;
  font-weight: 900;
}

.hero-pick-actions {
  display: flex;
  flex: 0 0 auto;
}

.hero-pick-actions .button {
  justify-content: center;
  width: auto;
  min-width: 132px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.82rem;
}

@container (min-width: 600px) {
  .hero-pick {
    grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
    gap: 14px 22px;
  }

  .hero-pick-utility {
    gap: 12px;
  }

  .hero-pick h3 {
    max-width: 15ch;
  }
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.status-line svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  filter: drop-shadow(0 0 12px rgba(142, 230, 107, 0.38));
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}

.snapshot-grid div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.snapshot-grid dt {
  color: #fff;
  font-size: 2.55rem;
  font-weight: 950;
  line-height: 1;
}

.snapshot-grid dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.snapshot-note,
.location-note,
.section-heading p,
.event-meta,
.event-description,
.artist-bio,
.source-card p,
.map-provider,
.site-footer {
  color: var(--muted);
}

.toolbar-section {
  position: sticky;
  top: calc(var(--sticky-header-height) - 1px);
  z-index: 20;
  width: var(--shell-width);
  margin: 0 auto 22px;
  padding: 12px 16px 11px;
  background:
    linear-gradient(180deg, rgba(18, 25, 38, 0.97), rgba(10, 15, 24, 0.97)),
    rgba(12, 17, 25, 0.94);
  border: 1px solid var(--line);
  border-top-color: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: stretch;
  font-size: 0.94rem;
}

.toolbar > * {
  min-width: 0;
}

.filter-control-row {
  display: contents;
}

.mobile-filter-details {
  display: block;
}

.mobile-filter-summary {
  display: none;
}

@media (min-width: 1081px) {
  .mobile-filter-details:not([open]) > .toolbar {
    display: flex;
  }
}

.search-label {
  flex: 1 1 220px;
  min-width: min(100%, 196px);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

[hidden] {
  display: none !important;
}

.control-field,
.select-field,
.date-segment,
.near-me-toggle,
.clear-button {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 18, 28, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.control-field {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.control-field svg {
  color: var(--muted);
}

.control-field input {
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
}

.control-field kbd {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.date-segment {
  display: grid;
  position: relative;
  flex: 0 1 292px;
  grid-template-columns: minmax(112px, 0.86fr) minmax(158px, 1.14fr);
  min-width: min(100%, 278px);
  overflow: visible;
  padding: 0;
}

.segment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.date-menu-wrapper {
  position: relative;
  display: flex;
  min-width: 0;
}

.date-menu-button {
  width: 100%;
}

.date-menu-button #dateMenuLabel {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.date-menu-chevron {
  width: 15px;
  height: 15px;
}

.segment-button:last-child {
  border-right: 0;
}

.segment-button:hover,
.segment-button.is-active {
  color: var(--green);
  background: rgba(142, 230, 107, 0.08);
}

.date-menu-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  width: min(340px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 24, 36, 0.98), rgba(9, 14, 22, 0.98)),
    #0b111b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.date-menu-option {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 54px;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e7edf7;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.date-menu-option span {
  font-size: 0.9rem;
  font-weight: 900;
}

.date-menu-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.date-menu-option:hover,
.date-menu-option.is-active {
  background: rgba(142, 230, 107, 0.1);
}

.date-menu-option.is-active span {
  color: var(--green);
}

.date-custom-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.date-custom-panel label {
  display: grid;
  gap: 5px;
}

.date-custom-panel label span {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-custom-panel input {
  min-height: 40px;
  padding: 8px 9px;
}

.date-custom-panel .button {
  grid-column: 1 / -1;
  min-height: 40px;
  justify-content: center;
}

.select-field {
  position: relative;
  display: grid;
  flex: 0 1 112px;
  align-content: center;
  min-width: min(100%, 104px);
  padding: 8px 12px 7px;
}

.searchable-select {
  flex-basis: 128px;
  overflow: visible;
}

.toolbar .select-field > span {
  margin-bottom: 2px;
  color: #e7edf7;
  font-size: 0.72rem;
  line-height: 1;
}

.select-field select {
  min-height: 24px;
  padding: 0 26px 0 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.picker-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.12;
  text-align: left;
  cursor: pointer;
}

.picker-trigger svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.picker-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.picker-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  width: min(330px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(17, 24, 36, 0.98), rgba(9, 14, 22, 0.98)),
    #0b111b;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.picker-search {
  width: 100%;
  min-height: 40px;
  margin-bottom: 8px;
  padding: 0 11px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.picker-options {
  display: grid;
  gap: 3px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 3px;
}

.picker-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.picker-option:hover,
.picker-option.is-selected {
  color: #fff;
  background: rgba(142, 230, 107, 0.1);
}

.picker-option.is-selected::after {
  content: "Selected";
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.picker-empty {
  margin: 0;
  padding: 10px 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: #cbd3df;
  font-size: 0.82rem;
  font-weight: 900;
}

select,
input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
}

.toolbar select,
.toolbar input {
  outline: none;
}

.toolbar select:focus,
.toolbar input:focus {
  box-shadow: none;
}

.control-field:focus-within,
.select-field:focus-within,
.date-segment:focus-within,
.near-me-toggle:focus-visible,
.clear-button:focus-visible,
.popular-genres button:focus-visible {
  border-color: rgba(142, 230, 107, 0.62);
  box-shadow: 0 0 0 3px rgba(142, 230, 107, 0.12);
}

.near-me-toggle,
.clear-button {
  padding: 0 14px;
}

.near-me-toggle {
  flex: 0 1 134px;
  min-width: min(100%, 128px);
  justify-content: space-between;
  border-color: rgba(69, 214, 200, 0.28);
  background: rgba(12, 18, 28, 0.72);
  color: #fff;
}

.near-me-toggle:focus-visible {
  border-color: rgba(69, 214, 200, 0.72);
  box-shadow: 0 0 0 3px rgba(69, 214, 200, 0.16);
}

.near-me-toggle > span {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 18px;
  margin: 0;
  border: 1px solid rgba(218, 226, 238, 0.34);
  border-radius: 8px;
  background: rgba(157, 172, 193, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.near-me-toggle > span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f2f6fc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.34);
  transition: transform 0.18s ease, background 0.18s ease;
}

.near-me-toggle.is-active {
  border-color: rgba(69, 214, 200, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(69, 214, 200, 0.12);
}

.near-me-toggle.is-active > span {
  background: rgba(69, 214, 200, 0.52);
  border-color: rgba(69, 214, 200, 0.82);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 29, 0.16);
}

.near-me-toggle.is-active > span::after {
  transform: translateX(16px);
  background: #07101d;
}

.clear-button {
  flex: 0 1 78px;
  min-width: min(100%, 76px);
  color: var(--muted);
}

.popular-genres {
  flex: 1 0 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(8px, 1.7vw, 22px);
  min-height: 36px;
  padding: 8px 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.popular-genres > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.popular-genres button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.popular-genres button:hover,
.popular-genres button.is-active {
  color: var(--green);
}

select {
  color-scheme: dark;
}

input::placeholder,
textarea::placeholder {
  color: #778397;
}

textarea {
  resize: vertical;
}

.location-note {
  width: fit-content;
  max-width: 100%;
  margin: 8px 6px 0 auto;
  color: rgba(168, 178, 194, 0.7);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

.location-note:empty {
  display: none;
}

.section-shell {
  padding: clamp(46px, 7vw, 86px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 26px;
}

.section-heading p {
  max-width: 780px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.event-pagination > span,
.pagination-page {
  color: var(--muted);
  font-weight: 900;
}

.pagination-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.event-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 292px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 12px;
  overflow: visible;
  box-shadow: none;
  scroll-margin-top: 128px;
}

.event-card:has(.event-evidence-details[open]) {
  z-index: 5;
}

.event-card.is-local {
  border-color: rgba(142, 230, 107, 0.52);
}

.event-card.is-major {
  border-color: rgba(74, 163, 255, 0.54);
}

.event-media-column {
  display: grid;
  align-self: start;
  gap: 6px;
  min-width: 0;
}

.event-media {
  position: relative;
  display: block;
  align-self: start;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: #1c2635;
  text-decoration: none;
}

.event-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(8, 11, 16, 0.86), rgba(8, 11, 16, 0));
  content: "";
}

.event-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.image-media {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.image-media img {
  min-height: 0;
}

.image-media.is-image-square {
  aspect-ratio: 1 / 1;
}

.image-media.is-image-portrait {
  aspect-ratio: 4 / 5;
}

.image-media.is-image-tall {
  aspect-ratio: 3 / 4;
}

.image-media.is-image-landscape {
  aspect-ratio: 16 / 10;
}

.image-media.is-image-wide {
  aspect-ratio: 16 / 9;
}

.event-media:hover img {
  transform: scale(1.035);
}

.image-credit-caption {
  margin: 0;
  color: #8f9bae;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.28;
}

.date-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 68px 14px 14px;
}

.date-media {
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, rgba(142, 230, 107, 0.22), rgba(255, 118, 95, 0.18)),
    #111a28;
}

.date-media.variant-0 {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px),
    linear-gradient(145deg, rgba(142, 230, 107, 0.24), rgba(255, 118, 95, 0.18)),
    #111a28;
}

.date-media.variant-1 {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px),
    linear-gradient(150deg, rgba(254, 204, 92, 0.22), rgba(68, 173, 205, 0.2)),
    #141820;
}

.date-media.variant-2 {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(155deg, rgba(232, 91, 110, 0.2), rgba(109, 205, 166, 0.22)),
    #171a21;
}

.date-media.variant-3 {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 17px),
    linear-gradient(145deg, rgba(88, 166, 255, 0.22), rgba(236, 151, 82, 0.18)),
    #131b24;
}

.date-media.variant-4 {
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 20px),
    linear-gradient(150deg, rgba(196, 216, 75, 0.2), rgba(199, 92, 147, 0.2)),
    #161a22;
}

.date-media.variant-5 {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%) 0 0 / 24px 24px,
    linear-gradient(145deg, rgba(114, 215, 194, 0.2), rgba(236, 132, 76, 0.2)),
    #141921;
}

.date-media strong {
  position: relative;
  z-index: 2;
  max-width: 240px;
  font-size: 1.55rem;
  line-height: 1.05;
}

.date-media-city,
.date-media span:last-child {
  position: relative;
  z-index: 2;
  color: #d7deea;
  font-weight: 900;
}

.event-date-chip,
.image-badge {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-date-chip {
  top: 12px;
  left: 12px;
  display: grid;
  min-width: 58px;
  padding: 8px 9px;
  background: rgba(8, 11, 16, 0.82);
  color: #fff;
  text-align: center;
}

.event-date-chip strong {
  color: var(--green);
  font-size: 1.32rem;
  line-height: 1;
}

.image-badge {
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
}

.event-body {
  min-width: 0;
  padding: 4px 0;
}

.event-card h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.48rem;
  line-height: 1.14;
}

.event-label-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 7px;
}

.event-kicker,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid rgba(142, 230, 107, 0.28);
  border-radius: 6px;
  background: rgba(142, 230, 107, 0.12);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-kicker {
  margin: 0;
}

.event-card.is-local .event-kicker {
  border-color: rgba(142, 230, 107, 0.36);
  background: rgba(142, 230, 107, 0.14);
  color: var(--green);
}

.event-card.is-independent .event-kicker {
  border-color: rgba(69, 214, 200, 0.34);
  background: rgba(69, 214, 200, 0.13);
  color: var(--teal);
}

.event-card.is-major .event-kicker {
  border-color: rgba(74, 163, 255, 0.3);
  background: rgba(74, 163, 255, 0.14);
  color: var(--blue);
}

.event-card.is-club .event-kicker {
  border-color: rgba(255, 118, 95, 0.32);
  background: rgba(255, 118, 95, 0.13);
  color: var(--coral);
}

.event-card.is-festival .event-kicker {
  border-color: rgba(245, 200, 75, 0.34);
  background: rgba(245, 200, 75, 0.12);
  color: var(--gold);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.32;
}

.event-description,
.artist-bio {
  margin: 0 0 7px;
  font-size: 0.9rem;
  line-height: 1.42;
}

.artist-billing {
  display: grid;
  gap: 4px;
  margin: 0 0 6px;
  color: #d7deea;
  font-size: 0.88rem;
  font-weight: 780;
  line-height: 1.34;
}

.artist-billing strong {
  display: inline-block;
  min-width: 82px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.tag {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #d7deea;
  text-transform: none;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.artist-links {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  margin-bottom: 6px;
}

.artist-links-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(49, 211, 197, 0.36);
  border-radius: 8px;
  background: rgba(49, 211, 197, 0.12);
  color: #d9fff9;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.artist-link-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.artist-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid rgba(49, 211, 197, 0.28);
  background: rgba(49, 211, 197, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.artist-link-button:hover,
.artist-link-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(136, 234, 109, 0.52);
  background: rgba(136, 234, 109, 0.12);
}

.artist-link-button img {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: cover;
}

.artist-links + .spotify-embed-shell {
  margin-top: 4px;
}

.event-actions .button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.event-source-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 7px 12px;
  margin-top: 7px;
}

.event-evidence-details {
  position: relative;
  flex: 0 0 auto;
  max-width: 100%;
  z-index: 2;
}

.event-evidence-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(69, 214, 200, 0.3);
  border-radius: 6px;
  background: rgba(69, 214, 200, 0.1);
  color: #dffefa;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
}

.event-evidence-details summary::-webkit-details-marker {
  display: none;
}

.event-evidence-details summary::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.16s ease;
}

.event-evidence-details[open] summary {
  border-color: rgba(142, 230, 107, 0.42);
  background: rgba(142, 230, 107, 0.12);
}

.event-evidence-details[open] summary::after {
  transform: rotate(180deg);
}

.evidence-detail-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 5px;
  width: min(420px, calc(100vw - 40px));
  min-width: min(280px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  background: rgba(10, 14, 22, 0.95);
  color: #b9c2d2;
  font-size: 0.78rem;
  font-weight: 740;
  line-height: 1.34;
  list-style: none;
}

.evidence-detail-list li {
  display: grid;
  gap: 2px;
}

.evidence-detail-list strong {
  color: #dffefa;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-source-footer .event-source-line {
  flex: 1 1 300px;
  margin: 0 0 2px;
  font-size: 0.82rem;
}

.event-source-line {
  align-items: center;
  gap: 5px 12px;
}

.event-source-ref {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.event-source-ref small {
  color: #8f9bae;
  font-size: 0.76rem;
  font-weight: 850;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(29, 185, 84, 0.42);
  background: rgba(29, 185, 84, 0.15);
  color: #8df2a9;
  font-size: 0.7rem;
  font-weight: 900;
}

.spotify-compact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  width: fit-content;
  max-width: 100%;
  margin: 6px 0 8px;
  padding: 6px 8px;
  border: 1px solid rgba(29, 185, 84, 0.34);
  border-radius: 8px;
  background: rgba(29, 185, 84, 0.1);
  color: #dfffea;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.35;
}

.event-actions .spotify-compact {
  min-height: 38px;
  margin: 0;
  padding: 6px 9px;
}

.spotify-compact .verified-pill {
  min-height: 22px;
  padding: 3px 7px;
  font-size: 0.68rem;
}

.spotify-artist-name {
  color: var(--ink);
}

.spotify-compact-link {
  color: #8df2a9;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spotify-embed-shell {
  position: relative;
  width: 100%;
  height: 152px;
  min-height: 152px;
  margin: 0 0 8px;
  overflow: hidden;
  border-radius: 8px;
  background: #121212;
}

.spotify-embed {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  background: #121212;
}

.spotify-embed-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #8df2a9;
  font-size: 0.84rem;
  font-weight: 900;
  pointer-events: none;
}

.spotify-embed-shell.is-loading .spotify-embed-placeholder {
  color: #dfffea;
}

.spotify-embed-shell.is-loaded .spotify-embed-placeholder {
  display: none;
}

.map-section {
  background: #f4f0e6;
  color: var(--night);
}

.map-section h2 {
  color: var(--night);
}

.map-section .eyebrow {
  color: #0f7f72;
}

.map-section .section-heading p,
.map-section .map-provider {
  color: var(--muted-strong);
}

.map-shell {
  position: relative;
}

#mapCanvas {
  position: relative;
  width: 100%;
  min-height: min(72svh, 720px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #dfe7ef;
  box-shadow: 0 22px 60px rgba(8, 11, 16, 0.18);
}

.map-venue-panel {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 800;
  display: grid;
  gap: 10px;
  width: min(370px, calc(100% - 36px));
  max-height: calc(100% - 36px);
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(8, 11, 16, 0.18);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.88);
  color: #fff;
  box-shadow: 0 18px 48px rgba(8, 11, 16, 0.25);
  backdrop-filter: blur(14px);
}

.map-focus {
  margin: 0;
  color: #dbe3ee;
  font-weight: 850;
  line-height: 1.35;
}

.map-venue-list {
  display: grid;
  gap: 8px;
}

.map-venue-card {
  display: grid;
  gap: 7px;
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.map-venue-card:hover {
  border-color: rgba(142, 230, 107, 0.52);
  background: rgba(142, 230, 107, 0.12);
}

.map-venue-card.is-muted {
  opacity: 0.72;
}

.map-venue-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.map-venue-card strong {
  color: #fff;
  font-size: 0.95rem;
}

.map-venue-card span {
  color: #cbd5e3;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.map-venue-card-top span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(142, 230, 107, 0.16);
  color: var(--green);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.map-empty {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #cbd5e3;
  font-weight: 800;
}

.map-widget-icon {
  background: transparent;
  border: 0;
}

.map-widget {
  position: absolute;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 232px;
  min-height: 72px;
  padding: 9px;
  border: 1px solid rgba(8, 11, 16, 0.18);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.92);
  color: #fff;
  box-shadow: 0 14px 36px rgba(8, 11, 16, 0.24);
  cursor: pointer;
}

.map-widget::after {
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: rgba(8, 11, 16, 0.92);
  border-right: 1px solid rgba(8, 11, 16, 0.18);
  border-bottom: 1px solid rgba(8, 11, 16, 0.18);
  content: "";
}

.map-widget.is-muted {
  opacity: 0.76;
}

.map-widget-count {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--night);
  font-weight: 950;
}

.map-widget-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.map-widget-copy strong,
.map-widget-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-widget-copy strong {
  color: #fff;
  font-size: 0.88rem;
}

.map-widget-copy span {
  color: #d7deea;
  font-size: 0.74rem;
  font-weight: 800;
}

.google-map-widget {
  z-index: 1;
  font: inherit;
  text-align: left;
}

.alm-map-popup .leaflet-popup-content-wrapper,
.alm-map-popup .leaflet-popup-tip {
  background: #081018;
  color: #fff;
}

.alm-map-popup .leaflet-popup-content {
  margin: 0;
}

.map-popup-card {
  display: grid;
  gap: 8px;
  width: min(320px, 72vw);
  color: #101722;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.alm-map-popup .map-popup-card {
  color: #fff;
}

.map-popup-card img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.map-popup-card h3 {
  margin: 0;
  color: inherit;
  font-size: 1rem;
}

.map-popup-card p {
  margin: 0;
  line-height: 1.35;
}

.map-popup-kicker {
  color: #0f7f72;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.alm-map-popup .map-popup-kicker {
  color: var(--green);
}

.map-popup-list {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.map-popup-list a,
.map-popup-actions a {
  color: #0f7f72;
  font-weight: 900;
  text-decoration: none;
}

.alm-map-popup .map-popup-list a,
.alm-map-popup .map-popup-actions a {
  color: var(--teal);
}

.map-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

#mapCanvas.leaflet-container {
  position: relative;
  overflow: hidden;
}

#mapCanvas .leaflet-pane,
#mapCanvas .leaflet-tile,
#mapCanvas .leaflet-marker-icon,
#mapCanvas .leaflet-marker-shadow,
#mapCanvas .leaflet-tile-container,
#mapCanvas .leaflet-pane > svg,
#mapCanvas .leaflet-pane > canvas,
#mapCanvas .leaflet-zoom-box,
#mapCanvas .leaflet-image-layer,
#mapCanvas .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

#mapCanvas .leaflet-tile {
  width: 256px;
  height: 256px;
  max-width: none;
}

#mapCanvas .leaflet-map-pane {
  z-index: 400;
}

#mapCanvas .leaflet-tile-pane {
  z-index: 200;
}

#mapCanvas .leaflet-overlay-pane {
  z-index: 400;
}

#mapCanvas .leaflet-shadow-pane {
  z-index: 500;
}

#mapCanvas .leaflet-marker-pane {
  z-index: 600;
}

#mapCanvas .leaflet-tooltip-pane {
  z-index: 650;
}

#mapCanvas .leaflet-popup-pane {
  z-index: 700;
}

.map-provider {
  margin: 12px 0 0;
  font-weight: 800;
}

.editorial-section {
  background: var(--deep);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.principle-grid article {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.principle-grid article:nth-child(2) {
  border-top-color: var(--blue);
}

.principle-grid article:nth-child(3) {
  border-top-color: var(--gold);
}

.principle-grid article:nth-child(4) {
  border-top-color: var(--coral);
}

.principle-grid strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.12rem;
}

.source-section {
  background: #101722;
}

.accountability-section {
  background: var(--deep);
}

.correction-section {
  background: #151c20;
}

.database-hero {
  min-height: 48svh;
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  align-content: end;
  padding: clamp(54px, 7vw, 104px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 62px);
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.96), rgba(8, 11, 16, 0.72)),
    #101722;
}

.source-metric-grid,
.verification-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.source-metric-grid {
  max-width: 1180px;
}

.coverage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.source-metric-card,
.verification-grid article,
.coverage-card {
  display: grid;
  gap: 9px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-top-width: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow-wrap: anywhere;
}

.source-metric-card {
  border-top: 3px solid var(--green);
  min-height: 148px;
}

.verification-grid article:nth-child(2),
.coverage-card:nth-child(2n) {
  border-top-color: var(--blue);
}

.verification-grid article:nth-child(3),
.coverage-card:nth-child(3n) {
  border-top-color: var(--coral);
}

.verification-grid article:nth-child(4) {
  border-top-color: var(--gold);
}

.source-metric-card span,
.verification-grid span,
.coverage-card span,
.source-row-kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.source-metric-card strong,
.coverage-card strong {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1;
}

.verification-grid strong {
  color: #fff;
  font-size: 1.05rem;
}

.source-metric-card p,
.verification-grid p,
.coverage-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.source-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: hidden;
  padding: 12px;
  box-shadow: none;
}

.source-row {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.source-row strong {
  color: #fff;
}

.source-row span {
  color: var(--muted);
  font-weight: 850;
}

.source-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.public-source-examples,
.artist-table {
  padding: 0;
}

.public-evidence-row {
  min-height: 210px;
}

.source-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.source-chip-list span,
.platform-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.platform-chip {
  color: var(--night);
  background: var(--green);
  border-color: transparent;
}

.platform-chip.is-muted {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.source-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artist-database-section {
  background: var(--deep);
}

.submit-section {
  background: var(--surface-strong);
  color: var(--night);
}

.submit-section h2 {
  color: var(--night);
}

.submit-section .eyebrow {
  color: #0f7f72;
}

.submit-section .section-heading p {
  color: var(--muted-strong);
}

.submit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1020px;
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  color: var(--night);
  box-shadow: none;
}

.submit-form label span,
.submit-form .checkbox-label span {
  color: #465060;
}

.submit-form select,
.submit-form input,
.submit-form textarea {
  border-color: #d5dbe5;
  background: #fff;
  color: var(--night);
}

.submit-form select {
  color-scheme: light;
}

.submit-form .full {
  grid-column: 1 / -1;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.checkbox-label span {
  margin: 0;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
}

.form-status {
  align-self: center;
  margin: 0;
  color: #495568;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--night);
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 820px;
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 900;
}

.site-footer span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1080px) {
  :root {
    --shell-width: min(calc(100% - 32px), var(--shell-max));
  }

  .mobile-filter-details {
    display: block;
  }

  .mobile-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 10px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(12, 18, 28, 0.78);
    color: var(--text);
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .mobile-filter-summary::-webkit-details-marker {
    display: none;
  }

  .mobile-filter-summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--green);
    font-weight: 900;
  }

  .mobile-filter-details[open] .mobile-filter-summary::after {
    content: "-";
  }

  .mobile-filter-summary > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    font-size: 0.84rem;
    font-weight: 900;
  }

  .mobile-filter-summary small {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-filter-details[open] .toolbar {
    margin-top: 8px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .local-pick-panel {
    max-width: 680px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-stats-strip {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    width: 100%;
  }

  .principle-grid,
  .source-metric-grid,
  .verification-grid,
  .coverage-grid,
  .source-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .app-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: clamp(24px, 3vw, 34px);
    min-height: clamp(520px, 62svh, 700px);
  }

  h1 {
    font-size: clamp(3.15rem, 5.35vw, 4.05rem);
  }

  .lede {
    max-width: 620px;
    font-size: 1.08rem;
  }

  .local-pick-panel {
    max-width: none;
    padding: 18px;
  }

  .hero-pick {
    grid-template-columns: minmax(96px, 0.35fr) minmax(0, 1fr);
  }

  .hero-pick-date {
    min-height: 96px;
    height: auto;
  }

  .hero-pick h3 {
    font-size: 1.08rem;
  }

}

@media (min-width: 721px) and (max-width: 1080px) {
  .toolbar-section {
    margin-bottom: 16px;
    padding: 10px 12px;
  }

  .toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.84rem;
  }

  .event-card {
    grid-template-columns: minmax(220px, 292px) minmax(0, 1fr);
    gap: clamp(14px, 2.4vw, 22px);
  }

  .search-label,
  .date-segment {
    grid-column: span 2;
  }

  .control-field,
  .select-field,
  .date-segment,
  .near-me-toggle,
  .clear-button {
    min-height: 46px;
  }

  .control-field input {
    min-height: 44px;
    font-size: 0.88rem;
  }

  .control-field kbd {
    width: 26px;
    height: 26px;
  }

  .segment-button {
    min-height: 44px;
    gap: 6px;
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .date-menu-wrapper {
    min-height: 44px;
  }

  .select-field {
    padding: 7px 10px 6px;
  }

  .toolbar .select-field > span {
    font-size: 0.66rem;
  }

  .picker-trigger {
    min-height: 22px;
    font-size: 0.82rem;
  }

  .searchable-select,
  .select-field,
  .near-me-toggle,
  .clear-button {
    width: 100%;
  }

  .filter-control-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-control-row::-webkit-scrollbar {
    display: none;
  }

  .filter-control-row > * {
    flex: 1 0 128px;
    width: auto;
  }

  .filter-control-row .near-me-toggle {
    flex-basis: 144px;
  }

  .near-me-toggle,
  .clear-button {
    justify-content: center;
    gap: 10px;
  }

  .near-me-toggle > span {
    flex: 0 0 auto;
  }

  .popular-genres {
    grid-column: 1 / -1;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    min-height: 32px;
    padding: 7px 4px 0;
    scrollbar-width: none;
  }

  .popular-genres::-webkit-scrollbar {
    display: none;
  }

  .popular-genres button {
    flex: 0 0 auto;
    min-height: 28px;
    font-size: 0.78rem;
  }

}

@media (min-width: 721px) and (max-width: 900px) {
  .site-header {
    gap: 14px;
    min-height: 78px;
    padding: 14px 16px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand small {
    max-width: 170px;
    font-size: 0.82rem;
    line-height: 1.15;
  }

  nav {
    flex-wrap: nowrap;
    gap: 14px;
    font-size: 0.9rem;
  }

  nav svg {
    width: 16px;
    height: 16px;
  }

  .saved-link {
    padding-left: 14px;
  }
}

@media (max-width: 900px) {
  .app-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --shell-width: min(calc(100% - 16px), var(--shell-max));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-height: 0;
    margin-top: 0;
    padding: 6px 8px 6px;
    border-radius: 0;
  }

  .brand {
    gap: 9px;
    width: 100%;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }

  .brand strong {
    font-size: 0.92rem;
    line-height: 1.05;
  }

  .brand small {
    margin-top: 1px;
    font-size: 0.68rem;
    line-height: 1.1;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    overflow-x: auto;
    padding: 0 0 4px;
    font-size: 0.74rem;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    min-height: 31px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
  }

  nav a.is-active {
    border-color: rgba(142, 230, 107, 0.45);
    background: rgba(142, 230, 107, 0.12);
  }

  nav a.is-active::after {
    display: none;
  }

  .saved-link {
    padding-left: 9px;
    border-left: 0;
  }

  .toolbar-section {
    position: sticky;
    top: calc(var(--sticky-header-height) - 1px);
    z-index: 30;
    width: var(--shell-width);
    margin-bottom: 16px;
    padding: 7px;
    border-radius: 0 0 8px 8px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .toolbar,
  .snapshot-grid,
  .hero-stats-strip,
  .principle-grid,
  .source-metric-grid,
  .verification-grid,
  .coverage-grid,
  .source-table,
  .source-row,
  .submit-form {
    grid-template-columns: 1fr;
  }

  .toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-size: 0.84rem;
  }

  .search-label,
  .date-segment,
  .filter-control-row,
  .popular-genres {
    grid-column: 1 / -1;
  }

  .control-field,
  .select-field,
  .date-segment,
  .near-me-toggle,
  .clear-button {
    min-height: 46px;
  }

  .control-field {
    gap: 8px;
    padding: 0 10px;
  }

  .control-field input {
    min-height: 44px;
    font-size: 0.9rem;
  }

  .control-field kbd {
    display: none;
  }

  .date-segment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .segment-button {
    min-height: 44px;
    gap: 6px;
    padding: 0 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
    font-size: 0.84rem;
  }

  .segment-button:last-child {
    border-right: 0;
  }

  .date-menu-wrapper {
    min-height: 44px;
  }

  .date-menu-popover {
    right: auto;
    left: 0;
    width: min(340px, calc(100vw - 34px));
  }

  .date-custom-panel {
    grid-template-columns: 1fr;
  }

  .select-field {
    padding: 7px 9px 6px;
  }

  .searchable-select,
  .select-field,
  .near-me-toggle,
  .clear-button {
    min-width: 0;
    width: 100%;
  }

  .filter-control-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .filter-control-row::-webkit-scrollbar {
    display: none;
  }

  .filter-control-row > * {
    flex: 0 0 min(148px, 42vw);
    width: auto;
  }

  .filter-control-row .near-me-toggle {
    flex-basis: 140px;
  }

  .filter-control-row .clear-button {
    flex-basis: 104px;
  }

  .toolbar .select-field > span {
    font-size: 0.64rem;
  }

  .picker-trigger {
    min-height: 22px;
    font-size: 0.82rem;
  }

  .picker-popover {
    position: fixed;
    top: calc(var(--sticky-header-height) + 236px);
    right: 8px;
    bottom: auto;
    left: 8px;
    z-index: 100;
    width: auto;
    max-height: min(48svh, 380px);
    overflow: hidden;
  }

  .picker-options {
    max-height: min(42svh, 280px);
  }

  .near-me-toggle,
  .clear-button {
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .near-me-toggle > span {
    flex: 0 0 auto;
    width: 30px;
    height: 16px;
  }

  .near-me-toggle > span::after {
    width: 10px;
    height: 10px;
  }

  .near-me-toggle.is-active > span::after {
    transform: translateX(14px);
  }

  .popular-genres {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    min-height: 36px;
    overflow-x: auto;
    padding: 8px 2px 0;
    scrollbar-width: none;
  }

  .popular-genres::-webkit-scrollbar {
    display: none;
  }

  .popular-genres > span,
  .popular-genres button {
    flex: 0 0 auto;
  }

  .popular-genres button {
    min-height: 30px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
  }

  .app-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-stats-strip {
    display: grid;
    width: 100%;
  }

  .hero-stats-strip strong,
  .hero-stats-strip span {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stats-strip span + span,
  .hero-stats-strip strong + span {
    border-left: 0;
  }

  .hero-stats-strip strong {
    border-top: 0;
  }

  .stats-date span {
    border-top: 0;
  }

  .hero-pick {
    grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
  }

  .hero-pick-date {
    min-height: 92px;
    height: auto;
  }

  .hero-pick-actions .button {
    gap: 6px;
    min-height: 34px;
    padding: 6px 7px;
    font-size: 0.72rem;
  }

  .hero-pick-actions .button svg {
    width: 16px;
    height: 16px;
  }

  .hero-pick-tag {
    padding: 3px 5px;
    font-size: 0.62rem;
  }

  .event-card {
    padding: 12px;
  }

  .event-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-actions {
    justify-content: space-between;
  }

  .pagination-page {
    display: inline-flex;
    align-items: center;
  }

  .map-venue-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 12px;
  }

  .map-widget {
    width: 208px;
  }

  .event-media,
  .event-media img {
    min-height: 240px;
  }

  .image-media,
  .image-media img {
    min-height: 0;
  }

  .date-media {
    min-height: 240px;
  }

  .event-card h3 {
    font-size: 1.5rem;
  }

  .source-row {
    gap: 6px;
  }
}
