/* =============================================================
   Lancaster Live Music — The Bulletin
   Newsprint direction. Cream paper, two-ink palette (black + red),
   serif typography, ruled hairlines as the primary visual device.
   ============================================================= */

:root {
  --paper: #f3ecdc;
  --paper-shade: #ebe3d0;
  --paper-deep: #e3dabe;
  --ink: #1a1208;
  --ink-soft: #4a3e2c;
  --ink-faint: #5e5240;
  --rule: #2a1f10;
  --rule-soft: rgba(42, 31, 16, 0.35);
  --red: #a82a16;
  --red-deep: #8a1f10;
  --good: #2a7a3a;   /* status: "Listed" — from the venue's calendar */
  --review: #2c557d; /* status: "Needs review" — not yet checked */
  --highlight: rgba(168, 42, 22, 0.08);
  --serif: "Playfair Display", "Times New Roman", serif;
  --display: var(--serif); /* Playfair headline alias of --serif */
  --body: "EB Garamond", Georgia, serif;
  --stamp: "Special Elite", "Courier New", monospace;
}

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(160, 130, 80, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 88% 78%, rgba(130, 90, 50, 0.05) 0%, transparent 45%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  min-height: 100vh;
}
/* Newsprint grain removed for crisper text (legibility pass). */
body::before { display: none; }
.wrap {
  max-width: 1080px; margin: 0 auto; padding: 0 56px;
  position: relative; z-index: 2;
}

a { color: inherit; text-decoration: none; }

/* =============================================================
   Masthead
   ============================================================= */
.masthead { padding: 36px 0 14px; position: relative; }
.preline {
  font-family: var(--body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.preline > * { flex: 1; }
.preline > :nth-child(2) { text-align: center; }
.preline > :nth-child(3) { text-align: right; }

.word {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
}
.word .amp { color: var(--red); font-weight: 400; }
.subhead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 8px;
}
.dateline {
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: 18px;
  border-top: 1px solid var(--rule);
  border-bottom: 4px double var(--rule);
  padding: 12px 0;
  display: flex; justify-content: space-between; align-items: center;
}
/* The Vol/No dateline tag and the rotated masthead stamp were removed in the
   declutter pass — their markup no longer exists, so their CSS is gone too. */

/* =============================================================
   View tabs (top nav)
   ============================================================= */
.topnav .wrap {
  display: flex; justify-content: center; gap: 0;
  border-bottom: 1px solid var(--rule);
}
.topnav a {
  font-family: var(--body); font-weight: 500;
  font-size: 14.5px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
  padding: 14px 22px;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  transition: 0.12s;
}
.topnav a:first-child { border-left: 1px solid var(--rule); }
.topnav a:hover { background: var(--paper-shade); color: var(--ink); }
.topnav a.on { color: var(--paper); background: var(--ink); }
.topnav a.on:hover { background: var(--ink); }
.topnav .topnav-spacer {
  flex: 1; border: 0; cursor: default; padding: 0;
  background: none;
}
.topnav .topnav-spacer:hover { background: none; }
.topnav .topnav-side {
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.12em;
  border-right: 1px solid var(--rule);
  background: none;
}
.topnav .topnav-side:hover { background: var(--paper-shade); color: var(--ink); }

/* =============================================================
   Category chip row — top-of-bar primary view selector.
   Sits above the refine row. Multi-select; can't clear last.
   ============================================================= */
.cats {
  border-bottom: 1px solid var(--rule-soft);
  background: var(--paper);
}
.cats .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  align-items: center;
  padding: 12px 56px;
}
.cats-label {
  font-family: var(--body);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  margin-right: 4px;
}
/* Event-type chips — rounded, icon-led pills, deliberately a different species
   from the hard square uppercase time tabs (.topnav) above. */
.cat-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--body);
  font-size: 13.5px;
  background: var(--paper);
  color: var(--ink-soft);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  padding: 5px 13px;
  cursor: pointer;
  transition: 0.12s;
}
.cat-btn i { font-size: 15px; line-height: 1; }
.cat-btn:hover { border-color: var(--rule); color: var(--ink); }
.cat-btn.on   { background: var(--highlight); color: var(--red); border-color: var(--red); font-weight: 500; }
.cat-btn.on:hover { background: rgba(168,42,22,0.16); border-color: var(--red); color: var(--red); }

/* ── Top declutter pass (cohesive with the redesign) ───────────────────── */
.scope-strip { display: none; }   /* redundant with the Where picker above */

/* List <-> Map toggle on the time views (Tonight / Weekend / Week) */
.layout-bar { display: flex; justify-content: flex-end; padding: 16px 0 0; }
.layout-toggle { display: inline-flex; border: 1px solid var(--rule); }
.lt-btn {
  font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--paper); color: var(--ink-soft); border: 0; border-right: 1px solid var(--rule);
  padding: 7px 16px; cursor: pointer; transition: 0.12s;
}
.lt-btn:last-child { border-right: 0; }
.lt-btn.on { background: var(--ink); color: var(--paper); }
.lt-btn:not(.on):hover { background: var(--paper-shade); color: var(--ink); }

/* =============================================================
   Refine bar
   ============================================================= */
.refine .wrap {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding: 16px 56px 22px;
  align-items: baseline;
  font-family: var(--body); font-size: 14.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
}
.refine .label { font-style: italic; color: var(--ink); font-weight: 500; }
.refine .r-btn {
  background: none; border: 0;
  font-family: inherit; font-size: inherit; color: var(--ink-soft);
  cursor: pointer;
  padding: 2px 0;
  border-bottom: 1px dotted var(--ink-faint);
}
.refine .r-btn:hover { color: var(--ink); border-bottom-color: var(--ink); }
.refine .r-btn.on {
  color: var(--red);
  border-bottom: 2px solid var(--red);
  font-weight: 700;
}
.refine .spacer { flex: 1; }
/* =============================================================
   Location + radius picker — replaces the old town dropdown.
   Anchored under the refine row; opens a small panel below.
   ============================================================= */
.refine { position: relative; }
.where-pick {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-style: italic;
  color: var(--ink);
}
.where-pick .wp-label { color: var(--ink); font-weight: 500; }
.wp-anchor, .wp-radius {
  font: inherit; font-style: italic;
  background: none; border: 0;
  color: var(--red);
  padding: 2px 0;
  cursor: pointer;
  border-bottom: 1px dotted var(--red);
}
.wp-anchor:hover, .wp-radius:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }
.wp-anchor.open, .wp-radius.open { color: var(--red-deep); border-bottom-style: solid; }
.wp-caret { font-style: normal; font-size: 0.85em; margin-left: 2px; }
.wp-within { color: var(--ink-soft); font-style: italic; }

