/* ---------- Palettes ----------
   Every surface reads these semantic tokens, so a theme is just a different set
   of them. :root is the default "Gig zine"; [data-theme] blocks below swap the
   whole palette. The PaletteSwitcher sets data-theme on <html>. */
:root {
  --paper: #fefbf0;
  --paper-2: #fffdf8;
  --ink: #33302b;
  --ink-soft: #6f685f;
  --line: #33302b;
  --filter-button-ink: #5a544d;
  --coral: #ff4d2e;
  --accent: #ff4d2e;
  --danger: #c4361f;
  --shadow-ink: var(--ink);
  --glow-1: rgba(255, 77, 46, 0.08);
  --glow-2: rgba(37, 64, 255, 0.08);
  --glow-3: rgba(255, 79, 163, 0.07);
  --scrim-strength: 80%;

  --radius: 16px;
  --shadow: 6px 6px 0 var(--shadow-ink);
  --shadow-sm: 3px 3px 0 var(--shadow-ink);
  --paper-zine-page: url("./img/paper-zine/paper-page-white.webp");
  --paper-zine-strip-blue: url("./img/paper-zine/paper-strip-blue.webp");
  --paper-zine-strip-coral: url("./img/paper-zine/paper-strip-coral.webp");
  --paper-zine-strip-cream: url("./img/paper-zine/paper-strip-cream.webp");
  --paper-zine-strip-cream-soft: url("./img/paper-zine/paper-strip-cream-soft.webp");
  --paper-zine-strip-grey: url("./img/paper-zine/paper-strip-grey.webp");
  --paper-zine-strip-lavender: url("./img/paper-zine/paper-strip-lavender.webp");
  --paper-zine-strip-mint: url("./img/paper-zine/paper-strip-mint.webp");
  --paper-zine-strip-teal: url("./img/paper-zine/paper-strip-teal.webp");
  --paper-zine-row-coral: url("./img/paper-zine/paper-row-coral.webp");
  --paper-zine-act-soft-blue: url("./img/paper-zine/paper-act-soft-blue.webp");
  --paper-zine-act-soft-coral: url("./img/paper-zine/paper-act-soft-coral.webp");
  --paper-zine-act-soft-lavender: url("./img/paper-zine/paper-act-soft-lavender.webp");
  --paper-zine-act-soft-mint: url("./img/paper-zine/paper-act-soft-mint.webp");
  --paper-zine-act-soft-yellow: url("./img/paper-zine/paper-act-soft-yellow.webp");
  --paper-zine-strip-coral-alpha: url("./img/paper-zine/paper-strip-coral-alpha.webp");
  --paper-zine-strip-teal-alpha: url("./img/paper-zine/paper-strip-teal-alpha.webp");
  --paper-zine-typewriter: "Anonymous Pro", "Courier New", Courier, monospace;
  --paper-zine-typewriter-size-bump: 1px;
  --paper-zine-filter-radius: 15px;
  --paper-zine-title-padding-top: 5px;
  --paper-zine-title-padding-bottom: 5px;
  --paper-zine-row-height: 36px;
  --paper-zine-row-text-size: calc(0.98rem + var(--paper-zine-typewriter-size-bump));
  --paper-zine-row-text-line-height: 1.12;
  --paper-zine-row-text-y: 2px;
  --paper-zine-mobile-row-paper-height: 47px;
  --paper-zine-act-padding-top: 8px;
  --paper-zine-act-padding-bottom: 2px;
  --paper-zine-act-overlap: 6px;
  --paper-zine-act-overlap-negative: -6px;
  --paper-zine-event-gap: 10px;
  --paper-zine-mobile-info-acts-gap: -8px;
  --paper-zine-mobile-info-padding-top: 17px;
  --paper-zine-date-acts-gap: -8px;
  --paper-zine-day-gap: 18px;
  --paper-zine-date-tape-scale: 1;
  --paper-zine-date-label-font-size: 20px;
  --paper-zine-date-tape-1: url("./img/paper-zine/date-tapes/masking-tape-01.webp");
  --paper-zine-date-tape-2: url("./img/paper-zine/date-tapes/masking-tape-02.webp");
  --paper-zine-date-tape-3: url("./img/paper-zine/date-tapes/masking-tape-03.webp");
  --paper-zine-date-tape-4: url("./img/paper-zine/date-tapes/masking-tape-04.webp");
  --paper-zine-date-tape-5: url("./img/paper-zine/date-tapes/masking-tape-05.webp");
  --paper-zine-date-tape-6: url("./img/paper-zine/date-tapes/masking-tape-06.webp");
  --paper-zine-date-tape-7: url("./img/paper-zine/date-tapes/masking-tape-07.webp");
  --paper-zine-date-tape-8: url("./img/paper-zine/date-tapes/masking-tape-08.webp");
  --paper-zine-date-tape-9: url("./img/paper-zine/date-tapes/masking-tape-09.webp");
  --paper-zine-date-tape-10: url("./img/paper-zine/date-tapes/masking-tape-10.webp");
  --paper-zine-event-paper-padding-top: 0px;
  --paper-zine-event-paper-padding-bottom: 12px;
  --paper-zine-event-paper-edge-y: 6px;
  --paper-zine-paper-right-extension: 25px;
  --paper-zine-mobile-paper-left-offset: 12px;
  --paper-zine-photo-width: 90px;
  --paper-zine-photo-inset: 1px;
  --paper-zine-mobile-genre-padding-bottom: 1px;
  --paper-zine-event-bg: var(--paper-zine-act-soft-yellow);
  --paper-zine-title-bg: var(--paper-zine-act-soft-yellow);
  --paper-zine-genre-marker: #f5a300;
  --paper-zine-marker-swipe-1: url("./img/paper-zine/marker-swipes/marker-swipe-01.png");
  --paper-zine-marker-swipe-2: url("./img/paper-zine/marker-swipes/marker-swipe-02.png");
  --paper-zine-marker-swipe-3: url("./img/paper-zine/marker-swipes/marker-swipe-03.png");
  --paper-zine-marker-swipe-4: url("./img/paper-zine/marker-swipes/marker-swipe-04.png");
  --paper-zine-marker-swipe-5: url("./img/paper-zine/marker-swipes/marker-swipe-05.png");
  --paper-zine-marker-swipe-6: url("./img/paper-zine/marker-swipes/marker-swipe-06.png");
  --paper-zine-marker-swipe-7: url("./img/paper-zine/marker-swipes/marker-swipe-07.png");
  --paper-zine-marker-swipe-8: url("./img/paper-zine/marker-swipes/marker-swipe-08.png");
  --paper-zine-marker-swipe-9: url("./img/paper-zine/marker-swipes/marker-swipe-09.png");
  --paper-zine-marker-swipe-10: url("./img/paper-zine/marker-swipes/marker-swipe-10.png");
  --paper-zine-marker-swipe-11: url("./img/paper-zine/marker-swipes/marker-swipe-11.png");
  --paper-zine-marker-swipe-12: url("./img/paper-zine/marker-swipes/marker-swipe-12.png");
  --paper-zine-act-shadow-y: 1px;
  --paper-zine-act-shadow-blur: 2px;
  --paper-zine-act-shadow-opacity: 0.14;

  color: var(--ink);
  background-color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Palettes are loaded from src/palettes/*.scss (coolors export format) and applied
   as inline custom properties on <html> by the PaletteSwitcher — see palettes.ts. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.68)),
    var(--paper-zine-page);
  background-size: auto, 900px 900px;
  background-attachment: fixed, fixed;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ====================== Accessibility ====================== */

/* Visually hidden, still read by screen readers. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link: hidden until keyboard-focused, then pinned top-left. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* One consistent keyboard focus ring everywhere — only on keyboard navigation
   (:focus-visible), never on mouse/touch. Styled in the palette accent. */
:where(a, button, input, select, summary, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Search input sits inside a styled pill — ring the pill, not the bare input. */
.search-box:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* The listings skip target is focusable for the skip link but shouldn't draw a
   full-width ring when landed on. */
#gigs:focus-visible,
#gigs:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

.shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 40px);
}

/* ---------- Masthead ---------- */
.masthead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  padding-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 0;
}

.masthead-brand {
  flex: 1 1 320px;
  min-width: 0;
}

