/* Promotion City — Marquee design system */

/* ==================================================================
 * Subtle motion (mirrors home.html, applied to all React pages).
 * Scroll-reveal sections, hero stagger, card hover zoom, see-all underline.
 * ================================================================== */
@keyframes pc-fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pc-featured-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--cobalt); }
  50%      { box-shadow: 0 0 0 4px rgba(87, 114, 255, 0.45); }
}
/* Scroll-reveal fade-up: gated to >=769px so mobile thumb-flick scroll doesn't lag behind the
 * animation. The IntersectionObserver in shared.jsx still tags elements with .reveal / .is-visible
 * on every viewport, but on mobile the classes are visual no-ops because no rules match. */
@media (min-width: 769px) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* Hero blocks: stagger top-level children on first paint. Matches home.html (0.8s, cubic-bezier
 * ease-out, ~0.10s steps). Gated to desktop (>=769px) so mobile doesn't get the flash-then-fade
 * artifact some browsers exhibit when `animation-fill-mode: backwards` paints initial state
 * before the retroactive opacity:0 keyframe takes effect. */
@media (min-width: 769px) {
  .eventhero > *, .dj-cover > * {
    animation: pc-fade-in-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .eventhero > *:nth-child(1), .dj-cover > *:nth-child(1) { animation-delay: 0.08s; }
  .eventhero > *:nth-child(2), .dj-cover > *:nth-child(2) { animation-delay: 0.18s; }
  .eventhero > *:nth-child(3), .dj-cover > *:nth-child(3) { animation-delay: 0.30s; }
  .eventhero > *:nth-child(4), .dj-cover > *:nth-child(4) { animation-delay: 0.40s; }
  .eventhero > *:nth-child(5), .dj-cover > *:nth-child(5) { animation-delay: 0.50s; }
  .eventhero > *:nth-child(6), .dj-cover > *:nth-child(6) { animation-delay: 0.58s; }
}

/* Event card flyer image: gentle zoom on hover. */
.event-flyer img { transition: transform 0.5s ease; }
@media (hover: hover) and (pointer: fine) { .event-card:hover .event-flyer img {  transform: scale(1.04);  } }

/* See-all link: underline grows on hover. */
.see-all { position: relative; }
.see-all::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--cobalt);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) { .see-all:hover::after {  transform: scaleX(1);  } }

:root {
  --base: #0E1116;
  --surface: #161A22;
  --strip: #13151A;
  --border: #262C36;
  --border-strong: #333a47;
  --cream: #F5F1E6;
  --muted: #A6A89A;
  --cobalt: #5772FF;
  --cobalt-soft: #5772FF22;
  --hot: #FF3B6B;
  --success: #22D38B;
  --indigo: #5772FF;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--base); color: var(--cream); font-family: 'Inter', system-ui, sans-serif; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-feature-settings: "tnum" 1, "ss01" 1; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.anton { font-family: 'Anton', Impact, sans-serif; font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-family: 'Anton', Impact, sans-serif; font-size: 14px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--cobalt); }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== Top bar ===== */
/* Sticky stack wrapper — both topbar and primary-nav scroll then stick as a single unit (mirrors home.html's <header class="top-nav">). */
.top-stack {
  position: sticky; top: 36px; z-index: 90;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar { /* inside the stack — no own border / sticky */ }
.topbar-inner {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  padding: 16px 32px;
  max-width: 1280px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 42px; height: 42px; }
.logo-text { font-family: 'Anton', sans-serif; font-size: 18px; line-height: 0.95; letter-spacing: 0.01em; color: var(--cream); }
.logo-text small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; margin-top: 2px;}

/* Search bar: pill-shaped, matches home.html .search exactly. */
.search {
  display: flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  gap: 10px;
  transition: border-color .15s;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  justify-self: center;
  /* Grid items default to min-width: auto which prevents shrinking below intrinsic content
   * width; explicit min-width: 0 lets the search shrink fluidly as the viewport narrows
   * so the topbar always stays on one line. */
  min-width: 0;
}
.search:focus-within { border-color: var(--cobalt); }
.search input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--cream); font-size: 14px; font-family: inherit;
}
.search input::placeholder { color: var(--muted); }
.search select {
  background: transparent; border: none; outline: none;
  color: var(--muted); font-size: 13px; font-family: inherit;
  border-left: 1px solid var(--border); padding-left: 10px;
  cursor: pointer;
}

.topbar-right { display: flex; align-items: center; gap: 16px; }
/* Compact ghost CTA inside the topbar — overrides the global .btn 14×26 padding so the topbar button matches home's .user-actions .cta exactly. */
.topbar .btn-ghost {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border-width: 1px;
}
/* Sign in link in the topbar matches home exactly. */
.topbar .signin { line-height: 1.4; }
/* CTA buttons: pill-shaped, cream gradient + soft shadow on primary. Mirrors home.html exactly so all pages render identical CTAs. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .btn:hover {  transform: translateY(-1px);  } }
.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #ece6d4 100%);
  color: var(--base);
  border: 1px solid rgba(14, 17, 22, 0.08);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: relative;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.01em;
}
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { 
  background: linear-gradient(180deg, #ffffff 0%, #f5f1e6 100%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -2px 0 rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
 } }
.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}
.btn-primary svg { flex-shrink: 0; transition: transform 0.18s ease; }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover svg {  transform: translateX(2px);  } }
.btn-ghost { border: 1.5px solid var(--cobalt); color: var(--cobalt); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover {  background: var(--cobalt-soft);  } }
.btn-hot { background: var(--hot); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .btn-hot:hover {  background: #ff587f;  } }
/* Sizing variants kept for compatibility, but base .btn now matches the canonical home.html size. */
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-xl { padding: 18px 32px; font-size: 16px; }
.btn-secondary-ghost {
  border: 1px solid var(--border-strong);
  color: var(--cream);
  background: transparent;
}
@media (hover: hover) and (pointer: fine) { .btn-secondary-ghost:hover {  border-color: var(--cream); background: var(--surface);  } }
/* Glassy secondary CTA: works over hero photos and plain dark surfaces. Matches the .favorite-lg / hero-secondary look used on home + events spotlights. */
.btn-secondary {
  border: 1px solid rgba(245, 241, 230, 0.4);
  color: var(--cream);
  background: rgba(14, 17, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) { .btn-secondary:hover { 
  background: rgba(14, 17, 22, 0.78);
  border-color: rgba(245, 241, 230, 0.75);
 } }

.signin { color: var(--cream); font-size: 14px; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .signin:hover {  color: var(--cobalt);  } }

/* Primary nav inside the .top-stack — no own sticky positioning; the parent handles it. */
.primary-nav {
  border-top: 1px solid var(--border);
}
.primary-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.nav-list { display: flex; gap: 32px; list-style: none; }
.nav-list a {
  display: inline-block; padding: 14px 0; font-size: 14px; font-weight: 500;
  color: var(--cream); border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
@media (hover: hover) and (pointer: fine) { .nav-list a:hover {  color: var(--cream);  } }
.nav-list a.active { color: var(--cream); border-bottom-color: var(--cobalt); font-weight: 600; }
.nav-list a.pros { color: var(--cobalt); }

.avatar-sm {
  width: 32px; height: 32px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 12px; font-weight: 600;
  overflow: hidden;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Nav-extras + user menu (matches home.html topbar pattern) */
.nav-extras {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.icon-bell-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: inline-flex;
  transition: color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .icon-bell-btn:hover {  color: var(--cream);  } }
.user-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 3px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) and (pointer: fine) { .user-menu:hover { 
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
 } }
.user-menu-chevron {
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .user-menu:hover .user-menu-chevron {  color: var(--cream);  } }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 80vh; min-height: 640px; max-height: 820px;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(14,17,22,0.92) 0%, rgba(14,17,22,0.70) 35%, rgba(14,17,22,0.30) 70%, rgba(14,17,22,0) 100%),
    linear-gradient(0deg, rgba(14,17,22,0.85) 0%, rgba(14,17,22,0.0) 60%);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 0 64px 0;
}
.hero-content .container { display: flex; flex-direction: column; gap: 18px; max-width: 1280px; }
.hero-eyebrow { color: var(--cobalt); }
.hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-transform: none;
  max-width: 1100px;
}
.hero-sub { font-size: 19px; color: var(--cream); opacity: .92; max-width: 760px; }
.hero-sub .dot { color: var(--muted); margin: 0 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--cobalt); color: var(--cobalt);
  font-size: 13px; font-weight: 500;
  background: transparent;
}
.pill.solid { background: var(--cobalt); color: var(--cream); border-color: var(--cobalt); }
.pill.muted { border-color: var(--border-strong); color: var(--muted); }
.pill.hot { border-color: var(--hot); color: var(--hot); background: rgba(255,59,107,0.08); }
.pill.success { border-color: var(--success); color: var(--success); background: rgba(34,211,139,0.08); }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(255,59,107,0.18); animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 0%,100%{ opacity: 1; } 50%{ opacity: .35; } }

.hero-ctas { display: flex; gap: 12px; margin-top: 12px; }