.wp-panel {
  position: absolute;
  top: 100%; right: 56px;
  z-index: 50;
  margin-top: -1px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 0;
  box-shadow: 0 12px 24px rgba(42, 31, 16, 0.15);
  width: min(880px, calc(100vw - 56px));
}
.wp-panel-inner { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 0; }
.wp-col-preview { background: var(--paper-shade); }
.wp-mini-map {
  width: 100%; height: 180px;
  border: 1px solid var(--rule);
  background: var(--paper-shade);
}
.wp-mini-meta {
  margin-top: 10px;
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.wp-mini-meta b { font-style: normal; color: var(--ink); font-weight: 600; }
.wp-col { padding: 18px 20px; }
.wp-col + .wp-col { border-left: 1px solid var(--rule-soft); }
.wp-col-head {
  font-family: var(--body);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 12px;
}
.wp-towns {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  max-height: 240px;
  overflow-y: auto;
}
.wp-town {
  font: inherit;
  font-family: var(--serif);
  font-size: 15px;
  background: none; border: 0;
  padding: 4px 2px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid transparent;
}
.wp-town:hover { color: var(--red); border-bottom-color: var(--red); }
.wp-town.on { color: var(--red); font-weight: 700; border-bottom-color: var(--red); }
.wp-zip {
  display: flex; gap: 8px; align-items: stretch;
  margin-bottom: 10px;
}
.wp-zip input {
  font: inherit;
  font-family: var(--stamp);
  font-size: 16px;
  letter-spacing: 0.12em;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  background: var(--paper-shade);
  width: 110px;
  color: var(--ink);
}
.wp-zip input:focus { outline: 0; border-color: var(--red); }
.wp-zip button {
  font-family: var(--body);
  font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.16em;
  background: var(--ink); color: var(--paper);
  border: 0; padding: 0 14px;
  cursor: pointer;
}
.wp-zip button:hover { background: var(--red); }
.wp-hint {
  font-family: var(--body);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.wp-reset {
  font-family: var(--body); font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  background: none; border: 0;
  padding: 4px 0;
  cursor: pointer;
  border-bottom: 1px dotted var(--ink-faint);
}
.wp-reset:hover { color: var(--red); border-bottom-color: var(--red); }

#wp-radius-panel { width: auto; right: 56px; }
.wp-radii {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px 18px;
}
.wp-radii button {
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  cursor: pointer;
}
.wp-radii button:hover { background: var(--ink); color: var(--paper); }

/* =============================================================
   Scope strip — always-visible "you're looking at …"
   Sits between the refine bar and the content. Doubles as a CTA
   to open the location picker.
   ============================================================= */
.scope-strip {
  border-bottom: 1px solid var(--rule-soft);
  background:
    repeating-linear-gradient(135deg, rgba(184, 51, 31, 0.03) 0 8px, transparent 8px 16px),
    var(--paper-shade);
}
.scope-strip .wrap {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 56px;
}
.scope-marker {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--red);
  border: 2px solid var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,0.18);
  flex: 0 0 auto;
}
.scope-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  flex: 1;
}
.scope-line b {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 1px;
}
.scope-change {
  font-family: var(--body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 7px 14px;
  cursor: pointer;
  transition: 0.12s;
}
.scope-change:hover { background: var(--ink); color: var(--paper); }

/* =============================================================
   Section heads (used inside views)
   ============================================================= */
.section-head { text-align: center; padding: 30px 0 22px; }
.section-head .kicker {
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--red);
  font-weight: 700;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  margin: 8px 0 6px;
  letter-spacing: -0.01em;
}
.section-head .deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 4px auto 0;
}

/* =============================================================
   Listings — scan-tuned timetable rows
   A time rail (one scan column) · a ruled category bug · the details.
   Shared by Tonight, Weekend, Search and the event-detail view.
   ============================================================= */
.listings { padding: 20px 0 8px; }
.listing {
  display: grid;
  grid-template-columns: 64px 34px 1fr;
  column-gap: 16px;
  padding: 16px 0 17px;
  border-top: 1px dashed var(--rule-soft);
}
.listing:first-child { border-top: 0; }

/* Time rail — bold red start time against a continuous vertical rule */
.sc-time {
  text-align: right;
  border-right: 1px solid var(--rule);
  padding: 2px 13px 0 0;
  line-height: 1.06;
}
.sc-time .sc-date {
  display: block; font-family: var(--body);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--ink-soft); margin-bottom: 3px;
}
.sc-time .sc-h { font-family: var(--body); font-weight: 700; font-size: 19px; color: var(--red); }
.sc-time .sc-ap {
  display: block; font-family: var(--body); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-top: 3px;
}
.sc-time .sc-end {
  display: block; font-family: var(--body); font-style: italic;
  font-size: 11px; color: var(--ink-faint); margin-top: 4px;
}
.sc-time .started-tag { display: block; margin-top: 5px; font-size: 11px; }

/* Category section bug (Option A) — thin line mark in a ruled circle */
.sc-bug {
  width: 32px; height: 32px; margin-top: 1px;
  border: 1px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.sc-bug svg { width: 17px; height: 17px; display: block; }
.sc-bug i { font-size: 18px; line-height: 1; }

/* Details column */
.sc-body { min-width: 0; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.listing .artist {
  font-family: var(--serif); font-size: 23px; font-weight: 700;
  line-height: 1.12; margin: 0; letter-spacing: -0.01em;
}
.listing .artist em { font-style: italic; font-weight: 400; }

/* Status — round dot; green "Listed", blue "Needs review".
   Generic base (NOT scoped to a view) so every view inherits the same dot. */
.conf {
  font-family: var(--body); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.01em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; color: var(--review);
}
.conf::before {
  content: ""; flex: 0 0 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--review);
}
.conf.mid { color: var(--review); }
.conf.mid::before { background: var(--review); }
.conf.hi { color: var(--good); }
.conf.hi::before { background: var(--good); }
/* Dot-only status (tiny week/month grid cells): the ::before dot, no label text. */
.conf-dot { gap: 0; vertical-align: middle; }
.conf-dot::before { flex: 0 0 7px; width: 7px; height: 7px; }

.listing .venue {
  font-family: var(--body); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-soft); margin-top: 4px;
}
.listing .venue b { color: var(--ink); font-weight: 700; }
.listing .meta {
  margin-top: 7px; display: flex; flex-wrap: wrap; gap: 4px 8px;
  align-items: baseline; font-size: 13px; color: var(--ink-soft); font-style: italic;
}
.listing .meta .pbadge { font-style: normal; }
.listing .meta span::before { content: "·"; margin-right: 8px; color: var(--ink-faint); }
.listing .meta span:first-child::before { content: ""; margin: 0; }
.listing .desc { font-size: 15px; line-height: 1.5; color: var(--ink); margin-top: 7px; }
.listing .desc b { color: var(--red); font-weight: 700; }
.listing .source {
  display: inline-block; font-family: var(--body); font-size: 12.5px;
  color: var(--red); font-style: italic; border-bottom: 1px solid var(--red);
}
.listing .source:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }
.listing .ev-actions { margin-top: 11px; }

/* Mobile — collapse the rail inline; keep a compact category bug so the
   at-a-glance category read survives on phones. */
@media (max-width: 600px) {
  .listing { grid-template-columns: 28px 1fr; column-gap: 12px; }
  .sc-time {
    grid-column: 1 / -1;
    text-align: left; border-right: 0; padding: 0 0 4px;
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  }
  .sc-time .sc-date, .sc-time .sc-ap, .sc-time .sc-end { display: inline; margin: 0; }
  .sc-time .sc-h { font-size: 16px; }
  .sc-bug { width: 26px; height: 26px; }
  .sc-bug svg { width: 14px; height: 14px; }
  .sc-bug i { font-size: 15px; }
  .sc-top { gap: 10px; }
}

/* =============================================================
   Period header bar (Day / Week / Month nav)
   ============================================================= */