.kicker {
  display: inline-block;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.masthead h1 {
  margin: 10px 0 0;
  font-size: clamp(2.35rem, 6.2vw, 5rem);
  line-height: 0.92;
}

.masthead-logo-heading {
  line-height: 0;
}

.masthead-logo-picture {
  display: block;
  width: clamp(178px, 34vw, 340px);
  max-width: 100%;
}

.masthead-logo {
  display: block;
  width: 100%;
  height: auto;
}

.mark-accent {
  display: inline-block;
  color: var(--coral);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.lede {
  margin: 14px 0 0;
  max-width: 30ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: var(--ink);
}

.masthead-subtitle {
  max-width: 42ch;
  line-height: 1.26;
  font-weight: 800;
  font-family: var(--paper-zine-typewriter);
  font-size: calc(clamp(1rem, 1.6vw, 1.2rem) + var(--paper-zine-typewriter-size-bump));
  letter-spacing: 0;
}

.masthead-updated {
  display: block;
  margin-top: 8px;
  font-size: 0.88rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-marquee {
  position: relative;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-track {
  display: flex;
  gap: 10px;
  padding: 10px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.hero-track img {
  width: clamp(96px, 12vw, 150px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    animation: none;
  }
}

.pint-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
  padding-block: 18px 30px;
}

.pint-copy {
  max-width: min(560px, calc(100vw - 32px));
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.pint-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-underline-offset: 4px;
}

.pint-link:hover {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.pint-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pint-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.pint-options button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.pint-options button:disabled {
  cursor: progress;
  opacity: 0.7;
}

.pint-note {
  max-width: min(560px, calc(100vw - 32px));
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.pint-notice {
  max-width: 220px;
  padding: 6px 8px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.pint-thanks-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(22, 19, 15, 0.38);
}

.pint-thanks-modal {
  display: grid;
  gap: 12px;
  width: min(100%, 320px);
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(22, 19, 15, 0.24);
}

.pint-thanks-modal h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.05;
}

.pint-thanks-modal p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.35;
}

.pint-thanks-modal button {
  justify-self: end;
  min-height: 40px;
  padding: 0 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.prank-admin-shell {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 38px);
  color: var(--ink);
  background: var(--paper);
}

.prank-login {
  width: min(380px, 100%);
  margin: 15vh auto 0;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.prank-login h1,
.prank-admin-header h1,
.prank-panel h2 {
  letter-spacing: 0;
}

.prank-login label,
.prank-builder label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prank-login input,
.prank-builder input,
.prank-builder select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 700;
}

.prank-login button,
.prank-admin-actions button,
.prank-panel button,
.prank-builder-actions button,
.prank-run-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.prank-login button,
.prank-builder-actions button:last-child {
  background: var(--accent);
  color: var(--paper-2);
}

.prank-run-row button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.prank-admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}

.prank-admin-header h1 {
  margin-top: 6px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.9;
}

.prank-admin-header p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.prank-admin-actions,
.prank-builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prank-admin-error {
  margin: 16px 0;
  padding: 12px 14px;
  border: 3px solid var(--danger);
  border-radius: 8px;
  background: #fff0eb;
  color: var(--danger);
  font-weight: 900;
}

.prank-admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr) minmax(320px, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.prank-panel {
  min-width: 0;
  padding: 16px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

.prank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.prank-panel-head h2 {
  font-size: 1.25rem;
}

.prank-panel-head span,
.prank-empty {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.prank-status-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 2px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.prank-status-row span {
  color: var(--ink-soft);
  font-weight: 800;
}

.prank-builder {
  display: grid;
  gap: 12px;
}

.prank-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prank-preview-stage {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.prank-preview-copy {
  display: grid;
  gap: 8px;
  min-height: 188px;
  padding: 18px;
  border: 2px dashed var(--ink);
  border-radius: 8px;
  align-content: center;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.prank-preview-copy strong {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.8rem;
}

.prank-preview-copy span {
  color: var(--ink-soft);
  font-weight: 700;
}

.prank-run-list {
  margin-top: 14px;
}

.prank-run-table {
  display: grid;
  gap: 8px;
}

.prank-run-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(170px, 1fr) 100px auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 2px solid color-mix(in srgb, var(--ink) 20%, transparent);
  border-radius: 8px;
}

.prank-run-row span:first-child {
  display: grid;
  gap: 3px;
}

.prank-run-row small {
  color: var(--ink-soft);
  font-weight: 800;
}

.pint-tip-row {
  grid-template-columns: minmax(150px, 0.9fr) minmax(220px, 1.2fr) minmax(160px, 0.9fr) auto;
}

.pint-tip-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pint-tip-row strong,
.pint-tip-row small {
  overflow-wrap: anywhere;
}

.pint-tip-actions {
  justify-items: end;
}

.pint-tip-note {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}

@media (max-width: 980px) {
  .prank-admin-grid {
    grid-template-columns: 1fr;
  }

  .prank-run-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .pint-cta {
    width: 100%;
  }

  .prank-admin-header {
    display: grid;
  }

  .prank-two {
    grid-template-columns: 1fr;
  }
}

/* ---------- Control bar ---------- */
/* Transparent over the page background; search + every filter flow as one
   wrapping row (a single row on desktop). */
.control-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 6px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.type-filters {
  flex: 0 1 auto;
}

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

.filter-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.search-toggle,
.search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
}

.search-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.search-clear {
  width: 28px;
  height: 28px;
  border-width: 0;
  background: transparent;
  margin-left: 4px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
  min-height: 46px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 500;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 13px;
  border: 2px solid var(--filter-button-ink);
  border-radius: var(--paper-zine-filter-radius);
  background: var(--paper-2);
  color: var(--filter-button-ink);
  font-weight: 700;
  font-size: calc(1rem + var(--paper-zine-typewriter-size-bump));
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.pill:hover {
  background: color-mix(in srgb, var(--paper-2) 86%, var(--filter-button-ink) 14%);
}

.pill.is-active {
  background: var(--ink);
  color: var(--paper);
}

.pill.toggle.is-active {
  background: var(--coral);
  color: #fff;
  border-color: var(--ink);
}

.venue-select {
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: var(--paper-zine-filter-radius);
  background: var(--paper-2);
  font-weight: 600;
  cursor: pointer;
  max-width: 200px;
}

/* Checkbox-style multi-select pills */
.pill.check.is-active {
  background: var(--coral);
  color: #fff;
  border-color: var(--ink);
}

.venue-filter {
  position: relative;
}

.venue-filter > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 13px;
  border: 2px solid var(--filter-button-ink);
  border-radius: var(--paper-zine-filter-radius);
  background: var(--paper-2);
  color: var(--filter-button-ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.venue-filter > summary:hover {
  background: color-mix(in srgb, var(--paper-2) 86%, var(--filter-button-ink) 14%);
}

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

.venue-filter[open] > summary {
  background: var(--ink);
  color: var(--paper);
}

.venue-filter.has-selection:not([open]) > summary {
  background: var(--coral);
  color: #fff;
  border-color: var(--ink);
}

.venue-filter:not([open]) > .venue-panel {
  display: none;
}

.venue-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  margin-top: 8px;
  width: min(320px, 80vw);
  max-height: 340px;
  overflow: auto;
  padding: 12px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 721px) {
  :root[data-venue-panel-layout="wideRows"] .venue-list-panel,
  :root[data-venue-panel-layout="wideColumns"] .venue-list-panel {
    box-sizing: border-box;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 2px 8px;
    width: min(900px, calc(100vw - 48px));
    max-height: min(820px, calc(100vh - 48px));
  }

  :root[data-venue-panel-layout="wideRows"] .venue-filter[open] > .venue-list-panel,
  :root[data-venue-panel-layout="wideColumns"] .venue-filter[open] > .venue-list-panel {
    display: grid;
  }

  :root[data-venue-panel-layout="wideRows"] .venue-list-panel {
    grid-auto-flow: row;
  }

  :root[data-venue-panel-layout="wideColumns"] .venue-list-panel {
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--venue-panel-row-count), minmax(36px, auto));
  }

  :root[data-venue-panel-layout="wideRows"] .venue-list-panel .venue-panel-head,
  :root[data-venue-panel-layout="wideColumns"] .venue-list-panel .venue-panel-head {
    grid-column: 1 / -1;
  }

  :root[data-venue-panel-layout="wideRows"] .venue-list-panel .venue-check,
  :root[data-venue-panel-layout="wideColumns"] .venue-list-panel .venue-check {
    min-width: 0;
    min-height: 36px;
    align-items: flex-start;
    padding: 5px 8px;
  }

  :root[data-venue-panel-layout="wideRows"] .venue-list-panel .venue-check span,
  :root[data-venue-panel-layout="wideColumns"] .venue-list-panel .venue-check span {
    line-height: 1.16;
  }
}

.venue-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.venue-clear {
  border: 0;
  background: transparent;
  color: var(--coral);
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.venue-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 8px;
  cursor: pointer;
}

.venue-check:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

/* 44px tap rows for the filter menus (was 36px). */
.venue-check {
  min-height: 44px;
}

/* Genre values are stored lower case; capitalise the first letter for display. */
.genre-filter .venue-check span {
  text-transform: capitalize;
}

.venue-check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  accent-color: var(--coral);
}

.venue-check span {
  min-width: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.date-filter .date-panel {
  width: min(326px, 86vw);
  max-height: none;
  overflow: visible;
}

.date-calendar-title {
  margin: 2px 0 9px;
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
}

.date-calendar-weekdays,
.date-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.date-calendar-weekdays {
  margin-bottom: 5px;
  font-size: 0.66rem;
  font-weight: 900;
  color: var(--ink-soft);
  text-align: center;
}

.date-cell {
  aspect-ratio: 1;
  min-width: 0;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 4px 2px;
  font: inherit;
  box-shadow: 0 2px 0 rgba(22, 19, 15, 0.18);
}

.date-cell:hover:not(:disabled) {
  transform: translateY(-1px);
}

.date-cell.is-selected {
  background: var(--coral);
  color: #fff;
}

.date-cell.is-unavailable,
.date-cell.is-outside {
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  background: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--ink) 5%, transparent),
    color-mix(in srgb, var(--ink) 5%, transparent) 4px,
    transparent 4px,
    transparent 8px
  );
  color: color-mix(in srgb, var(--ink) 45%, transparent);
  cursor: not-allowed;
  box-shadow: none;
}

.date-cell-number {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.date-cell-count {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.72;
}

/* ---------- Results meta ---------- */
.results-meta {
  margin: 24px 0 14px;
}

/* ---------- Gig grid ---------- */
.gig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.gig-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.gig-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.gig-card:active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-sm);
}

.gig-art {
  position: relative;
  aspect-ratio: 1;
  background: var(--ink);
  border-bottom: 2.5px solid var(--ink);
}

.gig-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gig-art-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--paper);
  background: repeating-linear-gradient(45deg, #1d1a15, #1d1a15 10px, #221e18 10px, #221e18 20px);
}

.gig-art-placeholder.tall {
  aspect-ratio: auto;
  min-height: 100%;
}

.day-sticker {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  justify-items: center;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  line-height: 1;
  transform: rotate(-4deg);
  box-shadow: var(--shadow-sm);
}

.day-sticker strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.3rem;
}

.day-sticker span {
  margin-top: 2px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.play-badge,
.type-flag {
  position: absolute;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.play-badge {
  left: 10px;
  background: #fff;
  color: var(--ink);
}

.type-flag {
  right: 10px;
  background: var(--ink);
  color: var(--paper);
}

.gig-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
}

.gig-when {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gig-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gig-venue {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.gig-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
}

.price-tag {
  font-weight: 800;
  font-size: 0.86rem;
}

.status-flag {
  font-style: normal;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--danger);
  text-transform: uppercase;
}

/* ---------- Detail drawer ---------- */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  background: rgba(22, 19, 15, 0.42);
  backdrop-filter: blur(2px);
  animation: fade-in 0.16s ease;
}

.drawer {
  position: relative;
  width: min(520px, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  border-left: 3px solid var(--ink);
  animation: slide-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes slide-in {
  from {
    transform: translateX(24px);
    opacity: 0.4;
  }
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.drawer-media {
  aspect-ratio: 16 / 11;
  background: var(--ink);
  border-bottom: 3px solid var(--ink);
}

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

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 4vw, 28px);
}

.drawer-title {
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 0.98;
}

.drawer-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  font-weight: 700;
  font-size: 0.86rem;
}

.fact-chip.danger {
  background: var(--danger);
  color: #fff;
}

/* ---------- Preview block ---------- */
.preview-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
}

.preview-artist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-artist + .preview-artist {
  padding-top: 16px;
  border-top: 1.5px dashed rgba(22, 19, 15, 0.2);
}

.preview-artist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-artist-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.artist-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  object-fit: cover;
  flex: 0 0 auto;
}

.preview-artist-id strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  display: block;
  overflow-wrap: anywhere;
}

.match-note {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Drawer track rows ---------- */
.track-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.track-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease;
}

.track-row:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--paper-2));
}

.track-row.is-current {
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.track-row.is-current .track-row-icon {
  background: #fff;
  color: var(--ink);
}

.track-row-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.track-row-copy {
  min-width: 0;
}

.track-row-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-row-copy span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Search fallbacks ---------- */
.preview-block.empty {
  background: var(--paper);
}

.no-preview-note {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
}

.search-term-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-term-list.muted {
  padding-top: 4px;
}

.search-term {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-2);
}

.search-term strong {
  overflow-wrap: anywhere;
}

.search-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.drawer-description {
  margin: 0;
  color: #2c2820;
  line-height: 1.55;
  font-size: 0.96rem;
}

/* ---------- Drawer actions ---------- */
.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  bottom: 0;
  padding: 14px 0 4px;
  margin-top: 4px;
  background: linear-gradient(to top, var(--paper) 70%, transparent);
}

.primary-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.primary-action {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow-sm);
  flex: 1 1 auto;
}

.ghost-action {
  background: var(--paper-2);
}

/* ---------- Empty / loading ---------- */
.empty-state {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 40px;
  text-align: center;
}

.empty-state.compact {
  min-height: 200px;
}

.empty-state h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

.empty-state p {
  margin: 0;
}

.empty-filter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(720px, 100%);
  margin-top: 14px;
}

.empty-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 5px 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.empty-filter-chip button {
  min-height: 28px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Full-width song list (show groups) ---------- */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.later-dates-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 0;
}

.later-dates-link {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.78;
}

.later-dates-link:hover {
  color: var(--ink);
  opacity: 1;
}

/* One bold-bordered panel per day; shows live inside with a varied visual accent palette. */
.day-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.day-panel + .day-panel {
  margin-top: 24px;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  padding: 9px 0;
  border-bottom: 0;
  background: transparent;
}

/* Header and every show share the same outer grid. */
.show-head,
.show-group {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(180px, 220px) 64px minmax(72px, 96px) 42px;
  gap: 0;
}

.show-head {
  align-items: center;
  padding: 4px 0 8px;
}

/* Nested grid shared by the header's act region and each act line.
   The name column shrinks to 0 (it truncates with an ellipsis) so the genre pill
   stays inside the acts column instead of bleeding into the venue at tablet widths. */
.acts-head,
.act-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
  align-items: center;
  gap: 14px;
}

.acts-head {
  padding-left: 14px;
}

.col-label,
.col-sort {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.show-head > .col-sort,
.show-head > .col-label:last-child {
  padding-left: 8px;
}

.col-sort {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
  padding: 4px 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.col-sort:hover {
  border-color: var(--ink);
}

.col-sort.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Show group (one venue/event inside a day panel) ---------- */
.show-group {
  /* Visual accent only: a left stripe + faint tint make the listing scannable. */
  --row-active-bg: color-mix(in srgb, var(--accent) 24%, var(--paper-2));
  grid-template-rows: repeat(var(--act-count), var(--paper-zine-row-height));
  border-left: 5px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--paper-2));
  color: var(--ink);
  overflow: visible;
}

.show-group.is-current {
  background: var(--accent);
  color: #fff;
}

/* Thin rule between shows in a day — not the bold panel border, not between acts. */
.show-group + .show-group {
  border-top: 1px solid rgba(22, 19, 15, 0.16);
}

@supports (content-visibility: auto) {
  @media (max-width: 720px) {
    .paper-zine-show {
      content-visibility: auto;
      contain-intrinsic-size: auto var(--paper-zine-contain-size, 112px);
    }
  }
}

.show-image {
  position: relative;
  grid-row: 1 / -1;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  border-right: 2px solid var(--ink);
  /* A cover-fit cell must clip its own contents: Safari can miscompute the
     absolutely-positioned poster's box inside a grid cell, letting it spill
     past the day panel (seen cropped at panel bottom, 2026-07-04). */
  overflow: hidden;
}

/* Absolute so the poster's aspect ratio can't inflate the row height. */
.show-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Two independent opacities: --img-fade is the load-in (0 until EventImage
     settles), --img-dim is the resting level for no-preview acts. Multiplying
     them keeps the rules from having to out-specify each other, and leaves
     unfaded markup (the prerendered SEO pages) at full opacity. */
  opacity: calc(var(--img-fade, 1) * var(--img-dim, 1));
}

.show-image img[data-fade] {
  transition: opacity 320ms ease;
}

.show-image img[data-fade="pending"] {
  --img-fade: 0;
}

@media (prefers-reduced-motion: reduce) {
  .show-image img[data-fade] {
    transition: none;
  }
}

.show-acts {
  display: contents;
  min-width: 0;
}

.show-group.is-current .show-acts {
  background: transparent;
}

.act-line {
  padding: 7px 14px;
  cursor: pointer;
  text-align: left;
  border: 0;
  background: transparent;
  transition: background 0.1s ease, color 0.1s ease, box-shadow 0.1s ease;
}

.act-line:hover {
  background: color-mix(in srgb, var(--accent) 9%, var(--paper-2));
}

.show-group.is-current .act-line:hover {
  background: color-mix(in srgb, var(--accent) 14%, var(--paper-2));
}

.show-group.is-current .act-line.is-current:hover {
  background: var(--accent);
}

.act-line.is-current {
  background: var(--accent);
  color: #fff;
}

.show-group.is-current .act-line:not(.is-current) {
  background: color-mix(in srgb, var(--accent) 9%, var(--paper-2));
  color: var(--ink);
}

.show-group.is-current .act-line:not(.is-current) .act-name strong {
  color: var(--ink);
}

.show-group.is-current .act-line:not(.is-current) .act-genre {
  border-color: var(--ink);
  background: var(--accent);
  color: #fff;
}

.act-line.is-current .act-name strong {
  color: #fff;
  font-weight: 950;
}