/* ===== Filter pills (sticky just under hero) ===== */
.filterbar {
  position: sticky; top: 79px;
  z-index: 40;
  background: rgba(14,17,22,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.filterbar .container { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-right: 4px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--cream);
  font-size: 13px; font-weight: 500;
  transition: all .15s;
}
@media (hover: hover) and (pointer: fine) { .filter-chip:hover {  border-color: var(--cobalt);  } }
.filter-chip svg { color: var(--muted); }
.segmented {
  display: inline-flex; padding: 4px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
}
.segmented button {
  padding: 7px 14px; border-radius: 7px; font-size: 13px; font-weight: 500;
  color: var(--muted); transition: all .15s;
}
.segmented button.active { background: var(--cobalt); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .segmented button:not(.active):hover {  color: var(--cream);  } }

/* ===== Sections ===== */
.section { padding: 48px 0; }
.section-tight { padding: 28px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
/* Section foot: holds the "View all X" / "Browse all" sub-link, sits BELOW the section content
 * (was previously inside .section-head, top-right). Right-aligned on desktop, centred on mobile. */
.section-foot { display: flex; justify-content: flex-end; margin-top: 24px; }
.section-head h2 {
  font-family: 'Anton', sans-serif; font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em; line-height: 1; color: var(--cream); font-weight: 400;
}
.section-head .meta { color: var(--muted); font-size: 14px; }
.see-all { color: var(--cobalt); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .see-all:hover {  gap: 10px;  } }

/* ===== Event card ===== */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 280px;
  gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-track { background: transparent; }
.rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.event-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all .2s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .event-card:hover {  transform: translateY(-4px); border-color: var(--cobalt);  } }
/* Mirrors home.html .flyer / .card-meta. 3:4 portrait, title + presenter overlaid on image, meta below. */
.event-flyer {
  aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  background: var(--strip);
  color: var(--cream);
}
.event-flyer .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
}
/* Flyer bottom gradient on grid result cards: makes the headline + presenter overlay readable over varied imagery, and gives the pills a consistent dark zone to sit on. */
.event-flyer::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.10) 25%, rgba(0,0,0,0.70) 55%, rgba(0,0,0,0.96) 100%);
}
/* Spotlight: short bottom-only fade so the pills sit on the same dark zone as grid cards (and read identically) without darkening the logo above. */
.featured-flyer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
}
.event-flyer .flyer-text {
  position: absolute; left: 18px; right: 18px; bottom: 46px; z-index: 2;
}
.event-flyer .flyer-text h3 {
  font-family: 'Anton', sans-serif;
  font-size: 22px; line-height: 1; letter-spacing: 0.01em;
  margin-bottom: 6px; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.8);
}
.event-flyer .flyer-text .presenter {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cobalt); font-weight: 700;
  text-shadow: 0 1px 5px rgba(0,0,0,0.85), 0 1px 2px rgba(0,0,0,0.7);
}
/* Bottom-row chips on flyer images: price (right) + selling-fast (left), home.html pill scale. */
.event-flyer .price,
.featured-flyer .price {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  background: rgba(14,17,22,0.85); backdrop-filter: blur(4px);
  border: 1px solid var(--border-strong);
  padding: 3px 8px; border-radius: 999px;
  font-size: 9px; font-weight: 700; line-height: 1.25;
  color: var(--cream); letter-spacing: 0.06em;
}
.event-flyer .selling-fast,
.featured-flyer .selling-fast {
  position: absolute; bottom: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(34, 211, 139, 0.18);
  color: var(--success);
  border: 1px solid rgba(34, 211, 139, 0.55);
  padding: 3px 8px 3px 7px; border-radius: 999px;
  font-size: 9px; font-weight: 700; line-height: 1.25;
  letter-spacing: 0.12em; text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.event-flyer .selling-fast::before,
.featured-flyer .selling-fast::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--hot); flex-shrink: 0;
  animation: pulse-fast 1.4s infinite ease-in-out;
}
@keyframes pulse-fast {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,59,107,0.55); }
  50%      { transform: scale(1.25); box-shadow: 0 0 0 4px rgba(255,59,107,0); }
}
/* Card meta below flyer: tighter typography, green going indicator with leading dot (mirrors home .card-meta). */
.event-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.event-title { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--cream); }
.event-meta { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* Bookmark button: icon-only circular container. Bookmark icon (Lucide-style), fills cobalt
 * when active. Two size variants: .favorite-inline (~30px, in card bodies) and .favorite-lg
 * (~40px, glassy, used on hero CTAs / event detail). Any inner <span> is hidden so legacy
 * markup that still ships a text label still renders icon-only. */
.favorite-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.favorite-btn span { display: none; }
.favorite-btn svg { display: block; flex-shrink: 0; }

/* Inline (default) — circle in card bodies / spotlight rows. */
.favorite-inline {
  width: 30px; height: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
@media (hover: hover) and (pointer: fine) { .favorite-inline:hover {  color: var(--cream); border-color: var(--cream);  } }
.favorite-inline.is-on { color: var(--cobalt); border-color: var(--cobalt); background: var(--cobalt-soft); }
@media (hover: hover) and (pointer: fine) { .favorite-inline.is-on:hover {  color: var(--cobalt); border-color: var(--cobalt);  } }
.favorite-inline svg { width: 14px; height: 14px; }

/* Large — used on hero CTAs / event detail; glassy translucent over photos.
 * 48×48 so it matches the height of pill-shaped CTAs (.btn at ~48px tall) when sitting next to one. */
.favorite-lg {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 230, 0.35);
  background: rgba(14, 17, 22, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
}
@media (hover: hover) and (pointer: fine) { .favorite-lg:hover {  background: rgba(14, 17, 22, 0.78); border-color: rgba(245, 241, 230, 0.7); color: var(--cream);  } }
.favorite-lg.is-on { background: rgba(87, 114, 255, 0.25); border-color: var(--cobalt); color: var(--cobalt); }
@media (hover: hover) and (pointer: fine) { .favorite-lg.is-on:hover {  background: rgba(87, 114, 255, 0.35); color: var(--cobalt);  } }
.favorite-lg svg { width: 20px; height: 20px; }

/* Bottom-of-card row: Save button (left) + going indicator (right). */
.event-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

/* Sponsored card variant: same grid footprint as ResultCard, hot-pink chrome to flag third-party paid placement. */
.event-card.sponsored-card { border: 1.5px solid var(--hot); box-shadow: 0 0 0 3px rgba(255, 59, 107, 0.10); }
@media (hover: hover) and (pointer: fine) { .event-card.sponsored-card:hover {  border-color: var(--hot); transform: translateY(-4px);  } }
/* No bottom-fade overlay on ads: the brand creative must display at full fidelity. The "Advertisement" banner is the only chrome on top of the image. */
.event-card.sponsored-card .event-flyer::after { display: none; }
.event-card.sponsored-card .event-flyer .sponsored-banner {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  background: rgba(255, 59, 107, 0.95);
  color: var(--cream);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-align: center;
  padding: 5px 8px;
  backdrop-filter: blur(3px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.event-card.sponsored-card .flyer-text .presenter { color: var(--hot); }

/* ===== Striped flyer placeholder ===== */
.flyer-placeholder {
  width: 100%; height: 100%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.flyer-placeholder .stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(245,241,230,0.04) 0 2px, transparent 2px 14px);
}
.flyer-placeholder .label {
  position: relative; z-index: 1;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em;
  background: rgba(14,17,22,0.65);
  border: 1px dashed var(--border-strong);
  padding: 6px 10px; border-radius: 6px;
  text-align: center; max-width: 80%;
}
.flyer-placeholder.no-label .label { display: none; }
.flyer-placeholder.f1 { background: linear-gradient(140deg, #1a1530, #2c1245 60%, #3b1a52); }
.flyer-placeholder.f2 { background: linear-gradient(160deg, #0d1f2e, #14304a 50%, #1c4661); }
.flyer-placeholder.f3 { background: linear-gradient(150deg, #2a0d22, #491533 60%, #6b1c45); }
.flyer-placeholder.f4 { background: linear-gradient(135deg, #1f2210, #3a3f17 60%, #565b1f); }
.flyer-placeholder.f5 { background: linear-gradient(150deg, #1a1a1a, #2a2233 50%, #3b2640); }
.flyer-placeholder.f6 { background: linear-gradient(160deg, #0f1f1a, #163d33 60%, #1b554a); }
.flyer-placeholder.f7 { background: linear-gradient(140deg, #2e1a0a, #4a2a14 60%, #6b3d1d); }
.flyer-placeholder.f8 { background: linear-gradient(150deg, #1a0e2a, #2a154d 50%, #3a1b6b); }
.flyer-placeholder.f9 { background: linear-gradient(155deg, #0e1f2a, #15334a 50%, #1c4768); }
.flyer-placeholder.f10 { background: linear-gradient(140deg, #2a1015, #4a1726, #6b1f37); }

/* Editorial wide tile */
.editorial {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/7;
  display: flex; align-items: flex-end;
  background: var(--surface);
}
.editorial .img {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, #131a35 0%, #1d244a 40%, #2c1843 80%);
}
.editorial .img .stripes {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(245,241,230,0.04) 0 2px, transparent 2px 16px);
}
.editorial .grad {
  position: absolute; inset: 0;
  background: linear-gradient(60deg, rgba(14,17,22,0.95) 0%, rgba(14,17,22,0.55) 45%, rgba(14,17,22,0.05) 75%);
}
.editorial-content {
  position: relative; z-index: 1;
  padding: 44px 48px;
  max-width: 720px;
  display: flex; flex-direction: column; gap: 14px;
}
.editorial-eyebrow { color: var(--cobalt); }
.editorial h3 {
  font-family: 'Anton', sans-serif; font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.02; letter-spacing: -0.01em; color: var(--cream); font-weight: 400;
}
.editorial-byline { color: var(--muted); font-size: 14px; }

/* Venue grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.venue-card {
  border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; background: var(--surface);
  transition: all .2s;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .venue-card:hover {  transform: translateY(-3px); border-color: var(--cobalt);  } }
.venue-photo { aspect-ratio: 3/2; position: relative; overflow: hidden; }
.venue-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.venue-name { font-size: 18px; font-weight: 600; }
.venue-meta { color: var(--muted); font-size: 13px; }

/* Avatar rail */
.avatar-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 130px; gap: 18px; overflow-x: auto; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.avatar-rail::-webkit-scrollbar { height: 8px; }
.avatar-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
.avatar-card { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
.avatar-lg {
  width: 110px; height: 110px; border-radius: 50%;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: all .2s;
}
@media (hover: hover) and (pointer: fine) { .avatar-card:hover .avatar-lg {  border-color: var(--cobalt); transform: translateY(-3px);  } }
.avatar-name { font-size: 14px; font-weight: 600; text-align: center; }
.avatar-city { font-size: 12px; color: var(--muted); text-align: center; }

/* For Pros strip */
.pros {
  background: var(--strip);
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.pros::before {
  content: ""; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(59,91,255,0.18) 0%, rgba(59,91,255,0) 70%);
  pointer-events: none;
}
.pros-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; position: relative; }
.pros h2 {
  font-family: 'Anton', sans-serif; font-size: clamp(40px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.015em; color: var(--cream); font-weight: 400;
  text-wrap: balance;
}
.pros p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 520px; margin-top: 18px; }
.pros-cta { margin-top: 28px; }
.pros-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-tile {
  background: var(--surface); border: 1px solid var(--border);
  padding: 22px 20px; border-radius: 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.role-tile .role-num { font-family: 'Anton', sans-serif; font-size: 36px; color: var(--cobalt); line-height: 1; }
.role-tile .role-name { font-weight: 600; font-size: 15px; }
.role-tile .role-sub { color: var(--muted); font-size: 12px; }

/* Footer */
.footer { background: var(--strip); padding: 72px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer h4 { font-family: 'Anton', sans-serif; font-size: 18px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; color: var(--cream); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .footer ul a:hover {  color: var(--cream);  } }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; background: var(--base); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; color: var(--cream); font-family: inherit; font-size: 14px; outline: none; }
.newsletter input:focus { border-color: var(--cobalt); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.social { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .15s; }
@media (hover: hover) and (pointer: fine) { .social:hover {  color: var(--cobalt); border-color: var(--cobalt);  } }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; color: var(--muted); font-size: 13px;
}

/* "Stay in the loop" subscribe callout — subtle cobalt-tinted card around the subscribe form
 * + envelope icon next to the heading + small social-proof line with pulsing green dot.
 * Adds visual weight to the subscribe action so it pulls the eye in a dense footer. */
.footer-subscribe {
  background: linear-gradient(135deg, rgba(87, 114, 255, 0.10) 0%, rgba(87, 114, 255, 0.03) 100%);
  border: 1px solid rgba(87, 114, 255, 0.28);
  border-radius: 14px;
  padding: 18px 20px;
}
.footer-subscribe .footer-subscribe-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-subscribe .footer-subscribe-heading svg { color: var(--cobalt); flex-shrink: 0; }
.footer-subscribe-proof {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.footer-subscribe-proof strong { color: var(--cream); font-weight: 700; font-variant-numeric: tabular-nums; }
.footer-subscribe-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 2px rgba(34, 211, 139, 0.18);
  animation: livepulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Logo SVG inline */
.logo-svg { display: block; }

/* ===== Breadcrumb (event + dj pages) ===== */
/* Single-line + horizontal scroll on EVERY viewport so the row height stays uniform across
 * desktop and mobile. Long current-page names overflow and become swipeable on mobile rather
 * than wrapping to a tall multi-line block. Padding and font kept identical viewport-to-viewport. */
.breadcrumb-band {
  /* Top buffer so the breadcrumb doesn't sit flush against the topbar / search row above it.
   * Applies on every page that has a breadcrumb (event + dj profile). */
  padding-top: 16px;
}
.breadcrumb {
  padding-top: 11px; padding-bottom: 11px;
  font-size: 13px; color: var(--muted);
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumb::-webkit-scrollbar { display: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: var(--cream); }

/* ===== Event detail ===== */
/* Blurred-banner backdrop: the hero image sits behind the contained content, heavily blurred
 * and dimmed by a top-to-bottom dark gradient so the meta text + CTAs stay legible. The image
 * URL is passed in via the `--banner-bg` CSS variable on the wrapper element (set inline in
 * event.jsx, dj.jsx). Pages without the variable get no banner (var() → `none`).
 *   - ::before carries the blurred image, with negative inset so the blur halo hides the hard
 *     box edges that would otherwise be visible around the wrapper's bounds.
 *   - ::after lays a darkening gradient on top so contrast against the type stays high.
 *   - isolation + overflow:hidden create a clean stacking context and clip the bleed.
 * Used on .eventhero (event + dj profile pages). */
.eventhero {
  position: relative;
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
  overflow: hidden;
}
.eventhero::before {
  content: "";
  position: absolute;
  inset: -60px;
  background-image: var(--banner-bg, none);
  background-size: cover;
  background-position: center top;
  filter: blur(50px) saturate(1.15);
  opacity: 0.5;
  z-index: -2;
}
.eventhero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.55) 0%, rgba(14, 17, 22, 0.88) 100%);
  z-index: -1;
}
.eventhero-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 44px;
  align-items: stretch;
}
/* position: relative pinned defensively here so absolutely-positioned children (the inline
 * <img>) stay scoped to the frame even if the JSX inline style doesn't apply. Surface bg
 * shows through if the image fails to load — making missing-image issues visible instead of
 * silently hiding (the inline onError still triggers display:none on the img). */
.flyer-frame { position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
/* DJ profile hero portrait. Square (1:1) frame to suit the upscaled Heartless source (1600x1600)
 * and group-shot DJ photos generally; .flyer-frame's 4:5 portrait crops them too aggressively. */
.dj-hero-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.dj-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Desktop variant: drop the 1:1 lock, stretch to grid row height (driven by eventmeta content)
 * so the hero reads as a single composed unit. Mobile variant re-locks to 1:1 in its own
 * media-query rule above; .eventhero-grid uses align-items: stretch to make this work. */
.dj-hero-portrait--desktop {
  aspect-ratio: auto;
  height: 100%;
}
/* DJ profile "passport" head: portrait + identity (eyebrow/title/scene/availability).
 * Desktop = transparent block, children flow as eventmeta flex children unchanged.
 * Mobile = flex row with compact portrait pinned left, identity stacked right. */
.dj-meta-head { display: block; }
.dj-identity {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
/* Availability status: quiet inline indicator (green dot + label), not a pill. Pills compete
 * visually with the genre tag-row and CTAs below; a status dot reads as ambient state.
 * Pulses subtly so it feels live without dominating. */
.dj-availability { display: inline-flex; align-items: center; gap: 7px; }
.dj-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 211, 139, 0.18);
  animation: livepulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.dj-status-label {
  font-size: 12.5px;
  color: var(--success);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.dj-hero-portrait--mobile { display: none; }
.eventmeta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 44px;
  display: flex; flex-direction: column; gap: 20px;
  justify-content: center;
}
.eventmeta-eyebrow { color: var(--cobalt); }
/* Verified badge — rosette + check, modelled on the Twitter/X / Instagram / Meta verification
 * mark so the visual language is instantly recognisable as "this account is verified". Uses
 * cobalt to match the brand and the social-platform blue convention. Reusable across surfaces
 * (dj profile eyebrow, home Pick-of-the-week pill, future verified user surfaces). */
.verified-badge {
  width: 15px;
  height: 15px;
  color: var(--cobalt);
  flex-shrink: 0;
  vertical-align: middle;
}

/* Verified tag — the badge + the word "Verified" read as one self-contained pill, the way a
 * social-platform verified marker does. Subtle cobalt-tinted background ties icon and text into
 * a single visual unit so it can't be mistaken for two separate elements. Tight, uppercase,
 * letterspaced — sits like a small badge of approval above the profile name. */
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  background: rgba(87, 114, 255, 0.12);
  color: var(--cobalt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  align-self: flex-start;
}
.verified-tag .verified-badge {
  width: 13px;
  height: 13px;
  vertical-align: baseline;
}
.eventmeta-title {
  font-family: 'Anton', sans-serif; font-size: clamp(48px, 5.2vw, 76px);
  line-height: 0.95; letter-spacing: -0.015em; font-weight: 400; color: var(--cream);
}
.eventmeta-row { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.eventmeta-row.muted { color: var(--muted); font-size: 15px; }
.eventmeta-row svg { color: var(--cobalt); flex-shrink: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* Event hero countdown band — sits under the title to give the hero a stronger sense of WHEN.
 * Cobalt Anton number, muted label. Pairs with the "Selling fast" pill below for layered
 * urgency cues. Only renders when the event is still upcoming (eventRemaining > 0). */
.event-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: -2px;
  padding: 8px 14px;
  background: rgba(87, 114, 255, 0.08);
  border-left: 3px solid var(--cobalt);
  border-radius: 0 8px 8px 0;
  align-self: flex-start;
}
.event-countdown-num {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--cobalt);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.event-countdown-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
}
.event-countdown-tail {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-left: 2px;
}

/* Tickets */
.tickets-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
}
.tickets-head {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.tickets-head h3 { font-family: 'Anton', sans-serif; font-size: 26px; font-weight: 400; letter-spacing: -0.01em; }

/* Ticket tier cards: replaces the table with discrete tier cards. */
.ticket-tiers { display: flex; flex-direction: column; gap: 12px; padding: 18px 22px; }
.ticket-tier {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px 22px;
  background: var(--base);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .ticket-tier:hover {  border-color: var(--cobalt); transform: translateY(-1px);  } }
.ticket-tier.is-popular {
  border: 2px solid var(--cobalt);
  background:
    linear-gradient(135deg, rgba(87, 114, 255, 0.10) 0%, rgba(87, 114, 255, 0.04) 50%, rgba(14, 17, 22, 0) 100%),
    var(--base);
  padding: 24px 26px;
  box-shadow: 0 0 0 1px rgba(87, 114, 255, 0.30), 0 16px 40px rgba(87, 114, 255, 0.18);
  transform: scale(1.015);
}
@media (hover: hover) and (pointer: fine) { .ticket-tier.is-popular:hover { 
  transform: scale(1.015) translateY(-2px);
  box-shadow: 0 0 0 1px rgba(87, 114, 255, 0.40), 0 22px 52px rgba(87, 114, 255, 0.25);
 } }
.ticket-tier.is-popular .ticket-tier-price .num { font-size: 36px; color: var(--cream); }
.ticket-tier.is-soldout { opacity: 0.55; }
@media (hover: hover) and (pointer: fine) { .ticket-tier.is-soldout:hover {  border-color: var(--border); transform: none;  } }
/* Locked state: Standard tier non-selectable while Early Bird is still on sale. Slight desaturation + diagonal stripe overlay so it reads as 'not yet'. */
.ticket-tier.is-locked {
  opacity: 0.6;
  background:
    repeating-linear-gradient(135deg, rgba(166, 168, 154, 0.02) 0 8px, rgba(166, 168, 154, 0.06) 8px 16px),
    var(--base);
}
@media (hover: hover) and (pointer: fine) { .ticket-tier.is-locked:hover {  border-color: var(--border); transform: none;  } }
.ticket-tier.is-locked .ticket-tier-price .num { color: var(--muted); }
.ticket-tier-popular-badge {
  position: absolute; top: -10px; left: 22px;
  background: var(--cobalt); color: var(--cream);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(87, 114, 255, 0.45);
}
.ticket-tier-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ticket-tier-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; font-weight: 700; color: var(--cream);
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.ticket-tier-desc { font-size: 13px; color: var(--muted); line-height: 1.4; }
.ticket-tier-when {
  font-size: 10.5px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); margin-top: 6px; font-weight: 600;
}
/* Inclusion bullets per tier — small cobalt dots so the price differential reads as value, not tax. */
.ticket-tier-perks {
  list-style: none;
  display: flex; flex-wrap: wrap;
  column-gap: 14px; row-gap: 4px;
  margin-top: 4px;
  font-size: 12.5px; color: var(--muted);
  line-height: 1.45;
}
.ticket-tier-perks li {
  display: inline-flex; align-items: center; gap: 6px;
}
.ticket-tier-perks li::before {
  content: ""; flex-shrink: 0;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--cobalt);
}
.ticket-tier.is-popular .ticket-tier-perks { color: var(--cream); }
.ticket-tier.is-popular .ticket-tier-perks li::before { background: var(--cobalt); box-shadow: 0 0 6px rgba(87, 114, 255, 0.7); }
.ticket-tier-price { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 110px; }
.ticket-tier-price .num {
  font-family: 'Anton', sans-serif; font-size: 30px; font-weight: 400;
  line-height: 1; letter-spacing: -0.01em; color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.ticket-tier-price .fee { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ticket-tier-strike {
  font-size: 12px; color: var(--muted); margin-top: 2px;
  text-decoration: line-through; text-decoration-color: rgba(166, 168, 154, 0.7);
  letter-spacing: 0.02em;
}
.ticket-tier-action { min-width: 132px; display: flex; justify-content: flex-end; }
.tier-flag {
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(87, 114, 255, 0.12); color: var(--cobalt);
  border: 1px solid rgba(87, 114, 255, 0.45);
}
.tier-soldout-chip {
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 59, 107, 0.10); color: var(--hot);
  border: 1px solid rgba(255, 59, 107, 0.45);
}
.tier-locked-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(166, 168, 154, 0.10); color: var(--muted);
  border: 1px solid rgba(166, 168, 154, 0.40);
  cursor: not-allowed;
}

/* Urgency strap on Early Bird tier — hot-pink countdown to drive faster decision. Pulses subtly to catch the eye. */
.ticket-tier-urgency {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--hot);
  margin-top: 6px;
}
.ticket-tier-urgency svg { color: var(--hot); animation: urgency-tick 2s ease-in-out infinite; }
@keyframes urgency-tick {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.65; transform: scale(0.92); }
}

/* Quantity stepper: pill-shaped, uniform with site CTAs. */
.qty-new {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px; overflow: hidden;
  background: var(--surface);
}
.qty-new button {
  padding: 8px 14px; color: var(--cream);
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: background 0.12s ease, color 0.12s ease;
}
@media (hover: hover) and (pointer: fine) { .qty-new button:hover {  background: var(--cobalt); color: var(--cream);  } }
.qty-new button:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-new .num {
  padding: 8px 14px; min-width: 36px; text-align: center;
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px;
  border-left: 1px solid var(--border-strong); border-right: 1px solid var(--border-strong);
}

.tickets-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 18px 22px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
}
.payments {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
  flex: 1; min-width: 0;
}
/* White chip hosts the official brand SVG logos cleanly. Multi-colour marks (MC, Amex) need a light backdrop. */
.pay-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fafaf6; border: 1px solid var(--border);
  border-radius: 5px;
  height: 24px; min-width: 38px; padding: 0 6px;
  flex-shrink: 0;
}
.pay-chip img { display: block; height: 13px; width: auto; }

.totals {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; gap: 2px;
}
/* Right side of .tickets-foot — the totals + Buy tickets button row. Desktop: row. Mobile:
 * stacks with the button full-width below the totals so the primary CTA doesn't compete with
 * the totals readout for horizontal space. */
.tickets-foot-action { display: flex; align-items: center; gap: 18px; }
.totals .totals-label { font-size: 11px; color: var(--muted); letter-spacing: 0.10em; text-transform: uppercase; font-weight: 600; }
.totals strong { color: var(--cream); font-family: 'Anton', sans-serif; font-size: 24px; font-weight: 400; line-height: 1; }

/* Sticky buy bar: slides up from the bottom once tickets are in the basket. Glassy dark backdrop, never blocks the page. */
.sticky-buy-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(87, 114, 255, 0.45);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(87, 114, 255, 0.18);
  animation: sticky-bar-up 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes sticky-bar-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.sticky-buy-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.sticky-summary { min-width: 0; flex: 1; }
.sticky-summary-event { display: flex; flex-direction: column; gap: 2px; }
.sticky-summary-title {
  font-weight: 700; color: var(--cream); font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-summary-meta {
  font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-totals { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.sticky-totals-line { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; gap: 4px; }
.sticky-totals-line .muted {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.10em; text-transform: uppercase; font-weight: 600;
}
.sticky-totals-line strong {
  font-family: 'Anton', sans-serif; font-size: 28px; font-weight: 400;
  line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums;
}

/* Two-column block */
.two-col { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; }
.details-section { display: flex; flex-direction: column; gap: 28px; }
.details-section h3 { font-size: 18px; font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.details-section p, .details-section li { font-size: 16px; line-height: 1.7; color: var(--cream); opacity: 0.92; }
.details-section ul { padding-left: 0; list-style: none; }
.details-section ul li { padding-left: 18px; position: relative; }
.details-section ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; background: var(--cobalt); border-radius: 1px; }
.note-box {
  background: var(--strip); border: 1px solid var(--border);
  border-left: 3px solid var(--cobalt);
  padding: 18px 22px; border-radius: 8px;
  font-size: 15px;
}

.side-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column; gap: 16px;
}
.side-card h4 { font-family: 'Anton', sans-serif; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; color: var(--cobalt); }
.map-thumb { aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); position: relative; background: #0a1230; }
/* Use the real London OSM tile snapshot as the side-card map. */
.map-thumb.is-real {
  background-image:
    linear-gradient(180deg, rgba(14,17,22,0.10) 0%, rgba(14,17,22,0.35) 100%),
    url("images/map_london.jpg");
  background-size: cover, cover;
  background-position: 78% 60%, 78% 60%;
  background-repeat: no-repeat;
}
.map-thumb .map-pin { position: absolute; top: 48%; left: 50%; transform: translate(-50%, -100%); z-index: 2; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)); }
.organiser-row { display: flex; align-items: center; gap: 14px; }
.organiser-avatar { width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--border); overflow: hidden; flex-shrink: 0; }
.organiser-name { font-weight: 600; font-size: 16px; }
.organiser-meta { font-size: 13px; color: var(--muted); }
.linkstrip { padding-top: 14px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.linkstrip a { color: var(--cobalt); font-weight: 600; }

/* Lineup — card design with strong visual hierarchy:
 *   - Avatar wrapped in .lineup-avatar-wrap (relative) so the headliner pill can sit on the
 *     avatar's bottom edge as a small "★ HEADLINER" badge.
 *   - Featured/headliner act gets a cobalt 2px ring + soft cobalt halo on the avatar AND a
 *     cobalt-tinted gradient background — so the top-billed artist visually anchors the row.
 *   - Time chip (.lineup-time) carries the set time in bold Anton, becoming the right-side
 *     visual moment of each card. Headliner gets a cobalt-filled chip; others get a surface
 *     chip with a subtle border. */
.lineup-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lineup-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 14px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none; color: inherit; text-align: center;
  position: relative;
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .lineup-card:hover {
    border-color: var(--cobalt);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }
}
/* Headliner card: subtle cobalt-tinted gradient sweeping from top-left to bottom-right. */
.lineup-card.is-headliner {
  background:
    linear-gradient(135deg, rgba(87, 114, 255, 0.16) 0%, rgba(87, 114, 255, 0.04) 60%, transparent 100%),
    var(--surface);
  border-color: rgba(87, 114, 255, 0.45);
}
.lineup-avatar-wrap { position: relative; width: 100px; height: 100px; }
.lineup-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--strip);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lineup-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lineup-card.is-headliner .lineup-avatar {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 4px rgba(87, 114, 255, 0.18);
}
.lineup-headliner-pill {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cobalt);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  border: 2px solid var(--surface);
  box-shadow: 0 4px 10px rgba(87, 114, 255, 0.35);
  z-index: 2;
}
.lineup-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.lineup-verified {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--cobalt);
}
.lineup-role {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
/* Time chip — stacked SET label + time number. Inter typography (clearer than Anton at small
 * sizes), tabular-nums for digit alignment, fixed width so all chips align regardless of
 * content. Headliner gets a cobalt fill; others get a surface chip with a subtle border. */
.lineup-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--strip);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px 6px;
  width: 70px;
  text-align: center;
  box-sizing: border-box;
  margin-top: 2px;
}
.lineup-time-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.lineup-time-num {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
  line-height: 1;
}
.lineup-card.is-headliner .lineup-time {
  background: var(--cobalt);
  border-color: var(--cobalt);
  box-shadow: 0 4px 12px rgba(87, 114, 255, 0.3);
}
.lineup-card.is-headliner .lineup-time-label { color: rgba(245, 241, 230, 0.78); }
.lineup-card.is-headliner .lineup-time-num { color: var(--cream); }

/* Push the time chip to the bottom of the card on desktop so all chips align on the same
 * horizontal line across the lineup row, regardless of how long the name + role lines are. */
.lineup-time { margin-top: auto; }

/* "View profile →" CTA — partitioned off as a small full-width footer on the card. Hairline
 * top border separates it from the content above; lighter weight + smaller font so it reads
 * as a quiet footer rather than another loud element. Desktop only — mobile rule shows just
 * an arrow at the far right of the row. */
.lineup-cta {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px -14px -18px;
  padding: 7px 12px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.15s ease, background 0.15s ease;
}
.lineup-cta-arrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  transition: transform 0.15s ease, color 0.15s ease;
  display: inline-block;
}
.lineup-card.is-headliner .lineup-cta {
  color: var(--cobalt);
  border-top-color: rgba(87, 114, 255, 0.3);
}
@media (hover: hover) and (pointer: fine) {
  .lineup-card:hover .lineup-cta { color: var(--cobalt); }
  .lineup-card:hover .lineup-cta-arrow { transform: translateX(3px); }
}
/* Legacy .role-pill kept for any other surface that still references it (lineup card no
 * longer uses it; the new .lineup-role + .lineup-time pair replaces it). */
.role-pill { padding: 3px 10px; border-radius: 999px; background: var(--cobalt-soft); border: 1px solid var(--cobalt); color: var(--cobalt); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;}

/* Past events 4-grid */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.past-card { position: relative; }
.past-gallery {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(14,17,22,0.85); backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  padding: 5px 10px; border-radius: 8px;
  font-size: 11px; color: var(--cream); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.past-gallery svg { color: var(--cobalt); }

/* Map placeholder grid */
.map-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(59,91,255,0.18) 0%, rgba(59,91,255,0) 60%),
    repeating-linear-gradient(0deg, rgba(245,241,230,0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(245,241,230,0.05) 0 1px, transparent 1px 32px);
}
.map-pin {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -100%);
  width: 22px; height: 28px;
}
.map-pin::after {
  content: ""; position: absolute; left: 50%; top: 32px; transform: translateX(-50%);
  width: 16px; height: 4px; background: rgba(0,0,0,0.5); border-radius: 50%; filter: blur(2px);
}

/* Mini placeholder used inside small thumbs (no monospace label) */
.mini-flyer { width: 100%; height: 100%; position: relative; overflow: hidden; }
.mini-flyer .stripes { position: absolute; inset:0; background-image: repeating-linear-gradient(135deg, rgba(245,241,230,0.05) 0 2px, transparent 2px 12px); }

/* ===== Promoted / sponsorship surfaces ===== */
/* Universal "Promoted" tag — transparent to clubbers, visible on every paid placement */
.promoted-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(14,17,22,0.78);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  padding: 4px 8px;
  border-radius: 6px;
}
.promoted-tag::before {
  content: ""; width: 5px; height: 5px; background: var(--cobalt); border-radius: 1px;
}

/* Featured event card variant — subtle cobalt halo, never gaudy */
.event-card.featured {
  border-color: rgba(59,91,255,0.45);
  box-shadow: 0 0 0 1px rgba(59,91,255,0.18), 0 12px 40px rgba(59,91,255,0.10);
}
.event-card.spotlight {
  border-color: rgba(255,59,107,0.45);
  box-shadow: 0 0 0 1px rgba(255,59,107,0.18), 0 12px 40px rgba(255,59,107,0.10);
}

/* Big sponsored banner placement (above-the-fold post-hero) */
.banner-ad {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 22px 32px;
  background: linear-gradient(95deg, var(--surface), rgba(59,91,255,0.08));
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
}
.banner-ad .promoted-tag { position: absolute; top: 14px; right: 14px; }
.banner-ad-mark {
  width: 88px; height: 88px; border-radius: 14px; overflow: hidden;
  flex-shrink: 0; border: 1px solid var(--border-strong);
}
.banner-ad-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.banner-ad-title { font-family: 'Anton', sans-serif; font-size: 28px; line-height: 1; letter-spacing: -0.01em; }
.banner-ad-sub { color: var(--muted); font-size: 14px; }

/* Spotlight DJ slot (large feature on home) */
.spotlight-card {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(59,91,255,0.18), rgba(59,91,255,0) 70%);
  pointer-events: none;
}
.spotlight-card .promoted-tag { position: absolute; top: 18px; right: 18px; }
.spotlight-portrait { aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.spotlight-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 0; position: relative; }
.spotlight-name { font-family: 'Anton', sans-serif; font-size: 56px; line-height: 0.95; letter-spacing: -0.015em; }
.spotlight-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.spotlight-stats { display: flex; gap: 28px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.spotlight-stat .num { font-family: 'Anton', sans-serif; font-size: 28px; color: var(--cream); line-height: 1; }
.spotlight-stat .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* Native editorial / sponsored content unit */
.native-unit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex; gap: 24px; align-items: center;
  position: relative;
}
.native-unit .promoted-tag { position: absolute; top: 16px; right: 16px; }
.native-unit-img { width: 200px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.native-unit-body { display: flex; flex-direction: column; gap: 8px; }
.native-unit-title { font-family: 'Anton', sans-serif; font-size: 26px; line-height: 1.05; letter-spacing: -0.01em; }
.native-unit-sub { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Pricing tiers (For Pros) */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.tier {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.tier.recommended { border-color: var(--cobalt); box-shadow: 0 0 0 1px rgba(59,91,255,0.3), 0 16px 48px rgba(59,91,255,0.10); }
.tier-tag { position: absolute; top: -10px; left: 22px; background: var(--cobalt); color: var(--cream); font-size: 10px; font-weight: 700; letter-spacing: 0.10em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.tier-name { font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-price .amt { font-family: 'Anton', sans-serif; font-size: 48px; line-height: 1; letter-spacing: -0.01em; }
.tier-price .per { color: var(--muted); font-size: 13px; }
.tier-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.tier-list li { font-size: 14px; color: var(--cream); display: flex; gap: 10px; align-items: flex-start; }
.tier-list li svg { color: var(--cobalt); flex-shrink: 0; margin-top: 3px; }
.tier-list li.dim { color: var(--muted); }
.tier-list li.dim svg { color: var(--muted); }
.tier-cta { margin-top: auto; }

/* Live counter / urgency strip — modern flare */
.live-strip {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
  background: var(--strip);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  width: fit-content;
  margin: 0 auto 32px;
}
.live-strip .tick { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.live-strip .tick strong { color: var(--cream); font-weight: 700; }
.live-strip .dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--hot); animation: livepulse 1.4s ease-in-out infinite; }

/* Genre chip rail (browse-by-genre row) */
.genre-rail { display: flex; gap: 10px; flex-wrap: wrap; }
.genre-chip {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .15s;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .genre-chip:hover {  border-color: var(--cobalt); transform: translateY(-2px);  } }
.genre-chip .count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Stories rail (TikTok-style, top of home) */
.stories-section { padding: 20px 0 8px; border-bottom: 1px solid var(--border); background: var(--base); }
.stories-rail {
  display: flex; gap: 18px; overflow-x: auto;
  scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent;
  padding-bottom: 8px;
}
.stories-rail::-webkit-scrollbar { height: 6px; }
.stories-rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
.story {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; width: 86px;
}
.story-thumb {
  width: 76px; height: 76px; border-radius: 50%;
  padding: 3px; position: relative;
  background: linear-gradient(135deg, var(--cobalt), #6e7eff);
  transition: transform .2s;
}
.story.featured .story-thumb { background: linear-gradient(135deg, var(--indigo), #8b6dff); }
.story.viewed .story-thumb { background: var(--border-strong); }
@media (hover: hover) and (pointer: fine) { .story:hover .story-thumb {  transform: translateY(-3px);  } }
.story-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--base); position: relative;
}
.story-promoted-dot {
  position: absolute; bottom: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--indigo); border: 2px solid var(--base);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 9px; font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.story-name {
  font-size: 11px; color: var(--cream); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 86px;
}
.story-add .story-thumb { background: var(--border-strong); }
.story-add .story-inner { background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--cobalt); font-size: 28px; font-weight: 300; }

/* "going" social proof indicator on cards */
.event-going {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.event-going { color: var(--success); }
.event-going .going-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.event-going .going-num { color: var(--success); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ===== Events listing page ===== */
.filter-rail {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  position: sticky; top: 79px; z-index: 30;
  backdrop-filter: blur(12px);
}
.filter-rail-row { display: flex; gap: 32px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.filter-group-label { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.filter-group-body { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Compact filter rail: single row of pill buttons, each opens a dropdown panel. */
.filter-pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.filter-pill-wrap { position: relative; }
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--base); border: 1px solid var(--border-strong);
  color: var(--cream); font-family: inherit; font-size: 12px; font-weight: 600;
  padding: 6px 11px; border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
@media (hover: hover) and (pointer: fine) { .filter-pill:hover {  border-color: var(--cobalt);  } }
.filter-pill.has-value { border-color: var(--cobalt); background: var(--cobalt-soft); }
.filter-pill.is-open { border-color: var(--cobalt); background: var(--cobalt-soft); }
.filter-pill svg:not(.filter-pill-chevron) { color: var(--cobalt); }
.filter-pill-chevron { color: var(--muted); transition: transform 0.15s ease; flex-shrink: 0; }
.filter-pill.is-open .filter-pill-chevron { transform: rotate(180deg); }
.filter-pill-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cobalt); color: var(--cream);
  font-size: 10px; font-weight: 700; line-height: 1;
  min-width: 17px; height: 16px; padding: 0 5px; border-radius: 999px;
}
.filter-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 50;
  min-width: 280px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.filter-panel-md { min-width: 320px; }
.filter-panel-wide { min-width: 560px; }
.filter-panel-right { left: auto; right: 0; }
.filter-panel-h { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.filter-panel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-panel-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.filter-chip.on { border-color: var(--cobalt); background: var(--cobalt-soft); color: var(--cream); }
.filter-chip-soft { padding: 7px 11px; font-size: 12px; background: transparent; border: 1px solid var(--border); }
@media (hover: hover) and (pointer: fine) { .filter-chip-soft:hover {  border-color: var(--cobalt);  } }
.filter-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px; min-width: 240px; max-height: 360px; overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.filter-check {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; font-size: 13px;
  cursor: pointer; transition: background .12s;
}
@media (hover: hover) and (pointer: fine) { .filter-check:hover {  background: var(--strip);  } }
.filter-check input { accent-color: var(--cobalt); }
.price-slider { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; }
.price-slider input[type="range"] { flex: 1; accent-color: var(--cobalt); }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle input { display: none; }
.toggle-track { width: 32px; height: 18px; background: var(--border-strong); border-radius: 999px; position: relative; transition: background .15s; }
.toggle-thumb { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--cream); border-radius: 50%; transition: left .15s; }
.toggle input:checked + .toggle-track { background: var(--cobalt); }
.toggle input:checked + .toggle-track .toggle-thumb { left: 16px; }
.more-filter-panel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding: 20px; margin-top: 18px;
  background: var(--strip); border: 1px solid var(--border); border-radius: 14px;
}
.more-h { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
/* Legacy .active-chips (was its own row below the filter pills). Active chips now flow inline
 * inside the .filter-pill-row — styled via .filter-active-chip below. Rule kept as a no-op
 * in case anything else references the class. */
.active-chips { display: contents; }

/* Page header row: title block on the left, controls (List/Map toggle + Sort) on the right.
 * Wraps to two lines on narrow viewports; mobile rules collapse it further. */
.events-page-headrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.events-page-controls { display: flex; align-items: center; gap: 14px; }
/* Compact "Sort" label only shows on mobile; full "Sort: Trending" hidden there. */
.events-sort-chip .sort-label-compact { display: none; }

/* ===== Mobile filter bar ===== */
/* Slim sticky row at the top of the events listing on mobile only: Filters / Sort / List-Map.
 * Replaces the horizontally-scrolling pill row (which wasn't intuitive UX). Filters/Sort
 * tap into the existing bottom-sheet so all the filter UI is reused.
 * Sticky at top: 121px so it stacks below the search row (which sticks at top: 77px and is
 * 44px tall) — search → filter → content reads cleanly when scrolled. */
.filter-mobile-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  position: sticky;
  top: 121px;
  z-index: 29;
  backdrop-filter: blur(12px);
}
.filter-mobile-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-mobile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--base);
  border: 1px solid var(--border-strong);
  color: var(--cream);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.filter-mobile-trigger svg { color: var(--cobalt); flex-shrink: 0; }
.filter-mobile-trigger .filter-pill-count { margin-left: 2px; }
.filter-mobile-view-toggle { margin-left: auto; }
.filter-mobile-view-toggle button { padding: 6px 10px; }
/* Small vertical separator (cobalt-tinted) between the filter pills and the active chips
 * inside the same row. Visually divides "things I can filter by" from "things I'm filtering by". */
.filter-row-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: var(--border-strong);
  margin: 0 2px;
  flex-shrink: 0;
}
/* Inline active chip: visibly smaller than the filter pills, cobalt fill (from
 * .filter-chip.on), tight padding. Lives inline with the filter pills so the "Active: ..."
 * row no longer takes a line. */
.filter-active-chip {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  gap: 4px;
}
.filter-active-chip svg { width: 9px; height: 9px; }
.reset-link { color: var(--cobalt); font-size: 13px; font-weight: 600; padding: 6px 8px; }

.featured-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 22px;
  background: var(--surface); border: 1px solid rgba(59,91,255,0.45);
  box-shadow: 0 0 0 1px rgba(59,91,255,0.18), 0 12px 36px rgba(59,91,255,0.10);
  border-radius: 14px; padding: 14px 26px;
  align-items: center;
}
/* Flyer column wrapper: stacks the 130x130 image + a small price label tucked tightly below
 * it. Doesn't add to card height — the meta column is taller, so the column's flyer + price
 * still fits within the card's existing height. */
.featured-flyer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: center;
}
.featured-flyer { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; position: relative; }
.featured-flyer-price {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
/* Tag-row + CTA wrapper. display: contents on desktop so the children flow as direct flex
 * children of .featured-meta (no layout change vs. before). Mobile rule below overrides this
 * to a real flex row, pulling "Selling fast" + "Get tickets" onto a single line. */
.featured-meta-foot { display: contents; }
.featured-meta { display: flex; flex-direction: column; gap: 6px; padding: 0; }
/* Eyebrow + "going" stats sit side-by-side on the same row so the going indicator doesn't
 * take its own line below the CTAs. Wraps if there's not enough horizontal room. */
.featured-row .featured-meta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.featured-row .featured-going {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px;
  white-space: nowrap;
}
/* Clear the 2px margin-top on the base .event-going rule so the "● 2,140 going" indicator
 * sits on the same baseline as the "· 3 friends" span beside it. */
.featured-row .featured-going .event-going { margin-top: 0; }
/* Tighter pill + CTA sizing so the spotlight stays compact. */
.featured-row .tag-row { gap: 6px; margin-top: 0; }
.featured-row .tag-row .pill { font-size: 11px; padding: 3px 9px; }
/* Get tickets — quiet outlined cream pill. No blue, no underline. The thin border + arrow
 * give it a clear "tap me" affordance without competing with the card's other accents. */
.featured-cta-link {
  align-self: flex-start;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(245, 241, 230, 0.30);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: gap 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .featured-cta-link:hover {
    gap: 9px;
    border-color: rgba(245, 241, 230, 0.6);
    background: rgba(245, 241, 230, 0.06);
  }
}
/* Bookmark on the flyer (top-right floating, not in the meta column anymore). Smaller circle
 * to suit the compact flyer; cobalt fill + tinted bg when active. */
.featured-flyer .favorite-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(14, 17, 22, 0.6);
  border: 1px solid rgba(245, 241, 230, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-flyer .favorite-btn svg { width: 12px; height: 12px; }
/* Spotlight eyebrow: filled cobalt chip so the label reads cleanly over the photo-tinted card. */
.featured-row .featured-meta .eyebrow {
  align-self: flex-start;
  display: inline-block;
  background: rgba(87, 114, 255, 0.10);
  color: var(--cream);
  border: 1px solid rgba(87, 114, 255, 0.20);
  padding: 0 6px;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.results-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 56px;
}
.page-btn {
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--border); background: transparent;
  color: var(--muted); border-radius: 10px;
  font-family: 'Anton', sans-serif; font-size: 16px; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
}
@media (hover: hover) and (pointer: fine) { .page-btn:hover {  border-color: var(--cobalt); color: var(--cream);  } }
.page-btn.active { background: var(--cobalt); border-color: var(--cobalt); color: var(--cream); }
.page-btn.ghost { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: 0.02em; font-weight: 600; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

/* Map split view: 60/40 grid, height clamped so the footer stays close below the fold. */
.map-split {
  display: grid; grid-template-columns: 60% 40%;
  height: 480px;
  width: 100%;
}
.map-pane { position: relative; background: #0a0e18; overflow: hidden; }
/* Real OSM-rendered London map (Wikimedia static). Cobalt veil keeps it on-brand and lets pins read clearly. */
.map-pane .map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(14,17,22,0.18) 0%, rgba(14,17,22,0.45) 100%),
    radial-gradient(900px 600px at 35% 40%, rgba(87,114,255,0.20), transparent 65%),
    url("images/map_london.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; z-index: 2;
}
.pin .pin-dot {
  width: 22px; height: 22px; border-radius: 50% 50% 50% 0;
  background: var(--cobalt); transform: rotate(-45deg);
  border: 2px solid var(--cream);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: transform .15s;
}
.pin.hot .pin-dot { background: var(--hot); }
@media (hover: hover) and (pointer: fine) { .pin.hover .pin-dot, .pin:hover .pin-dot {  transform: rotate(-45deg) scale(1.25);  } }
.pin .pin-label {
  font-size: 11px; font-weight: 600;
  background: rgba(14,17,22,0.92); border: 1px solid var(--border-strong);
  padding: 4px 8px; border-radius: 6px;
  white-space: nowrap; opacity: 0; transition: opacity .15s;
  position: absolute; top: -28px;
}
@media (hover: hover) and (pointer: fine) { .pin.hover .pin-label, .pin:hover .pin-label {  opacity: 1;  } }
.map-attribution { position: absolute; bottom: 12px; right: 14px; font-size: 11px; color: var(--muted); }
.map-controls { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 4px; }
.map-controls button { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--cream); font-size: 18px; }

.map-list { background: var(--base); border-left: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.map-list-scroll { flex: 1; overflow-y: auto; }
.map-list-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .map-list-item:hover, .map-list-item.hover {  background: var(--surface);  } }
.map-list-thumb { aspect-ratio: 4/5; border-radius: 8px; overflow: hidden; }
.map-list-body { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.map-list-title { font-weight: 600; font-size: 14px; line-height: 1.3; }

/* ===== DJ profile page ===== */
.dj-cover {
  position: relative; height: 56vh; min-height: 540px; max-height: 680px;
  overflow: hidden;
}
.dj-cover-bg { position: absolute; inset: 0; }
.dj-cover-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(14,17,22,0.92) 0%, rgba(14,17,22,0.65) 40%, rgba(14,17,22,0.30) 75%, rgba(14,17,22,0) 100%),
    linear-gradient(0deg, rgba(14,17,22,0.85) 0%, rgba(14,17,22,0) 60%);
}
.dj-cover-inner {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 40px 0 64px;
  max-width: 1280px; margin: 0 auto;
  padding-left: 32px; padding-right: 32px;
  gap: 40px;
}
.dj-cover-meta { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.dj-name {
  font-family: 'Anton', sans-serif; font-size: clamp(80px, 10vw, 120px);
  line-height: 0.92; letter-spacing: -0.02em; font-weight: 400;
}
.dj-tick { display: inline-flex; align-items: center; gap: 6px; color: var(--cobalt); font-family: 'Anton', sans-serif; font-size: 14px; letter-spacing: 0.10em; text-transform: uppercase; }
.dj-tick svg { color: var(--cobalt); }
.dj-portrait-wrap { display: flex; flex-direction: row; align-items: center; gap: 22px; transform: translateY(40px); }
.dj-cover-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.dj-portrait {
  width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--base);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.dj-portrait-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.dj-portrait-actions .btn { min-width: 140px; justify-content: center; }

.dj-stats {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-top: 28px;
  display: none; /* desktop: hidden — stats live inside .eventmeta-stats. Mobile rule re-shows. */
}
.dj-stats-inner { display: flex; gap: 48px; flex-wrap: wrap; align-items: center; }
.dj-stat { display: flex; flex-direction: column; gap: 4px; }
.dj-stat .num { font-family: 'Anton', sans-serif; font-size: 32px; line-height: 1; letter-spacing: -0.01em; color: var(--cream); }
/* Generic .star — site-wide green-rating semantic. Used inside dj stats num, organiser meta,
 * and anywhere else a star appears next to a numeric rating. */
.star { color: var(--success); }
.dj-stat .num .star { margin-right: 4px; }
.dj-stat .label { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dj-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Stats merged into the meta card on desktop. 5-col grid with hairline divider above; tighter
 * num/label sizing than the standalone band so the row fits inside the meta card's narrower
 * column width. Hidden on mobile (replaced by the standalone .dj-stats band below the hero). */
.eventmeta-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}
.eventmeta-stats .dj-stat .num { font-size: 22px; }
.eventmeta-stats .dj-stat .label { font-size: 9.5px; letter-spacing: 0.08em; }

/* Don't use the padding shorthand here — the element also has .container which sets padding: 0 32px and the shorthand would zero out the horizontal gutter, breaking page-edge alignment. */
.dj-body { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; padding-top: 32px; padding-bottom: 80px; }
.dj-section { display: flex; flex-direction: column; gap: 36px; }
.dj-section h3 { font-family: 'Anton', sans-serif; font-size: 28px; font-weight: 400; letter-spacing: -0.005em; }
.dj-bio { font-variant-ligatures: none; padding-top: 18px; }
.dj-bio p { font-size: 16px; line-height: 1.75; color: var(--cream); opacity: 0.92; margin-bottom: 12px; font-variant-ligatures: none; }
.dj-bio p strong { color: var(--cream); font-weight: 600; }
/* Editorial drop cap on the first paragraph — Anton initial letter floats left, ~3 lines tall.
 * Sits at the same cobalt as the rest of the brand accents; pure CSS, no markup change. */
.dj-bio > p:first-child::first-letter {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 0.9;
  color: var(--cobalt);
  float: left;
  padding: 6px 12px 0 0;
  margin: 0;
}
/* Editorial pull-quote — placed between paragraphs to lift one striking line out of the bio.
 * Inter italic with a thin cobalt left rule, no quote marks (the indent + rule do the work). */
.dj-bio-pullquote {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--cream);
  border-left: 3px solid var(--cobalt);
  padding: 6px 0 6px 20px;
  margin: 22px 0;
  letter-spacing: -0.005em;
}
.dj-genres { display: flex; flex-wrap: wrap; gap: 8px; }

.review-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.review-stars { display: inline-flex; gap: 2px; color: var(--success); }
.review-quote { font-size: 17px; line-height: 1.55; color: var(--cream); font-weight: 500; }
.review-attrib { font-size: 13px; color: var(--muted); }
.review-attrib strong { color: var(--cream); font-weight: 600; }

.dj-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; align-self: start; }
.booking-card { background: var(--surface); border: 1px solid var(--cobalt); border-radius: 18px; padding: 22px; box-shadow: 0 0 0 1px rgba(59,91,255,0.18); }
.booking-card h4 { font-family: 'Anton', sans-serif; font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.booking-card .price-line { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.booking-card .agent-line {
  font-size: 12px; color: var(--muted);
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
}
.booking-card .agent-line .agent-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.booking-card .agent-line .agent-contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  font-size: 11.5px;
  white-space: nowrap;
}
.booking-card .agent-line a {
  color: var(--cobalt);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .booking-card .agent-line a:hover {  color: #7286ff;  } }
.booking-card .agent-line svg { color: var(--muted); flex-shrink: 0; }

.stream-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.stream-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.stream-tab {
  padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
  background: var(--strip); border: 1px solid var(--border); color: var(--muted);
  cursor: pointer;
}
.stream-tab.active { background: var(--cobalt-soft); border-color: var(--cobalt); color: var(--cobalt); }
.stream-player {
  background: linear-gradient(135deg, #1a2042, #0e1a3a 60%, #1a1230);
  border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; min-height: 110px;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.stream-player::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(59,91,255,0.18) 0 2px, transparent 2px 6px); opacity: 0.5; }
.stream-player .play { width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt); display: flex; align-items: center; justify-content: center; color: var(--cream); position: relative; z-index: 1; }
.stream-player .track { font-size: 14px; font-weight: 600; position: relative; z-index: 1; }
.stream-player .meta { font-size: 12px; color: var(--muted); position: relative; z-index: 1; }
.stream-bar { height: 4px; background: rgba(245,241,230,0.12); border-radius: 2px; overflow: hidden; position: relative; z-index: 1; }
.stream-bar-fill { height: 100%; width: 32%; background: var(--cobalt); }

.social-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.social-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.social-row:last-child { border-bottom: none; padding-bottom: 0; }
.social-row .label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.social-row .label .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--strip); display: inline-flex; align-items: center; justify-content: center; color: var(--cobalt); }
.social-row .count { font-family: 'Inter', sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 14px; }

.rider-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.rider-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rider-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.rider-list li:last-child { border-bottom: none; }
.rider-list .num { font-family: 'Anton', sans-serif; color: var(--cobalt); font-size: 16px; min-width: 22px; }

.lineup-grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
/* min-width: 0 stops nowrap text inside (.dj-mini-name / .dj-mini-scene) from forcing the grid
 * cell wider than 1fr — without it, a long scene like "World Sound · Reggae · Soca" stretches
 * its column past the others, making Pure Vibes / Hotsteppa circles render visually bigger. */
.dj-mini-card { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.dj-mini-avatar-wrap { position: relative; width: 100%; aspect-ratio: 1; }
.dj-mini-avatar { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); transition: transform .2s; }
.dj-mini-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dj-mini-card.featured .dj-mini-avatar { border: 3px solid var(--indigo); padding: 0; }
@media (hover: hover) and (pointer: fine) { .dj-mini-card:hover .dj-mini-avatar {  transform: translateY(-3px);  } }
.dj-mini-promo { position: absolute; bottom: 4px; right: 4px; z-index: 2; background: var(--cobalt); color: var(--cream); font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.06em; border: 2px solid var(--strip); white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.dj-mini-name { font-size: 14px; font-weight: 600; text-align: center; }
.dj-mini-scene { font-size: 11px; color: var(--muted); text-align: center; }

/* Live-count number pulse */
@keyframes numpulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}
.live-strip .num-pulse { animation: numpulse 2.2s ease-in-out infinite; }

/* ===== v4 brand-presence calibration ===== */
/* Real PC logo (header + footer variants) */
.logo img { width: 110px; height: auto; }
.logo.logo-footer img { width: 130px; }

/* Logo asset toggle: header renders both desktop + mobile imgs; CSS shows the right one per breakpoint.
 * Footer img has no toggle class so it always renders the desktop asset regardless of viewport. */
.logo-img-desktop { display: block; }
.logo-img-mobile { display: none; }

/* ===== Caution-yellow prototype strip (matches home.html .prototype-strip exactly) =====
 * Desktop output identical to the inline style block previously used in events.html / event.html / dj.html;
 * extracted to a class so the mobile media query below can override font / padding / segment visibility. */
.prototype-strip {
  position: sticky; top: 0; z-index: 9999;
  background: #FFEB3B;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 4px solid #000;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 18px,
    rgba(0, 0, 0, 0.08) 18px,
    rgba(0, 0, 0, 0.08) 36px
  );
}
.prototype-strip .sep { display: inline-block; padding: 0 10px; opacity: 0.55; }

/* Bottom prototype ribbon (mirrors .prototype-strip but at the end of the document). Same warning
 * yellow + diagonal hatch as the top strip; sits as a sibling band below the .footer. */
.proto-footer-ribbon {
  background: var(--warning, #FFEB3B);
  color: #000;
  text-align: center;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-top: 4px solid #000;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 18px,
    rgba(0, 0, 0, 0.08) 18px,
    rgba(0, 0, 0, 0.08) 36px
  );
}
.proto-footer-ribbon .sep { display: inline-block; padding: 0 10px; opacity: 0.55; }

/* ==================================================================
 * MOBILE LAYER (added 2026-05-08)
 * Three breakpoints across the React pages (events, event, dj):
 *   <=1024px  tablet:   collapse 2-col splits, looser rails
 *   <=768px   mobile:   engage mobile-only patterns (hamburger,
 *                       bottom tab bar, bottom-sheet filter, single col)
 *   <=480px   small phone: tighten further
 *
 * Mobile-only components live below the breakpoint blocks. They are
 * hidden on desktop via `.mobile-only { display: none }` and revealed
 * inside the @media (max-width: 768px) block.
 * ================================================================== */

/* ---- Mobile-only visibility helpers (shared) ---- */
.mobile-only { display: none; }
.desktop-only { display: initial; }

/* ============== <=1024px (tablet) ============== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  /* Topbar shrinks but keeps search */
  .topbar-inner { padding: 14px 24px; gap: 16px; }
  .primary-nav-inner { padding: 0 24px; }
  .nav-list { gap: 22px; }

  /* Hero scales down */
  .hero { height: 60vh; min-height: 480px; }
  .hero-content { padding-bottom: 44px; }

  /* Two-col / split layouts collapse */
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  /* .dj-body has both .container (padding 0 32px desktop / 0 16px mobile) AND .dj-body classes;
   * setting padding shorthand here would zero the horizontal gutter, so we use the longhand
   * properties to preserve horizontal padding from .container. */
  .dj-body { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 56px; padding-left: 16px; padding-right: 16px; }
  /* On stacked mobile the .dj-side aside drops below the main content, ending with the social-card.
   * Add breathing room beneath the last card so it doesn't sit flush against the next section's
   * (now lighter) surface band edge — purely a mobile concern; on desktop .dj-side is sticky. */
  .dj-side { position: static; margin-bottom: 32px; }
  .eventhero-grid { grid-template-columns: 1fr; gap: 28px; }
  .eventmeta { padding: 28px 28px; }

  /* Grids loosen */
  .results-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .lineup-grid { grid-template-columns: repeat(4, 1fr); }
  .lineup-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Featured spotlight row stacks the flyer above the meta */
  /* Side-by-side small-thumb layout on tablet + mobile so the spotlight card stays compact
   * instead of stacking into a tall banner. Flyer is a 100x100 square on the left, meta on
   * the right. Genre pills hidden on mobile (only "Selling fast" stays as the urgency cue) —
   * the most aggressive way to reduce card height without losing essential info. */
  .featured-row {
    grid-template-columns: 100px 1fr;
    gap: 14px;
    padding: 12px 14px;
    align-items: start;
  }
  .featured-row .featured-flyer-col { align-self: start; }
  .featured-flyer { aspect-ratio: 1/1; max-height: none; }
  .featured-flyer-price { font-size: 10.5px; }
  .featured-row .featured-meta { gap: 4px; padding: 0; }
  .featured-row .featured-meta-head { gap: 8px; }
  .featured-row .featured-going { font-size: 10.5px; gap: 6px; }
  .featured-row .featured-meta .eyebrow { font-size: 8.5px; padding: 0 5px; letter-spacing: 0.12em; }
  .featured-row .featured-meta h2 { font-size: 16px !important; }
  .featured-row .featured-meta .muted { font-size: 11px !important; }
  .featured-row .tag-row { gap: 4px; margin-top: 0; }
  .featured-row .tag-row .pill { font-size: 10px; padding: 2px 7px; }
  /* Drop all pills except the first (Selling fast). Genre pills add noise on a narrow card. */
  .featured-row .tag-row .pill:not(:first-child) { display: none; }
  .featured-row .featured-cta-link { font-size: 11px; padding: 3px 10px; margin-top: 0; }
  /* Flip the wrapper to a flex row so "Selling fast" pill and "Get tickets →" sit on the
   * same line, justified across the available width. Saves a row of card height. */
  .featured-row .featured-meta-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
  }
  .featured-row .featured-meta-foot .tag-row { margin: 0; }

  /* Map split: list above map */
  .map-split { grid-template-columns: 1fr; height: auto; }
  .map-pane { height: 360px; }
  .map-list { border-left: none; border-top: 1px solid var(--border); }

  /* DJ cover shrinks */
  .dj-cover { height: auto; min-height: 0; max-height: none; padding: 32px 0 64px; position: relative; overflow: clip; }
  .dj-cover-inner {
    position: static;
    display: flex; flex-direction: column-reverse; align-items: flex-start;
    gap: 24px; padding: 0 24px;
  }
  .dj-portrait-wrap { transform: none; gap: 16px; }
  .dj-portrait { width: 140px; height: 140px; border-width: 3px; }

  /* Sticky filter rail loses its height-blocking sticky offset */
  .filterbar, .filter-rail { top: auto; }

  /* Footer collapses to 2 cols */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============== <=768px (mobile) ============== */
@media (max-width: 768px) {
  .mobile-only { display: initial; }
  .desktop-hide, .desktop-only { display: none !important; }

  body { font-size: 14px; }
  .container { padding: 0 16px; }

  /* Caution strip thinner on mobile + third segment hidden; sticky stays.
   * Mirrors home.html's .prototype-strip rule exactly so the React pages match. */
  .prototype-strip {
    font-size: 9px; padding: 3px 10px;
    line-height: 1.3; letter-spacing: 0.14em;
    border-bottom-width: 2px;
  }
  .prototype-strip .sep { padding: 0 6px; }
  .prototype-strip .proto-strip-extra { display: none; }

  /* Bottom proto-ribbon mirrors the top strip exactly on mobile: thinner padding, smaller font,
   * "Development currently in progress" segment hidden so the line never wraps. */
  .proto-footer-ribbon {
    font-size: 9px; padding: 3px 10px;
    line-height: 1.3; letter-spacing: 0.14em;
    border-top-width: 2px;
  }
  .proto-footer-ribbon .sep { padding: 0 6px; }
  .proto-footer-ribbon .proto-strip-extra { display: none; }

  /* Top stack sticks right under the (now shorter) strip — no transparent gap. */
  .top-stack { top: 22px; }
  /* Top nav on mobile: avatar pinned LEFT, bell+hamburger pinned RIGHT, logo absolute-positioned
   * at the TRUE viewport centre (not the centre of the flexible middle column, which is offset
   * because avatar and actions have different widths). Right padding tightened to 4px so the
   * bell and hamburger tuck close to the edge. */
  .topbar-inner {
    grid-template-columns: auto 1fr auto;
    padding: 8px 4px 8px 14px; gap: 8px;
    align-items: center;
    position: relative; z-index: 1;
  }
  .topbar-inner .logo {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  /* Faded London skyline behind the topbar's icon row only on mobile. Anchored to the inner
   * row (logo + bell + avatar + hamburger), NOT the outer .top-stack, so the persistent search
   * row below has its own clean background. */
  .topbar-inner::before {
    content: ""; position: absolute; inset: 0;
    background-image: url("images/skyline_london.png");
    background-size: auto 100%;
    background-position: bottom center;
    background-repeat: repeat-x;
    filter: invert(1);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
  }
  /* Hide the desktop search field — search lives in the drawer on mobile */
  .topbar .search { display: none; }
  /* Hide the desktop sign-in link + ghost CTA — covered by hamburger drawer */
  .topbar-right .signin,
  .topbar-right .btn-ghost { display: none; }
  .topbar-right { gap: 6px; align-items: center; justify-self: end; }
  /* Mobile breakpoint: show the compact one-line logo, hide the desktop logo.
   * `.logo .logo-img-mobile` (specificity 0,0,2,0) beats the desktop `.logo img { width: 110px }`
   * rule. Source asset: 155×38, so height: 40px gives width ~163px auto. Largest that still
   * fits the topbar with comfortable padding alongside the avatar and hamburger. */
  .logo .logo-img-desktop { display: none; }
  .logo .logo-img-mobile { display: block; height: 40px; width: auto; }

  /* Mobile-only icon-only buttons in the topbar (bell + avatar) sit on one line with logo + hamburger. */
  .topbar-icon-btn {
    background: none; border: none; padding: 6px;
    color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease;
  }
  @media (hover: hover) and (pointer: fine) { .topbar-icon-btn:hover {  color: var(--cream);  } }
  .topbar-avatar-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 2px;
    border-radius: 999px;
  }
  .topbar-avatar-btn .avatar-sm {
    width: 30px; height: 30px;
  }

  /* Primary nav second row hidden entirely on mobile — its content (nav-list + nav-extras) is moved into
   * the drawer + duplicated into the topbar respectively. */
  .primary-nav { display: none; }

  /* Mobile search row: locked to explicit pixel heights so there's no padding ambiguity from
   * inherited line-height or UA input styling. 6px equal padding all around → row = 6+32+6 =
   * 44px. Solid opaque background and `top: 77px` (1px overlap with the topbar above) so no
   * sub-pixel gap can leak content through while scrolling. */
  .mobile-search-row {
    position: sticky;
    top: 77px;
    z-index: 89;
    height: 44px;
    display: flex; align-items: center;
    padding: 6px;
    background: var(--base);
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
  }
  .mobile-search-input {
    flex: 1;
    height: 32px;
    display: flex; align-items: center; gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0 12px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
  }
  .mobile-search-input:focus-within { border-color: var(--cobalt); }
  .mobile-search-input svg { color: var(--muted); flex-shrink: 0; }
  .mobile-search-input input {
    flex: 1; min-width: 0;
    height: 100%;
    background: transparent; border: none; outline: none;
    color: var(--cream); font: inherit;
    font-size: 14px;
    margin: 0; padding: 0;
    -webkit-appearance: none;
    appearance: none;
  }
  .mobile-search-input input::placeholder { color: var(--muted); }
  .mobile-search-input input::-webkit-search-decoration,
  .mobile-search-input input::-webkit-search-cancel-button { -webkit-appearance: none; }

  /* Section quick-jump tabs (event + dj profile pages) — sticky just below the topbar so users
   * can hop straight between sections on a long mobile page. Rendered as a segmented-control:
   * tabs touch each other (gap: 0), share a 1px border via negative left margin so each
   * partition reads as a single line, with rounded outer corners on the first and last tabs.
   * Centred when content fits, horizontally scrollable when sections overflow viewport width. */
  .section-tabs {
    position: sticky;
    top: 77px;
    z-index: 89;
    display: flex;
    gap: 0;
    justify-content: center;
    padding: 10px 12px;
    background: var(--base);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .section-tabs::-webkit-scrollbar { display: none; }
  .section-tabs a {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--cream);
    background: var(--surface);
    border: 1px solid rgba(87, 114, 255, 0.35);
    border-radius: 0;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }
  /* Adjacent tabs overlap their shared edge by 1px so the partition reads as a single line
   * (instead of doubling up to 2px). Active/hovered tabs lift via z-index so their cobalt
   * border sits cleanly on top of the muted neighbour borders. */
  .section-tabs a + a { margin-left: -1px; }
  .section-tabs a:first-child { border-radius: 8px 0 0 8px; }
  .section-tabs a:last-child { border-radius: 0 8px 8px 0; }
  @media (hover: hover) and (pointer: fine) {
    .section-tabs a:hover {
      background: rgba(87, 114, 255, 0.1);
      border-color: var(--cobalt);
      z-index: 1;
    }
  }
  /* Active tab: solid cobalt with soft glow — clearly distinguishable from the switchable
   * inactive tabs. Driven by a `.active` class that the page-level useEffect sets based on
   * which section is currently in the viewport (scrollspy). First tab gets it on mount as a
   * default so the group never looks all-passive.
   * The ::before pseudo-element is a small "raised tag" sitting on top of the active tab —
   * like a folder-tab indicator marking the selected one. Lives within .section-tabs's
   * padding-top so overflow-x clipping doesn't trim it. */
  .section-tabs a.active {
    background: var(--cobalt);
    border-color: var(--cobalt);
    color: var(--cream);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(87, 114, 255, 0.35);
  }
  .section-tabs a.active::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    background: var(--cobalt);
    border-radius: 2px 2px 0 0;
  }

  /* Filter rail: pills become a horizontal swipe rail */
  .filter-rail { padding: 10px 0; top: auto; }
  .filter-pill-row {
    flex-wrap: nowrap; overflow-x: auto;
    padding: 0 16px; gap: 8px;
    scrollbar-width: none;
  }
  .filter-pill-row::-webkit-scrollbar { display: none; }
  .filter-rail .container { padding: 0; }
  .filter-pill { padding: 5px 10px; font-size: 11.5px; flex-shrink: 0; gap: 5px; }
  /* Events page header on mobile: hide the redundant H1+subtitle (the breadcrumb above already
   * tells you where you are), collapse the View toggle to icon-only, and shorten "Sort:
   * Trending" to just "Sort". Controls now fit on a single slim row above the filter rail. */
  /* Hide the desktop controls + filter-pill row entirely on mobile — replaced by the
   * .filter-mobile-bar above (Filters / Sort / List-Map). */
  .events-page-headrow { display: none; }
  .filter-rail { display: none; }
  /* Page header padding shrinks too — without the H1/subtitle there's no need for the
   * top breathing room. */
  .events-page-header { padding-top: 8px !important; padding-bottom: 8px !important; }
  .events-page-controls { gap: 8px; }
  .events-page-controls .segmented button { padding: 5px 10px; font-size: 12px; }
  .events-page-controls .segmented .seg-label { display: none; }
  .events-sort-chip { padding: 5px 10px; font-size: 12px; border-radius: 999px; gap: 4px; }
  .events-sort-chip .sort-label { display: none; }
  .events-sort-chip .sort-label-compact { display: inline; }
  /* Inline filter dropdowns get suppressed — bottom-sheet takes over */
  .filter-panel, .filter-dropdown { display: none !important; }

  /* Hero scales hard */
  .hero { height: 56vh; min-height: 420px; }
  .hero-title { font-size: clamp(40px, 11vw, 64px); }
  .hero-sub { font-size: 15px; }
  .hero-content { padding-bottom: 32px; }
  .hero-ctas { gap: 8px; flex-wrap: wrap; }
  .hero-ctas .btn { padding: 12px 18px; font-size: 13.5px; }

  /* Sections tighter; section heads center on mobile with symmetric eyebrow decoration. */
  .section { padding: 32px 0; }
  .section-tight { padding: 20px 0; }
  .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 18px;
  }
  .section-head > * { align-self: center; }
  .section-head h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .section-head .meta { font-size: 12px; }
  .section-eyebrow::after {
    content: "";
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    flex-shrink: 0;
  }

  /* Rails: smaller card width, edge-to-edge gutter. Scrollbars hidden on mobile (Firefox,
   * IE/old-Edge, WebKit/Blink). Touch scroll still works; the bar just isn't drawn. */
  .rail {
    grid-auto-columns: 220px; gap: 14px;
    padding-left: 16px; padding-right: 16px;
    margin-left: -16px; margin-right: -16px;
    scroll-padding-left: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail .event-card { scroll-snap-align: start; }
  .avatar-rail {
    grid-auto-columns: 100px; gap: 12px;
    padding-left: 16px; padding-right: 16px;
    margin-left: -16px; margin-right: -16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .avatar-rail::-webkit-scrollbar { display: none; }
  .stories-rail {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .stories-rail::-webkit-scrollbar { display: none; }
  /* Gradient overlay removed — partial card peeking at the right edge is the natural scroll
   * affordance on mobile (Spotify / Netflix pattern). Dots could be auto-injected like home.html
   * if needed later. */
  .avatar-lg { width: 88px; height: 88px; }

  /* Grids: 2 cols (1 col on small phone) */
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lineup-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .lineup-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  /* Truncate dj-mini names + scene tags so all cards align across the grid (matches the
   * home page's .dj-tile truncation pattern). */
  .dj-mini-name,
  .dj-mini-scene {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dj-mini-name { font-size: 12.5px; }
  .dj-mini-scene { font-size: 10.5px; }
  /* Card grids hold 2 cards per row on mobile minimum (was 1fr — too sparse for what's
   * fundamentally browseable card content). Inherits the 2-col rule from the @1024px block
   * but overrides the gap so cards aren't pushed past viewport on narrow phones. */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Mobile band-surface treatment: applied to specific sections across the React pages
   * (event Lineup, event You-might-also-like, dj Upcoming, dj Reviews) to break up the continuous
   * dark page background with a slightly lighter surface band. Full-bleed via negative margins
   * (matches .dj-rail / .afterdark-rail mobile pattern), with hairline top/bottom borders to
   * separate from the dark sections above and below. Mirrors home.html's .band-surface rhythm. */
  .mobile-band {
    background: var(--surface);
    margin-left: -16px;
    margin-right: -16px;
    padding: 28px 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  /* Reviews redesign on mobile: horizontal swipe rail instead of 2 cramped columns of long
   * quotes. Matches the site-wide rail pattern (.dj-rail / .promoter-rail / .avatar-rail).
   * Cards take ~85% viewport width so the next card peeks as a scroll affordance. */
  .reviews-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 16px 12px;
    margin-left: -16px;
    margin-right: -16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid .review-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    padding: 18px;
    gap: 10px;
  }
  .reviews-grid .review-quote { font-size: 14.5px; line-height: 1.5; }
  .reviews-grid .review-attrib { font-size: 12px; }
  /* Section foot link centers on mobile so it reads as a balanced footer, not a right-edge action. */
  .section-foot { justify-content: center; margin-top: 18px; }

  /* Event card body tighter; flyer headlines switch from Anton (condensed, hard to read at
   * small sizes) to Inter 800 for legibility on mobile grid cards. */
  .event-flyer .flyer-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
  }
  .event-body { padding: 12px 14px 14px; }
  .event-title { font-size: 13.5px; }
  .event-meta { font-size: 11.5px; }

  /* Lineup card: tighter padding */
  /* Lineup card mobile: tighter padding + smaller avatar; headliner pill scaled down too. */
  .lineup-card { padding: 14px 8px 12px; gap: 8px; border-radius: 14px; }
  .lineup-avatar-wrap { width: 72px; height: 72px; }
  .lineup-avatar { border-width: 1.5px; }
  .lineup-card.is-headliner .lineup-avatar { box-shadow: 0 0 0 3px rgba(87, 114, 255, 0.18); }
  .lineup-headliner-pill {
    bottom: -5px; font-size: 8px; padding: 2px 7px;
    letter-spacing: 0.08em; border-width: 1.5px;
  }
  .lineup-name { font-size: 13px; }
  .lineup-meta { font-size: 11px; }

  /* Featured spotlight row */
  /* Tighter still on small phones — 80px thumb instead of 100px. */
  .featured-row { grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 12px; }
  .featured-flyer { aspect-ratio: 1/1; max-height: none; }
  .featured-flyer-price { font-size: 10px; }
  .featured-row .featured-meta .eyebrow { font-size: 10px; padding: 4px 9px; }

  /* Event detail */
  /* Small top padding so the flyer image doesn't sit flush against the breadcrumb's bottom
   * border. Bottom padding stays generous to separate from the next section. */
  .eventhero { padding: 14px 0 24px; }
  .eventmeta { padding: 22px 18px; border-radius: 16px; }
  .eventmeta-title { font-size: clamp(34px, 9vw, 52px); }
  .eventmeta-row { font-size: 14.5px; }
  .eventmeta-row.muted { font-size: 13px; }
  /* CTA row on mobile: tighter padding + smaller font so the trio of buttons (Follow / Bookmark /
   * Share or Get tickets etc.) doesn't dominate the small hero card. Icon size also nudged down,
   * and the 48px bookmark circle drops to 38px so it stays in proportion with the slimmer buttons. */
  .cta-row .btn { flex: 1; min-width: 0; padding: 9px 12px; font-size: 13px; gap: 6px; }
  .cta-row .btn svg { width: 14px; height: 14px; }
  .cta-row .favorite-lg { width: 38px; height: 38px; flex: 0 0 38px; }
  .cta-row .favorite-lg svg { width: 16px; height: 16px; }
  /* Tighten the gap above the CTA row — the .eventmeta column gap (14px) already provides
   * spacing, and the default 16px margin-top on .cta-row stacked on top of that pushed the
   * buttons too far from the genre tag-row. */
  .eventmeta .cta-row { margin-top: 4px; }
  /* Genre pills inside the dj hero (tag-row) shrunk on mobile so they fit on one line and read
   * as supporting metadata rather than competing chips. Default .pill = 6/12 padding, 13px font. */
  .eventmeta .tag-row { gap: 6px; margin-top: 0; }
  .eventmeta .tag-row .pill { padding: 3px 9px; font-size: 11px; }
  /* align-self: start prevents the grid's default `align-items: stretch` from collapsing the
   * frame to row height (which is auto = max-content; absolute child img contributes 0 → frame
   * had 0 height and was invisible). With align-self: start, aspect-ratio takes effect and the
   * frame renders at width × 5/4. */
  .flyer-frame { aspect-ratio: 4/5; width: 100%; max-width: 320px; margin: 0 auto; align-self: start; }
  /* DJ profile hero — mobile passport layout. The full-size desktop portrait (left grid column)
   * is hidden, replaced by a compact 104px square pinned to the left of the identity stack
   * (eyebrow + title + scene + availability) inside the .eventmeta card. CTAs and genre tags
   * still sit full-width below within the same surface. Treats DJ pages as profiles, not posters. */
  .dj-hero-portrait--desktop { display: none; }
  .dj-meta-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }
  /* Bumped from 104×104 (1:1) to 120 wide × 4/5 aspect — taller, more editorial portrait crop
   * that flatters a person photo. .dj-identity beside it still has ~205px on a 375px viewport. */
  .dj-hero-portrait--mobile {
    display: block;
    flex: 0 0 120px;
    width: 120px;
    aspect-ratio: 4 / 5;
    margin: 0;
    max-width: none;
    border-radius: 12px;
  }
  .dj-identity {
    flex: 1;
    min-width: 0;
    gap: 6px;
  }
  .dj-identity .eventmeta-title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.01em;
  }
  .dj-identity .eventmeta-row {
    font-size: 12.5px;
    line-height: 1.4;
  }
  .dj-availability {
    margin-top: 4px;
  }
  .eventmeta {
    padding: 18px;
    gap: 14px;
  }

  /* Ticket tiers: flatten the three-column grid into a stacked card layout */
  .tickets-head { padding: 14px 16px; }
  .tickets-head h3 { font-size: 22px; }
  .ticket-tiers { padding: 14px 16px; gap: 10px; }
  .ticket-tier {
    grid-template-columns: 1fr;
    gap: 12px; padding: 16px;
  }
  .ticket-tier.is-popular { padding: 18px; transform: none; }
  @media (hover: hover) and (pointer: fine) { .ticket-tier.is-popular:hover {  transform: translateY(-1px);  } }
  .ticket-tier-popular-badge { left: 14px; top: -9px; font-size: 9px; padding: 3px 9px; }
  .ticket-tier-price { flex-direction: row; align-items: baseline; gap: 8px; min-width: 0; justify-content: flex-start; }
  .ticket-tier-price .num { font-size: 26px; }
  .ticket-tier.is-popular .ticket-tier-price .num { font-size: 30px; }
  .ticket-tier-action { min-width: 0; justify-content: flex-start; }
  .tickets-foot { padding: 12px 14px; gap: 10px; flex-direction: column; align-items: stretch; }
  .totals { flex-direction: row; gap: 8px; align-items: baseline; }
  /* Mobile: keep totals + Buy tickets button on the SAME row, with totals pushed left and
   * the button pushed right via space-between. Cleaner alignment than stacking and matches
   * the standard cart-summary pattern. */
  .tickets-foot-action { justify-content: space-between; gap: 10px; }
  .tickets-foot-action .btn { padding: 10px 16px; font-size: 13px; }
  /* Payment chips on mobile: smaller (the row above) so the payment-method strip reads as
   * supporting metadata rather than competing with the totals + CTA below. */
  .payments { gap: 4px; }
  .pay-chip { height: 18px; min-width: 28px; padding: 0 4px; border-radius: 4px; }
  .pay-chip img { height: 9px; }

  /* Sticky buy bar on mobile: hide the bottom tab bar while the buy bar is rendered (basket > 0)
   * so the two fixed-bottom elements don't collide. CSS `:has()` keys off the buy bar's presence
   * in the DOM. Buy bar takes priority while user is in checkout intent. */
  body:has(.sticky-buy-bar) .bottom-tabs { display: none; }
  body:has(.sticky-buy-bar) { padding-bottom: 0; }
  .sticky-buy-bar { padding-bottom: env(safe-area-inset-bottom, 0); }
  .sticky-buy-bar-inner { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .sticky-summary-title { font-size: 13.5px; }
  .sticky-summary-meta { font-size: 11px; }
  .sticky-totals-line strong { font-size: 22px; }
  .sticky-totals { gap: 12px; }

  /* Side card / lineup */
  .side-card { padding: 18px; }

  /* DJ cover. On mobile, .dj-cover-inner becomes position: static (per the <=1024px rule),
   * which means the absolute-positioned `.dj-cover-bg` and `.dj-cover-overlay` paint AFTER it
   * in normal flow — hiding the text. Add `position: relative; z-index: 1` to lift the inner
   * above the bg + overlay. */
  .dj-cover { padding: 20px 0 40px; }
  .dj-cover-inner {
    padding: 0 16px; gap: 18px;
    position: relative; z-index: 1;
  }
  .dj-name { font-size: clamp(40px, 11vw, 60px); line-height: 0.96; }
  .dj-portrait { width: 110px; height: 110px; }
  .dj-portrait-actions { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .dj-portrait-actions .btn { flex: 1; min-width: 0; padding: 10px 14px; font-size: 13px; }
  /* Cover actions (Follow + Share) split the row 50/50 on mobile. flex-wrap: nowrap forces
   * single line so the buttons can shrink and never wrap, both flex: 1 makes them equal width. */
  .dj-cover-actions { flex-wrap: nowrap; gap: 10px; width: 100%; }
  .dj-cover-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    justify-content: center;
    padding: 11px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  .dj-cover-meta { gap: 10px; }
  .dj-cover-meta .muted { font-size: 13px !important; }
  .dj-tick { font-size: 11px; }
  /* DJ stats on mobile: 5-col grid that fits the viewport without overflow. Numbers are short
   * (max ~5 chars), labels truncate to single line with ellipsis. Compact strip framed by
   * hairline borders. */
  .dj-stats { display: block; padding: 10px 0; margin-top: 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  /* Hide the inline meta-card stats on mobile — they're shown in the standalone band above. */
  .eventmeta-stats { display: none; }
  .dj-stats-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 0 12px;
    overflow: hidden;
  }
  .dj-stat {
    align-items: center;
    text-align: center;
    min-width: 0;
    overflow: hidden;
  }
  .dj-stat .num {
    font-size: 15px;
    line-height: 1;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dj-stat .label {
    font-size: 8.5px;
    line-height: 1.2;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.06em;
  }
  .dj-stat-divider { display: none; }
  /* "Available for bookings" pill smaller on mobile so it doesn't dominate the cover meta. */
  .dj-cover-meta .pill { font-size: 11px; padding: 4px 10px; }
  /* About paragraph mobile: 20px inline style is too big and overflowed. Universal selector
   * with !important beats inline-style on every paragraph in the bio. word-break + overflow-wrap
   * keep long unbreakable strings (URLs, hashtags) from pushing past the screen edge. */
  .dj-bio p, .dj-bio p[style] {
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .dj-bio p strong { font-weight: 700; }
  /* Keep the .dj-bio container itself bounded by its parent's padding (no overflow). The
   * extra padding-top compensates for the removed eyebrow + About h3, giving the lede paragraph
   * the breathing room those headers used to provide above it. */
  .dj-bio { max-width: 100%; overflow-wrap: anywhere; padding-top: 28px; }
  /* Drop cap + pull-quote: dialled down on mobile so they don't dominate the narrower column. */
  .dj-bio > p:first-child::first-letter { font-size: 48px; padding-right: 9px; }
  .dj-bio-pullquote { font-size: 17px; line-height: 1.45; padding-left: 14px; margin: 18px 0; }

  /* Live-strip: scroll horizontally on mobile so all metrics survive */
  .live-strip {
    width: auto; max-width: 100%;
    overflow-x: auto; flex-wrap: nowrap; gap: 16px;
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
  }

  /* Mobile footer: ports the home.html mobile footer pattern so all 4 pages share the same
   * compact footer. Brand logo + tagline are dropped, leaving socials, a 2-col Discover/Company
   * link grid, a single-row Subscribe form, and a centred copyright/links strip below. */
  .footer { padding: 20px 0 16px; text-align: center; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    padding-bottom: 20px;
    justify-items: center;
  }
  /* Brand block (first child) and newsletter block (last child) span both columns. */
  .footer-grid > div:first-child,
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  /* Drop the logo + tagline from the brand block on mobile; keep socials only. */
  .footer-grid > div:first-child .logo,
  .footer-grid > div:first-child > p { display: none; }
  .footer .socials { justify-content: center; margin: 0; }
  .footer h4 { font-size: 12px; letter-spacing: 0.14em; margin-bottom: 10px; }
  .footer ul { gap: 8px; align-items: center; }
  .footer ul a { font-size: 13px; }
  /* Newsletter caption uses available row width without artificial max-width so it doesn't wrap
   * unnecessarily. The form below is constrained for clean centring. */
  .footer-grid > div:last-child p { max-width: none; margin: 0; }
  /* Newsletter form: input + Subscribe button on one centred row. Block with auto margins to
   * centre; input flex-grows, button stays fixed-width with flex-shrink: 0 so it never wraps. */
  .footer .newsletter {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 360px;
    margin: 10px auto 0;
  }
  /* Lock both fields to the same explicit height so input and button align perfectly. */
  .footer .newsletter input,
  .footer .newsletter .btn-primary {
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    box-sizing: border-box;
  }
  .footer .newsletter input {
    flex: 1 1 0;
    min-width: 0;
    font-size: 14px;
  }
  .footer .newsletter .btn-primary {
    padding-left: 22px;
    padding-right: 22px;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .newsletter-icon { font-size: 15px; line-height: 1; }
  .footer-bottom {
    flex-direction: column; gap: 6px;
    align-items: stretch;
    justify-content: center;
    padding-top: 16px; font-size: 11.5px;
    text-align: center;
  }

  /* Booking card (dj page) agent contacts: stack vertically on mobile. The two anchors keep
   * white-space: nowrap (long phone + email shouldn't break mid-string), but with column flex
   * they break to the next line instead of pushing the .booking-card past viewport width.
   * Without this, the page bleeds horizontally and Edge mobile emulation stretches the layout
   * viewport, which knocks position: fixed top-stack and bottom-tabs out of place on load. */
  .booking-card { padding: 18px; }
  .booking-card .agent-line .agent-contacts {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }

  /* Body padding so the bottom tab bar never hides content. `overflow-x: hidden` restored
   * because sticky positioning on `.top-stack` etc. depends on body being the scroll context;
   * the bottom-tabs use `top: calc(100dvh - 64px)` (not `bottom: 0`) so they aren't affected
   * by the containing-block quirk that overflow-hidden used to expose. Do NOT add overflow-x
   * to <html> here, even as `clip`: any non-visible overflow on html shifts the scroll root
   * to body in most browsers and breaks .prototype-strip's `position: sticky; top: 0`. */
  body { padding-bottom: 68px; overflow-x: hidden; }
  /* Hide the page-level vertical scrollbar on mobile (Firefox, IE/old-Edge, WebKit/Blink).
   * Touch scroll still works; the bar just isn't drawn. */
  html { scrollbar-width: none; -ms-overflow-style: none; }
  html::-webkit-scrollbar { display: none; }
  body::-webkit-scrollbar { display: none; }

  /* Editorial / pros / spotlight stack */
  .editorial { aspect-ratio: 16/10; }
  .editorial-content { padding: 26px 22px; }
  .pros { padding: 56px 0; }
  .pros-grid { grid-template-columns: 1fr; gap: 28px; }
  .pros-roles { grid-template-columns: 1fr 1fr; }
  .spotlight-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .spotlight-name { font-size: 36px; }
  /* Native sponsored unit on mobile: vertical stack, smaller image, Anton title swapped to
   * Inter (matches home sponsored banner — Anton condensed strokes don't read at small sizes). */
  .native-unit { flex-direction: column; padding: 16px; gap: 12px; }
  .native-unit-img { width: 100%; aspect-ratio: 16/9; }
  .native-unit-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .native-unit-sub { font-size: 13px; line-height: 1.5; }
  /* Native-unit CTA row: both buttons have white-space: nowrap. Their combined intrinsic
   * width (~414px) exceeds the unit-body content area on mobile, so they overflowed and pushed
   * the layout viewport past device-width — which decoupled position: fixed bars from the
   * viewport, surfacing as the dj-page "bars only show while scrolling" symptom. Stack column
   * + width:100% on mobile keeps the buttons inside the unit. */
  .native-unit-cta { flex-direction: column !important; }
  .native-unit-cta .btn { width: 100%; padding: 12px 16px; font-size: 14px; }
  .banner-ad { flex-direction: column; padding: 18px; gap: 14px; align-items: flex-start; }
  .banner-ad .promoted-tag { position: static; align-self: flex-start; }

  /* Pagination wraps */
  .pagination { flex-wrap: wrap; gap: 6px; margin-top: 36px; }
  .page-btn { min-width: 38px; height: 38px; font-size: 14px; }
}

/* ============== <=480px (small phone) ============== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  /* Stay at 2 cols on small phones — 1 per row wastes vertical space, 3 makes flyer
   * headlines unreadable. 2 is the sweet spot for an events grid at this width. */
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  /* .lineup-grid (event lineup): list-style on small phones — avatar left, name + role
   * stacked centre, Anton time chip on the right. Adds a cobalt left-edge accent stripe
   * (cobalt for headliner, muted for others) for graphic rhythm down the column. The avatar
   * still carries the headliner cobalt ring; the inline "★ HEADLINER" pill is hidden at this
   * size (would clash with the row layout) — the cobalt ring + cobalt time chip + cobalt edge
   * stripe + tinted gradient bg together signal headliner clearly. */
  .lineup-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 8px;
  }
  .lineup-card {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
    padding: 12px 12px 12px 18px;
    border-radius: 12px;
    overflow: hidden;
  }
  /* Cobalt edge accent stripe — adds graphic rhythm down the column. Headliner = full cobalt;
   * other cards = a quieter cobalt tint so the row still reads as a list item (not a plain box). */
  .lineup-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: rgba(87, 114, 255, 0.3);
    border-radius: 0 2px 2px 0;
  }
  .lineup-card.is-headliner::before {
    background: var(--cobalt);
    box-shadow: 2px 0 8px rgba(87, 114, 255, 0.4);
  }
  .lineup-avatar-wrap {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 56px; height: 56px;
  }
  .lineup-name {
    grid-column: 2; grid-row: 1;
    font-size: 14.5px;
    text-align: left;
    justify-content: flex-start;
  }
  .lineup-role {
    grid-column: 2; grid-row: 2;
    font-size: 10.5px;
    text-align: left;
    letter-spacing: 0.06em;
  }
  .lineup-time {
    grid-column: 3; grid-row: 1 / span 2;
    align-self: center;
    padding: 4px 10px 5px;
    width: 64px;
    margin-top: 0; /* override desktop margin-top: auto in grid context */
  }
  .lineup-time-label { font-size: 7.5px; }
  .lineup-time-num { font-size: 14px; }
  .lineup-headliner-pill { display: none; }
  /* CTA on mobile: 4th column at far right, arrow only (text hidden). Cobalt for visibility
   * — explicit "tap to view" cue that the row goes somewhere. Clears the desktop footer
   * styling (negative margins, border-top, full-width stretch). */
  .lineup-cta {
    grid-column: 4; grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    padding: 0 0 0 4px;
    border-top: none;
    background: transparent;
  }
  .lineup-cta-text { display: none; }
  .lineup-cta-arrow {
    font-size: 20px;
    color: var(--cobalt);
    font-weight: 400;
  }
  /* .lineup-grid-6 (dj "who else you should hear") goes to 3 cols for tighter avatar density
   * that suits browse/discovery. */
  .lineup-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .pros-roles { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 200px; }

  /* Page H1 caps */
  .anton[style*="clamp"] { font-size: clamp(36px, 10vw, 48px) !important; }

  /* Topbar even tighter on small phones — keep the asymmetric right padding so bell + hamburger
   * stay tucked to the edge (matching home.html). */
  .topbar-inner { padding: 8px 4px 8px 12px; }
}

/* ==================================================================
 * MOBILE-ONLY COMPONENTS (mounted by JSX, hidden on desktop)
 * ================================================================== */

/* ---- Hamburger trigger (lives in primary-nav, hidden on desktop) ---- */
.hamburger-btn {
  display: none;
  background: none; border: none; padding: 8px;
  color: var(--cream); cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 768px) {
  .hamburger-btn { display: inline-flex; }
}

/* ---- Mobile drawer (slides in from left) ---- */
.mobile-drawer-scrim {
  /* z-index 10000 deliberately exceeds .prototype-strip's 9999 so the drawer + scrim
   * sit above the prototype strip and bottom tabs (180) on every React page. */
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(14, 17, 22, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.mobile-drawer-scrim.is-open { opacity: 1; pointer-events: auto; }
/* Modern drawer: cobalt-tinted gradient background, section eyebrows, active item with
 * left-bar accent, prominent featured CTA, faded skyline footer texture. */
.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(86vw, 340px); z-index: 10001;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(87, 114, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(87, 114, 255, 0.06) 0%, transparent 50%),
    var(--base);
  border-right: 1px solid var(--border);
  transform: translateX(-101%);
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
  padding: 16px 18px 24px;
}
.mobile-drawer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px;
  background-image: url("images/skyline_london.png");
  background-size: auto 100%;
  background-position: bottom center;
  background-repeat: repeat-x;
  filter: invert(1);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.mobile-drawer > * { position: relative; z-index: 1; }
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.mobile-drawer-close {
  background: none; border: 1px solid var(--border);
  width: 34px; height: 34px;
  border-radius: 50%;
  color: var(--cream); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-drawer-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 8px;
  margin: 0 0 6px;
}
.mobile-drawer-nav {
  list-style: none; display: flex; flex-direction: column; gap: 1px;
  padding: 0; margin: 0 0 22px;
}
.mobile-drawer-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 10px 12px 14px;
  font-size: 15px; font-weight: 500;
  color: var(--cream); border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
@media (hover: hover) and (pointer: fine) { .mobile-drawer-nav a:hover { background: var(--surface); } }
.mobile-drawer-nav a.active {
  color: var(--cobalt); font-weight: 600;
  background: rgba(87, 114, 255, 0.10);
  border-left-color: var(--cobalt);
}
.mobile-drawer-nav a svg { color: var(--muted); flex-shrink: 0; transition: color 0.12s ease; }
.mobile-drawer-nav a.active svg { color: var(--cobalt); }
.mobile-drawer-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6e84ff 0%, var(--cobalt) 100%);
  color: var(--cream);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  margin-bottom: 10px;
}
.mobile-drawer-cta-label { display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer-cta-sub { font-size: 11px; font-weight: 500; opacity: 0.85; letter-spacing: 0.02em; }
.mobile-drawer-cta svg { color: var(--cream); flex-shrink: 0; }
.mobile-drawer-signin {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--cream);
  font-size: 13px; font-weight: 600;
}
.mobile-drawer-foot {
  margin-top: auto; padding-top: 18px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
  text-align: center;
}

/* ---- Bottom tab bar (mobile-only fixed footer nav) ---- */
.bottom-tabs {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 180;
  background: rgba(14, 17, 22, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-tabs-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: 64px;
}
.bottom-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em; line-height: 1;
  color: var(--muted); text-decoration: none;
  background: none; border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
  padding: 4px 2px;
  min-width: 0;
}
.bottom-tab svg { width: 22px; height: 22px; flex-shrink: 0; }
.bottom-tab:active { color: var(--cream); }
.bottom-tab.active { color: var(--cobalt); }
.bottom-tab.active::before {
  content: ""; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--cobalt);
}
@media (max-width: 768px) {
  .bottom-tabs { display: block; }
}

/* ---- Bottom-sheet filter (mobile-only, replaces inline dropdowns) ---- */
.sheet-scrim {
  position: fixed; inset: 0; z-index: 260;
  background: rgba(14, 17, 22, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.sheet-scrim.is-open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 261;
  max-height: 85vh;
  background: var(--base);
  border-top: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.sheet.is-open { transform: translateY(0); }
.sheet-handle {
  width: 36px; height: 4px; border-radius: 2px;
  background: var(--border-strong);
  margin: 10px auto 4px;
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 18px 14px;
  border-bottom: 1px solid var(--border);
}
.sheet-head h3 {
  font-family: 'Anton', sans-serif; font-size: 22px; font-weight: 400;
  letter-spacing: 0.01em;
}
.sheet-close {
  background: none; border: none; padding: 6px;
  color: var(--muted); cursor: pointer;
}
.sheet-body {
  flex: 1; overflow-y: auto;
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 22px;
}
.sheet-section { display: flex; flex-direction: column; gap: 10px; }
.sheet-section-h {
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.sheet-foot {
  display: flex; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--strip);
}
.sheet-foot .btn { flex: 1; }

/* Cap inline dropdown panels at viewport edge on tablet too */
@media (max-width: 1024px) {
  .filter-panel { max-width: calc(100vw - 32px); }
}


/* Tagline strip — sits above topbar */
.tagline-strip {
  background: var(--base);
  border-bottom: 1px solid var(--border);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
}
.tagline-strip img { display: none; }
.tagline-strip::before {
  content: "";
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cobalt);
  flex-shrink: 0;
}

/* Section eyebrow with brand mark — page-level section headers */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-eyebrow img { display: none; }
.section-eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  flex-shrink: 0;
}

/* PC Picks pill — editorial-curated featured content */
.pc-picks {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14,17,22,0.85);
  border: 1px solid var(--cobalt);
  color: var(--cobalt);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 9px 5px 6px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.pc-picks img { display: none; }