.period-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 0 18px;
  border-bottom: 1px solid var(--rule);
}
.period-bar .pb-left { display: flex; align-items: baseline; gap: 18px; }
.period-bar h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.015em;
}
.period-bar h2 em { color: var(--red); font-style: italic; font-weight: 400; }
.period-bar .count {
  font-family: var(--body);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
}
.period-nav { display: flex; gap: 8px; align-items: center; }
.period-nav button {
  font-family: var(--body); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.16em;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  transition: 0.12s;
}
.period-nav button:hover { background: var(--ink); color: var(--paper); }
.period-nav button.today { font-weight: 700; }
/* At the current period there's nothing earlier to show — prev reads as inert. */
.period-nav button:disabled { opacity: 0.3; cursor: default; }
.period-nav button:disabled:hover { background: var(--paper); color: var(--ink); }

/* =============================================================
   Day view — timeline
   ============================================================= */
.daygrid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  border-top: 4px double var(--rule);
  border-bottom: 4px double var(--rule);
}
.daygrid .hour {
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  padding: 14px 16px 14px 0;
  text-align: right;
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule-soft);
  font-feature-settings: "tnum";
}
.daygrid .hour:first-of-type { border-top: 0; }
.daygrid .hour.cell-empty,
.daygrid .slot.cell-empty {
  min-height: 78px;
}
.daygrid .slot {
  border-top: 1px solid var(--rule-soft);
  padding: 8px 0 8px 24px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.daygrid .slot:first-of-type { border-top: 0; }
.daygrid .slot.empty::before {
  content: "—";
  color: var(--ink-faint);
  font-style: italic;
  font-size: 14px;
  align-self: center;
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
}
.day-show {
  border-left: 3px solid var(--red);
  padding: 4px 0 4px 14px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: baseline;
}
.day-show .sc-bug { align-self: start; margin-top: 1px; }
.day-show .ds-body { min-width: 0; }
.day-show .ds-artist {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.day-show .ds-venue {
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-top: 2px;
}
.day-show .ds-venue b { color: var(--ink); font-weight: 700; }
.day-show .ds-meta {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.day-show .ds-meta .red { color: var(--red); font-style: normal; font-weight: 600; }
.day-show .ds-actions {
  font-family: var(--body);
  font-size: 12.5px;
  text-align: right;
  white-space: nowrap;
}
.day-show .ds-actions a {
  display: block;
  color: var(--ink-soft);
  font-style: italic;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 4px;
}
.day-show .ds-actions a:hover { color: var(--red); border-bottom-color: var(--red); }
/* Status dot inherits the generic base .conf — no view-scoped override here. */
.day-show .ds-actions .conf { justify-content: flex-end; }

/* =============================================================
   Week view — 7-column schedule grid
   ============================================================= */
.weekgrid {
  display: grid;
  grid-template-columns: 70px repeat(7, minmax(0, 1fr));
  border-top: 4px double var(--rule);
  border-bottom: 4px double var(--rule);
  margin-bottom: 26px;
}
.weekgrid .wd-head,
.weekgrid .wd-time {
  font-family: var(--body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule);
}
.weekgrid .wd-head { background: var(--paper-shade); font-weight: 700; color: var(--ink); }
.weekgrid .wd-head.today { background: var(--ink); color: var(--paper); }
.weekgrid .wd-head .num {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.weekgrid .wd-time {
  text-align: right; padding-right: 12px;
  border-right: 1px solid var(--rule);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 0;
  padding-top: 10px;
  font-size: 11.5px;
}
.weekgrid .wd-cell {
  border-right: 1px solid var(--rule-soft);
  border-top: 1px solid var(--rule-soft);
  min-height: 64px;
  padding: 4px 6px;
  position: relative;
}
.weekgrid .wd-cell.today { background: var(--highlight); }
.weekgrid .wd-cell:last-child { border-right: 0; }
/* Days already gone: muted column, never populated (forward-looking calendar). */
.weekgrid .wd-head.past { opacity: 0.38; }
.weekgrid .wd-cell.past { background: var(--paper-deep); }
.week-show {
  display: block;
  padding: 4px 6px;
  margin-bottom: 4px;
  border-left: 2px solid var(--red);
  background: var(--paper-shade);
  cursor: pointer;
  transition: 0.12s;
}
.week-show:hover { background: var(--ink); color: var(--paper); }
.week-show:hover .ws-venue { color: var(--paper); }
.week-show .ws-time {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  display: flex; align-items: center; gap: 5px;
}
/* Compact inline category mark for the tiny grid cells (no ruled circle) */
.ws-bug, .ms-bug { display: inline-flex; align-items: center; color: var(--ink-soft); }
.ws-bug i, .ms-bug i { font-size: 13px; line-height: 1; }
.week-show:hover .ws-time,
.week-show:hover .ws-bug { color: var(--paper); }
.week-show .ws-artist {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin-top: 1px;
}
.week-show .ws-venue {
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: 1px;
}

/* =============================================================
   Month view — classic calendar grid
   ============================================================= */
.monthgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 4px double var(--rule);
  border-left: 1px solid var(--rule);
}
.monthgrid .md-head {
  font-family: var(--body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-align: center;
  padding: 12px 4px;
  background: var(--paper-shade);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.monthgrid .md-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  min-height: 130px;
  padding: 10px 12px;
  display: flex; flex-direction: column;
  gap: 4px;
  background: var(--paper);
}
.monthgrid .md-cell.other { background: var(--paper-deep); color: var(--ink-faint); }
.monthgrid .md-cell.other .md-num { color: var(--ink-faint); }
.monthgrid .md-cell.today { background: var(--highlight); }
.monthgrid .md-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  display: flex; justify-content: space-between; align-items: baseline;
}
.monthgrid .md-cell.today .md-num::after {
  content: "Today";
  font-family: var(--body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}
.monthgrid .md-summary {
  font-family: var(--body);
  font-size: 11.5px;
  font-style: italic;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.monthgrid .md-show {
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.3;
  padding: 2px 0 2px 8px;
  border-left: 2px solid var(--red);
  cursor: pointer;
}
.monthgrid .md-show .ms-bug { margin-right: 3px; vertical-align: middle; }
.monthgrid .md-show .conf-dot { margin-right: 4px; }
.monthgrid .md-show .ms-time {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-right: 4px;
  font-size: 11px;
}
.monthgrid .md-show .ms-artist {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.monthgrid .md-show:hover .ms-artist { text-decoration: underline; }
.monthgrid .md-more {
  font-family: var(--body);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--ink-faint);
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  cursor: pointer;
}

/* =============================================================
   Map view — Leaflet host inside a newsprint frame
   ============================================================= */
.mapview {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  padding: 30px 0;
}
.mapcanvas {
  position: relative;
  background: var(--paper-shade);
  border: 4px double var(--rule);
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.leaflet-host {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background: var(--paper-shade);
}

/* Tone the Carto Positron tiles to the bulletin cream. The tile <img> elements
   carry the .bulletin-tiles class set in the JS tileLayer options. */
.bulletin-tiles {
  filter:
    sepia(0.32)
    saturate(0.78)
    brightness(0.99)
    contrast(0.94)
    hue-rotate(-6deg);
  mix-blend-mode: multiply;
}

/* Leaflet UI — match newsprint typography */
.leaflet-container,
.leaflet-control,
.leaflet-popup-content { font-family: var(--body); color: var(--ink); }
.leaflet-control-attribution {
  background: rgba(243, 236, 220, 0.85) !important;
  font-family: var(--body) !important;
  font-size: 10.5px !important;
  font-style: italic !important;
  color: var(--ink-soft) !important;
  padding: 2px 6px !important;
}
.leaflet-control-attribution a { color: var(--red); }
.leaflet-control-zoom a {
  background: var(--paper) !important;
  border: 1px solid var(--rule) !important;
  color: var(--ink) !important;
  font-family: var(--serif);
}
.leaflet-control-zoom a:hover { background: var(--ink) !important; color: var(--paper) !important; }

/* County stamp (kept) overlays the map */
.mapcanvas .county-stamp {
  position: absolute;
  bottom: 12px; right: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.05;
  user-select: none;
  background: rgba(243, 236, 220, 0.78);
  padding: 6px 10px 4px;
  border: 1px solid var(--rule-soft);
  z-index: 500;
  pointer-events: none;
}
.mapcanvas .county-stamp small {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Custom red drop pin (replaces Leaflet default marker icon) */
.venue-pin {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.venue-pin .vp-dot {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--red);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22), 0 4px 8px rgba(42, 31, 16, 0.18);
  margin-left: -1px;
}
.venue-pin .vp-label {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  text-align: center;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
  /* Labels are hidden by default — they collide in dense city clusters.
     Reveal on hover/active for the focused pin only. */
  opacity: 0;
  background: rgba(243, 236, 220, 0.94);
  padding: 4px 8px 3px;
  border: 1px solid var(--rule-soft);
  box-shadow: 0 4px 10px rgba(42, 31, 16, 0.18);
  transition: opacity .14s;
}
.venue-pin .vp-label small {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-style: italic;
  font-size: 11.5px;
  color: var(--red);
  margin-top: 1px;
  letter-spacing: 0;
}
.venue-pin:hover .vp-dot,
.venue-pin.active .vp-dot {
  background: var(--ink);
  transform: rotate(-45deg) scale(1.25);
}
.venue-pin:hover .vp-label,
.venue-pin.active .vp-label { opacity: 1; }
.venue-pin:hover, .venue-pin.active { z-index: 1000 !important; }

/* Anchor cross for the radius origin */
.anchor-mark .anchor-cross {
  width: 16px; height: 16px;
  position: relative;
}
.anchor-mark .anchor-cross::before,
.anchor-mark .anchor-cross::after {
  content: ""; position: absolute;
  background: var(--red);
}
.anchor-mark .anchor-cross::before { left: 7px; top: 0; width: 2px; height: 16px; }
.anchor-mark .anchor-cross::after  { top: 7px; left: 0; height: 2px; width: 16px; }

/* Map side panel */
.map-side {
  border-left: 4px double var(--rule);
  padding-left: 28px;
}
/* Event-list side (Zillow split) — compact rows linked to the map pins */
.map-day {
  font-family: var(--body); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--red); font-weight: 700;
  margin: 16px 0 4px; padding-bottom: 4px; border-bottom: 1px solid var(--rule-soft);
}
.map-ev {
  display: grid; grid-template-columns: 30px 1fr; gap: 11px;
  padding: 9px 6px; border-top: 1px dashed var(--rule-soft);
  cursor: pointer; transition: background 0.12s;
}
.map-ev:first-of-type { border-top: 0; }
.map-ev .me-icon {
  width: 28px; height: 28px; border: 1px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink); margin-top: 1px;
}
.map-ev .me-icon i { font-size: 15px; line-height: 1; }
.map-ev .me-main { min-width: 0; }
.map-ev .me-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.map-ev .me-art { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: -0.005em; line-height: 1.15; }
.map-ev .me-when { font-family: var(--body); font-weight: 700; font-size: 12px; color: var(--red); white-space: nowrap; }
.map-ev .me-sub { font-family: var(--body); font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.map-ev .me-sub b { color: var(--ink); font-weight: 700; }
.map-ev:hover, .map-ev.active { background: var(--highlight); }
.map-side h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  margin: 0 0 14px;
  line-height: 1.1;
}
.map-side h3 em { color: var(--red); font-style: italic; }
.map-side .deck {
  font-family: var(--body);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--ink-faint);
  padding-bottom: 14px;
}
/* (The legacy .map-venue side-panel rows were replaced by the .map-ev
   event-list split; their CSS has been removed as dead code.) */

/* =============================================================
   By Venue list view
   ============================================================= */
.venue-list { padding: 30px 0; }
.venue-block {
  border-top: 4px double var(--rule);
  padding: 24px 0 16px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}
.venue-block .vb-head h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.venue-block .vb-head .vb-meta {
  font-family: var(--body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}
.venue-block .vb-head .vb-source {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--body);
  font-size: 13.5px;
  font-style: italic;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}
.venue-block .vb-shows { display: flex; flex-direction: column; }
.venue-block .vb-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ink-faint);
  font-size: 15px;
}
.venue-block .vb-row .vbr-when {
  font-family: var(--body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
/* Compact ruled bug for the venue/band list when-cells */
.vb-row .sc-bug, .bb-row .sc-bug {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 0; color: var(--ink);
}
.vb-row .sc-bug i, .bb-row .sc-bug i { font-size: 14px; }
.venue-block .vb-row .vbr-artist {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.venue-block .vb-row .vbr-tags {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

/* =============================================================
   Band link affordance — applies anywhere artist names are
   rendered through artistLink().
   ============================================================= */
.band-link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  transition: 0.12s;
}
.band-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* "Watched" badge — both for venues and bands on the watchlist */
.watched {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--good);
  text-transform: uppercase;
  border: 1px solid var(--good);
  padding: 2px 6px 1px;
  vertical-align: middle;
}

/* =============================================================
   By Band view
   ============================================================= */
.band-list { padding: 22px 0; }
.band-block {
  border-top: 4px double var(--rule);
  padding: 22px 0 14px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px;
}
.band-block .bb-head h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.band-block .bb-meta {
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.band-block .bb-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  line-height: 1.45;
}
.band-block .bb-shows { display: flex; flex-direction: column; }
.band-block .bb-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ink-faint);
  font-size: 15px;
  align-items: baseline;
}
.band-block .bb-row .bbr-when {
  font-family: var(--body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.band-block .bb-row .bbr-venue {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.band-block .bb-row .bbr-tags {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}
.band-block .bb-empty {
  font-family: var(--serif); font-style: italic;
  color: var(--ink-faint); font-size: 14.5px;
  padding: 10px 0;
}

.band-uncovered {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--paper-shade);
  border: 1px dashed var(--ink-faint);
}
.band-uncovered h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.band-uncovered h3 em { color: var(--red); font-style: italic; }
.band-uncovered .bu-deck {
  font-family: var(--serif); font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.band-uncovered .bu-list {
  list-style: none; padding: 0; margin: 0;
  columns: 2; gap: 20px;
  font-family: var(--body);
  font-size: 14.5px;
}
.band-uncovered .bu-list li { padding: 3px 0; break-inside: avoid; }
.band-uncovered .bu-meta { color: var(--ink-faint); font-style: italic; }

/* Band detail body — single-column variant of venue detail */
.bd-body { padding: 28px 0; }
.bd-sources {
  margin: 8px 0 6px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.bd-sources a {
  font-family: var(--body); font-style: italic;
  font-size: 13.5px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

/* =============================================================
   Venue detail page
   ============================================================= */
.venue-link {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  transition: 0.12s;
}
.venue-link:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.vd-back {
  padding: 18px 0 10px;
  font-family: var(--body); font-style: italic; font-size: 14px;
}
.vd-back a {
  color: var(--ink-soft);
  border-bottom: 1px dotted var(--ink-faint);
}
.vd-back a:hover { color: var(--red); border-bottom-color: var(--red); }

.vd-head {
  border-top: 4px double var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 0 22px;
  text-align: center;
}
.vd-head .vd-eyebrow {
  font-family: var(--body);
  font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--red);
  font-weight: 700;
}
.vd-head .vd-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  margin: 8px 0 6px;
  letter-spacing: -0.02em;
}
.vd-head .vd-addr {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.vd-head .vd-source {
  display: inline-block;
  font-family: var(--body); font-style: italic;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}
.vd-head .vd-source:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }
.vd-head .vd-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 14px auto 0;
  line-height: 1.5;
}

.vd-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  padding: 28px 0;
}
.vd-section {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  padding-bottom: 6px;
  border-bottom: 4px double var(--rule);
}
.vd-section em { font-style: italic; color: var(--red); }

.vd-list { display: flex; flex-direction: column; }
.vd-show {
  padding: 18px 0;
  border-bottom: 1px dashed var(--ink-faint);
}
.vd-show:last-child { border-bottom: 0; }
.vd-show .vd-when {
  font-family: var(--body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
/* Status dot inherits the generic base .conf — no view-scoped override here. */
.vd-show .vd-artist {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.vd-show .vd-meta {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.vd-show .vd-blurb {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink);
  margin: 6px 0 8px;
}
.vd-show .vd-tickets {
  font-family: var(--body); font-style: italic;
  font-size: 13px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}
.vd-show .vd-tickets:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }
.vd-empty {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--ink-soft);
  padding: 22px 0;
}

.vd-right {
  border-left: 4px double var(--rule);
  padding-left: 28px;
}
.vd-map {
  width: 100%; height: 280px;
  border: 1px solid var(--rule);
  background: var(--paper-shade);
}
.vd-map-meta {
  margin-top: 10px;
  font-family: var(--body);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.vd-coords {
  font-family: var(--stamp);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

/* =============================================================
   Empty state
   ============================================================= */
.empty {
  text-align: center;
  padding: 80px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-soft);
}

/* =============================================================
   About page
   ============================================================= */
.about-page { padding-bottom: 24px; }
.about-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0;
}
.about-lede { text-align: center; padding: 12px 0 18px; }
.about-lede .kicker {
  font-family: var(--body);
  font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.35em;
  color: var(--red); font-weight: 700;
}
.about-lede h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 8px 0 14px;
}
.about-lede p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 580px;
}
.about-lede b { font-style: normal; color: var(--ink); }
.about-lede em { color: var(--red); font-style: italic; }

.about-article h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}
.about-article p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
}
.about-article p b { color: var(--ink); }
.about-article p em { color: var(--ink-soft); font-style: italic; }
.about-article a { color: var(--red); border-bottom: 1px solid var(--red); }
.about-article a:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }

.about-legend {
  display: grid; gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  background: var(--paper-shade);
  margin: 14px 0 18px;
}
.about-legend > div {
  display: flex; gap: 14px; align-items: flex-start;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.45;
}
.about-legend > div b { color: var(--ink); }
.about-legend > div span { color: var(--ink-soft); }
.leg-dot {
  display: inline-block; flex: 0 0 auto;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--red);
}
.leg-dot.hi  { background: var(--good); }
.leg-dot.mid { background: var(--review); }

.about-future {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
  padding-left: 22px;
}
.about-future li { margin-bottom: 6px; }
.about-future b { color: var(--ink); }

.about-colophon {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 4px double var(--rule);
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
  line-height: 1.7;
}
.about-colophon i { font-style: italic; }

/* =============================================================
   Coverage page
   ============================================================= */
.coverage-page { padding-bottom: 24px; }
.coverage-page .about-lede { padding: 12px 0 22px; }

.cov-section {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 4px double var(--rule);
}
.cov-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 4px;
}
.cov-section-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.cov-count {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}
.cov-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.5;
}
.cov-deck em { color: var(--red); }

.cov-list { display: flex; flex-direction: column; }
.cov-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ink-faint);
  align-items: baseline;
}
.cov-row:last-child { border-bottom: 0; }
.cov-row .cov-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.cov-row .cov-name a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
}
.cov-row .cov-name a:hover { color: var(--red); border-bottom-color: var(--red); }
.cov-row .cov-meta {
  font-family: var(--body);
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.cov-row .cov-src {
  font-family: var(--body); font-style: italic;
  font-size: 13px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
}
.cov-row .cov-src.cov-src-none {
  color: var(--ink-faint);
  border-bottom: 0;
}

.cov-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.cov-cat {
  border: 1px solid var(--rule);
  padding: 14px 16px;
  background: var(--paper-shade);
}
.cov-cat b {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.cov-cat span {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Inline legend dot used in the coverage colophon */
.leg-inline {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 4px 0 8px;
  vertical-align: middle;
}
.leg-inline.hi  { background: var(--good); }
.leg-inline.mid { background: var(--review); }

/* =============================================================
   Newsletter signup band
   ============================================================= */
.newsletter {
  border-top: 4px double var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    repeating-linear-gradient(0deg, rgba(184, 51, 31, 0.02) 0 1px, transparent 1px 6px),
    var(--paper-shade);
}
.newsletter .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 32px 56px;
  align-items: center;
}
.newsletter .nl-eyebrow {
  font-family: var(--body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 6px;
}
.newsletter h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.05;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.newsletter p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
.nl-form {
  display: flex; flex-direction: column; gap: 10px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nl-form input[type="email"] {
  font: inherit;
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
}
.nl-form input[type="email"]:focus { outline: 0; border-color: var(--red); }
.nl-form button {
  font-family: var(--body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
}
.nl-form button:hover { background: var(--red); }
.nl-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.nl-prefs-label { font-family: var(--body); font-size: 13px; color: var(--ink-soft); }
.nl-prefs .nl-chip {
  font-family: var(--body); font-size: 12.5px; text-transform: none; letter-spacing: 0;
  padding: 5px 12px; border: 1px solid var(--rule); background: transparent;
  color: var(--ink-soft); border-radius: 999px; cursor: pointer;
}
.nl-prefs .nl-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nl-prefs .nl-chip:hover { border-color: var(--red); color: var(--ink); }
.nl-status {
  font-family: var(--body); font-style: italic; font-size: 13.5px;
}
.nl-status.ok  { color: var(--good); }
.nl-status.err { color: var(--red); }

/* =============================================================
   Page footer
   ============================================================= */
.page-foot {
  border-top: 4px double var(--rule);
  margin-top: 40px;
}
.page-foot .wrap {
  padding: 22px 56px 30px;
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink-soft);
  font-style: italic;
}
.page-foot .legend {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--ink-faint);
  font-style: normal;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.page-foot .legend .dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; margin-right: 8px;
  vertical-align: middle;
  background: var(--red);
}
.page-foot .legend .dot.hi  { background: var(--good); }
.page-foot .legend .dot.mid { background: var(--review); }
.page-foot .masthead-note {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 760px;
}
.page-foot .masthead-note b { font-style: normal; color: var(--red); font-weight: 700; }
/* Search bar */
.searchbar { border-bottom: 1px solid var(--rule); }
.searchbar .wrap { padding: 10px 20px; }
#search-input {
  width: 100%; box-sizing: border-box; font-family: var(--body); font-size: 15px;
  padding: 10px 14px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
}
#search-input:focus { outline: 0; border-color: var(--red); }

/* Event-card action links (Directions / + Calendar alongside Venue calendar) */
.ev-actions { display: flex; flex-wrap: wrap; gap: 7px 16px; align-items: baseline; }
.ev-act {
  font-family: var(--body); font-size: 12.5px; color: var(--ink-soft);
  text-decoration: none; border-bottom: 1px solid transparent;
}
.ev-act:hover { color: var(--red); border-bottom-color: currentColor; }
/* Share button styled to match the .ev-act links */
button.ev-act.ev-share { background: none; border: none; border-bottom: 1px solid transparent; padding: 0; cursor: pointer; }

/* Price / ticket clarity badge — explicit Free vs ticket vs unknown */
.pbadge { display: inline-block; font-family: var(--body); font-size: 11.5px; line-height: 1.5; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--ink-faint); }
.pbadge-free { background: var(--ink); color: var(--paper); border-color: var(--ink); letter-spacing: .3px; }
.pbadge-ticket { color: var(--ink); }
.pbadge-tba { color: var(--ink-soft); font-style: italic; border-style: dashed; }

/* Past-event dimming (Tonight view) */
.listing.is-past { opacity: .5; }
.started-tag { color: var(--red); font-style: italic; font-size: .85em; }

/* Single-event detail back link */
.detail-back { margin: 2px 0 12px; }
.detail-back a { color: var(--red); text-decoration: none; font-family: var(--body); font-size: 13px; }
.detail-back a:hover { text-decoration: underline; }

/* Genre/scene select in the refine row */
.genre-pick { display: inline-flex; align-items: center; }
.genre-pick select { font-family: var(--body); font-size: 12.5px; padding: 2px 6px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 4px; cursor: pointer; }

/* Per-event weather chip (Open-Meteo; shown for events within the forecast window) */
.wx {
  align-self: flex-start; font-family: var(--body); font-size: 12.5px;
  color: var(--ink-soft); margin: 2px 0 4px;
  padding: 2px 9px; border-radius: 999px; border: 1px solid var(--rule);
}
.wx-outdoor { color: var(--ink); border-color: var(--ink-faint); }
.wx-indoor { opacity: .7; }
.wx-warn { color: var(--red); border-color: var(--red); font-weight: 600; }

/* Weekend day grouping */
.wknd-eyebrow {
  font-family: var(--body); text-transform: uppercase; letter-spacing: 1.2px;
  font-size: 12.5px; color: var(--red); margin: 22px 0 8px; padding-bottom: 4px;
  border-bottom: 1px solid var(--rule);
}

/* "Use my location" button in the where panel */
.wp-geo {
  flex-basis: 100%; font-family: var(--body); font-size: 13.5px;
  padding: 10px 14px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; margin-bottom: 6px; text-align: left;
}
.wp-geo:hover { background: var(--red); border-color: var(--red); }
.wp-geo:disabled { opacity: .6; cursor: default; }

.comingup { margin-top: 6px; }
.cu-head {
  font-family: var(--body, system-ui, sans-serif); font-style: italic;
  color: var(--ink-soft, #555); margin-bottom: 12px; font-size: 15px;
}
.cu-row {
  display: grid; grid-template-columns: 160px 1fr auto; gap: 10px 18px;
  align-items: baseline; padding: 11px 4px; border-bottom: 1px solid var(--rule, #e3dcc9);
  text-decoration: none; color: inherit;
}
.cu-row:hover { background: var(--paper-shade, rgba(0,0,0,.035)); }
.cu-when { font-family: var(--body, system-ui, sans-serif); font-size: 13px; color: var(--red, #b8331f); font-weight: 600; }
.cu-what { font-family: var(--display, Playfair Display, serif); font-size: 17px; }
.cu-where { font-family: var(--body, system-ui, sans-serif); font-size: 13px; color: var(--ink-soft, #555); }
@media (max-width: 600px) {
  .cu-row { grid-template-columns: 1fr; gap: 2px; }
}
/* New & Notable — restaurants */
.resto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 4px; }
.resto { border: 1px solid var(--rule); padding: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 5px; }
.resto-status { font-family: var(--body); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--ink-faint); color: var(--ink-soft); }
.resto-status.st-just-opened { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.resto-status.st-opening-soon { color: var(--red); border-color: var(--red); }
.resto-name { font-family: var(--display); font-size: 19px; margin: 4px 0 0; }
.resto-town { font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--ink-soft); }
.resto-what { font-family: var(--body); font-size: 14px; color: var(--ink); }
.resto-note { font-family: var(--body); font-size: 13px; color: var(--ink-soft); font-style: italic; }
.resto-src { font-family: var(--body); font-size: 12.5px; color: var(--red); text-decoration: none; margin-top: 4px; border-bottom: 1px solid transparent; align-self: flex-start; }
.resto-src:hover { border-bottom-color: currentColor; }
.asof { font-style: italic; color: var(--ink-soft); }

/* Locals are talking (r/lancaster) */
.chatter { margin-top: 30px; border-top: 4px double var(--rule); padding-top: 16px; }
.chatter-head { font-family: var(--display); font-size: 18px; margin-bottom: 10px; }
.chatter-head a { color: var(--red); }
.chatter-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 9px 2px; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.chatter-row:hover { background: var(--paper-shade, rgba(0,0,0,.03)); }
.chatter-title { font-family: var(--body); font-size: 14.5px; }
.chatter-place { font-family: var(--body); font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-soft); white-space: nowrap; }
.chatter-foot { font-family: var(--body); font-size: 12px; font-style: italic; color: var(--ink-soft); margin-top: 10px; }

/* Data-source provenance (coverage page) */
.cov-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.src-h { font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); margin-bottom: 8px; }
.src-conc { text-transform: none; letter-spacing: 0; font-style: italic; color: var(--red); margin-left: 6px; }
.src-row { display: grid; grid-template-columns: 1fr 80px auto; gap: 10px; align-items: center; padding: 4px 0; font-family: var(--body); font-size: 13px; }
.src-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-bar { background: var(--paper-shade, rgba(0,0,0,.06)); height: 7px; border-radius: 999px; overflow: hidden; }
.src-bar > span { display: block; height: 100%; background: var(--red); }
.src-n { font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 700px) { .cov-sources { grid-template-columns: 1fr; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--ink, #1a1208); color: var(--paper, #f3ecdc);
  padding: 10px 16px; border-radius: 0 0 8px 0;
  font-family: var(--body, system-ui, sans-serif); font-size: 14px; text-decoration: none;
}
.skip-link:focus { left: 0; }
.page-foot .foot-links {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  padding-top: 12px; margin-top: 6px;
  font-size: 13px;
  border-top: 1px dashed var(--ink-faint);
}
.page-foot .foot-links a {
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.page-foot .foot-links a:hover { color: var(--red); border-bottom-color: currentColor; }
.page-foot .colophon {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-style: italic;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* =============================================================
   Honest freshness note in the masthead — reads as part of the
   dateline (same --body small-caps), not a typewriter stamp.
   ============================================================= */
.freshness {
  text-align: center;
  margin-top: 8px;
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* =============================================================
   Music-only scope — "coming later" note + muted category cards
   ============================================================= */
.cats-soon {
  font-family: var(--body);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-faint);
  margin-left: 6px;
}
.cov-cat.cov-cat-soon {
  opacity: 0.55;
  background: var(--paper);
  border-style: dashed;
}
.cov-cat.cov-cat-soon b { color: var(--ink-soft); }

/* =============================================================
   Honest empty / low-data state
   ============================================================= */
.empty-honest {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 0 72px;
}
.empty-honest .eh-kicker {
  font-family: var(--body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--red);
  font-weight: 700;
}
.empty-honest .eh-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  margin: 10px 0 6px;
}
.empty-honest .eh-cta {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.empty-honest .eh-actions { margin-top: 4px; }
.empty-honest .eh-jump {
  font-family: var(--body);
  font-style: italic;
  font-size: 15px;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}
.empty-honest .eh-jump:hover { color: var(--red-deep); border-bottom-color: var(--red-deep); }
.map-empty .empty-honest { padding: 28px 0 8px; text-align: left; }
.map-empty .empty-honest .eh-lead { font-size: 20px; }

/* =============================================================
   Newsletter — not-yet-active state + neutral status note
   ============================================================= */
.nl-form.nl-inactive input[type="email"] { background: var(--paper-shade); }
.nl-form.nl-inactive button {
  background: var(--ink-faint);
  cursor: not-allowed;
}
.nl-form.nl-inactive button:hover { background: var(--ink-faint); }
.nl-status.note { color: var(--ink-soft); }
.nl-status a { color: var(--red); border-bottom: 1px solid var(--red); }

/* =============================================================
   Accessibility — visible keyboard focus for all interactive
   elements. Uses :focus-visible so it only appears for keyboard
   users, not on mouse click. A solid red outline reads on cream.
   ============================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible,
.topnav a:focus-visible,
.cat-btn:focus-visible,
.r-btn:focus-visible,
.wp-anchor:focus-visible,
.wp-radius:focus-visible,
.wp-town:focus-visible,
.scope-change:focus-visible,
.period-nav button:focus-visible,
.week-show:focus-visible,
.md-show:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 1px;
}
.nl-form input[type="email"]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}
/* Keep a focus cue for the zip input too (it intentionally drops the default). */
.wp-zip input:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

/* =============================================================
   Responsive — tablet (≤ 900px) and mobile (≤ 600px)
   The bulletin layout prioritises desktop reading. On narrower
   screens we shrink the gutters, restack the masthead and tabs,
   collapse multi-column listings to one, and let the calendar
   grids scroll horizontally rather than crush their cells.
   ============================================================= */

@media (max-width: 900px) {
  .wrap { padding: 0 28px; }
  .page-foot .wrap, .refine .wrap,
  .searchbar .wrap, .cats .wrap { padding-left: 28px; padding-right: 28px; }

  .masthead { padding-top: 24px; }
  .word { font-size: 64px; }
  .subhead { font-size: 18px; }
  .preline { letter-spacing: 0.32em; font-size: 11px; gap: 8px; }
  .dateline { font-size: 11px; letter-spacing: 0.16em; }

  .masthead { text-align: center; }

  /* Tabs become a horizontally scrollable strip */
  .topnav .wrap {
    overflow-x: auto;
    justify-content: flex-start;
    border-bottom: 1px solid var(--rule);
    scrollbar-width: thin;
  }
  .topnav a { padding: 12px 16px; flex: 0 0 auto; }

  /* Refine bar wraps tighter */
  .refine .wrap { padding-top: 12px; padding-bottom: 16px; gap: 12px; }
  .cats .wrap { padding: 10px 28px; }
  .cat-btn { padding: 5px 10px; font-size: 12px; letter-spacing: 0.12em; }

  /* Location picker — panels fill the viewport */
  .wp-panel, #wp-radius-panel { right: 18px; left: 18px; width: auto; }
  .wp-panel-inner { grid-template-columns: 1fr; }
  .wp-col + .wp-col { border-left: 0; border-top: 1px solid var(--rule-soft); }
  .wp-mini-map { height: 160px; }

  /* Scope strip — compact on narrow screens */
  .scope-strip .wrap { padding: 10px 18px; flex-wrap: wrap; gap: 10px; }
  .scope-line { font-size: 15px; }
  .scope-change { padding: 6px 12px; font-size: 11.5px; }

  /* Today view — one column */
  .listings { column-count: 1; column-rule: 0; }

  /* Day view — narrower hour gutter, actions move below body */
  .daygrid { grid-template-columns: 64px 1fr; }
  .daygrid .hour { padding-right: 10px; font-size: 11px; letter-spacing: 0.14em; }
  .daygrid .slot { padding-left: 14px; }
  .day-show { grid-template-columns: 1fr; gap: 6px; }
  .day-show .sc-bug { display: none; }
  .day-show .ds-actions { text-align: left; }
  .day-show .ds-actions a { display: inline-block; }

  /* Period bar stacks on narrow screens */
  .period-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .period-bar h2 { font-size: 30px; }
  .period-bar .pb-left { flex-wrap: wrap; }

  /* Week view — let the 7-day grid scroll horizontally rather than
     squishing each cell to unreadable widths */
  .weekgrid {
    display: grid;
    grid-template-columns: 56px repeat(7, minmax(108px, 1fr));
    overflow-x: auto;
  }
  .week-show .ws-artist { font-size: 13px; }

  /* Month view — same treatment, but tighter min column width */
  .monthgrid {
    grid-template-columns: repeat(7, minmax(96px, 1fr));
    overflow-x: auto;
  }
  .monthgrid .md-cell { min-height: 100px; padding: 8px 10px; }
  .monthgrid .md-num { font-size: 18px; }
  .monthgrid .md-show { font-size: 11.5px; }

  /* Map — stack canvas above the side panel */
  .mapview { grid-template-columns: 1fr; gap: 24px; }
  .map-side { border-left: 0; border-top: 4px double var(--rule); padding-left: 0; padding-top: 18px; }

  /* By venue — stack header above shows */
  .venue-block { grid-template-columns: 1fr; gap: 14px; }
  .venue-block .vb-head h3 { font-size: 28px; }
  .venue-block .vb-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .venue-block .vb-row .vbr-tags { text-align: left; white-space: normal; }

  /* Venue detail — stack the map below the show list */
  .vd-body { grid-template-columns: 1fr; gap: 24px; }
  .vd-right { border-left: 0; border-top: 4px double var(--rule); padding-left: 0; padding-top: 18px; }
  .vd-head .vd-title { font-size: 40px; }

  /* By Band — stack header above shows */
  .band-block { grid-template-columns: 1fr; gap: 12px; }
  .band-block .bb-head h3 { font-size: 24px; }
  .band-block .bb-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .band-block .bb-row .bbr-tags { text-align: left; white-space: normal; }
  .band-uncovered .bu-list { columns: 1; }

  /* Coverage — stack rows */
  .cov-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .cov-cats { grid-template-columns: 1fr; }
  .cov-section-head h3 { font-size: 22px; }

  /* Newsletter — stack form below the pitch on narrow screens */
  .newsletter .wrap { grid-template-columns: 1fr; gap: 18px; padding: 24px 28px; }
  .newsletter h2 { font-size: 24px; }
  .newsletter p { font-size: 15px; }

  /* About page — smaller hero, tighter spacing */
  .about-lede h2 { font-size: 32px; }
  .about-lede p { font-size: 16.5px; }
  .about-article h3 { font-size: 22px; margin-top: 24px; }
  .about-article p, .about-future { font-size: 16px; }

  /* Section heads */
  .section-head h2 { font-size: 40px; }
  .section-head .deck { font-size: 17px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .page-foot .wrap, .refine .wrap,
  .searchbar .wrap, .cats .wrap { padding-left: 18px; padding-right: 18px; }

  .word { font-size: 48px; line-height: 0.95; }
  .subhead { font-size: 16px; }
  .preline {
    /* Single-row preline crushes on tiny phones — let it stack */
    flex-direction: column; gap: 4px;
    letter-spacing: 0.28em; font-size: 10px;
  }
  .preline > * { flex: 0 0 auto; text-align: center; }
  .preline > :nth-child(2),
  .preline > :nth-child(3) { text-align: center; }
  .dateline {
    flex-direction: column; gap: 4px; align-items: center;
    border-bottom-width: 3px;
    padding: 10px 0;
  }

  .topnav a { padding: 10px 14px; font-size: 13px; letter-spacing: 0.14em; }

  .section-head { padding: 22px 0 16px; }
  .section-head h2 { font-size: 32px; }
  .section-head .kicker { letter-spacing: 0.22em; font-size: 11.5px; }
  .section-head .deck { font-size: 15.5px; }

  .listing .artist { font-size: 22px; }
  .listing .venue { font-size: 12.5px; letter-spacing: 0.1em; }

  .period-bar h2 { font-size: 24px; }
  .period-nav button { padding: 7px 10px; font-size: 11.5px; letter-spacing: 0.12em; }
}

/* =============================================================
   Print — a newspaper should print like a newspaper.
   Drop the page grain, the sticky bits, and any colour washes
   that won't reproduce well on home printers. Keep the rules.
   ============================================================= */
@media print {
  body { background: #fff; }
  body::before { display: none; }
  .topnav, .refine, .period-nav { display: none; }
  .wrap { max-width: 100%; padding: 0 32px; }
  .listings { column-count: 2; }
  a { color: inherit; border-bottom: 0 !important; }
  .weekgrid, .monthgrid { overflow: visible; }
  .page-foot { page-break-before: avoid; }
}

/* =============================================================
   Respect users who ask for less motion.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================
   Touch targets — the refine row and genre select are primary
   engagement controls; give them a comfortable hit area on phones.
   ============================================================= */
@media (max-width: 700px) {
  .refine .r-btn { min-height: 44px; padding: 10px 2px; }
  .genre-pick select { min-height: 44px; }
}

/* Comfortable 44px hit areas for the primary nav/filter controls on phones,
   and a capped Map split so the canvas never eats the whole viewport. */
@media (max-width: 600px) {
  .topnav a { min-height: 44px; display: flex; align-items: center; }
  .cat-btn { min-height: 44px; }
  .lt-btn { min-height: 44px; }
  .scope-change, .period-nav button, .wp-radii button { min-height: 44px; }
  .wp-anchor, .wp-radius { min-height: 44px; display: inline-flex; align-items: center; }
  .mapcanvas { aspect-ratio: auto; height: 56vh; max-height: 420px; }
}

/* =============================================================
   Prerendered static content (crawlable; the app hydrates over it)
   + dedicated ad landing pages.
   ============================================================= */
.pr-home { margin-top: 8px; }
.pr-h { font-family: var(--display); font-size: 24px; margin: 0 0 4px; }
.pr-sub { font-family: var(--body); color: var(--ink-soft); margin: 0 0 16px; }
.pr-list { list-style: none; margin: 0; padding: 0; }
.pr-item { font-family: var(--body); font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.pr-when { color: var(--ink-soft); font-size: 12.5px; }
.pr-act { color: var(--red); text-decoration: none; font-weight: 600; }
.pr-act:hover { text-decoration: underline; }
.pr-at { color: var(--ink); }
.pr-price { color: var(--ink-soft); font-style: italic; }
.pr-cat { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--ink-soft); }
.pr-empty { font-family: var(--body); color: var(--ink-soft); font-style: italic; }

.lp { max-width: 820px; }
.lp-cta { display: inline-block; font-family: var(--body); font-size: 15px; color: var(--paper); background: var(--ink); padding: 10px 18px; border-radius: 4px; text-decoration: none; margin: 6px 0 18px; }
.lp-cta:hover { background: var(--red); color: var(--paper); }
.lp-cta-low { margin-top: 22px; }
.lp-list { margin-top: 6px; }

/* =============================================================
   Feedback — "Letters to the editor". A small fixed tab opens a
   compact paper-styled dialog. Two-ink palette, ruled hairlines,
   serif headline — matches the rest of the bulletin. Sits above the
   map (z 500) but below the skip-link (z 2000).
   ============================================================= */
.fb-tab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 1200;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--rule);
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(42, 31, 16, 0.22);
  transition: background 0.12s;
}
.fb-tab:hover { background: var(--red); }
.fb-tab .ti { font-size: 16px; }

.fb-backdrop {
  position: fixed; inset: 0;
  z-index: 1300;
  background: rgba(26, 18, 8, 0.4);
}
.fb-dialog {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 1400;
  width: min(380px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 36px rgba(42, 31, 16, 0.28);
}
.fb-form { padding: 18px 20px 16px; }
.fb-head { position: relative; padding-right: 24px; }
.fb-eyebrow {
  font-family: var(--body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
}
.fb-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.12;
  color: var(--ink);
  margin: 6px 0 0;
}
.fb-close {
  position: absolute; top: -4px; right: -4px;
  background: none; border: 0;
  font-family: var(--serif);
  font-size: 26px; line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 4px 6px;
}
.fb-close:hover { color: var(--red); }
.fb-deck {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 8px 0 14px;
}
.fb-label {
  display: block;
  font-family: var(--body);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  font-weight: 700;
  margin: 12px 0 6px;
}
.fb-opt { text-transform: none; letter-spacing: 0; font-weight: 400; font-style: italic; }
.fb-textarea, .fb-email {
  width: 100%;
  font: inherit;
  font-family: var(--body);
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
}
.fb-textarea { resize: vertical; min-height: 84px; }
.fb-textarea:focus, .fb-email:focus { outline: 0; border-color: var(--red); }
.fb-textarea:focus-visible, .fb-email:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.fb-textarea.fb-invalid, .fb-email.fb-invalid { border-color: var(--red); }

.fb-sentiment { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.fb-sentiment-label { font-family: var(--body); font-size: 13px; color: var(--ink-soft); }
.fb-thumb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.fb-thumb .ti { font-size: 18px; }
.fb-thumb:hover { border-color: var(--red); color: var(--ink); }
.fb-thumb[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#fb-up[aria-pressed="true"] { background: var(--good); border-color: var(--good); }
#fb-down[aria-pressed="true"] { background: var(--red); border-color: var(--red); }

.fb-status {
  font-family: var(--body); font-style: italic; font-size: 13.5px;
  margin-top: 12px;
}
.fb-status.ok  { color: var(--good); }
.fb-status.err { color: var(--red); }

.fb-actions { margin-top: 14px; }
.fb-submit {
  font-family: var(--body);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: 12px 22px;
  cursor: pointer;
}
.fb-submit:hover { background: var(--red); }
.fb-submit[disabled] { opacity: 0.55; cursor: default; }
.fb-submit[disabled]:hover { background: var(--ink); }
.fb-privacy {
  font-family: var(--body);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-faint);
  margin: 12px 0 0;
}

/* Phones: keep the tab unobtrusive and the dialog comfortably tappable. */
@media (max-width: 600px) {
  .fb-tab {
    right: 12px; bottom: 12px;
    min-height: 44px;
    padding: 10px 14px;
  }
  .fb-dialog {
    right: 8px; left: 8px; bottom: 8px;
    width: auto;
    max-height: calc(100vh - 16px);
  }
  .fb-thumb { width: 44px; height: 44px; }
  .fb-submit { min-height: 44px; }
}

/* Don't print the floating feedback affordance. */
@media print { .fb-tab, .fb-backdrop, .fb-dialog { display: none !important; } }