.act-line.is-current .act-genre {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
}

.act-line.is-current .headliner-pill {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
}

.act-name {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.act-name strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-state {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding-left: 1px;
  opacity: 0.8;
  transition: opacity 0.1s ease;
}

.act-line:hover .act-state,
.act-state.playing {
  opacity: 1;
}

.act-state.playing {
  padding-left: 0;
}

.act-line.no-audio .act-state {
  background: transparent;
  border: 2px dashed rgba(22, 19, 15, 0.25);
  color: var(--ink-soft);
}

.act-genre {
  justify-self: start;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  justify-items: start;
  gap: 5px;
  min-width: 0;
  /* Cap so an unusually long genre truncates itself instead of starving the
     band name (which matters more) when the row is squeezed. */
  max-width: 12rem;
  padding: 4px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
}

.act-genre-icon {
  justify-self: center;
  flex: none;
  opacity: 0.92;
}

/* Long genres (e.g. "old-time folk / classic country") truncate instead of
   overflowing the acts column into the venue at tablet widths. */
.act-genre-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.act-explore {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.1s ease;
}

.act-explore:hover {
  transform: translateX(2px);
  background: var(--accent);
  color: #fff;
}

.show-venue,
.show-time,
.show-price {
  grid-row: 1 / -1;
  align-self: start;
  padding: 9px 8px 0;
  min-width: 0;
}

/* Clamp to two lines so a verbose venue or price can't balloon the row. */
.show-venue,
.show-price {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.show-venue {
  font-weight: 600;
  font-size: 0.9rem;
  background: none;
  border: 0;
  font-family: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.show-venue:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.show-group.is-current .show-venue:hover {
  text-decoration-color: #fff;
}

.show-group.is-current .show-venue,
.show-group.is-current .show-time,
.show-group.is-current .show-price {
  align-self: start;
  background: var(--accent);
  color: #fff;
}

.show-time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.show-price {
  justify-self: stretch;
  font-weight: 800;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.show-shortlist-stack {
  align-self: stretch;
  display: contents;
  min-width: 0;
}

.show-shortlist {
  grid-column: 6;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  flex: 1 1 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.1s ease, border-color 0.1s ease, color 0.1s ease;
}

.show-shortlist-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(22, 19, 15, 0.34);
  border-radius: 999px;
  background: var(--paper);
  transition: background 0.1s ease, border-color 0.1s ease, color 0.1s ease, transform 0.1s ease;
}

.show-shortlist-star {
  display: block;
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 50%;
}

.show-shortlist.is-on .show-shortlist-star {
  fill: currentColor;
}

@keyframes shortlist-star-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  45% {
    transform: rotate(360deg) scale(1.14);
  }
  100% {
    transform: rotate(720deg) scale(1);
  }
}

.show-shortlist.is-spinning .show-shortlist-star,
.pd-shortlist.is-spinning svg,
.pd-mobile-shortlist.is-spinning svg {
  animation: shortlist-star-spin 0.82s cubic-bezier(0.2, 0.9, 0.2, 1);
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .show-shortlist.is-spinning .show-shortlist-star,
  .pd-shortlist.is-spinning svg,
  .pd-mobile-shortlist.is-spinning svg {
    animation: none;
  }
}

.show-shortlist-star-2 {
  transform: rotate(-5deg) scale(0.96);
  stroke-width: 1.9;
}

.show-shortlist-star-3 {
  transform: rotate(4deg) scale(1.04);
  stroke-width: 2.1;
}

.show-shortlist-star-4 {
  transform: rotate(-2deg) scale(1.08);
}

.show-shortlist-star-5 {
  transform: rotate(6deg) scale(0.94);
  stroke-width: 1.85;
}

.show-shortlist-star-6 {
  transform: rotate(-7deg) scale(1.02);
}

.show-shortlist-star-7 {
  transform: rotate(3deg) scale(0.98);
  stroke-width: 2.15;
}

.show-shortlist-star-8 {
  transform: rotate(-4deg) scale(1.06);
}

.show-shortlist-star-9 {
  transform: rotate(7deg) scale(0.97);
  stroke-width: 1.9;
}

.show-shortlist-star-10 {
  transform: rotate(-3deg) scale(1.03);
}

.show-shortlist-star-11 {
  transform: rotate(5deg) scale(1.01);
  stroke-width: 2.1;
}

.show-shortlist-star-12 {
  transform: rotate(-6deg) scale(0.95);
}

.show-shortlist + .show-shortlist {
  border-top: 0;
}

.show-shortlist:hover {
  color: var(--ink);
}

.show-shortlist:hover .show-shortlist-icon {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.shortcut-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: min(180px, calc(100vw - 32px));
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.shortcut-tooltip kbd {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--paper-2);
  box-shadow: 1px 1px 0 var(--ink);
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.pd-shortlist:hover .shortcut-tooltip,
.pd-shortlist:focus-visible .shortcut-tooltip,
.pd-mobile-shortlist:hover .shortcut-tooltip,
.pd-mobile-shortlist:focus-visible .shortcut-tooltip {
  opacity: 1;
  transform: translateY(-50%);
}

.show-shortlist.is-on .show-shortlist-icon {
  border-color: var(--ink);
  background: var(--accent);
  color: #fff;
}

.show-shortlist.is-on svg {
  fill: currentColor;
}

.show-group.is-current .show-shortlist-stack {
  border-left-color: rgba(255, 255, 255, 0.24);
  background: var(--accent);
}

.show-group.is-current .show-shortlist-icon {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #fff;
}

.show-group.is-current .show-shortlist.is-on .show-shortlist-icon {
  border-color: #fff;
  background: #fff;
  color: var(--accent);
}

.show-group.is-current .show-shortlist.is-on svg {
  fill: currentColor;
}

.show-group.is-current .row-status {
  color: #fff;
}

.paper-zine-show {
  --accent: #0c5c5c;
  --paper-zine-active-color: #0c5c5c;
  position: relative;
  isolation: isolate;
  grid-template-columns: 90px minmax(0, 1fr) minmax(180px, 220px) 64px minmax(72px, 96px) 42px;
  margin: 0 0 10px;
  border-left: 0;
  background: transparent;
  color: #17110b;
  font-family: var(--paper-zine-typewriter);
  box-shadow: none;
  transform: none;
}

.paper-zine-show + .show-group {
  border-top: 0;
}

.day-panel > .paper-zine-show:last-child {
  margin-bottom: 0;
}

.paper-zine-show.is-current {
  background: transparent;
  color: #17110b;
}

.paper-zine-show.paper-tone-1 {
  --paper-zine-active-color: #e0aa00;
  --paper-zine-genre-marker: var(--paper-zine-active-color);
}

.paper-zine-show.paper-tone-2 {
  --paper-zine-active-color: #0f9f73;
  --paper-zine-genre-marker: var(--paper-zine-active-color);
}

.paper-zine-show.paper-tone-3 {
  --paper-zine-active-color: #1687d9;
  --paper-zine-genre-marker: var(--paper-zine-active-color);
}

.paper-zine-show.paper-tone-4 {
  --paper-zine-active-color: #8d5bd6;
  --paper-zine-genre-marker: var(--paper-zine-active-color);
}

.paper-zine-show.paper-tone-5 {
  --paper-zine-active-color: #ff4d2e;
  --paper-zine-genre-marker: var(--paper-zine-active-color);
}

.paper-zine-show .paper-tone-1.paper-variant-1 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-01.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-2 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-02.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-3 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-03.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-4 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-04.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-5 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-05.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-6 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-06.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-7 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-07.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-8 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-08.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-9 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-09.webp"); }
.paper-zine-show .paper-tone-1.paper-variant-10 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-yellow-10.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-1 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-01.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-2 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-02.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-3 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-03.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-4 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-04.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-5 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-05.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-6 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-06.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-7 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-07.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-8 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-08.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-9 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-09.webp"); }
.paper-zine-show .paper-tone-2.paper-variant-10 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-mint-10.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-1 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-01.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-2 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-02.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-3 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-03.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-4 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-04.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-5 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-05.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-6 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-06.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-7 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-07.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-8 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-08.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-9 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-09.webp"); }
.paper-zine-show .paper-tone-3.paper-variant-10 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-blue-10.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-1 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-01.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-2 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-02.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-3 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-03.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-4 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-04.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-5 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-05.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-6 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-06.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-7 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-07.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-8 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-08.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-9 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-09.webp"); }
.paper-zine-show .paper-tone-4.paper-variant-10 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-lavender-10.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-1 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-01.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-2 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-02.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-3 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-03.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-4 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-04.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-5 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-05.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-6 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-06.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-7 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-07.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-8 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-08.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-9 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-09.webp"); }
.paper-zine-show .paper-tone-5.paper-variant-10 { --paper-zine-event-bg: url("./img/paper-zine/variants/paper-coral-10.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-1 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-01.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-2 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-02.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-3 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-03.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-4 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-04.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-5 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-05.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-6 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-06.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-7 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-07.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-8 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-08.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-9 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-09.webp"); }
.paper-zine-show.paper-tone-1.paper-title-variant-10 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-yellow-10.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-1 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-01.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-2 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-02.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-3 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-03.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-4 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-04.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-5 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-05.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-6 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-06.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-7 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-07.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-8 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-08.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-9 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-09.webp"); }
.paper-zine-show.paper-tone-2.paper-title-variant-10 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-mint-10.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-1 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-01.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-2 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-02.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-3 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-03.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-4 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-04.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-5 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-05.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-6 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-06.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-7 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-07.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-8 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-08.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-9 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-09.webp"); }
.paper-zine-show.paper-tone-3.paper-title-variant-10 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-blue-10.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-1 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-01.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-2 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-02.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-3 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-03.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-4 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-04.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-5 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-05.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-6 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-06.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-7 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-07.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-8 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-08.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-9 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-09.webp"); }
.paper-zine-show.paper-tone-4.paper-title-variant-10 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-lavender-10.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-1 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-01.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-2 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-02.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-3 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-03.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-4 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-04.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-5 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-05.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-6 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-06.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-7 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-07.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-8 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-08.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-9 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-09.webp"); }
.paper-zine-show.paper-tone-5.paper-title-variant-10 { --paper-zine-title-bg: url("./img/paper-zine/variants/paper-coral-10.webp"); }

.paper-zine-show .event-paper {
  position: relative;
  box-sizing: border-box;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  align-self: stretch;
  justify-self: stretch;
  margin:
    calc(var(--paper-zine-event-paper-padding-top) * -1)
    calc(var(--paper-zine-paper-right-extension) * -1)
    calc(var(--paper-zine-event-paper-padding-bottom) * -1)
    0;
  background-image: var(--paper-zine-event-bg);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.84) brightness(1.04)
    drop-shadow(
      0 var(--paper-zine-act-shadow-y) var(--paper-zine-act-shadow-blur)
        rgba(85, 68, 47, var(--paper-zine-act-shadow-opacity))
  );
  pointer-events: none;
  z-index: 0;
  transition: filter 0.12s ease;
}

.day-panel > .paper-zine-show:last-child .event-paper {
  margin-bottom: min(0px, calc(4px - var(--paper-zine-event-paper-padding-bottom)));
}

@supports (border-image-slice: 1 fill) {
  .paper-zine-show .event-paper {
    border-color: transparent;
    border-style: solid;
    border-width: var(--paper-zine-event-paper-edge-y) 18px;
    border-image-source: var(--paper-zine-event-bg);
    border-image-slice: 34 48 fill;
    border-image-width: var(--paper-zine-event-paper-edge-y) 18px;
    border-image-repeat: stretch;
    background-image: none;
  }
}

.paper-zine-show .show-image {
  align-self: stretch;
  justify-self: stretch;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--paper-zine-photo-width);
  height: auto;
  min-height: 0;
  margin: 0;
  padding: var(--paper-zine-photo-inset);
  border-right: 0;
  background: #fff8ea;
  color: #f8efdb;
  filter: drop-shadow(0 4px 7px rgba(85, 68, 47, 0.22));
  transform: rotate(-1deg);
  z-index: 6;
  overflow: visible;
}

.paper-zine-show .show-image img {
  position: relative;
  inset: auto;
  display: block;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
}

.day-panel > .paper-zine-show:last-child .show-image {
  clip-path: inset(0 0 3px 0);
}

.paper-zine-show .act-line,
.paper-zine-show .show-venue,
.paper-zine-show .show-time,
.paper-zine-show .show-price,
.paper-zine-show .show-shortlist-stack {
  position: relative;
  z-index: 4;
  background: transparent;
  color: #17110b;
}

.paper-zine-show .act-line {
  position: relative;
  z-index: 5;
  min-width: 0;
  height: var(--paper-zine-row-height);
  min-height: var(--paper-zine-row-height);
  padding:
    calc(var(--paper-zine-act-padding-top) + var(--paper-zine-row-text-y))
    15px
    max(0px, calc(var(--paper-zine-act-padding-bottom) - var(--paper-zine-row-text-y)))
    24px;
  text-transform: none;
  /* Top-align like the venue/time/price cells: they share the same padding-top,
     font size, and line-height, so top alignment makes the baselines identical.
     The base .act-line centers, which sits the name lower in the fixed-height row. */
  align-items: start;
}

.paper-zine-show .act-line:hover,
.paper-zine-show .act-line:focus-visible {
  background: color-mix(in srgb, var(--paper-zine-active-color) 12%, transparent);
  text-decoration: none;
}

.paper-zine-show .act-line:focus-visible {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--paper-zine-active-color) 45%, transparent);
}

.paper-zine-show .act-line.is-current {
  background: var(--paper-zine-active-color);
  color: #fff;
  filter: none;
}

.paper-zine-show .act-name {
  display: flex;
  align-items: baseline;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  line-height: var(--paper-zine-row-text-line-height);
}

.paper-zine-show .act-name strong {
  display: block;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--paper-zine-typewriter);
  font-size: var(--paper-zine-row-text-size);
  font-weight: 700;
  line-height: var(--paper-zine-row-text-line-height);
  letter-spacing: 0;
  color: #17110b;
}

.paper-zine-show .headliner-pill {
  flex: none;
  margin-left: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #17110b;
  font-family: var(--paper-zine-typewriter);
  font-weight: 700;
}

.paper-zine-show .act-genre {
  --marker-mask: var(--paper-zine-marker-swipe-1);
  --marker-after-mask: var(--paper-zine-marker-swipe-6);
  --marker-left: -4px;
  --marker-right: -4px;
  --marker-top: 50%;
  --marker-height: 1.52em;
  --marker-rotate: -1deg;
  --marker-opacity: 0.54;
  --marker-after-left: -1px;
  --marker-after-right: -3px;
  --marker-after-top: 54%;
  --marker-after-height: 1.02em;
  --marker-after-rotate: 1.3deg;
  --marker-after-opacity: 0.16;
  position: relative;
  isolation: isolate;
  display: inline-block;
  max-width: min(24rem, 100%);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(23, 17, 11, 0.68);
  font-family: var(--paper-zine-typewriter);
  font-size: calc(0.72rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 700;
  text-transform: lowercase;
  filter: none;
  line-height: 1.1;
  padding: 2px 24px 3px 8px;
}

.paper-zine-show .act-genre::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: var(--marker-left);
  right: var(--marker-right);
  top: var(--marker-top);
  height: var(--marker-height);
  transform: translateY(-49%) rotate(var(--marker-rotate));
  background: color-mix(in srgb, var(--paper-zine-genre-marker) 78%, transparent);
  mask-image: var(--marker-mask);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  opacity: var(--marker-opacity);
  filter: saturate(1.24);
  pointer-events: none;
  -webkit-mask-image: var(--marker-mask);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.paper-zine-show .act-genre::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: var(--marker-after-left);
  right: var(--marker-after-right);
  top: var(--marker-after-top);
  height: var(--marker-after-height);
  transform: translateY(-50%) rotate(var(--marker-after-rotate));
  background: color-mix(in srgb, var(--paper-zine-genre-marker) 60%, transparent);
  mask-image: var(--marker-after-mask);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  opacity: var(--marker-after-opacity);
  filter: saturate(1.35);
  pointer-events: none;
  -webkit-mask-image: var(--marker-after-mask);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.paper-zine-show .marker-swipe-2 {
  --marker-mask: var(--paper-zine-marker-swipe-2);
  --marker-after-mask: var(--paper-zine-marker-swipe-7);
  --marker-left: -7px;
  --marker-right: -2px;
  --marker-height: 1.68em;
  --marker-rotate: 1.1deg;
  --marker-after-left: -4px;
  --marker-after-right: -8px;
  --marker-after-top: 45%;
  --marker-after-rotate: -1.8deg;
  --marker-after-opacity: 0.18;
}

.paper-zine-show .marker-swipe-3 {
  --marker-mask: var(--paper-zine-marker-swipe-3);
  --marker-after-mask: var(--paper-zine-marker-swipe-8);
  --marker-left: -2px;
  --marker-right: -9px;
  --marker-height: 1.36em;
  --marker-rotate: -0.3deg;
  --marker-after-height: 0.76em;
  --marker-after-top: 62%;
  --marker-after-rotate: 2.4deg;
  --marker-after-opacity: 0.2;
}

.paper-zine-show .marker-swipe-4 {
  --marker-mask: var(--paper-zine-marker-swipe-4);
  --marker-after-mask: var(--paper-zine-marker-swipe-9);
  --marker-left: -10px;
  --marker-right: -7px;
  --marker-height: 1.8em;
  --marker-rotate: 2deg;
  --marker-after-left: 4px;
  --marker-after-right: -2px;
  --marker-after-top: 42%;
  --marker-after-height: 0.9em;
  --marker-after-rotate: -2.6deg;
  --marker-after-opacity: 0.15;
}

.paper-zine-show .marker-swipe-5 {
  --marker-mask: var(--paper-zine-marker-swipe-5);
  --marker-after-mask: var(--paper-zine-marker-swipe-10);
  --marker-left: -5px;
  --marker-right: -1px;
  --marker-height: 1.3em;
  --marker-rotate: -2.2deg;
  --marker-opacity: 0.58;
  --marker-after-left: -8px;
  --marker-after-right: 7px;
  --marker-after-top: 57%;
  --marker-after-rotate: 1deg;
  --marker-after-opacity: 0.22;
}

.paper-zine-show .marker-swipe-6 {
  --marker-mask: var(--paper-zine-marker-swipe-6);
  --marker-after-mask: var(--paper-zine-marker-swipe-11);
  --marker-left: -8px;
  --marker-right: -4px;
  --marker-height: 1.62em;
  --marker-rotate: 0.4deg;
  --marker-after-left: -1px;
  --marker-after-right: -10px;
  --marker-after-height: 1.14em;
  --marker-after-rotate: -1.2deg;
  --marker-after-opacity: 0.17;
}

.paper-zine-show .marker-swipe-7 {
  --marker-mask: var(--paper-zine-marker-swipe-7);
  --marker-after-mask: var(--paper-zine-marker-swipe-12);
  --marker-left: -1px;
  --marker-right: -11px;
  --marker-height: 1.74em;
  --marker-rotate: -1.6deg;
  --marker-after-left: -6px;
  --marker-after-right: 2px;
  --marker-after-top: 49%;
  --marker-after-rotate: 2.7deg;
  --marker-after-opacity: 0.14;
}

.paper-zine-show .marker-swipe-8 {
  --marker-mask: var(--paper-zine-marker-swipe-8);
  --marker-after-mask: var(--paper-zine-marker-swipe-1);
  --marker-left: -6px;
  --marker-right: -6px;
  --marker-height: 1.46em;
  --marker-rotate: 1.8deg;
  --marker-after-height: 0.82em;
  --marker-after-top: 41%;
  --marker-after-rotate: -2deg;
  --marker-after-opacity: 0.2;
}

.paper-zine-show .marker-swipe-9 {
  --marker-mask: var(--paper-zine-marker-swipe-9);
  --marker-after-mask: var(--paper-zine-marker-swipe-2);
  --marker-left: -11px;
  --marker-right: 1px;
  --marker-height: 1.58em;
  --marker-rotate: -0.9deg;
  --marker-opacity: 0.56;
  --marker-after-left: 2px;
  --marker-after-right: -7px;
  --marker-after-top: 60%;
  --marker-after-rotate: 1.9deg;
  --marker-after-opacity: 0.18;
}

.paper-zine-show .marker-swipe-10 {
  --marker-mask: var(--paper-zine-marker-swipe-10);
  --marker-after-mask: var(--paper-zine-marker-swipe-3);
  --marker-left: -3px;
  --marker-right: -12px;
  --marker-height: 1.86em;
  --marker-rotate: 2.5deg;
  --marker-after-left: -9px;
  --marker-after-right: 1px;
  --marker-after-height: 0.94em;
  --marker-after-top: 47%;
  --marker-after-rotate: -1.7deg;
  --marker-after-opacity: 0.16;
}

.paper-zine-show .marker-swipe-11 {
  --marker-mask: var(--paper-zine-marker-swipe-11);
  --marker-after-mask: var(--paper-zine-marker-swipe-4);
  --marker-left: -8px;
  --marker-right: -5px;
  --marker-height: 1.7em;
  --marker-rotate: 0.8deg;
  --marker-opacity: 0.55;
  --marker-after-left: -4px;
  --marker-after-right: -3px;
  --marker-after-top: 59%;
  --marker-after-height: 0.96em;
  --marker-after-rotate: -2.1deg;
  --marker-after-opacity: 0.17;
}

.paper-zine-show .marker-swipe-12 {
  --marker-mask: var(--paper-zine-marker-swipe-12);
  --marker-after-mask: var(--paper-zine-marker-swipe-5);
  --marker-left: -4px;
  --marker-right: -10px;
  --marker-height: 1.42em;
  --marker-rotate: -1.9deg;
  --marker-opacity: 0.57;
  --marker-after-left: -7px;
  --marker-after-right: 3px;
  --marker-after-top: 46%;
  --marker-after-height: 0.84em;
  --marker-after-rotate: 1.5deg;
  --marker-after-opacity: 0.18;
}

.paper-zine-show .act-genre-label {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paper-zine-show .act-genre-icon {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
}

.paper-zine-show.is-current .act-line:not(.is-current) {
  background: color-mix(in srgb, var(--paper-zine-active-color) 8%, transparent);
  color: #17110b;
}

.paper-zine-show.is-current .act-line:not(.is-current) .act-name strong,
.paper-zine-show.is-current .row-status {
  color: #17110b;
}

.paper-zine-show.is-current .act-line:not(.is-current) .act-genre,
.paper-zine-show .act-line.is-current .act-genre {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.paper-zine-show .show-venue,
.paper-zine-show .show-time,
.paper-zine-show .show-price {
  grid-row: 1 / -1;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  height: auto;
  min-height: 100%;
  padding:
    calc(var(--paper-zine-act-padding-top) + var(--paper-zine-row-text-y))
    8px
    max(0px, calc(var(--paper-zine-act-padding-bottom) - var(--paper-zine-row-text-y)));
  font-family: var(--paper-zine-typewriter);
  font-size: var(--paper-zine-row-text-size);
  font-weight: 700;
  line-height: var(--paper-zine-row-text-line-height);
}

.paper-zine-show .show-venue,
.paper-zine-show .show-price {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
}

.paper-zine-show .show-venue {
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paper-zine-show .show-time {
  justify-content: flex-start;
}

.paper-zine-show .show-price {
  justify-content: flex-end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paper-zine-show .show-shortlist {
  position: relative;
  z-index: 7;
}

.paper-zine-show .show-shortlist-icon {
  position: relative;
  z-index: 8;
}

.paper-tweaks-toggle,
.paper-tweaks-panel {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 90;
  font-family: var(--paper-zine-typewriter);
}

.paper-tweaks-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 2px solid rgba(23, 17, 11, 0.84);
  border-radius: 999px;
  background: #fff2d2;
  color: #17110b;
  box-shadow: 0 6px 12px rgba(85, 68, 47, 0.18);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.paper-tweaks-panel {
  width: min(340px, calc(100vw - 28px));
  padding: 16px;
  border: 2px solid rgba(23, 17, 11, 0.84);
  border-radius: 12px;
  background: #fff8e9;
  color: #17110b;
  box-shadow: 0 12px 24px rgba(85, 68, 47, 0.2);
}

.paper-tweaks-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.paper-tweaks-kicker {
  display: block;
  color: #ff4d2e;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.paper-tweaks-head h2 {
  margin: 2px 0 0;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.paper-tweaks-icon,
.paper-tweaks-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(23, 17, 11, 0.72);
  background: #fdf3db;
  color: #17110b;
}

.paper-tweaks-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.paper-tweaks-remote {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  border: 2px dashed rgba(23, 17, 11, 0.42);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
}

.paper-tweaks-remote[data-status="live"],
.paper-tweaks-remote[data-status="saving"] {
  border-color: rgba(11, 70, 64, 0.48);
  background: rgba(229, 255, 237, 0.5);
}

.paper-tweaks-remote[data-status="offline"] {
  border-color: rgba(255, 77, 46, 0.58);
  background: rgba(255, 235, 226, 0.62);
}

.paper-tweaks-remote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.paper-tweaks-remote-row span,
.paper-tweaks-remote-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.paper-tweaks-remote-row strong {
  color: rgba(23, 17, 11, 0.72);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.paper-tweaks-remote-button {
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 2px solid rgba(23, 17, 11, 0.68);
  border-radius: 999px;
  background: #fff;
  color: #073d3b;
  font: inherit;
}

.paper-tweaks-remote-link {
  display: block;
  max-width: 100%;
  padding: 6px 8px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.64);
  color: rgba(23, 17, 11, 0.74);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.paper-tweaks-remote-message {
  color: rgba(23, 17, 11, 0.64);
  font-size: 0.68rem;
  font-weight: 800;
}

.paper-tweaks-font {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.paper-tweaks-font select {
  width: 100%;
  min-height: 36px;
  padding: 7px 34px 7px 10px;
  border: 2px solid rgba(23, 17, 11, 0.72);
  border-radius: 8px;
  background: #fdf3db;
  color: #17110b;
  font-size: 0.88rem;
  font-weight: 700;
}

.paper-tweaks-font-sample {
  display: block;
  margin-top: 2px;
  color: rgba(23, 17, 11, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.paper-tweaks-switches {
  display: grid;
  gap: 8px;
}

.paper-tweaks-sliders {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.paper-tweaks-subhead {
  color: rgba(23, 17, 11, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-tweaks-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.paper-tweaks-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  padding: 7px 8px;
  border: 2px solid rgba(23, 17, 11, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.74rem;
  font-weight: 800;
}

.paper-tweaks-switch input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #ff4d2e;
}

.paper-tweaks-range {
  display: grid;
  gap: 8px;
  padding: 9px 10px;
  border: 2px solid rgba(23, 17, 11, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.34);
}

.paper-tweaks-range > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #17110b;
  font-size: 0.76rem;
  font-weight: 800;
}

.paper-tweaks-range strong {
  font-size: 0.72rem;
  font-weight: 800;
}

.paper-tweaks-range-control {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
}

.paper-tweaks-range input {
  min-width: 0;
  width: 100%;
  accent-color: #ff4d2e;
}

.paper-tweaks-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid rgba(23, 17, 11, 0.58);
  border-radius: 999px;
  background: #fdf3db;
  color: #17110b;
}

.paper-tweaks-reset {
  gap: 7px;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 560px) {
  .paper-tweaks-panel {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: min(72vh, calc(100svh - 24px));
    overflow: auto;
  }
}

.paper-zine-show .show-shortlist-icon {
  border: 0;
  border-radius: 0;
  background: transparent;
  background-image: none;
  color: #17110b;
  filter: none;
}

.paper-zine-show .show-shortlist.is-on .show-shortlist-icon,
.paper-zine-show.is-current .show-shortlist.is-on .show-shortlist-icon {
  border: 0;
  background: transparent;
  background-image: none;
  color: #17110b;
}

.paper-zine-show.is-current .show-shortlist-icon {
  border: 0;
  background: transparent;
  background-image: none;
  color: #17110b;
}

@media (min-width: 561px) {
  .paper-zine-show .show-image {
    grid-column: 1;
  }

  .paper-zine-show .act-line {
    grid-column: 2;
  }

  .paper-zine-show .show-venue {
    grid-column: 3;
  }

  .paper-zine-show .show-time {
    grid-column: 4;
  }

  .paper-zine-show .show-price {
    grid-column: 5;
  }

  .paper-zine-show .show-shortlist {
    grid-column: 6;
  }
}

.row-status {
  font-style: normal;
  font-weight: 800;
  color: var(--danger);
  text-transform: uppercase;
  font-size: 0.76rem;
}

/* ---------- Explore panel extras ---------- */
.fact-chip.link {
  cursor: pointer;
}

.drawer-blurb {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #2c2820;
}

.explore-links {
  margin-top: 4px;
}

.bill-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bill-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper-2);
  cursor: pointer;
  text-align: left;
}

.bill-row:hover {
  background: color-mix(in srgb, var(--accent) 10%, var(--paper-2));
}

.bill-thumb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 9px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.bill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bill-name {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Play the week ---------- */
/* Big round play button + the count of playable previews beside it. */
.play-week {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--ink);
}

.pw-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(255, 77, 46, 0.8);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}

.pw-circle svg {
  margin-left: 3px;
  fill: #fff;
  stroke: #fff;
}

.play-week:hover .pw-circle {
  transform: scale(1.05);
  box-shadow: 0 16px 32px -10px rgba(255, 77, 46, 0.9);
}

.pw-count {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.15;
  max-width: 18ch;
  color: var(--ink);
  text-align: left;
}

.pw-count strong {
  font-weight: 900;
}

/* ---------- Day header ---------- */
.day-divider-label {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: -0.01em;
}

.day-divider-label.has-tape {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(124px * var(--paper-zine-date-tape-scale));
  min-height: calc(34px * var(--paper-zine-date-tape-scale));
  padding: calc(6px * var(--paper-zine-date-tape-scale)) calc(13px * var(--paper-zine-date-tape-scale));
  color: #17110b;
  font-family: var(--paper-zine-typewriter);
  font-size: calc(var(--paper-zine-date-label-font-size) + var(--paper-zine-typewriter-size-bump));
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.day-divider-label.has-tape::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px 0;
  transform: rotate(-1deg);
  background-image: var(--paper-zine-date-tape-1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  filter: brightness(1.12) drop-shadow(0 1px 2px rgba(85, 68, 47, 0.14));
  pointer-events: none;
}

.day-panel:nth-of-type(10n + 2) .day-divider-label.has-tape::before {
  transform: rotate(0.7deg);
  background-image: var(--paper-zine-date-tape-2);
}

.day-panel:nth-of-type(10n + 3) .day-divider-label.has-tape::before {
  transform: rotate(-0.35deg);
  background-image: var(--paper-zine-date-tape-3);
}

.day-panel:nth-of-type(10n + 4) .day-divider-label.has-tape::before {
  transform: rotate(0.15deg);
  background-image: var(--paper-zine-date-tape-4);
}

.day-panel:nth-of-type(10n + 5) .day-divider-label.has-tape::before {
  transform: rotate(-0.7deg);
  background-image: var(--paper-zine-date-tape-5);
}

.day-panel:nth-of-type(10n + 6) .day-divider-label.has-tape::before {
  transform: rotate(0.45deg);
  background-image: var(--paper-zine-date-tape-6);
}

.day-panel:nth-of-type(10n + 7) .day-divider-label.has-tape::before {
  transform: rotate(-0.15deg);
  background-image: var(--paper-zine-date-tape-7);
}

.day-panel:nth-of-type(10n + 8) .day-divider-label.has-tape::before {
  transform: rotate(0.3deg);
  background-image: var(--paper-zine-date-tape-8);
}

.day-panel:nth-of-type(10n + 9) .day-divider-label.has-tape::before {
  transform: rotate(-0.5deg);
  background-image: var(--paper-zine-date-tape-9);
}

.day-panel:nth-of-type(10n) .day-divider-label.has-tape::before {
  transform: rotate(0.55deg);
  background-image: var(--paper-zine-date-tape-10);
}

.day-divider-rule {
  flex: 1 1 auto;
}

.day-type-breakdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #0c4442;
  font-family: var(--paper-zine-typewriter);
}

.day-total-count,
.day-type-count {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--paper-zine-typewriter);
  font-size: calc(0.94rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 900;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.day-total-count {
  display: none;
}

.day-total-count strong,
.day-type-count strong {
  font-size: 1em;
  font-weight: 900;
}

.day-type-count .act-genre-icon {
  width: 16px;
  height: 16px;
  color: currentColor;
  opacity: 1;
  stroke-width: 2.4;
}

/* ---------- Card play button + current state ---------- */
.card-play {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding-left: 2px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease;
}

.card-play:hover {
  transform: scale(1.08);
}

.card-play.is-playing {
  padding-left: 0;
}

.gig-card.is-current {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Player bar ---------- */
.shell.has-player {
  /* Clear the floating player card; EventExplorer updates this for expanded tickets. */
  padding-bottom: var(--player-clearance, 270px);
}

.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  box-shadow: 0 -8px 24px rgba(22, 19, 15, 0.25);
  animation: slide-up 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
  }
}

.player-bar-progress {
  padding: 0;
  line-height: 0;
}

.player-bar-progress input[type="range"] {
  --played: 0%;
  width: 100%;
  height: 5px;
  margin: 0;
  display: block;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--accent) var(--played), rgba(255, 255, 255, 0.18) var(--played));
  cursor: pointer;
}

.player-bar-progress input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--accent);
}

.player-bar-progress input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--accent);
}

.player-bar-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 12px clamp(14px, 4vw, 40px);
}

.player-now {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.player-art {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.player-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player-day {
  align-self: flex-start;
  margin-bottom: 3px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.player-text strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.02rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-sub {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-expand {
  flex: 0 0 auto;
  opacity: 0.6;
}

.player-transport {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-transport button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.player-transport button:disabled {
  opacity: 0.3;
  cursor: default;
}

.player-play {
  width: 52px !important;
  height: 52px !important;
  background: var(--accent) !important;
  color: #fff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.player-play:hover {
  transform: scale(1.05);
}

.player-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.player-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.player-count,
.player-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.player-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
  cursor: pointer;
}

/* ---------- Later dates ban ---------- */
.later-ban-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(22, 19, 15, 0.64);
  animation: fade-in 0.18s ease;
}

.later-ban-modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: clamp(24px, 5vw, 36px);
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  text-align: center;
}

.later-ban-modal h2 {
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.later-ban-modal p {
  margin: 18px auto 0;
  max-width: 46ch;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.48;
}

.later-ban-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.later-ban-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.later-ban-exemption {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.later-ban-exemption:hover {
  color: var(--ink);
}

.later-ban-screen {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8ecd4;
  animation: fade-in 0.18s ease;
}

.later-ban-screen-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  object-fit: contain;
}

.later-ban-countdown {
  position: absolute;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.later-ban-countdown-label {
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.later-ban-countdown-time {
  min-width: 4ch;
  font-family: "SF Mono", ui-monospace, Menlo, "Roboto Mono", monospace;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.later-ban-sound-button {
  position: absolute;
  left: 50%;
  bottom: clamp(72px, 10vw, 96px);
  transform: translateX(-50%);
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .masthead {
    grid-template-columns: 1fr;
  }
  .hero-marquee {
    order: -1;
  }
}

@media (max-width: 720px) {
  .control-bar {
    position: sticky;
    top: 0;
    z-index: 55;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 0;
    background: var(--paper);
    box-shadow: 0 8px 16px rgba(85, 68, 47, 0.09);
  }

  .day-panel {
    overflow: visible;
  }

  .day-panel + .day-panel {
    margin-top: var(--paper-zine-day-gap);
  }

  .day-header {
    position: sticky;
    top: var(--filter-clearance, 0px);
    z-index: 45;
    isolation: isolate;
    justify-content: space-between;
    min-height: calc(42px * var(--paper-zine-date-tape-scale));
    padding: 8px 14px;
    margin-bottom: var(--paper-zine-date-acts-gap);
    border-top: 0;
    background: transparent;
  }

  .day-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -16px -4px -1px;
    transform: rotate(-0.25deg);
    background-image: var(--paper-zine-date-tape-1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    filter: brightness(1.14) drop-shadow(0 1px 2px rgba(85, 68, 47, 0.14));
    pointer-events: none;
  }

  .day-panel:nth-of-type(10n + 2) .day-header::before {
    transform: rotate(0.35deg);
    background-image: var(--paper-zine-date-tape-2);
  }

  .day-panel:nth-of-type(10n + 3) .day-header::before {
    transform: rotate(-0.2deg);
    background-image: var(--paper-zine-date-tape-3);
  }

  .day-panel:nth-of-type(10n + 4) .day-header::before {
    transform: rotate(0.15deg);
    background-image: var(--paper-zine-date-tape-4);
  }

  .day-panel:nth-of-type(10n + 5) .day-header::before {
    transform: rotate(-0.4deg);
    background-image: var(--paper-zine-date-tape-5);
  }

  .day-panel:nth-of-type(10n + 6) .day-header::before {
    transform: rotate(0.25deg);
    background-image: var(--paper-zine-date-tape-6);
  }

  .day-panel:nth-of-type(10n + 7) .day-header::before {
    transform: rotate(-0.15deg);
    background-image: var(--paper-zine-date-tape-7);
  }

  .day-panel:nth-of-type(10n + 8) .day-header::before {
    transform: rotate(0.2deg);
    background-image: var(--paper-zine-date-tape-8);
  }

  .day-panel:nth-of-type(10n + 9) .day-header::before {
    transform: rotate(-0.3deg);
    background-image: var(--paper-zine-date-tape-9);
  }

  .day-panel:nth-of-type(10n) .day-header::before {
    transform: rotate(0.3deg);
    background-image: var(--paper-zine-date-tape-10);
  }

  .day-divider-label.has-tape {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .day-divider-label.has-tape::before,
  .day-divider-rule {
    display: none;
  }

  .day-type-breakdown {
    flex: 0 0 auto;
  }

  .day-total-count {
    display: inline-flex;
  }

  .day-type-count {
    display: none;
  }
}

@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .shell {
    padding-inline: 0;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .shell.has-mobile-player {
    padding-bottom: max(var(--player-clearance, 152px), calc(152px + env(safe-area-inset-bottom)));
  }

  .masthead-brand,
  .control-bar,
  .results-meta,
  .empty-state {
    padding-inline: 12px;
  }

  .masthead {
    padding-inline: 0;
  }

  .masthead-brand {
    grid-column: 1 / -1;
    width: 100%;
  }

  .masthead h1 {
    margin-top: 8px;
    font-size: 1.38rem;
    line-height: 1;
    white-space: nowrap;
  }

  .masthead h1.masthead-logo-heading {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    max-width: calc(100% + 24px);
  }

  .masthead-logo-picture {
    width: 100%;
    max-width: none;
  }

  .masthead-subtitle {
    margin-top: 9px;
    width: 100%;
    max-width: none;
    font-size: calc(0.92rem + var(--paper-zine-typewriter-size-bump));
  }

  .mark-accent {
    -webkit-text-stroke-width: 1px;
  }

  .type-filters {
    display: none;
  }

  .control-bar,
  .filter-actions {
    gap: 5px;
  }

  .control-bar {
    position: sticky;
    max-width: 100%;
    overflow: visible;
  }

  .search-toggle {
    width: 40px;
    height: 40px;
  }

  .filter-count {
    display: none;
  }

  .filter-actions .pill,
  .filter-actions .venue-filter > summary {
    min-height: 40px;
    padding-inline: 9px;
    font-size: 0.95rem;
  }

  .venue-filter.has-selection > summary {
    background: var(--coral);
    color: #fff;
    border-color: var(--ink);
  }

  .mobile-type-filter {
    display: block;
    flex: 0 0 auto;
  }

  .filter-actions {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-actions::-webkit-scrollbar {
    display: none;
  }

  .filter-actions:has(.venue-filter[open]) {
    overflow: visible;
  }

  .filter-actions .pill,
  .filter-actions .venue-filter,
  .filter-actions .search-toggle {
    flex: 0 0 auto;
  }

  .filter-actions .search-box {
    flex: 0 0 min(300px, calc(100vw - 24px));
    min-width: min(300px, calc(100vw - 24px));
  }

  .filter-actions .venue-filter {
    position: static;
  }

  .venue-panel {
    position: fixed;
    top: calc(var(--filter-panel-top, var(--filter-clearance, 0px)) + 6px);
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    margin-top: 0;
    width: auto;
    max-width: none;
    max-height: 60vh;
    max-height: min(
      60dvh,
      calc(var(--player-top, 100dvh) - var(--filter-panel-top, var(--filter-clearance, 0px)) - 12px)
    );
    box-sizing: border-box;
  }

  .filter-actions .venue-filter > .venue-panel {
    z-index: 70;
  }

  .date-filter {
    position: static;
  }

  .date-filter .date-panel {
    /* Position against the full filter bar, not the Dates button: centering a
       calendar under a small button can make the page horizontally draggable on
       narrow phones. */
    position: fixed;
    top: calc(var(--filter-panel-top, var(--filter-clearance, 0px)) + 6px);
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    transform: none;
    margin-top: 0;
    z-index: 70;
    width: auto;
    max-width: none;
    box-sizing: border-box;
  }

  .filter-actions .venue-filter:nth-last-child(-n + 2) .venue-panel {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
  }

  .venue-select {
    max-width: 100%;
    flex: 1 1 auto;
  }
  .later-ban-countdown {
    left: 50%;
    right: auto;
    bottom: 14px;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 4px;
    padding: 9px 13px;
  }
  .gig-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .gig-title {
    font-size: 1rem;
  }
  .drawer {
    border-left: 0;
  }
  .show-head {
    display: none;
  }
  .results-meta {
    display: none;
  }
  .song-list {
    gap: 10px;
  }
  .day-panel {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .day-panel + .day-panel {
    border-top: 0;
  }
  .show-group {
    grid-template-columns: minmax(0, 1fr) 4.2rem minmax(4.75rem, 5.75rem) 46px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "venue time price price"
      "acts acts acts shortlist";
  }
  .show-group + .show-group {
    border-top: 4px solid var(--ink);
  }
  .show-image {
    display: none;
  }
  .paper-zine-show .show-image {
    display: none;
  }
  .show-acts {
    display: flex;
    flex-direction: column;
    grid-area: acts;
  }
  .show-venue,
  .show-time,
  .show-price {
    align-self: stretch;
    border-bottom: 1px solid rgba(22, 19, 15, 0.16);
    padding: 9px 10px;
    font-size: 0.82rem;
  }
  .paper-zine-show .show-venue {
    grid-row: auto;
    grid-column: auto;
    grid-area: venue;
    color: var(--ink-soft);
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
  .show-group.is-current .show-venue {
    color: #fff;
  }
  .paper-zine-show .show-time {
    grid-row: auto;
    grid-column: auto;
    grid-area: time;
    justify-self: stretch;
    text-align: left;
    white-space: nowrap;
  }
  .paper-zine-show .show-price {
    grid-row: auto;
    grid-column: auto;
    grid-area: price;
    justify-self: stretch;
    text-align: right;
    white-space: nowrap;
  }
  .show-shortlist-stack {
    display: flex;
    flex-direction: column;
    grid-area: shortlist;
    align-self: stretch;
    justify-self: stretch;
    min-width: 46px;
  }
  .show-shortlist {
    min-height: 0;
    flex-basis: 0;
  }
  .act-line {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "name"
      "genre";
    min-height: 52px;
    padding: 10px 14px;
    row-gap: 1px;
  }
  .act-name {
    grid-area: name;
  }
  /* Keep genre visible on mobile, but as a small caption under the band name —
     the desktop accent pill is too heavy for the stacked row. Inherit the row's
     text colour so it stays readable on the playing (accent) row. */
  .act-genre {
    grid-area: genre;
    justify-self: start;
    max-width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    opacity: 0.7;
    font-size: 0.7rem;
    font-weight: 700;
  }
  .act-genre-empty {
    display: none;
  }
  .paper-zine-show {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .paper-zine-show .show-acts {
    gap: 0;
    max-width: 100%;
    overflow: hidden;
    isolation: isolate;
    padding-block: var(--paper-zine-mobile-info-acts-gap) 4px;
  }
  .day-panel > .paper-zine-show:last-child .show-acts {
    padding-bottom: 2px;
  }
  .paper-zine-show + .show-group {
    border-top: 0;
  }
  .paper-zine-show {
    margin-block: 0 var(--paper-zine-event-gap);
  }
  .paper-zine-show::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: stretch;
    justify-self: start;
    width: calc(100% + var(--paper-zine-mobile-paper-left-offset));
    margin-left: calc(var(--paper-zine-mobile-paper-left-offset) * -1);
    min-height: calc(
      var(--paper-zine-title-padding-top) + var(--paper-zine-title-padding-bottom) +
        var(--paper-zine-mobile-info-padding-top) + 24px
    );
    background-color: transparent;
    background-image: var(--paper-zine-title-bg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.12) brightness(1.02) drop-shadow(
      0 var(--paper-zine-act-shadow-y) var(--paper-zine-act-shadow-blur)
        rgba(85, 68, 47, var(--paper-zine-act-shadow-opacity))
    );
    pointer-events: none;
    z-index: 0;
  }
  .paper-zine-show .event-paper {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    width: calc(100% + var(--paper-zine-mobile-paper-left-offset));
    max-width: calc(100% + var(--paper-zine-mobile-paper-left-offset));
    margin:
      var(--paper-zine-mobile-info-acts-gap)
      0
      calc(var(--paper-zine-event-paper-padding-bottom) * -1)
      calc(var(--paper-zine-mobile-paper-left-offset) * -1);
    min-height: 100%;
  }
  .paper-zine-show .show-venue,
  .paper-zine-show .show-time,
  .paper-zine-show .show-price {
    display: flex;
    align-items: flex-start;
    height: auto;
    min-height: calc(
      var(--paper-zine-title-padding-top) + var(--paper-zine-title-padding-bottom) +
        var(--paper-zine-mobile-info-padding-top) + 24px
    );
    z-index: 2;
    border-bottom: 0;
    background: transparent;
    color: #17110b;
    filter: none;
    line-height: 1.12;
    padding:
      calc(
        max(1px, calc(var(--paper-zine-title-padding-top) - 4px)) + var(--paper-zine-mobile-info-padding-top) +
          var(--paper-zine-row-text-y)
      )
      12px
      max(0px, calc(var(--paper-zine-title-padding-bottom) + 10px - var(--paper-zine-row-text-y)));
  }
  .paper-zine-show .show-venue {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .paper-zine-show .show-time {
    justify-content: flex-start;
  }
  .paper-zine-show .show-price {
    justify-content: flex-end;
  }
  .paper-zine-show .show-acts .act-line {
    position: relative;
    z-index: var(--paper-zine-stack);
    width: calc(100% + var(--paper-zine-mobile-paper-left-offset));
    max-width: 100%;
    min-height: var(--paper-zine-mobile-row-paper-height);
    margin: var(--paper-zine-act-overlap-negative) 0 0 calc(var(--paper-zine-mobile-paper-left-offset) * -1);
    padding:
      calc(var(--paper-zine-act-padding-top) + var(--paper-zine-row-text-y))
      24px
      max(0px, calc(var(--paper-zine-act-padding-bottom) - var(--paper-zine-row-text-y)))
      calc(24px + var(--paper-zine-mobile-paper-left-offset));
  }
  .paper-zine-show .show-acts .act-genre {
    max-width: 100%;
    padding: 1px 22px var(--paper-zine-mobile-genre-padding-bottom) 7px;
  }
  .paper-zine-show .show-acts .act-name {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .paper-zine-show .show-acts .act-name strong {
    display: inline;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }
  .paper-zine-show .show-acts .act-name:not(:has(.headliner-pill)) strong {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .paper-zine-show .show-acts .headliner-pill {
    display: inline-flex;
    margin-left: 9px;
    vertical-align: middle;
  }
  .paper-zine-show .show-acts .act-line:first-child {
    margin-top: 0;
  }
  .player-bar-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .player-meta {
    display: none;
  }
  .player-expand {
    display: none;
  }
  .shell.has-player,
  .shell.has-mobile-player {
    padding-bottom: max(var(--player-clearance, 152px), calc(152px + env(safe-area-inset-bottom)));
  }

  .later-dates-footer {
    padding: 22px 0 max(42px, env(safe-area-inset-bottom));
  }

  .later-dates-link {
    min-height: 44px;
    padding: 10px 12px;
  }
}

.paper-zine-show .act-line:hover,
.paper-zine-show .act-line:focus-visible {
  background: color-mix(in srgb, var(--paper-zine-active-color) 12%, transparent);
}

.paper-zine-show.is-current .act-line:not(.is-current) {
  background: color-mix(in srgb, var(--paper-zine-active-color) 8%, transparent);
  color: #17110b;
}

.paper-zine-show.is-current .act-line:not(.is-current):hover,
.paper-zine-show.is-current .act-line:not(.is-current):focus-visible {
  background: color-mix(in srgb, var(--paper-zine-active-color) 14%, transparent);
}

.paper-zine-show .act-line.is-current,
.paper-zine-show.is-current .act-line.is-current,
.paper-zine-show .show-acts .act-line.is-current {
  background-color: var(--paper-zine-active-color);
  background-image: none;
  color: #fff;
}

.paper-zine-show .act-line.is-current:hover,
.paper-zine-show .act-line.is-current:focus-visible {
  background-color: var(--paper-zine-active-color);
}

.paper-zine-show .act-line.is-current .act-name strong {
  color: #fff;
  font-weight: 950;
}

.paper-zine-show .act-line.is-current .act-genre {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}

.paper-zine-show .act-line.is-current .headliner-pill {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
}

.paper-zine-show.is-current .act-line:not(.is-current) .act-name strong {
  color: #17110b;
}

.paper-zine-show.is-current .act-line:not(.is-current) .act-genre {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(23, 17, 11, 0.72);
  opacity: 0.78;
}

.paper-zine-show .act-line.is-current .act-genre::before {
  background: color-mix(in srgb, var(--paper-zine-genre-marker) 60%, white 40%);
  opacity: 0.48;
}

.paper-zine-show .act-line.is-current .act-genre::after {
  background: color-mix(in srgb, var(--paper-zine-genre-marker) 44%, white 56%);
}

.paper-zine-show.is-current .act-line:not(.is-current) .act-genre::before {
  opacity: 0.32;
}

.paper-zine-show.is-current .show-venue,
.paper-zine-show.is-current .show-time,
.paper-zine-show.is-current .show-price {
  align-self: stretch;
  height: auto;
  min-height: 100%;
  background: var(--paper-zine-active-color);
  color: #fff;
}

.paper-zine-show.is-current .show-shortlist {
  align-self: stretch;
  justify-self: stretch;
  background: var(--paper-zine-active-color);
  color: #fff;
}

@media (max-width: 720px) {
  .paper-zine-show.is-current .show-venue,
  .paper-zine-show.is-current .show-time,
  .paper-zine-show.is-current .show-price {
    background: transparent;
    color: #17110b;
  }
}

.paper-zine-show.is-current .show-shortlist-icon,
.paper-zine-show.is-current .show-shortlist.is-on .show-shortlist-icon {
  border: 0;
  background: transparent;
  background-image: none;
  color: #fff;
}

.paper-zine-show.is-current .row-status {
  background: transparent;
  color: inherit;
}

/* ---------- Palette switcher ---------- */
.palette-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.palette-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}

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

.palette-swatch.is-active {
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);
}

.palette-swatch .dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-left: -4px;
  box-shadow: 0 0 0 1.5px var(--paper-2);
}

.palette-swatch .dot:first-child {
  margin-left: 0;
}

.palette-intensity {
  margin-left: 4px;
  min-height: 28px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.palette-intensity.is-bold {
  background: var(--accent);
  color: #fff;
}

/* ---------- Rotating image background ---------- */
.bg-rotator {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--paper);
  background-image: var(--paper-zine-page);
  background-size: 900px 900px;
  background-repeat: repeat;
  pointer-events: none;
}

.bg-layer {
  display: none;
}

.bg-layer-top {
  animation: bgFade 1.8s ease both;
}

@keyframes bgFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Flat paper-tinted scrim — keeps text readable over the photos without reading
   as a "gradient" of its own. */
.bg-scrim {
  position: absolute;
  inset: 0;
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .bg-layer-top {
    animation: none;
  }
}

.event-description {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-line;
  max-height: 340px;
  overflow-y: auto;
}

/* ---------- No-preview (desaturated) ---------- */
.act-line.no-audio {
  filter: saturate(0.2);
  opacity: 0.62;
}

.show-group.no-audio .show-image img {
  filter: grayscale(0.6) saturate(0.55);
  --img-dim: 0.8;
}

/* ---------- Shortlist table ---------- */
/* Pinned top-right next to the masthead; wraps below the brand on narrow screens. */
.shared-shortlist {
  flex: 1 1 640px;
  max-width: 780px;
  min-width: min(100%, 360px);
  align-self: flex-start;
}

.shared-shortlist-panel {
  display: block;
}

.shared-shortlist-panel-shell {
  display: contents;
}

.shared-mobile-toggle {
  display: none;
}

.shared-shortlist-scrim {
  display: none;
}

.shared-shortlist-head {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.shared-share-open {
  min-height: 44px;
  max-width: 100%;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 2px 2px 0 color-mix(in srgb, var(--accent) 80%, var(--ink));
  font-size: calc(0.88rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 950;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
}

.shared-shortlist-close {
  display: none;
}

.shared-people-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.shared-people-panel-head h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: calc(clamp(1.85rem, 5vw, 2.55rem) + var(--paper-zine-typewriter-size-bump));
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: 0;
}

.shared-people-intro {
  margin: -4px 0 16px;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: calc(0.9rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 800;
  line-height: 1.35;
}

.shared-people-close,
.shared-person-action {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.shared-people-close,
.shared-person-action {
  width: 34px;
  padding: 0;
}

.shared-person-action.danger {
  color: var(--danger);
}

.shared-people-modal-scrim {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(22, 19, 15, 0.38);
}

.shared-people-modal {
  position: relative;
  width: min(100%, 560px);
  max-height: min(700px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(18px, 4vw, 28px);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--accent) 0 78px, var(--ink) 78px 84px, transparent 84px) top left / 100% 9px no-repeat,
    var(--paper);
  box-shadow: var(--shadow);
}

.shared-people-link-box {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.shared-share-form {
  display: grid;
  gap: 10px;
  padding: 0;
}

.shared-share-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.shared-modal-name-field {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: calc(0.78rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.shared-modal-name-field input {
  min-height: 42px;
  min-width: 0;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: calc(1rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.shared-link-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.shared-link-copy-row span {
  display: block;
  color: var(--ink);
  font-size: calc(0.9rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 900;
  overflow-wrap: anywhere;
}

.shared-link-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
}

.shared-link-copy-button:hover {
  background: color-mix(in srgb, var(--paper-2) 86%, var(--ink) 14%);
}

.shared-modal-share-button {
  min-height: 42px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: calc(0.82rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
}

.shared-modal-share-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shared-copy-alert {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  border: 2px solid color-mix(in srgb, var(--accent) 70%, var(--ink));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--ink);
  font-size: calc(0.78rem + var(--paper-zine-typewriter-size-bump));
  font-weight: 900;
}

.shared-people-list {
  display: grid;
  gap: 2px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--paper-2);
}

.shared-person-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 0;
}

.shared-person-row.is-hidden {
  color: var(--ink-soft);
}

.person-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--person-color, var(--ink-soft));
}

.shared-person-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.shared-delete-confirm {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  margin: 2px 0 8px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--danger) 0 8px, transparent 8px),
    color-mix(in srgb, var(--danger) 10%, var(--paper));
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}

.shared-delete-confirm strong {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.05;
}

.shared-delete-confirm span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.shared-delete-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shared-delete-confirm-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.shared-delete-confirm-actions button.danger {
  background: var(--danger);
  color: var(--paper);
}

.shared-status {
  margin-top: 12px;
  margin-bottom: 8px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper-2);
  font-size: 0.82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.shared-status.success {
  background: color-mix(in srgb, #00a878 14%, var(--paper-2));
}

.shared-status.error {
  background: color-mix(in srgb, var(--danger) 14%, var(--paper-2));
}

.shared-matrix {
  --people-count: 1;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper-2);
}

.shared-matrix-header,
.shared-matrix-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(var(--people-count), minmax(58px, 76px));
  min-width: calc(260px + (var(--people-count) * 58px));
}

.shared-matrix-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.shared-matrix-header > span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.shared-person-head {
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  box-shadow: inset 4px 0 0 var(--person-color);
}

.shared-person-head-button {
  appearance: none;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 950;
  letter-spacing: inherit;
  text-transform: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.shared-person-head-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shared-matrix-row {
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}

.shared-matrix-row:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.shared-event-cell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 0 10px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: visible;
}

.shared-event-thumb {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  box-shadow: inset -1px 0 0 color-mix(in srgb, var(--ink) 22%, transparent);
}

.shared-event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shared-event-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shared-event-main strong,
.shared-event-main span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shared-event-main strong {
  font-size: 0.9rem;
}

.shared-event-main span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.shared-mark-cell {
  display: grid;
  place-items: center;
  min-height: 58px;
  border: 0;
  border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: transparent;
  color: var(--ink-soft);
}

button.shared-mark-cell {
  cursor: pointer;
}

.shared-mark-cell.is-selected {
  color: #fff;
  background: #16130f;
}

.shared-mark-cell.is-selected svg {
  fill: currentColor;
}

.shared-empty {
  min-height: 58px;
  padding: 18px 12px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
  }

  .shared-shortlist {
    --shared-shortlist-control-height: 56px;
    --shared-shortlist-control-padding-y: 10px;
    --shared-shortlist-shelf-height: calc(
      var(--shared-shortlist-control-height) + (var(--shared-shortlist-control-padding-y) * 2)
    );
    --shared-shortlist-bottom: min(
      calc(var(--player-clearance, 164px) + 8px + env(safe-area-inset-bottom)),
      calc(100dvh - 72px)
    );
    position: fixed;
    top: auto;
    bottom: calc(var(--shared-shortlist-bottom) + var(--shared-shortlist-control-padding-y));
    left: 0;
    z-index: 64;
    width: auto;
    max-width: none;
    min-width: 0;
    pointer-events: none;
  }

  .shared-shortlist.is-share-modal-open {
    z-index: 170;
    pointer-events: auto;
  }

  .shared-mobile-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto auto;
    place-items: center;
    gap: 2px;
    width: 42px;
    min-height: var(--shared-shortlist-control-height);
    height: var(--shared-shortlist-control-height);
    padding: 7px 4px 7px 2px;
    border: 2px solid var(--ink);
    border-left: 0;
    border-radius: 0 14px 14px 0;
    background: var(--paper-2);
    color: var(--ink);
    box-shadow: 3px 3px 0 color-mix(in srgb, var(--accent) 70%, var(--ink));
    cursor: pointer;
    pointer-events: auto;
  }

  .shared-shortlist.is-mobile-open .shared-mobile-toggle {
    background: var(--ink);
    color: var(--paper);
  }

  .shared-shortlist-scrim {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    background: color-mix(in srgb, var(--paper) 48%, transparent);
    backdrop-filter: blur(3px) saturate(0.85);
    -webkit-backdrop-filter: blur(3px) saturate(0.85);
    pointer-events: auto;
  }

  @media (prefers-reduced-transparency: reduce) {
    .shared-shortlist-scrim {
      background: color-mix(in srgb, var(--paper) 78%, transparent);
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }
  }

  .shared-mobile-toggle svg {
    width: 18px;
    height: 18px;
  }

  .shared-mobile-toggle-count {
    min-width: 20px;
    font-family: var(--paper-zine-typewriter);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
  }

  .shared-shortlist-panel-shell {
    position: fixed;
    top: auto;
    right: 0;
    bottom: calc(var(--shared-shortlist-bottom) + var(--shared-shortlist-shelf-height));
    left: 0;
    z-index: 1;
    display: none;
    pointer-events: none;
  }

  .shared-shortlist.is-mobile-open .shared-shortlist-panel-shell {
    display: block;
  }

  .shared-shortlist-panel {
    position: relative;
    z-index: 1;
    display: none;
    min-height: 0;
    max-height: min(62vh, calc(100dvh - var(--shared-shortlist-bottom) - var(--shared-shortlist-shelf-height) - 12px));
    padding: 0;
    border: 2px solid var(--ink);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--paper);
    box-shadow: 6px 6px 0 color-mix(in srgb, var(--ink) 82%, transparent);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  .shared-shortlist-panel > .shared-status {
    display: none;
  }

  .shared-shortlist.is-mobile-open .shared-shortlist-panel {
    display: grid;
    align-content: start;
    gap: 0;
  }

  .shared-shortlist-head {
    position: fixed;
    right: 0;
    bottom: var(--shared-shortlist-bottom);
    left: 0;
    z-index: 2;
    align-self: start;
    align-items: center;
    justify-content: stretch;
    margin: 0;
    padding: var(--shared-shortlist-control-padding-y) 0 var(--shared-shortlist-control-padding-y) 48px;
    border-top: 0;
    background: #fff;
  }

  .shared-share-open {
    width: 100%;
    min-height: var(--shared-shortlist-control-height);
    height: var(--shared-shortlist-control-height);
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .shared-shortlist-close {
    position: absolute;
    top: -42px;
    right: 8px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 0 3px #fff;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
  }

  .shared-people-modal-scrim {
    place-items: center;
    padding: 14px;
  }

  .shared-people-modal {
    width: 100%;
    max-height: min(88vh, 640px);
  }

  .shared-share-controls {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shared-link-copy-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shared-modal-share-button {
    width: 100%;
  }

  .shared-status {
    margin: 8px 10px;
    padding-inline: 12px;
  }

  .shared-matrix {
    max-height: min(42vh, 360px);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }
}

.shortlist-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.shortlist-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
}

/* ---------- Player star ---------- */
.player-star {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.player-star.is-on {
  color: var(--accent);
}

.player-star.is-on svg {
  fill: currentColor;
}

/* ---------- Headliner pill ---------- */
.headliner-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--ink-soft);
  font-family: Inter, sans-serif;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* =========================================================================
   Now-playing dock (dark) — the app's single detail surface (no drawer).
   ========================================================================= */
.player-dock {
  --mono: "SF Mono", ui-monospace, Menlo, "Roboto Mono", monospace;
  /* Floating card, self-centred at an exact width: the listings content width
     (shell minus its padding) plus 20px of overhang on each side. Capped so it
     never reaches the viewport edge. No full-width parent, so no pointer-events
     trickery — every control stays directly clickable. */
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  margin-inline: auto;
  width: min(calc(min(1240px, 100% - 2 * clamp(18px, 4vw, 40px)) + 40px), calc(100% - 16px));
  z-index: 60;
  animation: slide-up 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.player-dock.is-idle {
  display: none;
}

.pd-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  /* Accent edge + soft upward glow brands the boundary with the listings. */
  border: 1px solid var(--accent);
  /* Ivory-pop information panel; the playback bar at the foot goes dark. */
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--accent), 0 -12px 44px -10px rgba(255, 77, 46, 0.45),
    0 24px 50px -22px rgba(22, 19, 15, 0.6);
}

.pd-ticket {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  /* Never taller than the available viewport (leaving room for the playback bar +
     bottom offset); capped at 620px on tall screens. No floor — on short screens
     it shrinks and scrolls rather than overflowing off-screen. */
  max-height: min(620px, calc(100dvh - 170px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.pd-ticket.is-clickable {
  cursor: pointer;
}

.pd-art {
  /* Stretch to the panel's content height — no fixed minimum, so a collapsed
     ticket stays compact. The image is positioned absolutely (below) so its
     intrinsic height never forces the row taller than the content. */
  position: relative;
  align-self: stretch;
  border: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbeede;
  background:
    radial-gradient(120% 120% at 18% 8%, color-mix(in srgb, var(--art-accent, #2540ff) 26%, transparent), transparent 60%),
    linear-gradient(150deg, #241c14, #52331f);
}

.pd-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-body {
  position: relative;
  padding: 18px 22px 16px;
}

/* Header row: title block on the left, action cluster on the right. Flex
   reserves space so the Shortlist/Tickets cluster can never collide with a
   long act name — the title wraps within its own column instead. */
.pd-headrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pd-headtext {
  min-width: 0;
}

.pd-cta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.pd-shortlist,
.pd-tickets {
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  min-height: 44px;
  border-radius: 9px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.pd-tickets {
  background: var(--accent);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 22px -10px rgba(255, 77, 46, 0.8);
}

.pd-shortlist {
  position: relative;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.pd-shortlist.is-on {
  background: var(--accent);
  color: #fff;
}

/* Collapse / expand toggle — top-right corner of the panel. */
.pd-expand {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line, rgba(22, 19, 15, 0.16));
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-expand svg {
  /* ChevronDown points up while collapsed (click → panel comes up) and flips to
     point down once expanded (click → panel goes back down). */
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  transform: rotate(180deg);
}

.player-dock.is-expanded .pd-expand svg {
  transform: rotate(0deg);
}

.pd-kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.pd-act {
  font-family: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 4px 0 2px;
  color: var(--ink);
}

.pd-show {
  font-size: 0.85rem;
  color: var(--ink);
  margin: 0;
}

.pd-show-lead,
.pd-show-sep {
  color: var(--ink);
  opacity: 1;
}

.pd-support {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.pd-support:hover {
  color: var(--accent);
}

.pd-support-flat {
  color: var(--ink);
}

.pd-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 12px 0 9px;
}

.pd-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pd-lab {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
}

.pd-val {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  /* Printed-ticket look: the field values read in all caps. */
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pd-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.pd-link::after {
  content: " ↗";
  color: var(--accent);
  font-size: 0.7rem;
}

/* Description lives inside the expandable region — hidden when collapsed. */
.pd-desc {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  max-width: 66ch;
  padding-top: 10px;
}

/* Slick height reveal via grid-template-rows 0fr -> 1fr, with a soft fade. */
.pd-extra {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.player-dock.is-expanded .pd-extra {
  grid-template-rows: 1fr;
}

.pd-extra-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease 0.06s;
}

.player-dock.is-expanded .pd-extra-inner {
  opacity: 1;
}

.pd-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 10px;
  background: #0f0c0a;
  box-shadow: inset 0 0 0 1px rgba(22, 19, 15, 0.18);
}

.pd-video-engine,
.pd-video-engine iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  pointer-events: none;
}

.pd-mobile-video-frame {
  display: none;
}

.pd-tracks {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 8px;
}

.pd-tracks .pd-lab {
  margin-bottom: 3px;
}

.pd-trackrow {
  font: inherit;
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-soft);
  text-align: left;
  padding: 5px 0;
  font-size: 0.82rem;
}

.pd-trackrow:hover {
  color: var(--ink);
}

.pd-trackrow.is-current {
  margin: 2px 0;
  padding: 7px 9px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.pd-trackrow.is-current .pd-trackrow-icon {
  color: #fff;
}

.pd-trackrow-icon {
  display: inline-flex;
}

/* The playback bar (scrubber + transport) is the dark foot of the panel. */
.pd-scrub {
  position: relative;
  z-index: 2;
  line-height: 0;
  background: #0f0c0a;
  border-top: 2px solid var(--ink);
}

/* The visible track stays a thin line, but the input is 24px tall so it's
   actually draggable on touch (a 6px hit zone was unusable). */
.pd-scrub input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.pd-scrub input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(to right, var(--accent) var(--played, 0%), rgba(255, 255, 255, 0.16) var(--played, 0%));
}

.pd-scrub input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px #0f0c0a;
}

.pd-scrub input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.pd-scrub input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--accent);
}

.pd-scrub input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}

.pd-scrub input:disabled {
  opacity: 0.5;
  cursor: default;
}

.pd-controls {
  position: relative;
  z-index: 2;
  /* 1fr auto 1fr keeps the transport dead-centre regardless of how wide the
     track title (left) or the time display (right) get. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(7.5rem, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px 22px 16px;
  background: #0f0c0a;
}

.pd-track {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbeede;
  min-width: 0;
  max-width: 100%;
  justify-self: start;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.pd-note {
  color: var(--accent);
  margin-right: 5px;
}

.pd-noaudio {
  color: #8c8273;
  font-weight: 600;
}

.pd-idle-track {
  color: #fbeede;
  font-weight: 900;
  white-space: pre-line;
}

.pd-transport {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-self: center;
}

.pd-mobile-shortlist {
  display: none;
}

.pd-transport button:not(.pd-play) {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #fbeede;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pd-transport button:disabled {
  opacity: 0.35;
  cursor: default;
}

.pd-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(255, 77, 46, 0.75);
}

.pd-time {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
  justify-self: end;
  white-space: nowrap;
}

.pd-close {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line, rgba(22, 19, 15, 0.16));
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.pd-idle-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
}

/* Touch-target hit areas: keep the visual size, expand the tap zone to >=44px
   via a centred invisible overlay. Neighbours of these are non-interactive (or
   far enough apart) so the overlays never steal each other's taps. */
.pd-transport button,
.pd-mobile-shortlist,
.pd-expand,
.pd-close,
.pd-link,
.show-venue,
.show-shortlist,
.venue-close,
.venue-directions {
  position: relative;
}

.pd-transport button::before,
.pd-mobile-shortlist::before,
.pd-expand::before,
.pd-close::before,
.pd-link::before,
.show-venue::before,
.show-shortlist::before,
.venue-close::before,
.venue-directions::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 44px;
  transform: translate(-50%, -50%);
}

.pd-card .pd-idle-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
}

.pd-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================================
   Venue modal — a venue's upcoming shows + map. Opened from any venue name.
   ========================================================================= */
.venue-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(22, 19, 15, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.18s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.venue-modal {
  --mono: "SF Mono", ui-monospace, Menlo, "Roboto Mono", monospace;
  width: 680px;
  max-width: 100%;
  max-height: 86vh;
  overflow: auto;
  position: relative;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(22, 19, 15, 0.7);
}

.app-venue-modal {
  width: min(960px, calc(100vw - 48px));
  max-height: min(900px, calc(100dvh - 48px));
  padding: 22px 0 20px;
  border-width: 3px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.app-venue-modal > .venue-close {
  right: 12px;
  top: 12px;
  z-index: 8;
}

.app-venue-modal .seo-event-ticket,
.app-venue-modal .seo-venue-details,
.app-venue-modal .seo-preview-section {
  margin-right: 24px;
  margin-left: 24px;
}

.app-venue-modal .seo-event-ticket {
  margin-top: 0;
}

.app-venue-modal .seo-venue-intro-ticket {
  display: grid;
  grid-template-columns: clamp(172px, 24vw, 236px) minmax(0, 1fr);
  max-height: none;
  overflow: visible;
}

.app-venue-modal .seo-venue-title-art {
  display: block;
  align-self: stretch;
  min-height: clamp(172px, 24vw, 236px);
  overflow: hidden;
  background: var(--paper-2);
}

.app-venue-modal .seo-venue-title-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-title-art-fallback {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 12%, var(--paper-2));
}

.app-venue-modal .seo-venue-intro-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.app-venue-modal .seo-venue-intro-copy .pd-show,
.app-venue-modal .seo-venue-intro-copy .pd-fields {
  margin: 0;
}

.app-venue-modal .venue-page-link {
  width: fit-content;
  text-decoration: none;
}

.app-venue-modal .venue-page-link .pw-circle {
  width: 48px;
  height: 48px;
}

.app-venue-modal .venue-page-link .pw-circle svg {
  margin-left: 0;
}

.app-venue-modal .venue-page-link .pw-count {
  font-size: 1rem;
}

.seo-venue-details .venue-show-rows {
  display: block;
}

.seo-venue-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding-top: 12px;
}

.seo-venue-map-card {
  display: block;
  min-width: 0;
  position: relative;
  width: 100%;
  height: clamp(112px, 15vw, 140px);
}

.seo-venue-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  filter: grayscale(1) contrast(1.08) brightness(0.98);
}

.seo-venue-copy {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
  padding: 0 2px;
}

.seo-venue-name {
  color: var(--ink);
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.seo-venue-address {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
}

.seo-venue-directions {
  min-height: 38px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

/* Map as a full-width hero banner across the top of the modal. */
.venue-hero {
  position: relative;
  height: 200px;
  border-bottom: 2px solid var(--ink);
}

.venue-hero iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.venue-directions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 9px;
  padding: 7px 11px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.venue-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: var(--shadow-sm);
}

/* Masthead: coral mono kicker over a big display venue name. */
.venue-head {
  padding: 18px 24px 4px;
}

.venue-head .kicker {
  font-family: var(--mono);
  color: var(--coral);
  letter-spacing: 0.16em;
}

.venue-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 2.3rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 4px 0 0;
}

.venue-shows {
  padding: 14px 24px 22px;
}

.venue-shows-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.venue-empty {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 18px 0;
  margin: 0;
}

.venue-show-rows {
  display: flex;
  flex-direction: column;
}

@media (max-width: 720px) {
  .player-dock {
    bottom: 0;
    width: 100%;
  }

  .player-dock.is-idle {
    display: block;
  }

  .player-dock.is-idle .pd-ticket,
  .player-dock.is-idle .pd-scrub {
    display: none;
  }

  .player-dock.is-idle .pd-card {
    border-top-width: 2px;
  }

  .pd-card {
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
  }

  .pd-ticket {
    grid-template-columns: 1fr;
    max-height: min(620px, calc(100dvh - 132px));
  }

  .pd-art {
    display: none;
  }

  .player-art {
    display: none;
  }

  .pd-body {
    padding: 14px 12px 12px;
  }

  .pd-act {
    font-size: 1.35rem;
    line-height: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pd-headrow {
    align-items: flex-start;
    gap: 8px;
  }

  .pd-headtext {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pd-cta {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .pd-cta .pd-shortlist {
    display: none;
  }

  .pd-expand {
    display: none;
  }

  .pd-tickets {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.74rem;
    box-shadow: none;
  }

  .pd-tickets svg {
    display: none;
  }

  .pd-mobile-video-frame {
    display: block;
    margin-top: 8px;
    border-radius: 9px;
  }

  .pd-mobile-video-frame .pd-video-engine,
  .pd-mobile-video-frame .pd-video-engine iframe {
    pointer-events: auto;
  }

  .pd-show {
    margin-top: 4px;
  }

  .pd-fields {
    gap: 6px 14px;
    margin: 9px 0 5px;
  }

  .pd-scrub input[type="range"] {
    height: 18px;
  }

  .pd-controls {
    grid-template-columns: 44px minmax(0, 1fr) 34px;
    gap: 8px;
    padding: 10px 12px 30px;
  }

  .pd-track {
    grid-column: 1 / -1;
    justify-self: stretch;
    font-size: 0.76rem;
  }

  .pd-mobile-shortlist {
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: 44px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fbeede;
    cursor: pointer;
  }

  .pd-mobile-shortlist.is-on {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
  }

  .pd-mobile-shortlist.is-on svg {
    fill: currentColor;
  }

  .pd-transport {
    grid-column: 2;
    justify-self: center;
    gap: 10px;
  }

  .pd-time {
    display: none;
  }

  .pd-close {
    display: inline-flex;
    width: 34px;
    height: 34px;
  }

  .venue-scrim {
    align-items: flex-start;
    padding: 8px 8px 118px;
  }

  .app-venue-modal {
    width: 100%;
    max-height: calc(100dvh - 32px);
    padding: 12px 0 16px;
    border-radius: 10px;
  }

  .app-venue-modal .seo-event-ticket,
  .app-venue-modal .seo-venue-details,
  .app-venue-modal .seo-preview-section {
    margin-right: 12px;
    margin-left: 12px;
  }

  .app-venue-modal .pd-card {
    border-right: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    border-radius: 10px;
  }

  .app-venue-modal .seo-venue-intro-ticket {
    grid-template-columns: minmax(92px, 30vw) minmax(0, 1fr);
  }

  .app-venue-modal .seo-venue-title-art {
    min-height: 100%;
  }

  .app-venue-modal .seo-venue-intro-copy {
    gap: 7px;
    padding: 12px;
  }

  .app-venue-modal .venue-page-link {
    gap: 8px;
  }

  .app-venue-modal .venue-page-link .pw-circle {
    width: 38px;
    height: 38px;
  }

  .app-venue-modal .venue-page-link .pw-count {
    font-size: 0.82rem;
  }

  .seo-venue-details-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 10px;
  }

  .seo-venue-map-card {
    height: 112px;
  }

  .seo-venue-name {
    font-size: 1rem;
  }

  .seo-venue-address {
    font-size: 0.74rem;
  }

  .seo-venue-directions {
    width: 100%;
    min-height: 34px;
    padding: 6px 7px;
    font-size: 0.58rem;
    box-shadow: 2px 2px 0 var(--ink);
  }

  .seo-venue-directions svg {
    display: none;
  }

  .venue-hero {
    height: 170px;
  }

  .venue-name {
    font-size: 1.9rem;
  }

  .venue-show {
    grid-template-columns: 46px minmax(0, 1fr) 78px 24px;
    grid-template-areas:
      "media act act play"
      "media date price play";
    gap: 4px 8px;
    min-height: 60px;
    padding: 10px 0;
  }

  .venue-show-media {
    width: 46px;
    height: 52px;
  }

  .venue-show-date,
  .venue-show-price {
    align-self: stretch;
    border-top: 1px solid rgba(22, 19, 15, 0.16);
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .venue-show-date {
    justify-self: stretch;
  }

  .venue-show-name {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .venue-show-play {
    align-self: stretch;
    justify-self: stretch;
    display: grid;
    place-items: center;
  }
}

:root[data-paper-font-page="courier"] body,
:root[data-paper-font-page="courier"] button,
:root[data-paper-font-page="courier"] input,
:root[data-paper-font-page="courier"] select,
:root[data-paper-font-page="courier"] textarea {
  font-family: var(--paper-zine-typewriter);
}

.player-bar,
.player-dock {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-paper-font-page="courier"] :is(.player-bar, .player-dock) :is(button, input, select, textarea) {
  font-family: inherit;
}

:root[data-paper-font-headings="courier"]
  :is(
    h1,
    h2,
    h3,
    .masthead-tagline,
    .gig-title,
    .pw-count,
    .day-divider-label,
    .preview-artist-id strong,
    .bill-name,
    .shared-people-panel-head h2,
    .shared-delete-confirm strong,
    .shortlist-label,
    .seo-venue-name,
    .venue-name,
    .venue-show-name
  ) {
  font-family: var(--paper-zine-typewriter);
  letter-spacing: 0;
}

:root[data-paper-font-filters="courier"] :is(.control-bar, .control-bar *, .filter-actions, .filter-actions *, .venue-panel, .venue-panel *) {
  font-family: var(--paper-zine-typewriter);
  letter-spacing: 0;
}

:root[data-paper-font-listings="courier"] :is(.song-list, .song-list *, .day-panel, .day-panel *) {
  font-family: var(--paper-zine-typewriter);
  letter-spacing: 0;
}

:root[data-paper-font-modals="courier"] .venue-modal {
  --mono: var(--paper-zine-typewriter);
}

:root[data-paper-font-modals="courier"]
  :is(.venue-modal, .venue-modal *, .shared-people-modal, .shared-people-modal *, .pint-modal, .pint-modal *) {
  font-family: var(--paper-zine-typewriter);
  letter-spacing: 0;
}

:root[data-paper-font-headings="courier"] .player-dock .pd-act {
  font-family: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
