/* ═══════════════════════════════════════════════════════════════════════
   ODD FLOCK v2 — "Afterglow"
   Loaded after styles.css. Redefines the tokens every legacy rule reads,
   then restyles the surfaces people actually live in: Discover feed, map
   chrome, event page, checkout, wallet, account, sign-in.

   Identity in one line: black-glass night-out app, giant grotesk type,
   generated gig-poster art for every event, one electric accent — Volt.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────────── */
html[data-theme] {
  --hot-text: var(--hot); /* the live red, when it's used for text */
  --volt: #d4ff3f;
  --volt-ink: #0b0d02;
  --uv: #8b5cff;
  --hot: #ff3d6e;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* settles with a whisper of overshoot — no visible bounce-back */
  --spring: cubic-bezier(0.22, 1.08, 0.36, 1);
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1); /* only for deliberate taps (save heart) */
  --top-h: calc(64px + env(safe-area-inset-top, 0px));
  --bot-h: calc(84px + env(safe-area-inset-bottom, 0px));
}

html[data-theme="dark"] {
  --bg: #08080a !important;
  --bg-2: #050506 !important;
  --surface: #121215 !important;
  --surface-2: #1c1c21 !important;
  --surface-3: #26262d;
  --text: #f6f5f1 !important;
  --text-soft: #c4c2cc !important;
  --text-muted: #8c8a96 !important;
  --line: rgba(255, 255, 255, 0.1) !important;
  --line-soft: rgba(255, 255, 255, 0.06) !important;
  --accent: #d4ff3f !important;
  --accent-deep: #b6e01f !important;
  --gold: #d4ff3f !important;
  --gold-text: #d4ff3f !important;
  --gold-tint: rgba(212, 255, 63, 0.12) !important;
  --cta-bg: #d4ff3f;
  --cta-fg: #0b0d02;
  --glass: rgba(18, 18, 21, 0.72);
  --danger: #ff6b6b !important;
  --success: #3ee08f !important;
  --shadow: rgba(0, 0, 0, 0.55) !important;
  --scrim: rgba(5, 5, 6, 0.72) !important;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f3f1ec !important;
  --bg-2: #e9e6df !important;
  --surface: #ffffff !important;
  --surface-2: #eeebe4 !important;
  --surface-3: #e2ded5;
  --text: #0b0b0d !important;
  --text-soft: #3b3a41 !important;
  --text-muted: #6d6b74 !important;
  --line: rgba(11, 11, 13, 0.1) !important;
  --line-soft: rgba(11, 11, 13, 0.06) !important;
  /* Volt can't carry text on paper, so in daylight the accent *text* is a
     deep olive (5.8:1 on white) and the CTA flips to ink-with-volt. */
  --accent: #4d6b00 !important;
  --accent-deep: #3a5100 !important;
  --gold: #4d6b00 !important;
  --gold-text: #4d6b00 !important;
  --gold-tint: rgba(150, 200, 0, 0.14) !important;
  --cta-bg: #0b0b0d;
  --cta-fg: #d4ff3f;
  --glass: rgba(255, 255, 255, 0.78);
  --danger: #c0262d !important;
  --success: #138a4f !important;
  --shadow: rgba(11, 11, 13, 0.1) !important;
  --scrim: rgba(243, 241, 236, 0.75) !important;
  color-scheme: light;
}

/* ── Base ───────────────────────────────────────────────────────────── */
html body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html body :is(button, input, select, textarea) {
  font-family: inherit;
}
html body :is(h1, h2, h3, .detail-title, .section-title, .connect-header h2, .hp-title, .me-title) {
  font-family: var(--font-display) !important;
  letter-spacing: -0.025em;
}
html body :is(code, .mono, .gate-otp-input) {
  font-family: var(--font-mono) !important;
}
/* Legacy ambient blobs/grain: off. The posters are the colour now. */
.bg-blot,
.bg-grain {
  display: none !important;
}
::selection {
  background: var(--volt);
  color: var(--volt-ink);
}
:focus-visible {
  outline: 2px solid var(--volt) !important;
  outline-offset: 2px;
}
html[data-theme="light"] :focus-visible {
  outline-color: var(--text) !important;
}

/* ── Boot loader ────────────────────────────────────────────────────── */
#boot-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.boot-mark {
  width: 92px;
  height: 92px;
  color: var(--text);
  --hm-cut: var(--bg);
}
.boot-mark .brand-mark { width: 100%; height: 100%; overflow: visible; }
.boot-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--text);
}
@keyframes v-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Brand mark: the Odd Flock penguins ────────────────────────────────── */
.feed-mark {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin: -4px 0;
  flex-shrink: 0;
  color: var(--text);
  --hm-cut: var(--bg);
}
.brand-mark { display: block; width: 100%; height: 100%; overflow: visible; }
.brand-mark > g { transform-box: fill-box; transform-origin: 50% 100%; }
#app.map-home .logo-wrap .feed-mark { --hm-cut: var(--surface); width: 28px; height: 28px; }

/* ── App frame ──────────────────────────────────────────────────────── */
html body #app:not(.map-home) {
  max-width: none !important;
  padding: 0 0 var(--bot-h) !important;
}
html body #view-container {
  max-width: 760px !important;
  margin: 0 auto !important;
  padding: 0 0 24px !important;
  will-change: auto !important;
}
/* The global top bar (map search) belongs to the map only. */
html body #app:not(.map-home) .top-bar {
  display: none !important;
}

/* ── Bottom nav: floating glass dock ────────────────────────────────── */
html body .bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
  transform: translateX(-50%);
  width: min(460px, calc(100% - 24px)) !important;
  padding: 6px !important;
  gap: 2px;
  border-radius: 999px !important;
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  backdrop-filter: blur(22px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.6) !important;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
html body .nav-link {
  min-height: 52px !important;
  border-radius: 999px !important;
  font-family: var(--font-sans) !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--text-muted) !important;
  gap: 3px !important;
  transition:
    background 0.25s var(--ease),
    color 0.2s ease !important;
}
html body .nav-link .nav-icon {
  width: 21px !important;
  height: 21px !important;
}
@media (hover:hover) and (pointer:fine){html body .nav-link:hover{
  color: var(--text) !important;
}}
html body .nav-link.active-tab {
  color: var(--cta-fg) !important;
  background: var(--cta-bg) !important;
}
html body .nav-link.active-tab::before,
html body .nav-link.active-tab::after {
  display: none !important;
}
html body .nav-link.nav-cta:not(.active-tab) .nav-icon {
  background: var(--surface-3) !important;
  border-radius: 50% !important;
  padding: 3px !important;
}

/* ── Primitives ─────────────────────────────────────────────────────── */
.v-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  font: 750 15.5px/1 var(--font-sans);
  letter-spacing: -0.01em;
  transition:
    transform 0.2s var(--spring),
    filter 0.2s ease,
    background 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}
@media (hover:hover) and (pointer:fine){.v-btn:hover{
  filter: brightness(1.06);
  transform: translateY(-1px);
}}
.v-btn:active {
  transform: scale(0.97);
}
.v-btn.wide {
  width: 100%;
}
.v-btn.ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
@media (hover:hover) and (pointer:fine){.v-btn.ghost:hover{
  box-shadow: inset 0 0 0 1.5px var(--text-muted);
}}
.v-btn.success {
  background: var(--success);
  color: #04140b;
}
.v-btn.danger {
  background: transparent;
  color: var(--danger);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--danger) 45%, transparent);
}
.v-btn[disabled] {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.v-chip {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--text);
  font: 650 14px/1 var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.v-chip.sm {
  height: 34px;
  padding: 0 13px;
  font-size: 13px;
}
.v-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--volt));
}
@media (hover:hover) and (pointer:fine){.v-chip:hover{
  border-color: var(--text-muted);
}}
.v-chip.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--hot) 70%, transparent);
  animation: v-pulse 1.6s infinite;
  flex-shrink: 0;
}
@keyframes v-pulse {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.link-btn {
  background: none;
  border: 0;
  color: var(--text-muted);
  font: 650 14px var(--font-sans);
  cursor: pointer;
  padding: 8px 0;
}
@media (hover:hover) and (pointer:fine){.link-btn:hover{
  color: var(--text);
}}

.icon-pill,
.avatar-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--text);
  font: 650 14px var(--font-sans);
  cursor: pointer;
}
.icon-pill.solid {
  background: var(--cta-bg);
  color: var(--cta-fg);
  border-color: transparent;
}
.avatar-pill {
  width: 40px;
  padding: 0;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--uv), var(--hot));
  color: #fff;
  border: 0;
}

/* ── Generated posters ──────────────────────────────────────────────── */
.poster {
  position: relative;
  overflow: hidden;
  background-color: #111;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.poster.gen {
  background-image:
    radial-gradient(120% 90% at var(--p-x, 30%) var(--p-y, 20%), var(--p-a) 0%, transparent 58%),
    radial-gradient(110% 100% at calc(100% - var(--p-x, 30%)) 100%, var(--p-b) 0%, transparent 62%),
    linear-gradient(160deg, color-mix(in srgb, var(--p-b) 55%, #0a0a0c), #0a0a0c);
}
/* Film grain over every poster, photo or not — makes them feel printed. */
.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Legibility scrim for whatever text sits at the bottom. */
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 28%, transparent 45%, rgba(0, 0, 0, 0.82) 100%);
}
.poster > * {
  position: relative;
  z-index: 1;
}
.poster-glyph {
  position: absolute !important;
  right: -6%;
  top: 4%;
  z-index: 0 !important;
  font-size: clamp(120px, 42vw, 240px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-weight: 800;
  pointer-events: none;
  transform: rotate(-8deg);
}

/* ── Discover feed ──────────────────────────────────────────────────── */
.feed {
  padding-top: env(safe-area-inset-top, 0px);
  animation: v-rise 0.45s var(--ease) backwards;
}
@keyframes v-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.feed-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 18px 12px;
  margin-top: calc(-1 * env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, var(--bg) 55%, color-mix(in srgb, var(--bg) 0%, transparent));
}
.feed-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 800 22px/1 var(--font-display);
  letter-spacing: -0.045em;
  cursor: pointer;
}
.feed-head-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.feed-hero {
  padding: 10px 18px 6px;
}
.feed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12.5px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.feed-h1 {
  margin: 12px 0 18px;
  font: 800 clamp(46px, 13.5vw, 92px) / 0.88 var(--font-display) !important;
  font-variation-settings: "wdth" 78;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}
.feed-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text-muted);
  transition: border-color 0.2s ease;
}
.feed-search:focus-within {
  border-color: var(--text);
}
.feed-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 500 16px var(--font-sans);
  outline: none !important;
}
.feed-search input::placeholder {
  color: var(--text-muted);
}

@keyframes v-marquee {
  to {
    transform: translateX(-33.333%);
  }
}

.feed-section {
  padding: 28px 0 0;
}
.feed-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 18px 14px;
}
.feed-sec-head h2 {
  margin: 0;
  font: 800 28px/1 var(--font-display) !important;
  letter-spacing: -0.035em !important;
}
.feed-count {
  font: 600 12px var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
}
.feed-sticky-filters {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 60px);
  z-index: 40;
  padding: 14px 0 10px;
  background: var(--bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* Poster rail */
.fp-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 18px 6px;
  scroll-padding: 0 18px;
  scrollbar-width: none;
}
.fp-rail::-webkit-scrollbar {
  display: none;
}
.fp-card {
  flex: 0 0 min(64vw, 260px);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.35s var(--spring);
}
.fp-card.xl {
  flex-basis: min(82vw, 340px);
}
@media (hover:hover) and (pointer:fine){.fp-card:hover{
  transform: translateY(-4px) rotate(-0.4deg);
}}
.fp-card:active {
  transform: scale(0.98);
}
.fp-card .poster {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
}
.fp-card.xl .poster {
  aspect-ratio: 4 / 5;
}
.fp-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}
.fp-date,
.fp-hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font: 700 11.5px/1 var(--font-mono);
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.fp-date.live {
  background: var(--hot);
}
.fp-date.live .pulse {
  background: #fff;
}
.fp-hot {
  background: var(--volt);
  color: var(--volt-ink);
}
.fp-cat {
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 6px;
}
.fp-title {
  margin: 0 0 10px;
  font: 800 27px/0.95 var(--font-display) !important;
  font-variation-settings: "wdth" 82;
  letter-spacing: -0.035em !important;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-card.xl .fp-title {
  font-size: 36px !important;
}
.fp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font: 550 13px var(--font-sans);
  opacity: 0.92;
}
.fp-meta span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-price {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: #0b0b0d;
  font: 800 12.5px var(--font-sans);
}

/* List rows */
.fr-list {
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}
.fr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
}
.fr-row + .fr-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 112px;
  right: 8px;
  border-top: 1px solid var(--line-soft);
}
@media (hover:hover) and (pointer:fine){.fr-row:hover{
  background: var(--surface);
}}
.fr-thumb {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: 16px;
}
.fr-thumb .poster-glyph {
  font-size: 64px;
  right: -4px;
  top: 2px;
}
.fr-thumb::after {
  background: none;
}
.fr-body {
  flex: 1;
  min-width: 0;
}
.fr-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 11.5px var(--font-mono);
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 5px;
}
.fr-date.live {
  color: var(--hot-text);
}
.fr-title {
  margin: 0;
  font: 750 18px/1.12 var(--font-display) !important;
  letter-spacing: -0.02em !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fr-venue {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-foot {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.fr-price {
  font: 800 14px var(--font-sans);
}
.fr-price.free {
  color: var(--accent);
}
.fr-chip {
  font: 650 11.5px var(--font-sans);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-soft);
}
.fr-chip.warn {
  background: color-mix(in srgb, var(--hot) 16%, transparent);
  color: var(--hot-text);
}
.fr-go {
  color: var(--text-muted);
  font-size: 18px;
  transition: transform 0.2s var(--ease);
}
@media (hover:hover) and (pointer:fine){.fr-row:hover .fr-go{
  transform: translateX(3px);
  color: var(--text);
}}

.feed-empty {
  margin: 8px 18px;
  padding: 44px 24px;
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--line);
  text-align: center;
}
.feed-empty-art {
  font-size: 54px;
  line-height: 1;
  margin-bottom: 14px;
}
.feed-empty h3 {
  margin: 0 0 8px;
  font: 800 30px/1 var(--font-display) !important;
}
.feed-empty p {
  margin: 0 auto 22px;
  max-width: 34ch;
  color: var(--text-muted);
  line-height: 1.5;
}
.feed-empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.feed-host-cta {
  margin: 36px 18px 0;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: var(--volt);
  color: var(--volt-ink);
  transition: transform 0.3s var(--spring);
}
@media (hover:hover) and (pointer:fine){.feed-host-cta:hover{
  transform: rotate(-0.6deg) scale(1.01);
}}
.fhc-kicker {
  font: 700 11.5px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 8px;
}
.fhc-title {
  font: 800 25px/1.02 var(--font-display);
  letter-spacing: -0.03em;
}
.fhc-go {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--volt-ink);
  color: var(--volt);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.feed-foot {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 30px 18px 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.feed-foot a {
  color: inherit;
}

/* ── Event page ─────────────────────────────────────────────────────── */
.ev-page {
  animation: v-rise 0.4s var(--ease) backwards;
  padding-bottom: 110px;
}
.ev-hero {
  min-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
@media (min-width: 761px) {
  .ev-page {
    padding-top: 16px;
  }
  .ev-hero {
    border-radius: var(--r-xl);
    min-height: 560px;
  }
}
.ev-hero-bar {
  display: flex;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
}
.glass-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--spring);
}
.glass-btn:active {
  transform: scale(0.92);
}
.ev-hero-foot {
  padding: 0 20px 26px;
}
.ev-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ev-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font: 700 11.5px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.ev-tag.live {
  background: var(--hot);
}
.ev-tag.live .pulse {
  background: #fff;
}
.ev-tag.hot {
  background: var(--volt);
  color: var(--volt-ink);
}
.ev-title {
  margin: 0;
  font: 800 clamp(44px, 12.5vw, 84px) / 0.9 var(--font-display) !important;
  font-variation-settings: "wdth" 78;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.ev-body {
  padding: 8px 18px 0;
}
.ev-facts {
  display: flex;
  flex-direction: column;
  margin: 16px 0 8px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ev-fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}
.ev-fact + .ev-fact {
  border-top: 1px solid var(--line-soft);
}
@media (hover:hover) and (pointer:fine){a.ev-fact:hover{
  background: var(--surface-2);
}}
.ev-datebox,
.ev-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
}
.ev-datebox {
  background: var(--cta-bg);
  color: var(--cta-fg);
  align-content: center;
  gap: 1px;
}
.ev-datebox b {
  font: 800 21px/1 var(--font-display);
}
.ev-datebox span {
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
}
.ev-fact-main {
  font-weight: 700;
  font-size: 15.5px;
}
.ev-fact-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 2px;
}
.ev-fact-go {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 18px;
}
.ev-host-row {
  padding: 10px 2px;
}
.ev-host-row .detail-host-byline {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-soft);
  opacity: 1 !important;
}
.ev-host-row .host-byline-link {
  font-weight: 750 !important;
  color: var(--text) !important;
}
.ev-host-row .btn-follow-host {
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: var(--text) !important;
  color: var(--bg) !important;
  border: 0 !important;
  font: 700 13.5px var(--font-sans) !important;
}
.ev-host-row .btn-follow-host.following {
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.ev-block {
  padding: 22px 2px 4px;
  border-top: 1px solid var(--line-soft);
  margin-top: 12px;
}
.ev-h2 {
  margin: 0 0 12px;
  font: 800 23px/1 var(--font-display) !important;
  letter-spacing: -0.03em !important;
}
html body .ev-desc {
  font-size: 16px !important;
  line-height: 1.62 !important;
  color: var(--text-soft) !important;
  margin: 0 !important;
}
.ev-going-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.ev-cap {
  font: 700 12px var(--font-mono);
  color: var(--text-muted);
}
.ev-meter {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 2px 0 14px;
}
.ev-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--volt), var(--hot));
  border-radius: inherit;
}
.ev-faces {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ev-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 12.5px var(--font-sans);
  color: #fff;
  background: linear-gradient(135deg, var(--uv), var(--hot));
}
.ev-face:nth-child(3n + 2) {
  background: linear-gradient(135deg, #16a37f, #3da9ff);
}
.ev-face:nth-child(3n) {
  background: linear-gradient(135deg, #ff8a3d, #ff2e63);
}
.ev-face.more {
  background: var(--surface-2);
  color: var(--text);
}
.ev-muted {
  color: var(--text-muted);
  font-size: 14px;
}
.ev-owner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sticky buy bar — sits just above the floating dock */
.ev-buybar {
  position: fixed;
  z-index: 1100;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 84px);
  width: min(736px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: v-rise 0.5s 0.1s var(--ease) backwards;
}
.ev-buy-price {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.ev-buy-label {
  font: 600 11px var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ev-buy-price b {
  font: 800 24px var(--font-display);
  letter-spacing: -0.03em;
}
.ev-buy-cta {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.ev-buy-cta .v-btn {
  min-height: 50px;
}
.ev-buy-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ev-buy-link {
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: underline;
  margin-top: 4px;
  cursor: pointer;
}
.ev-notice {
  padding: 15px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
}
.ev-notice.danger {
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color: var(--danger);
}

/* ── Generic pages (account, wallet, calendar, host, admin) ─────────── */
.v-page {
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 0 0;
  animation: v-rise 0.4s var(--ease) backwards;
}
.v-page-head {
  margin: 8px 2px 22px;
}
.v-kicker {
  font: 700 12px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.v-h1 {
  margin: 8px 0 6px;
  font: 800 clamp(44px, 12vw, 72px) / 0.9 var(--font-display) !important;
  font-variation-settings: "wdth" 80;
  letter-spacing: -0.045em !important;
}
.v-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

/* Page gutters: every legacy page gets 18px sides; the feed and event page
   are full-bleed and manage their own. */
html body #view-container {
  padding-left: 18px !important;
  padding-right: 18px !important;
}
html body #app:is([data-view="feed"], [data-view="detail"]) #view-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body #view-container > .back-btn {
  position: relative !important;
  margin: calc(env(safe-area-inset-top, 0px) + 14px) 0 6px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  color: var(--text) !important;
  font-size: 18px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: none !important;
}
html body .connect-header {
  text-align: left !important;
  padding: 18px 0 18px !important;
  margin-top: 0 !important;
}
html body .connect-header h2 {
  font: 800 clamp(40px, 11vw, 64px) / 0.92 var(--font-display) !important;
  font-variation-settings: "wdth" 80;
  letter-spacing: -0.045em !important;
  margin: 0 0 8px !important;
  color: var(--text) !important;
}
html body .connect-header p {
  color: var(--text-muted) !important;
  font-size: 15px !important;
  margin: 0 !important;
}

html body .panel {
  background: var(--surface) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: none !important;
}
html body .panel::before,
html body .panel::after {
  display: none !important;
}

html body .btn:not(.btn-outline):not(.btn-text) {
  background: var(--cta-bg) !important;
  color: var(--cta-fg) !important;
  border-radius: 999px !important;
  min-height: 48px;
  font-family: var(--font-sans) !important;
  font-weight: 750 !important;
}
html body .btn.btn-small:not(.btn-outline):not(.btn-text),
html body .btn-outline.btn-small {
  min-height: 36px;
  padding: 0 14px !important;
}
html body .btn-outline {
  border-radius: 999px !important;
  border: 1.5px solid var(--line) !important;
  color: var(--text) !important;
  min-height: 48px;
}
@media (hover:hover) and (pointer:fine){html body .btn-outline:hover{
  border-color: var(--text-muted) !important;
  background: var(--surface-2) !important;
  color: var(--text) !important;
}}
html body .btn-text {
  color: var(--text-muted) !important;
}

html body :is(.gate-input, .intro-field input, .host-section input, .host-section textarea, .host-section select, input.search-input, .hp-panel input, .hp-panel textarea, .hp-panel select) {
  background: var(--surface-2) !important;
  border: 1.5px solid transparent !important;
  border-radius: 14px !important;
  color: var(--text) !important;
  min-height: 50px;
  font-size: 16px !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}
html body :is(.gate-input, .host-section input, .host-section textarea, .host-section select, .hp-panel input, .hp-panel textarea):focus {
  border-color: var(--text) !important;
  background: var(--surface) !important;
  box-shadow: none !important;
}
html body :is(.gate-label, .intro-field-label, .gate-wrap label) {
  font: 700 11.5px var(--font-mono) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--text-muted) !important;
}

html body .event-badge {
  font: 700 10.5px var(--font-mono) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-radius: 999px !important;
  padding: 5px 9px !important;
}
html body .live-chip {
  color: var(--hot-text) !important;
  font-weight: 800 !important;
}
html body .live-chip .dot {
  background: var(--hot) !important;
}

/* Calendar list / day cards */

html body .empty-state {
  border: 1.5px dashed var(--line) !important;
  border-radius: var(--r-lg) !important;
  background: transparent !important;
  color: var(--text-muted) !important;
  padding: 36px 22px !important;
}

/* Account rows */
html body .prof-action-list {
  background: var(--surface) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--r-lg) !important;
  overflow: hidden;
}
html body .prof-action-row {
  min-height: 62px;
  border-color: var(--line-soft) !important;
}
@media (hover:hover) and (pointer:fine){html body .prof-action-row:hover{
  background: var(--surface-2) !important;
}}
html body .prof-action-label {
  font-weight: 700 !important;
}

/* ── Wallet: ticket stubs ───────────────────────────────────────────── */
.tk {
  margin: 0 0 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  animation: v-rise 0.45s var(--ease) backwards;
}
.tk.past {
  opacity: 0.6;
  filter: grayscale(0.7);
}
.tk-art {
  min-height: 200px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  cursor: pointer;
}
.tk-art .poster-glyph {
  font-size: 170px;
}
.tk-art-foot .fp-date {
  margin-bottom: 10px;
}
.tk-title {
  margin: 0;
  font: 800 32px/0.95 var(--font-display) !important;
  font-variation-settings: "wdth" 82;
  letter-spacing: -0.035em !important;
}
.tk-venue {
  margin-top: 6px;
  font-size: 13.5px;
  opacity: 0.88;
}
.tk-perf {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--line);
  margin: 0 18px;
}
.tk-perf::before,
.tk-perf::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
}
.tk-perf::before {
  left: -31px;
}
.tk-perf::after {
  right: -31px;
}
.tk-stub {
  padding: 16px 18px 18px;
}
.tk-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  margin-bottom: 16px;
}
.tk-row b {
  display: block;
  font-size: 14.5px;
}
.tk-row b.mono {
  font-size: 13px;
  letter-spacing: 0.02em;
}
.tk-lbl {
  display: block;
  font: 600 10.5px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.tk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tk-actions .v-btn {
  min-height: 48px;
  padding: 0 12px;
  font-size: 14.5px;
}
.tk-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}
.tk-links button {
  background: none;
  border: 0;
  color: var(--text-muted);
  font: 650 13px var(--font-sans);
  cursor: pointer;
}
.tk-links button.danger {
  color: var(--danger);
}

/* ── Sign-in sheet ──────────────────────────────────────────────────── */
html body .lp-signup-overlay {
  background: var(--scrim) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  backdrop-filter: blur(18px) !important;
  align-items: flex-end !important;
}
html body .lp-signup-modal {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-xl) var(--r-xl) 0 0 !important;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35) !important;
  padding: 28px 22px calc(env(safe-area-inset-bottom, 0px) + 26px) !important;
  max-width: 520px !important;
  width: 100% !important;
  animation: v-sheet 0.45s var(--ease) both;
}
@media (min-width: 640px) {
  html body .lp-signup-overlay {
    align-items: center !important;
  }
  html body .lp-signup-modal {
    border-radius: var(--r-xl) !important;
  }
}
@keyframes v-sheet {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
html body .lp-signup-modal::before {
  content: "Get in.";
  display: block;
  font: 800 44px/0.9 var(--font-display);
  letter-spacing: -0.045em;
  margin: 2px 0 18px;
  color: var(--text);
}
html body .auth-mode-sel,
html body .gate-type-sel {
  background: var(--surface-2) !important;
  border-radius: 999px !important;
  padding: 4px !important;
  border: 0 !important;
}
html body :is(.auth-mode-btn, .gate-type-btn) {
  border-radius: 999px !important;
  font-weight: 700 !important;
  border: 0 !important;
  color: var(--text-muted) !important;
  background: transparent !important;
}
html body :is(.auth-mode-btn, .gate-type-btn).active {
  background: var(--text) !important;
  color: var(--bg) !important;
}
html body .lp-signup-close {
  border-radius: 50% !important;
  background: var(--surface-2) !important;
  color: var(--text) !important;
}

/* ── Toasts ─────────────────────────────────────────────────────────── */
html body .cu-toast-wrap {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 96px) !important;
}
html body .cu-toast {
  background: var(--text) !important;
  color: var(--bg) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font: 650 14px var(--font-sans) !important;
  padding: 13px 20px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3) !important;
}
html body .cu-toast.error {
  background: var(--danger) !important;
  color: #fff !important;
}
html body .cu-toast.success {
  background: var(--volt) !important;
  color: var(--volt-ink) !important;
}

/* ── Map chrome ─────────────────────────────────────────────────────── */
html body #app.map-home .top-bar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 0 !important;
  height: auto !important;
  align-items: center !important;
  pointer-events: none;
}
html body #app.map-home .top-bar > * {
  pointer-events: auto;
}
html body #app.map-home .logo-wrap {
  display: flex !important;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font: 800 18px var(--font-display);
  letter-spacing: -0.04em;
}
html body #app.map-home .logo-wrap .logo {
  font: inherit !important;
  color: var(--text) !important;
}
@media (max-width: 520px) {
  html body #app.map-home .logo-wrap .logo {
    display: none !important;
  }
  html body #app.map-home .logo-wrap {
    padding: 0 12px;
  }
}
html body #app.map-home .search-input {
  height: 46px !important;
  border-radius: 999px !important;
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 0 18px !important;
  font-size: 15px !important;
  color: var(--text) !important;
}

html body .filter-count-badge {
  background: var(--hot) !important;
  color: #fff !important;
}
html body .map-filters {
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}
html body :is(.map-caption, .map-empty-card) {
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  color: var(--text) !important;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-family: var(--font-sans) !important;
}
html body .map-empty-card {
  border-radius: var(--r-lg) !important;
}
html body .mapboxgl-ctrl-top-right {
  top: calc(env(safe-area-inset-top, 0px) + 70px) !important;
}
html body .mapboxgl-ctrl-group {
  border-radius: 16px !important;
  background: var(--glass) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

/* ── Motion preferences ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Desktop ────────────────────────────────────────────────────────── */
@media (min-width: 761px) {
  .feed-hero,
  .feed-sec-head,
  .feed-head {
    padding-left: 24px;
    padding-right: 24px;
  }
  .fp-rail {
    padding-left: 24px;
    padding-right: 24px;
  }
  .fp-card {
    flex-basis: 240px;
  }
  .fp-card.xl {
    flex-basis: 320px;
  }
}

/* Legacy per-tab ambient glows behind #app — replaced by poster colour. */
html body #app::before,
html body #app::after {
  display: none !important;
}

/* The legacy view-enter animation transforms #view-container, which makes
   it the containing block for position:fixed children (the buy bar). Pages
   animate themselves now (v-rise), so drop the container transform. */
html body #view-container,
html body #view-container.view-enter {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

/* Loading skeleton */
.fr-row.skel {
  pointer-events: none;
}
.fr-row.skel .fr-thumb,
.fr-row.skel i {
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: v-shimmer 1.3s linear infinite;
}
.fr-row.skel i {
  display: block;
  height: 12px;
  border-radius: 6px;
  margin: 8px 0;
  width: 40%;
}
.fr-row.skel i:nth-child(2) {
  width: 80%;
  height: 16px;
}
.fr-row.skel i:nth-child(3) {
  width: 55%;
}
@keyframes v-shimmer {
  to {
    background-position: -200% 0;
  }
}

/* Event page owns the bottom edge: dock hides, buy bar drops to the floor. */
html body #app[data-view="detail"] .bottom-nav {
  display: none !important;
}
html body #app[data-view="detail"] {
  padding-bottom: 0 !important;
}
.ev-buybar {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}
.ev-page {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 120px);
}

/* Map runs edge to edge under the floating search + dock. */
html body #app.map-home .map-host {
  top: 0 !important;
  bottom: 0 !important;
}
html body .map-host {
  position: fixed !important; /* never let mapbox-gl.css's position:relative win */
  background: var(--bg) !important;
}
html body #app.map-home .map-caption {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 90px) !important;
}

/* Sign up / Log in: segmented pill instead of underline tabs. */
html body .auth-mode-sel {
  display: flex !important;
  gap: 0 !important;
  border-bottom: 0 !important;
  margin: 0 0 12px !important;
}
html body .auth-mode-btn {
  flex: 1;
  height: 42px;
  padding: 0 !important;
  font-size: 14.5px !important;
}
html body .auth-mode-btn::after {
  display: none !important;
}

/* Calendar */

html body .bottom-nav::before,
html body .bottom-nav::after {
  display: none !important;
}

/* ── Booking ────────────────────────────────────────────────────────── */
.tt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1.5px solid var(--line-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s var(--spring);
}
.tt-card:active {
  transform: scale(0.99);
}
.tt-card.on {
  border-color: var(--text);
}
.tt-radio {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: all 0.2s ease;
}
.tt-card.on .tt-radio {
  border: 7px solid var(--cta-bg);
  background: var(--cta-fg);
}
.tt-body {
  flex: 1;
  min-width: 0;
}
.tt-name {
  font-weight: 750;
  font-size: 15.5px;
}
.tt-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.tt-price {
  font: 800 20px var(--font-display);
  letter-spacing: -0.02em;
}
html body .section-title {
  font: 700 11.5px var(--font-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em !important;
  color: var(--text-muted) !important;
  margin: 22px 0 10px !important;
}
html body .section-title::before,
html body .section-title::after {
  display: none !important;
}

/* Desktop: give the feed room for the poster rail. */
@media (min-width: 900px) {
  html body #app[data-view="feed"] #view-container {
    max-width: 1180px !important;
  }
  .fr-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
  .fr-row + .fr-row::before {
    display: none;
  }
}

/* ═══ Map pins: wheatpaste posters ══════════════════════════════════════
   .mp-root / .mc-root are the Mapbox Marker elements — Mapbox owns their
   transform, so every animation lives on the inner .mp / .mc. */
.mp-root,
.mc-root {
  z-index: 1;
}
@media (hover:hover) and (pointer:fine){.mp-root:hover,.mc-root:hover{
  z-index: 4;
}}
.mp-root.selected {
  z-index: 6;
}
.mp,
.mc {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
  animation: mp-in 0.38s var(--delay, 0ms) cubic-bezier(.2,.8,.2,1) both;
  transition:
    transform 0.35s var(--spring),
    opacity 0.3s ease,
    filter 0.3s ease;
}
@keyframes mp-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.6);
  }
}
.leaving > .mp,
.leaving > .mc {
  animation: mp-out 0.2s ease forwards;
}
@keyframes mp-out {
  to {
    opacity: 0;
    transform: translateY(6px) scale(0.5);
  }
}

/* Pin: tilted poster tile on a sticker border, with a tail at the venue */
.mp {
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 100%;
}
.mp-tile {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  border: 3px solid #fff;
  box-shadow:
    0 10px 24px -8px rgba(0, 0, 0, 0.65),
    0 2px 6px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
  color: #fff;
  transition:
    width 0.35s var(--spring),
    height 0.35s var(--spring),
    border-radius 0.35s var(--spring),
    border-width 0.35s ease,
    box-shadow 0.3s ease;
}
.mp-tile::after {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35));
}
.mp-glyph {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  transition: opacity 0.2s ease, transform 0.35s var(--spring);
}
.mp-tail {
  width: 12px;
  height: 8px;
  margin-top: -1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: opacity 0.2s ease, height 0.3s ease;
}
@media (hover:hover) and (pointer:fine){.mp:hover{
  transform: rotate(0deg) translateY(-4px) scale(1.1);
}}
@media (hover:hover) and (pointer:fine){.mp:hover .mp-glyph{
  transform: scale(1.15) rotate(-8deg);
}}
.mp:active {
  transform: rotate(0deg) scale(0.94);
}

/* Multi-event venue: count badge + a second card peeking behind */
.mp.is-multi .mp-tile {
  box-shadow:
    5px -5px 0 -1px color-mix(in srgb, #fff 92%, transparent),
    0 10px 24px -8px rgba(0, 0, 0, 0.65);
}
.mp-count {
  position: absolute;
  top: -9px;
  right: -11px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  font: 800 12px/22px var(--font-sans);
  box-shadow: 0 0 0 2.5px #0b0b0d;
  transition: transform 0.3s var(--spring);
}

/* Live: hot ring breathing out from the tile, LIVE tag */
.mp-ring {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  border-radius: 17px;
  border: 2.5px solid var(--hot);
  animation: mp-ring 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes mp-ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}
.mp.is-live .mp-tile {
  border-color: var(--hot);
}
.mp.is-live .mp-tail {
  background: var(--hot);
}
.mp-live {
  position: absolute;
  top: -9px;
  left: -10px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--hot);
  color: #fff;
  font: 800 9px/1 var(--font-mono);
  letter-spacing: 0.06em;
  transform: rotate(-8deg);
  box-shadow: 0 0 0 2px #0b0b0d;
}

/* Time · price label — street-level zoom (or hover) */
.mp-label {
  position: absolute;
  left: calc(100% + 6px);
  top: 13px;
  white-space: nowrap;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--text);
  font: 600 11.5px/1 var(--font-sans);
  opacity: 0;
  transform: translateX(-6px) rotate(calc(-1 * var(--tilt, 0deg)));
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--spring);
}
.mp-label b {
  font: 700 11px var(--font-mono);
}
.mp.is-live .mp-label b {
  color: var(--hot-text);
}
.z-near .mp-label{
  opacity: 1;
  transform: translateX(0) rotate(calc(-1 * var(--tilt, 0deg)));
}
@media (hover:hover) and (pointer:fine){.mp:hover .mp-label{
  opacity: 1;
  transform: translateX(0) rotate(calc(-1 * var(--tilt, 0deg)));
}}

/* Level of detail — zoomed out, posters shrink to bright dots */
.z-far .mp-tile {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border-width: 2.5px;
}
.z-far .mp-glyph,
.z-far .mp-label {
  opacity: 0;
}
.z-far .mp-tail {
  opacity: 0;
  height: 0;
}
.z-far .mp-ring {
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
}
.z-far .mp-live {
  display: none;
}
.z-far .mp-count {
  transform: scale(0.75) translate(-4px, 4px);
}

/* Selection: chosen poster springs up, everything else steps back */
.selected > .mp {
  transform: rotate(0deg) translateY(-8px) scale(1.28);
}
.selected .mp-tile {
  border-color: var(--volt);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--volt) 35%, transparent),
    0 16px 30px -8px rgba(0, 0, 0, 0.7);
}
.selected .mp-tail {
  background: var(--volt);
}
/* (Other pins stay at full strength while one is selected — the selected
   pin's spring + Volt border is enough to pick it out.) */

/* Cluster: a stack of the real posters inside it + Volt count */
.mc-stack {
  position: relative;
  width: var(--mc, 46px);
  height: var(--mc, 46px);
  display: block;
}
.mc-sm {
  --mc: 40px;
}
.mc-md {
  --mc: 48px;
}
.mc-lg {
  --mc: 56px;
}
.mc-xl {
  --mc: 64px;
}
.mc-card {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  border: 2.5px solid #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--spring);
}
.mc-card::after {
  display: none;
}
.mc-card:nth-child(1) {
  transform: rotate(-16deg) translate(-11px, 3px);
}
.mc-card:nth-child(2) {
  transform: rotate(13deg) translate(11px, 2px);
}
.mc-card:nth-child(3) {
  transform: rotate(-1deg);
}
@media (hover:hover) and (pointer:fine){.mc:hover .mc-card:nth-child(1){
  transform: rotate(-22deg) translate(-14px, 3px);
}}
@media (hover:hover) and (pointer:fine){.mc:hover .mc-card:nth-child(2){
  transform: rotate(18deg) translate(14px, 2px);
}}
@media (hover:hover) and (pointer:fine){.mc:hover .mc-card:nth-child(3){
  transform: translateY(-5px) scale(1.05);
}}
.mc:active {
  transform: scale(0.92);
}
.mc-count {
  position: absolute;
  right: -12px;
  bottom: -8px;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  font: 800 14px/30px var(--font-display);
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 3px #0b0b0d, 0 6px 14px rgba(0, 0, 0, 0.4);
}
.mc-live {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--hot);
  color: #fff;
  font: 800 9.5px/1 var(--font-mono);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 2px #0b0b0d;
}
.mc-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: v-blink 1.2s ease-in-out infinite;
}
@keyframes v-blink {
  50% {
    opacity: 0.25;
  }
}

/* Card sheet that opens when a pin is tapped */
.map-cards {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
}
.map-cards.in {
  pointer-events: auto;
  animation: mcard-in 0.45s var(--spring) forwards;
}
.map-cards.out {
  animation: mcard-out 0.22s ease forwards;
}
@keyframes mcard-in {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes mcard-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(24px);
  }
}
.mcard-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 12px 4px;
  scroll-padding: 0 12px;
  scrollbar-width: none;
  max-width: 584px;
  margin: 0 auto;
}
.mcard-rail::-webkit-scrollbar {
  display: none;
}
.mcard {
  flex: 0 0 calc(100% - 24px);
  max-width: 560px;
  scroll-snap-align: center;
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.25s var(--spring);
}
.mcard-rail .mcard:only-child {
  flex-basis: 100%;
}
.mcard:active {
  transform: scale(0.98);
}
.mcard-art {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 16px;
}
.mcard-art .poster-glyph {
  font-size: 70px;
}
.mcard-art::after {
  display: none;
}
.mcard-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mcard-title {
  margin: 0;
  font: 750 18px/1.12 var(--font-display) !important;
  letter-spacing: -0.02em !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.mcard-go {
  font: 700 13px var(--font-sans);
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
}
#app:has(#main-map.has-selection) .map-caption {
  opacity: 0 !important;
  pointer-events: none;
}
/* Light theme: white sticker edge on the badges reads better on the pale day map */
html[data-theme="light"] :is(.mp-count, .mp-live, .mc-count, .mc-live) {
  box-shadow: 0 0 0 2.5px #fff;
}
@media (prefers-reduced-motion: reduce) {
  .mp-ring {
    animation: none;
    transform: scale(1.3);
    opacity: 0.5;
  }
}

/* Mapbox logo + attribution must stay visible — lift them above the dock. */
html body #app.map-home .mapboxgl-ctrl-bottom-left,
html body #app.map-home .mapboxgl-ctrl-bottom-right {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 86px) !important;
}
html body #app.map-home:has(#main-map.has-selection) :is(.mapboxgl-ctrl-bottom-left, .mapboxgl-ctrl-bottom-right) {
  opacity: 0;
}

/* ═══ Scrollbars & gutters ══════════════════════════════════════════════
   Rounded scroll containers (sheets, dropdowns, text areas) used to draw a
   square 8px bar straight down their right edge, through the rounded
   corners and outside the card's own padding. Now: a slim pill thumb, inset
   from the edge, with the track kept clear of the corner radius. */
html body :is(.lp-signup-modal, .admin-auth-modal, .attendee-peek-sheet, .map-filters, #autocomplete-results, textarea, .gate-wrap)::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}
html body :is(.lp-signup-modal, .admin-auth-modal, .attendee-peek-sheet, .map-filters, #autocomplete-results, textarea, .gate-wrap)::-webkit-scrollbar-thumb {
  background: var(--line);
  border: 3px solid transparent; /* insets the pill from the edge */
  background-clip: padding-box;
  border-radius: 999px;
}
html body :is(.lp-signup-modal, .admin-auth-modal, .attendee-peek-sheet, .map-filters)::-webkit-scrollbar-track {
  margin: 30px 0; /* keep the track inside the rounded corners */
}
html body :is(#autocomplete-results, textarea)::-webkit-scrollbar-track {
  margin: 10px 0;
}
html body :is(.lp-signup-modal, .admin-auth-modal, .attendee-peek-sheet, .map-filters, #autocomplete-results, textarea)::-webkit-scrollbar-corner {
  background: transparent;
}
/* Firefox has no ::-webkit-scrollbar — give it the thin themed bar. */
@supports not selector(::-webkit-scrollbar) {
  html body :is(.lp-signup-modal, .admin-auth-modal, .attendee-peek-sheet, .map-filters, #autocomplete-results, textarea) {
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
}
/* Page scrollbar (desktop): same slim inset pill. */
html::-webkit-scrollbar {
  width: 12px;
  background: var(--bg);
}
html::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border: 3px solid var(--bg);
  border-radius: 999px;
}

/* Horizontal card rows: swipe, no bar, and bleed to the page edge so the
   first card lines up with the page gutter and the last one isn't clipped
   mid-card by the container. */

/* Sheets: content never runs under the rounded corners' curve. */
html body .lp-signup-modal {
  max-height: min(92dvh, 760px) !important;
  overscroll-behavior: contain;
}
html body .map-filters {
  max-height: calc(100dvh - var(--top-h) - 120px) !important;
  overscroll-behavior: contain;
}

/* Map filter dropdown chips → same language as the feed chips */
html body .map-filters .mchip {
  height: 36px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--line) !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 650 13px var(--font-sans) !important;
  box-shadow: none !important;
}
html body .map-filters .mchip.active {
  background: var(--text) !important;
  color: var(--bg) !important;
  border-color: var(--text) !important;
}
html body .map-filters .mchip.active span {
  color: var(--bg) !important;
}
html body .map-filters .filter-group-title {
  font: 700 11px var(--font-mono) !important;
  letter-spacing: 0.08em !important;
  color: var(--text-muted) !important;
}

/* ── Host profile ───────────────────────────────────────────────────── */
html body .host-profile-cover:not([style]) {
  background:
    radial-gradient(120% 140% at 15% 0%, var(--volt) 0%, transparent 55%),
    radial-gradient(120% 140% at 100% 100%, var(--uv) 0%, transparent 60%),
    linear-gradient(135deg, #1a1a22, #0b0b0d) !important;
}
html body .host-profile-cover {
  border-radius: var(--r-lg) !important;
  height: 140px !important;
}
html body .host-profile-avatar:not(.host-profile-avatar-photo) {
  background: linear-gradient(135deg, var(--uv), var(--hot)) !important;
  color: #fff !important;
  font-family: var(--font-display) !important;
}
html body .host-profile-avatar {
  border: 4px solid var(--bg) !important;
  box-shadow: none !important;
}
html body .host-stat {
  background: var(--surface) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: var(--r-md) !important;
}
html body .host-stat-num {
  font: 800 26px/1 var(--font-display) !important;
  color: var(--text) !important;
}
html body .host-stat-label {
  font: 600 10.5px var(--font-mono) !important;
  letter-spacing: 0.06em !important;
}

/* ── Calendar list cards: generated posters, not empty boxes ─────────── */
/* Segmented controls: never wrap a label onto two lines */

/* ── Become-a-host brochure: off the old gold, onto the new palette ──── */

/* Account details: the "Add a photo" link isn't a boxed button */
html body .btn-text {
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Settings dropdown (home header) ────────────────────────────────── */
.feed-head {
  position: sticky;
}
.settings-btn {
  appearance: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--cta-bg);
  color: var(--cta-fg);
  cursor: pointer;
  transition: transform 0.25s var(--spring);
}
.settings-btn:active {
  transform: scale(0.92);
}
.settings-btn.on svg {
  transform: rotate(90deg);
}
.settings-btn svg {
  transition: transform 0.3s var(--spring);
}
.feed-settings {
  position: absolute;
  top: calc(100% - 4px);
  right: 14px;
  width: min(320px, calc(100% - 28px));
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.2s ease,
    transform 0.3s var(--spring),
    visibility 0s linear 0.3s;
}
.feed-settings.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.2s ease,
    transform 0.35s var(--spring),
    visibility 0s;
}
.set-group-title {
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 2px 4px 10px;
}
.set-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.set-opt {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover:hover) and (pointer:fine){.set-opt:hover{
  background: var(--surface-2);
}}
.set-ic {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--text-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.set-opt.on .set-ic {
  background: var(--cta-bg);
  color: var(--cta-fg);
}
.set-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.set-txt b {
  font: 700 15px var(--font-sans);
}
.set-txt span {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}
.set-check {
  color: var(--accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.3s var(--spring);
}
.set-opt.on .set-check {
  opacity: 1;
  transform: none;
}
@media (min-width: 761px) {
  .feed-settings {
    right: 24px;
  }
}
/* Smooth cross-fade while switching theme */
html.theme-switching,
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    fill 0.35s ease !important;
}

/* ── Host form map: themed picker + live poster-pin preview ─────────── */
html body #host-map-picker {
  border-radius: var(--r-md) !important;
  overflow: hidden;
  border: 1px solid var(--line) !important;
  height: 260px;
}
.host-preview-pin {
  cursor: grab;
}
.host-preview-pin.dragging {
  cursor: grabbing;
}
.host-preview-pin.dragging > .mp {
  transform: rotate(0deg) translateY(-14px) scale(1.12);
}
.host-preview-pin.dragging .mp-tile {
  box-shadow: 0 26px 30px -10px rgba(0, 0, 0, 0.55);
}
.host-preview-pin.dropped > .mp {
  animation: mp-drop 0.5s var(--spring);
}
@keyframes mp-drop {
  0% {
    transform: translateY(-18px) scale(1.08);
  }
  100% {
    transform: rotate(-3deg);
  }
}
#app[data-view="host"] .mapboxgl-ctrl-group {
  border-radius: 12px !important;
}

/* ═══ Host info page (.hx) ═══════════════════════════════════════════ */
html body #app:has(.hx) #view-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 900px !important;
}
html body #app:has(.hx) .bottom-nav {
  display: none !important;
}
html body #app:has(.hx) {
  padding-bottom: 0 !important;
}
.hx {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 120px);
  overflow-x: clip;
}

/* Hero: Volt slab with a drifting wall of posters */
.hx-hero {
  position: relative;
  min-height: min(86vh, 700px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--uv) 55%, transparent), transparent 60%),
    var(--volt);
  color: var(--volt-ink);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 761px) {
  .hx {
    padding-top: 16px;
  }
  .hx-hero {
    border-radius: var(--r-xl);
    min-height: 600px;
  }
}
.hx-wall {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hx-poster {
  position: absolute;
  top: -10%;
  width: clamp(110px, 30vw, 170px);
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  border: 4px solid #fff;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--r));
  opacity: 0;
  animation:
    hx-paste 0.9s calc(var(--i) * 120ms + 150ms) var(--spring) forwards,
    hx-drift 9s calc(var(--i) * -1.7s) ease-in-out infinite alternate;
}
.hx-poster:nth-child(odd) {
  top: 2%;
}
.hx-poster:nth-child(3) {
  top: 16%;
}
.hx-poster .poster-glyph {
  font-size: 110px;
}
@keyframes hx-paste {
  from {
    opacity: 0;
    transform: rotate(calc(var(--r) * 3)) translateY(-40px) scale(0.7);
  }
  to {
    opacity: 1;
    transform: rotate(var(--r));
  }
}
@keyframes hx-drift {
  to {
    translate: 0 14px;
    rotate: 2deg;
  }
}
.hx-hero::after {
  /* fade the poster wall into the volt so copy stays legible */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, var(--volt) 62%);
}
.hx-hero-bar {
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 0;
}
.hx-hero-copy {
  padding: 0 22px 30px;
  animation: v-rise 0.6s 0.35s var(--ease) backwards;
}
.hx-kicker {
  font: 700 12px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 10px;
}
.hx-kicker.dark {
  color: var(--accent);
  opacity: 1;
}
.hx-h1 {
  margin: 0 0 14px;
  font: 800 clamp(64px, 19vw, 128px) / 0.84 var(--font-display) !important;
  font-variation-settings: "wdth" 76;
  letter-spacing: -0.05em !important;
  color: var(--volt-ink) !important;
}
.hx-lede {
  margin: 0 0 22px;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 550;
}
.hx-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hx-hero .v-btn {
  background: var(--volt-ink);
  color: var(--volt);
}
.hx-hero .v-btn.hx-ghost {
  background: transparent;
  color: var(--volt-ink);
  box-shadow: inset 0 0 0 1.5px rgba(11, 13, 2, 0.35);
}

/* Ticker */
.hx-ticker {
  margin-top: 22px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hx-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: v-marquee 26s linear infinite;
}
.hx-ticker-track span {
  padding: 14px 18px;
  font: 800 18px var(--font-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hx-ticker-track i {
  font-style: normal;
  color: var(--accent);
}

/* Sections */
.hx-sec {
  padding: 40px 18px 0;
}
.hx-h2 {
  margin: 0 0 20px;
  font: 800 clamp(36px, 10vw, 60px) / 0.95 var(--font-display) !important;
  font-variation-settings: "wdth" 80;
  letter-spacing: -0.045em !important;
}
.hx-h2 em {
  font-style: normal;
  color: var(--text-muted);
}

/* Scroll reveal */
.hx-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s var(--ease) var(--d, 0ms),
    transform 0.7s var(--spring) var(--d, 0ms);
}
.hx-reveal.in {
  opacity: 1;
  transform: none;
}

.hx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hx-stats > div {
  padding: 18px 14px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.hx-stats b {
  display: block;
  white-space: nowrap;
  font: 800 clamp(22px, 6.6vw, 40px) / 1 var(--font-display);
  letter-spacing: -0.04em;
}
.hx-stats span {
  display: block;
  margin-top: 6px;
  font: 700 10.5px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hx-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 620px) {
  .hx-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hx-card {
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition:
    opacity 0.6s var(--ease) var(--d, 0ms),
    transform 0.7s var(--spring) var(--d, 0ms),
    border-color 0.25s ease;
}
@media (hover:hover) and (pointer:fine){.hx-card:hover{
  border-color: var(--line);
}}
@media (hover:hover) and (pointer:fine){.hx-card.in:hover{
  transform: translateY(-3px);
}}
.hx-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cta-bg);
  color: var(--cta-fg);
  margin-bottom: 14px;
  transition: transform 0.35s var(--spring);
}
@media (hover:hover) and (pointer:fine){.hx-card:hover .hx-ic{
  transform: rotate(-8deg) scale(1.08);
}}
.hx-card h3 {
  margin: 0 0 6px;
  font: 750 19px/1.15 var(--font-display) !important;
  letter-spacing: -0.02em !important;
}
.hx-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* The maths */
.hx-money {
  margin: 40px 12px 0;
  padding: 30px 20px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(100% 70% at 100% 0%, color-mix(in srgb, var(--uv) 30%, transparent), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-soft);
}
.hx-receipt {
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px dashed var(--line);
  padding: 6px 16px;
  font-size: 15px;
}
.hx-receipt > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.hx-receipt > div + div {
  border-top: 1px solid var(--line-soft);
}
.hx-receipt b {
  font: 700 15px var(--font-mono);
}
.hx-receipt .tot b {
  font-size: 20px;
  color: var(--accent);
}
.hx-receipt .tot span {
  font-weight: 750;
}
.hx-receipt .note span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Steps */
.hx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hx-steps li {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.hx-num {
  flex-shrink: 0;
  font: 800 34px/1 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--accent);
  min-width: 52px;
}
.hx-steps h3 {
  margin: 2px 0 6px;
  font: 750 20px/1.1 var(--font-display) !important;
}
.hx-steps p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.hx-quote {
  font: 700 clamp(22px, 6vw, 32px) / 1.2 var(--font-display);
  letter-spacing: -0.025em;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
}

/* Sticky CTA bar (dock hidden on this page) */
.hx-bar {
  position: fixed;
  z-index: 1100;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  width: min(736px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: v-rise 0.5s 0.5s var(--ease) backwards;
}
.hx-bar-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}
.hx-bar-copy b {
  font: 800 18px var(--font-display);
}
.hx-bar-copy span {
  font-size: 12px;
  color: var(--text-muted);
}
.hx-bar .v-btn {
  flex: 1;
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hx-reveal {
    opacity: 1;
    transform: none;
  }
  .hx-poster {
    opacity: 1;
    animation: none;
  }
}

/* Host application form: category chips match the rest of the app */
html body .host-cat-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}
html body .host-cat-chip {
  height: 38px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--line) !important;
  background: transparent !important;
  color: var(--text) !important;
  font: 650 13.5px var(--font-sans) !important;
  box-shadow: none !important;
  transition: all 0.2s var(--ease) !important;
}
html body .host-cat-chip.active {
  background: var(--text) !important;
  color: var(--bg) !important;
  border-color: var(--text) !important;
}
html body .host-notice {
  border-radius: var(--r-md) !important;
}

/* ═══ Map Filters pill ══════════════════════════════════════════════════ */
html body #app.map-home .filter-toggle-btn.flt-btn {
  position: relative;
  width: auto !important;
  height: 46px !important;
  padding: 0 16px 0 14px !important;
  gap: 8px;
  display: inline-flex !important;
  align-items: center;
  border-radius: 999px !important;
  background: var(--cta-bg) !important;
  color: var(--cta-fg) !important;
  border: 0 !important;
  flex-shrink: 0;
  font: 750 14.5px var(--font-sans) !important;
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--volt) 55%, transparent) !important;
  transition: transform 0.25s var(--spring), box-shadow 0.25s ease !important;
}
@media (hover:hover) and (pointer:fine){html body #app.map-home .flt-btn:hover{
  transform: translateY(-1px);
}}
html body #app.map-home .flt-btn:active {
  transform: scale(0.94);
}
/* sliders: knobs glide when the panel opens */
.flt-ic .k {
  fill: var(--cta-bg);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s var(--spring);
}
.flt-btn.active .k1{
  transform: translateX(7px);
}
@media (hover:hover) and (pointer:fine){.flt-btn:hover .k1{
  transform: translateX(7px);
}}
.flt-btn.active .k2{
  transform: translateX(-7px);
}
@media (hover:hover) and (pointer:fine){.flt-btn:hover .k2{
  transform: translateX(-7px);
}}
.flt-btn.active .k3{
  transform: translateX(5px);
}
@media (hover:hover) and (pointer:fine){.flt-btn:hover .k3{
  transform: translateX(5px);
}}
.flt-btn.active {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--volt) 30%, transparent) !important;
}
/* count badge */
html body .flt-btn .filter-count-badge {
  position: static !important;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--hot) !important;
  color: #fff !important;
  font: 800 11.5px/20px var(--font-sans) !important;
  box-shadow: none !important;
  border: 0 !important;
  margin: 0 -4px 0 0;
}
.filter-count-badge.pop {
  animation: flt-pop 0.45s var(--spring);
}
@keyframes flt-pop {
  0% {
    transform: scale(0.4);
  }
  60% {
    transform: scale(1.25);
  }
}
/* first visit: pulse ring + hint bubble */
.flt-btn.hint {
  animation: flt-nudge 1.2s ease-in-out 2;
}
.flt-btn.hint::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  border: 2px solid var(--volt);
  animation: flt-ring 1.2s ease-out 3;
  pointer-events: none;
}
@keyframes flt-ring {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(1.35, 1.6);
    opacity: 0;
  }
}
@keyframes flt-nudge {
  0%,
  100% {
    transform: none;
  }
  20% {
    transform: rotate(-4deg) scale(1.04);
  }
  40% {
    transform: rotate(4deg) scale(1.04);
  }
  60% {
    transform: rotate(0) scale(1);
  }
}
.flt-hint {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  font: 650 13px var(--font-sans);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  animation: v-rise 0.4s var(--spring) backwards;
}
.flt-hint::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 26px;
  width: 12px;
  height: 12px;
  background: var(--text);
  transform: rotate(45deg);
  border-radius: 2px;
}
.flt-hint.out {
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s ease;
}
/* narrow phones: keep the label, tighten the search */
@media (max-width: 380px) {
  html body #app.map-home .flt-btn {
    padding: 0 13px 0 12px !important;
  }
}

/* Panel: springs down from the pill, chips cascade in */
html body .map-filters {
  transform-origin: top right;
}
html body .map-filters.open {
  animation: flt-panel 0.42s var(--spring) both;
}
@keyframes flt-panel {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
  }
}
.map-filters.anim .mchip {
  animation: flt-chip 0.4s calc(var(--i, 0) * 22ms + 80ms) var(--spring) both;
}
@keyframes flt-chip {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }
}
html body .map-filters .mchip {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s var(--spring) !important;
}
html body .map-filters .mchip:active {
  transform: scale(0.93);
}
.flt-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.flt-clear {
  appearance: none;
  border: 0;
  background: none;
  color: var(--text);
  font: 700 14px var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 4px;
  cursor: pointer;
}
.flt-clear[disabled] {
  color: var(--text-muted);
  text-decoration: none;
  cursor: default;
}
.flt-show {
  flex: 1;
  min-height: 46px;
}

/* Settings cog (home header): outlined, so it never reads as the lime
   Filters pill on the map */
html body .settings-btn {
  background: var(--glass) !important;
  color: var(--text) !important;
  border: 1.5px solid var(--line) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html body .settings-btn.on {
  background: var(--text) !important;
  color: var(--bg) !important;
  border-color: var(--text) !important;
}
html body .settings-btn svg {
  transition: transform 0.6s var(--spring);
}
@media (hover:hover) and (pointer:fine){html body .settings-btn:hover svg{
  transform: rotate(45deg);
}}
html body .settings-btn.on svg {
  transform: rotate(120deg);
}

/* ═══ Map card sheet: multi-event venues ════════════════════════════════
   One solid panel (not floating text over the map): venue + count, arrows
   with n / N, date tabs showing when each event at this spot happens. */
.map-cards.multi .mcard-rail {
  padding: 0 0 2px;
  margin: 0;
  max-width: none;
  scroll-padding: 0;
}
.mcard-panel {
  margin: 0 auto;
  width: min(584px, calc(100% - 24px));
  padding: 14px 12px 12px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.mcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 10px;
}
.mcard-where {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mcard-where b {
  font: 800 18px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mcard-where span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 13px var(--font-sans);
  color: var(--text-soft);
}
.mcard-count {
  font-style: normal;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--volt-ink);
  font: 800 12px/22px var(--font-sans);
  text-align: center;
}
.mcard-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.mcard-arrow {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: var(--cta-bg);
  color: var(--cta-fg);
  cursor: pointer;
  transition: transform 0.2s var(--spring), opacity 0.2s ease, background 0.2s ease;
}
.mcard-arrow:active {
  transform: scale(0.9);
}
.mcard-arrow[disabled] {
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: default;
}
.mcard-pos {
  min-width: 42px;
  text-align: center;
  font: 700 13px var(--font-mono);
  color: var(--text);
}
.mcard-dates {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 4px 12px;
  scrollbar-width: none;
}
.mcard-dates::-webkit-scrollbar {
  display: none;
}
.mcard-date {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font: 700 12.5px var(--font-sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mcard-date.on {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.mcard-date.live:not(.on) {
  color: var(--hot-text);
  border-color: color-mix(in srgb, var(--hot) 45%, transparent);
}
.map-cards.multi .mcard {
  flex: 0 0 100%;
  max-width: none;
  background: var(--surface-2);
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0.55;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.35s var(--spring);
}
.map-cards.multi .mcard.on {
  opacity: 1;
  transform: none;
}
.mp-label em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

/* ── Host profile: vertical event blocks (upcoming + past year) ─────── */
.hp-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 30px 2px 10px;
}
.hp-sec-head h3 {
  margin: 0;
  font: 800 26px/1 var(--font-display) !important;
  letter-spacing: -0.035em !important;
}
.hp-sec-head span {
  font: 600 12px var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
}
html body #view-container .hp-list {
  padding: 0;
  margin: 0 -8px;
}
.hp-past .fr-row {
  opacity: 0.78;
}
@media (hover:hover) and (pointer:fine){.hp-past .fr-row:hover{
  opacity: 1;
}}
.hp-past .fr-thumb {
  filter: saturate(0.55);
}
.hp-past .fr-date {
  color: var(--text-muted);
}
.hp-hidden {
  display: none !important;
}
.hp-more {
  margin-top: 8px;
}
.hp-empty {
  margin: 0;
  padding: 28px 20px;
}
.hp-empty h3 {
  font-size: 24px !important;
}
.hp-empty p {
  margin-bottom: 0;
}
.hp-none {
  padding: 18px 4px;
  color: var(--text-muted);
  font-size: 14px;
}
.fr-chip.tag {
  background: color-mix(in srgb, var(--volt) 22%, transparent);
  color: var(--accent);
  font-weight: 750;
}
html[data-theme="light"] .fr-chip.tag {
  background: color-mix(in srgb, var(--volt) 55%, transparent);
  color: var(--volt-ink);
}

/* Host profile header: small inline Reviewed pill + a proper Follow button */
html body .host-profile-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 14px;
}
html body .host-profile-identity h2 {
  font: 800 clamp(28px, 8vw, 40px) / 1 var(--font-display) !important;
  letter-spacing: -0.04em !important;
  margin: 0 0 8px !important;
}
html body .host-profile-identity .host-reviewed-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  margin-left: 6px;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--success) 16%, transparent) !important;
  color: var(--success) !important;
  font: 700 11.5px/1 var(--font-sans) !important;
  letter-spacing: 0 !important;
}
html body .host-profile-identity p {
  margin: 0 !important;
  color: var(--text-muted) !important;
  font-size: 14px !important;
}
html body .host-profile-header .btn-follow-host {
  flex-shrink: 0;
  height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--cta-bg) !important;
  color: var(--cta-fg) !important;
  font: 750 14.5px var(--font-sans) !important;
  box-shadow: none !important;
  transition: transform 0.2s var(--spring) !important;
}
html body .host-profile-header .btn-follow-host:active {
  transform: scale(0.95);
}
html body .host-profile-header .btn-follow-host.following {
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1.5px var(--line) !important;
}

/* ── Event page: "Hosted by" host card ───────────────────────────────── */
html body .ev-host-row .host-card,
html body .host-card {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  opacity: 1 !important;
}
.host-card-main {
  appearance: none;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover:hover) and (pointer:fine){.host-card-main:hover{
  background: var(--surface-2);
}}
@media (hover:hover) and (pointer:fine){.host-card-main:hover .host-card-chev{
  transform: translateX(3px);
}}
.host-card-av {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--uv), var(--hot));
  color: #fff;
  font: 800 15px var(--font-display);
}
.host-card-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}
.host-card-label {
  font: 700 10.5px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.host-card-name {
  margin-top: 3px;
  font: 750 16px var(--font-sans);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.host-card-label .host-reviewed-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  margin-left: 4px;
  padding: 3px 7px !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--success) 16%, transparent) !important;
  color: var(--success) !important;
  font: 700 10px/1 var(--font-sans) !important;
  letter-spacing: 0 !important;
  text-transform: none;
  vertical-align: 1px;
}
.host-card-sub {
  margin-top: 3px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 650;
}
.host-card-chev {
  display: inline-block;
  transition: transform 0.25s var(--spring);
}
html body .host-card .btn-follow-host {
  flex-shrink: 0;
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--text) !important;
  color: var(--bg) !important;
  font: 700 13.5px var(--font-sans) !important;
}
html body .host-card .btn-follow-host.following {
  background: transparent !important;
  color: var(--text) !important;
  box-shadow: inset 0 0 0 1.5px var(--line) !important;
}
html body .ev-host-row {
  padding: 12px 0 4px !important;
}

/* ── Host profile: "Get notified when they post" ─────────────────────── */
.hp-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.hp-notify-row {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0 6px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.25s ease;
}
@media (hover:hover) and (pointer:fine){.hp-notify-row:hover{
  border-color: var(--text-muted);
}}
.hp-notify-row.on {
  border-color: color-mix(in srgb, var(--volt) 60%, transparent);
  background: color-mix(in srgb, var(--volt) 9%, var(--surface));
}
.hp-notify-ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}
.hp-notify-row.on .hp-notify-ic {
  background: var(--cta-bg);
  color: var(--cta-fg);
  animation: hp-ring 0.6s ease;
}
@keyframes hp-ring {
  20% {
    transform: rotate(-14deg);
  }
  40% {
    transform: rotate(12deg);
  }
  60% {
    transform: rotate(-8deg);
  }
  80% {
    transform: rotate(4deg);
  }
}
.hp-notify-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-notify-txt b {
  font: 750 15.5px var(--font-sans);
}
.hp-notify-txt span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.35;
}
.hp-notify-switch {
  width: 46px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--surface-3);
  position: relative;
  transition: background 0.25s ease;
}
.hp-notify-switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s var(--spring);
}
.hp-notify-row.on .hp-notify-switch {
  background: var(--volt);
}
.hp-notify-row.on .hp-notify-switch i {
  background: var(--volt-ink);
}
.hp-notify-row.on .hp-notify-switch i {
  transform: translateX(18px);
}

/* ── Discover: "New from hosts you follow" ──────────────────────────── */
.feed-followed .feed-sec-head h2 {
  font-size: 22px !important;
}
.ff-bell {
  display: inline-block;
  animation: hp-ring 0.8s 0.4s ease;
}
.feed-followed.out {
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.25s ease;
}
html body .host-card-main,
html body .host-card-main * {
  text-decoration: none !important;
}

/* ═══ Compact Discover ═════════════════════════════════════════════════ */
.feed-hero {
  padding: 2px 18px 0;
}
.feed-kicker {
  font-size: 11.5px;
}
.feed-h1 {
  margin: 8px 0 14px !important;
  font-size: clamp(34px, 9.5vw, 64px) !important;
  line-height: 0.92 !important;
}
.feed-search {
  height: 48px;
}
.feed-section {
  padding-top: 20px;
}
.feed-sec-head {
  padding-bottom: 10px;
}
.feed-sec-head h2 {
  font-size: 22px !important;
}
.feed-sticky-filters {
  padding: 10px 0 8px;
}
.v-chip {
  height: 36px;
  font-size: 13.5px;
}
.v-chip.sm {
  height: 32px;
}
/* Smaller poster rail (6 max) */
.fp-card {
  flex-basis: min(44vw, 200px);
}
.fp-card.xl {
  flex-basis: min(58vw, 260px);
}
.fp-card .poster {
  padding: 11px;
  border-radius: 20px;
}
.fp-title {
  font-size: 20px !important;
  margin-bottom: 8px;
}
.fp-card.xl .fp-title {
  font-size: 25px !important;
}
.fp-meta {
  font-size: 12px;
}
.fp-card .poster-glyph {
  font-size: clamp(90px, 28vw, 150px);
}
/* Slim list rows, grouped by day, paged */
.fr-list.compact .fr-row {
  padding: 7px 8px;
  gap: 12px;
}
.fr-list.compact .fr-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}
.fr-list.compact .fr-thumb .poster-glyph {
  font-size: 46px;
}
.fr-list.compact .fr-title {
  font-size: 16px !important;
  -webkit-line-clamp: 1;
}
.fr-list.compact .fr-date {
  font-size: 11px;
  margin-bottom: 3px;
}
.fr-list.compact .fr-venue {
  font-size: 13px;
  margin-top: 2px;
}
.fr-list.compact .fr-foot {
  margin-top: 5px;
}
.fr-list.compact .fr-row + .fr-row::before {
  left: 84px;
}
.fr-day {
  grid-column: 1 / -1;
  padding: 14px 8px 4px;
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.fr-day:first-child {
  padding-top: 2px;
}
.fr-day + .fr-row::before {
  display: none;
}
.feed-more {
  display: flex;
  margin: 12px 18px 0;
  width: calc(100% - 36px);
  min-height: 46px;
}
.feed-more span {
  color: var(--text-muted);
  font-weight: 600;
}
.feed-end {
  margin: 14px 18px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.feed-foot {
  padding-top: 22px;
}

/* ── For organisers: up front ──────────────────────────────────────────
   Phones: a slim Volt strip right under search. Desktop: a card pinned in
   a left column that stays in view while the feed scrolls beside it. */
.feed-aside {
  padding: 12px 18px 0;
}
html body .feed-host-cta {
  margin: 0 !important;
  padding: 10px 10px 10px 12px !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center;
  gap: 12px;
  background: var(--volt) !important;
  color: var(--volt-ink) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--spring) !important;
}
@media (hover:hover) and (pointer:fine){html body .feed-host-cta:hover{
  transform: translateY(-2px) !important;
}}
html body .feed-host-cta:active {
  transform: scale(0.98) !important;
}

.fhc-copy {
  flex: 1;
  min-width: 0;
}
html body .fhc-kicker {
  margin: 0 0 2px !important;
  font: 700 10px var(--font-mono) !important;
  letter-spacing: 0.08em !important;
  opacity: 0.65;
}
html body .fhc-title {
  display: none;
}
.fhc-sub {
  font: 700 14px/1.2 var(--font-sans);
}
.fhc-btn {
  display: none;
}
html body .fhc-go {
  width: 38px !important;
  height: 38px !important;
  font-size: 17px !important;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .feed-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    column-gap: 22px;
    padding-left: 24px;
  }
  .feed-layout > .feed-hero {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
  }
  .feed-layout > .feed-aside {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 84px;
    padding: 14px 0 0;
  }
  .feed-layout > .feed-main {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }
  .feed-main .feed-sec-head,
  .feed-main .fp-rail {
    padding-left: 0;
  }
  .feed-main .fr-list {
    padding-left: 0;
    margin-left: -8px;
  }
  .feed-main .feed-more,
  .feed-main .feed-end {
    margin-left: 0;
    width: calc(100% - 24px);
  }
  html body .feed-host-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px !important;
    border-radius: var(--r-xl) !important;
  }
  html body .fhc-kicker {
    font-size: 11px !important;
    margin-bottom: 8px !important;
  }
  html body .fhc-title {
    display: block;
    font: 800 30px/0.95 var(--font-display) !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 8px;
  }
  .fhc-sub {
    font: 550 14px/1.4 var(--font-sans);
    opacity: 0.85;
  }
  .fhc-btn {
    display: inline-flex;
    margin-top: 16px;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--volt-ink);
    color: var(--volt);
    font: 750 14px var(--font-sans);
  }
  html body .fhc-go {
    display: none !important;
  }
  /* list stays one column beside the card so day groups read cleanly */
  .feed-main .fr-list.compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
}
@media (max-width: 1023px) {
  .fp-card,
  .fp-card.xl {
    flex-basis: min(42vw, 200px);
  }
  .fp-card.xl .fp-title {
    font-size: 20px !important;
  }
}

/* Discover header: solid (was a gradient fading to transparent, so list
   content showed through while scrolling), and the sticky filter bar
   docks flush beneath it with no gap for content to peek through. */
.feed {
  --feed-head-h: calc(env(safe-area-inset-top, 0px) + 64px);
}
html body .feed-head {
  background: var(--bg) !important;
  min-height: var(--feed-head-h);
  box-sizing: border-box;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
  padding-bottom: 12px !important;
}
html body .feed-sticky-filters {
  top: calc(var(--feed-head-h) - 1px) !important;
  background: var(--bg) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 1px 0 var(--line-soft);
}

/* ═══ Event location: exact-coordinate map links ═══════════════════════ */
button.ev-fact {
  appearance: none;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
@media (hover:hover) and (pointer:fine){button.ev-fact:hover{
  background: var(--surface-2);
}}
.ev-loc .ev-fact-go {
  font: 700 12.5px var(--font-sans);
  color: var(--accent);
  white-space: nowrap;
}
.ev-minimap {
  appearance: none;
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 3;
  border: 0;
  border-top: 1px solid var(--line-soft);
  padding: 0;
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
}
.ev-minimap::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: background 0.2s ease;
}
@media (hover:hover) and (pointer:fine){.ev-minimap:hover::after{
  background: rgba(0, 0, 0, 0.08);
}}
.ev-minimap-cta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--text);
  font: 700 12.5px var(--font-sans);
}

/* Location options sheet */
.loc-overlay {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}
.loc-overlay.in {
  background: rgba(0, 0, 0, 0.45);
}
.loc-sheet {
  width: min(520px, 100%);
  padding: 18px 14px calc(env(safe-area-inset-bottom, 0px) + 16px);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.38s var(--spring);
}
.loc-overlay.in .loc-sheet {
  transform: none;
}
@media (min-width: 640px) {
  .loc-overlay {
    align-items: center;
  }
  .loc-sheet {
    border-radius: var(--r-xl);
    transform: translateY(24px) scale(0.98);
    opacity: 0;
    transition: transform 0.35s var(--spring), opacity 0.2s ease;
  }
  .loc-overlay.in .loc-sheet {
    opacity: 1;
  }
}
.loc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 0 6px 12px;
}
.loc-head b {
  display: block;
  font: 800 22px/1.1 var(--font-display);
  letter-spacing: -0.02em;
}
.loc-head span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.loc-x {
  appearance: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}
.loc-opt {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border: 0;
  border-radius: 16px;
  background: none;
  color: var(--text);
  text-decoration: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover:hover) and (pointer:fine){.loc-opt:hover{
  background: var(--surface-2);
}}
.loc-ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
}
.loc-opt.primary .loc-ic {
  background: var(--cta-bg);
  color: var(--cta-fg);
}
.loc-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.loc-txt b {
  font: 700 15.5px var(--font-sans);
}
.loc-txt span {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-go {
  color: var(--text-muted);
}

/* Map "locate me" — the user's blue dot reads in both themes */
html body .mapboxgl-user-location-dot,
html body .mapboxgl-user-location-dot::before {
  background-color: #2f80ff;
}
html body .mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon {
  filter: none;
}

/* ═══ UX pass ══════════════════════════════════════════════════════════ */

/* ♥ Save */
.save-btn {
  appearance: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.25s var(--spring), color 0.2s ease, background 0.2s ease;
}
.save-btn svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  transition: fill 0.2s ease;
}
@media (hover:hover) and (pointer:fine){.save-btn:hover{
  color: var(--text);
}}
.save-btn:active {
  transform: scale(0.85);
}
.save-btn.on {
  color: var(--hot-text);
}
.save-btn.on svg path {
  fill: var(--hot);
}
.save-btn.pop {
  animation: save-pop 0.45s var(--pop);
}
@keyframes save-pop {
  30% {
    transform: scale(1.35);
  }
  60% {
    transform: scale(0.92);
  }
}
.save-btn.on-poster {
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}
.save-btn.on-poster.on {
  color: #fff;
  background: var(--hot);
}
.save-btn.on-poster.on svg path {
  fill: #fff;
}
.save-btn.glass-btn.on {
  background: var(--hot);
  border-color: transparent;
  color: #fff;
}
.save-btn.glass-btn.on svg path {
  fill: #fff;
}
.fp-top-r {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mcard-acts {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* All-in prices */
.ev-buy-incl {
  margin-top: 3px;
  font: 600 10.5px var(--font-sans);
  color: var(--text-muted);
}
.tt-price {
  text-align: right;
}
.host-price-preview {
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--volt) 12%, var(--surface-2));
  font-size: 13.5px;
  color: var(--text-soft);
}
.host-price-preview b {
  color: var(--text);
}

/* Near me + Saved chips */
.v-chip svg {
  flex-shrink: 0;
}
.v-chip.near.loading {
  opacity: 0.6;
  pointer-events: none;
}
.v-chip.near.loading svg {
  animation: v-spin 1s linear infinite;
}
.v-chip.saved b {
  font: 800 12px var(--font-sans);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--hot);
  color: #fff;
}
.v-chip.saved svg {
  color: var(--hot-text);
}
.v-chip.saved.on svg {
  color: var(--hot-text);
}
.fr-dist {
  color: var(--text-muted);
}

/* Event page: keep browsing */
.ev-more .fr-list {
  margin: 0 -8px;
  padding: 0;
}
/* Row heart replaces the decorative arrow */
.fr-row .save-btn.in-row {
  margin-right: -6px;
}
/* Poster rail: lock card width (long words used to widen some cards, which
   made their 4:5 posters taller and left a gap under the others). */
.fp-card {
  min-width: 0;
}
.fp-card .fp-title {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* ── Can't-go sheet note ─────────────────────────────────────────────── */
html body .cg-note{font-size:13px;line-height:1.4;color:var(--text-muted);padding:10px 4px 2px;}

/* ── Crew (friends going) ────────────────────────────────────────────── */
html body .crew-faces{display:inline-flex;flex-shrink:0;}
html body .crew-faces i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font:700 8.5px var(--font-sans);font-style:normal;color:#0b0b0d;background:var(--volt) center/cover no-repeat;border:2px solid var(--surface);margin-left:-6px;}
html body .crew-faces i:first-child{margin-left:0;}
html body .crew-chip{display:inline-flex;align-items:center;gap:6px;font:650 12px var(--font-sans);color:var(--text);background:var(--surface-2);border-radius:999px;padding:2px 9px 2px 3px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body .crew-chip.on-poster{background:rgba(0,0,0,.55);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);margin-bottom:6px;align-self:flex-start;}
html body .crew-chip.on-poster .crew-faces i{border-color:rgba(0,0,0,.55);}
html body .crew-line{display:flex;align-items:center;gap:10px;margin:12px 2px 6px;font-size:14.5px;color:var(--text-soft);}
html body .crew-line .crew-faces i{width:28px;height:28px;font-size:10px;margin-left:-8px;}
html body .crew-line .crew-faces i:first-child{margin-left:0;}
html body .crew-line b{color:var(--text);}

/* ── Settings switch ─────────────────────────────────────────────────── */
html body .set-toggle{width:42px;height:26px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);position:relative;flex-shrink:0;transition:background .2s ease;}
html body .set-toggle i{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--text-muted);transition:transform .3s var(--spring),background .2s ease;}
html body .set-switch.on .set-toggle{background:var(--cta-bg);border-color:transparent;}
html body .set-switch.on .set-toggle i{transform:translateX(16px);background:var(--cta-fg);}

/* ── Up next (your next ticket) ──────────────────────────────────────── */
html body .up-next{display:flex;gap:14px;align-items:stretch;padding:12px;margin:6px 18px 18px;border-radius:22px;background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 30px -18px rgba(0,0,0,.35);animation:un-in .34s cubic-bezier(.2,.8,.2,1) backwards;}
@keyframes un-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
html body .up-next .un-art{width:84px;min-height:96px;border-radius:15px;flex-shrink:0;position:relative;overflow:hidden;}
html body .up-next .un-body{flex:1;min-width:0;display:flex;flex-direction:column;}
html body .up-next .un-kicker{font:700 11px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--accent);display:flex;align-items:center;gap:6px;}
html body .up-next .un-title{font:800 19px/1.1 var(--font-display,var(--font-sans));letter-spacing:-.02em;margin:5px 0 3px;cursor:pointer;overflow-wrap:anywhere;}
html body .up-next .un-venue{font-size:13px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
html body .up-next .un-acts{display:flex;gap:6px;margin-top:10px;flex-wrap:nowrap;}
html body .up-next .un-acts .v-btn{flex:0 1 auto;min-width:0;padding-inline:11px !important;font-size:13px !important;white-space:nowrap;}
@media (max-width:380px){html body .up-next .un-acts .v-btn{padding-inline:10px !important;font-size:12.5px !important;}}
html body .v-btn.sm{min-height:36px;padding:0 14px;font-size:13.5px;}
@media (min-width:1024px){html body .feed-main .up-next{margin:6px 24px 18px 0;}}
/* "Show more" sat 2px past the right edge on phones (content-box width). */
html body .v-btn.feed-more{box-sizing:border-box;width:calc(100% - 36px);}
@media (min-width:1024px){html body .feed-main .v-btn.feed-more{width:calc(100% - 24px);}}

/* ── Promise strip (guest hook) ──────────────────────────────────────── */
html body .promise-strip{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
html body .promise-strip li{display:flex;gap:8px;align-items:flex-start;padding:10px;border-radius:16px;background:var(--surface);border:1px solid var(--line-soft);min-width:0;}
html body .promise-strip svg{flex-shrink:0;color:var(--accent);margin-top:1px;}
html body .promise-strip span{display:flex;flex-direction:column;font-size:11.5px;line-height:1.3;color:var(--text-muted);min-width:0;}
html body .promise-strip b{font:700 12.5px/1.2 var(--font-sans);color:var(--text);margin-bottom:2px;}
@media (max-width:520px){
  html body .promise-strip{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(72%,240px);overflow-x:auto;scrollbar-width:none;margin-left:-18px;margin-right:-18px;padding:0 18px;scroll-snap-type:x mandatory;}
  html body .promise-strip::-webkit-scrollbar{display:none;}
  html body .promise-strip li{scroll-snap-align:start;}
}
/* The generic .save-btn (transparent, muted) was beating .glass-btn on the
   event hero, leaving a bare outline next to the round glass buttons. */
html body .save-btn.glass-btn{width:44px;height:44px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.35);color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);}
html body .set-list + .set-group-title{margin-top:16px;padding-top:14px;border-top:1px solid var(--line-soft);}
html body .promise-strip .pr-link{cursor:pointer;transition:border-color .2s ease;}@media (hover:hover) and (pointer:fine){html body .promise-strip .pr-link:hover{border-color:var(--accent);}}

/* ── Account dropdown (home header) ──────────────────────────────────── */
html body .acct-head{display:flex;align-items:center;gap:12px;padding:4px 6px 12px;margin-bottom:6px;border-bottom:1px solid var(--line-soft);}
html body .acct-av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:var(--cta-bg);color:var(--cta-fg);font:800 14px var(--font-sans);}
html body .acct-head .set-txt span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .acct-foot{margin-top:6px;padding-top:6px;border-top:1px solid var(--line-soft);}
html body .set-opt.danger b{color:var(--hot-text);}
html body .set-opt.danger .set-ic{color:var(--hot-text);}
html body .avatar-pill.on{box-shadow:0 0 0 3px var(--accent);}

/* ── Account page (one page, inline edit) ────────────────────────────── */
html body .ac-page{max-width:640px;margin:0 auto;padding-bottom:120px;}
html body .ac-hero{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center;margin:6px 0 18px;}
html body .ac-avatar{position:relative;border:0;background:none;padding:0;cursor:pointer;border-radius:50%;}
html body .ac-avatar .account-avatar{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--accent);}
html body .ac-avatar-cam{position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--cta-bg);color:var(--cta-fg);border:3px solid var(--bg,var(--surface));}
html body .ac-avatar-cam svg{width:15px;height:15px;}
html body .ac-id{min-width:0;}
html body .ac-name{margin:4px 0 2px;font:800 30px/1 var(--font-display) !important;letter-spacing:-.03em !important;overflow-wrap:anywhere;}
html body .ac-email{font-size:14px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .ac-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:6px;}
html body .ac-stat{appearance:none;border:1px solid var(--line-soft);background:var(--surface);border-radius:16px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--text);cursor:pointer;transition:transform .2s var(--spring),border-color .2s ease;}
@media (hover:hover) and (pointer:fine){html body .ac-stat:not(:disabled):hover{border-color:var(--accent);transform:translateY(-1px);}}
html body .ac-stat:disabled{cursor:default;}
html body .ac-stat b{font:800 22px/1 var(--font-display,var(--font-sans));letter-spacing:-.02em;}
html body .ac-stat span{font:600 11.5px var(--font-sans);color:var(--text-muted);}
html body .ac-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:22px;padding:14px 14px 10px;margin:0 0 14px;}
html body .ac-card-head{display:flex;justify-content:space-between;align-items:baseline;padding:2px 4px 8px;}
html body .ac-card-head h2{margin:0;font:800 17px var(--font-sans);letter-spacing:-.01em;}
html body .ac-card-head span{font:600 12px var(--font-mono);color:var(--text-muted);}
html body .ac-field{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:14px;cursor:text;transition:background .2s ease,box-shadow .2s ease;}
html body .ac-field + .ac-field{margin-top:2px;}
@media (hover:hover) and (pointer:fine){html body .ac-field:hover{background:var(--surface-2);}}
html body .ac-field:focus-within{background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--accent);}
html body .ac-field > span{font:700 11px var(--font-mono);text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);}
html body .ac-field em{font-style:normal;text-transform:none;letter-spacing:0;font-family:var(--font-sans);font-weight:500;opacity:.8;margin-left:4px;}
html body .ac-field input{appearance:none;border:0;background:transparent;padding:0;margin:0;font:600 16px var(--font-sans);color:var(--text);outline:none;width:100%;min-width:0;}
html body .ac-field input::placeholder{color:var(--text-muted);font-weight:500;}
html body .ac-err{color:var(--hot-text);font-size:13px;padding:6px 12px 0;}
html body .ac-save{display:flex;justify-content:flex-end;gap:8px;max-height:0;overflow:hidden;opacity:0;transition:max-height .3s var(--spring),opacity .2s ease,padding .3s ease;padding:0 4px;}
html body .ac-save.show{max-height:70px;opacity:1;padding:10px 4px 4px;}
html body .ac-card .set-list{margin-top:6px;border-top:1px solid var(--line-soft);padding-top:6px;}
html body .ac-row{appearance:none;border:0;background:transparent;width:100%;display:flex;align-items:center;gap:12px;padding:10px;border-radius:14px;color:var(--text);text-align:left;cursor:pointer;transition:background .2s ease;}
@media (hover:hover) and (pointer:fine){html body .ac-row:hover{background:var(--surface-2);}}
html body .ac-row.static{cursor:default;opacity:.75;}
@media (hover:hover) and (pointer:fine){html body .ac-row.static:hover{background:transparent;}}
html body .ac-chev{color:var(--text-muted);font-size:20px;line-height:1;}
html body .ac-hosts{display:flex;flex-wrap:wrap;gap:8px;padding:0 4px 6px;}
html body .ac-host{appearance:none;border:1px solid var(--line);background:transparent;color:var(--text);display:inline-flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;border-radius:999px;font:650 13.5px var(--font-sans);cursor:pointer;max-width:100%;}
@media (hover:hover) and (pointer:fine){html body .ac-host:hover{border-color:var(--accent);}}
html body .ac-host-av{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font:800 10.5px var(--font-sans);flex-shrink:0;}
html body .ac-host-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .ac-host-bell{font-size:12px;}
html body .ac-empty{margin:0 6px 8px;font-size:13.5px;color:var(--text-muted);line-height:1.45;}
html body .ac-banner{padding:4px 6px 8px;}
html body .ac-banner-lbl{display:flex;flex-direction:column;margin-bottom:8px;}
html body .ac-banner-lbl b{font:700 15px var(--font-sans);}
html body .ac-banner-lbl span{font-size:12.5px;color:var(--text-muted);}
html body .ac-banner .account-cover-edit-zone{border-radius:16px;}
html body .ac-signout{display:block;width:100%;appearance:none;border:1px solid var(--line);background:transparent;color:var(--hot-text);font:700 15px var(--font-sans);padding:14px;border-radius:999px;cursor:pointer;margin-top:6px;}
@media (hover:hover) and (pointer:fine){html body .ac-signout:hover{background:color-mix(in srgb,var(--hot) 10%,transparent);}}
@media (max-width:380px){html body .ac-stat b{font-size:19px;}html body .ac-stat span{font-size:10.5px;}}
html body .ac-field input,html body .ac-field input:focus{background:transparent !important;border:0 !important;box-shadow:none !important;outline:none !important;padding:0 !important;border-radius:0 !important;height:auto !important;min-height:0 !important;font:600 16px var(--font-sans) !important;color:var(--text) !important;}
html body .ac-card .set-list:first-of-type{border-top:0;padding-top:0;margin-top:0;}
html body .ac-card .ac-card-head + .set-list{border-top:0;padding-top:0;margin-top:0;}

/* ── Account: locked details + extras ────────────────────────────────── */
html body .ac-since{margin-top:4px;font:600 12px var(--font-mono);color:var(--text-muted);letter-spacing:.02em;}
html body .ac-edit{appearance:none;border:1px solid var(--line);background:transparent;color:var(--text);display:inline-flex;align-items:center;gap:6px;font:700 13px var(--font-sans);padding:7px 13px;border-radius:999px;cursor:pointer;transition:border-color .2s ease,background .2s ease;}
html body .ac-edit svg{width:14px;height:14px;}
@media (hover:hover) and (pointer:fine){html body .ac-edit:hover{border-color:var(--accent);background:var(--surface-2);}}
html body .ac-field.ro{cursor:default;}
@media (hover:hover) and (pointer:fine){html body .ac-field.ro:hover{background:transparent;}}
html body .ac-val{font:600 16px var(--font-sans);color:var(--text);overflow-wrap:anywhere;}
html body .ac-val.empty{color:var(--text-muted);font-weight:500;font-size:14.5px;}
html body .ac-card.editing{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent);}
html body .ac-card.editing .ac-field{background:var(--surface-2);}
html body .ac-card.editing .ac-card-head span{color:var(--accent);}
html body .ac-plan-acts{display:flex;gap:8px;flex-wrap:wrap;padding:2px 4px 6px;}
html body .ac-plan-acts .v-btn svg{width:15px;height:15px;}
html body .ac-past{display:flex;flex-direction:column;gap:2px;}
html body .ac-past-row{display:flex;align-items:center;gap:8px;}
html body .ac-past-main{appearance:none;border:0;background:transparent;color:var(--text);flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:8px;border-radius:14px;text-align:left;cursor:pointer;}
@media (hover:hover) and (pointer:fine){html body .ac-past-main:hover{background:var(--surface-2);}}
html body .ac-past-main .set-txt b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .ac-past-art{width:44px;height:44px;border-radius:12px;flex-shrink:0;position:relative;overflow:hidden;opacity:.85;}
html body .ac-past-art svg{transform:scale(.6);}
html body .ac-again{appearance:none;border:1px solid var(--line);background:transparent;color:var(--text);font:700 12.5px var(--font-sans);padding:7px 12px;border-radius:999px;cursor:pointer;flex-shrink:0;margin-right:4px;}
@media (hover:hover) and (pointer:fine){html body .ac-again:hover{border-color:var(--accent);}}
html body .ac-delete{display:block;margin:14px auto 0;appearance:none;border:0;background:none;color:var(--text-muted);font:600 13px var(--font-sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:8px;}
@media (hover:hover) and (pointer:fine){html body .ac-delete:hover{color:var(--hot-text);}}
html body .del-list{margin:2px 0 14px;padding:0 0 0 20px;font-size:14px;line-height:1.5;color:var(--text-soft);}
html body .del-confirm{display:flex;flex-direction:column;gap:6px;font-size:13.5px;color:var(--text-muted);margin-bottom:12px;}
html body .del-confirm b{color:var(--text);font-family:var(--font-mono);}
html body .del-confirm input{font:700 16px var(--font-mono) !important;letter-spacing:.08em;padding:12px 14px !important;min-height:48px;}
html body .v-btn.del-go{background:var(--hot);color:#fff;}
html body .v-btn.del-go:disabled{opacity:.4;cursor:not-allowed;filter:none;transform:none;}
html body .gate-have-code{appearance:none;border:0;background:none;padding:6px 0 0;color:var(--text);font:700 13.5px var(--font-sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer;}

/* ══ Purchase flow: Tickets → Pay → You're in ═══════════════════════════ */
/* Focused buy: no tab bar while choosing / paying (Dice, Eventbrite). */
#app[data-view="book"] .bottom-nav,
#app[data-view="checkout"] .bottom-nav{display:none !important;}
html body .bk-page,html body .tv-page{max-width:640px;margin:0 auto;padding:calc(env(safe-area-inset-top,0px) + 12px) 0 150px;animation:v-rise .35s var(--ease,ease) backwards;}
html body .bk-pay{max-width:980px;}
html body .bk-top{display:flex;align-items:center;gap:12px;margin:0 0 16px;}
html body .bk-back{appearance:none;flex-shrink:0;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer;}
html body .bk-steps{list-style:none;margin:0;padding:0;display:flex;gap:6px;flex:1;min-width:0;}
html body .bk-steps li{flex:1;display:flex;align-items:center;gap:6px;font:700 12px var(--font-sans);color:var(--text-muted);padding-bottom:8px;border-bottom:3px solid var(--line);white-space:nowrap;}
html body .bk-steps li i{font-style:normal;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font:800 11px var(--font-sans);flex-shrink:0;}
html body .bk-steps li.on{color:var(--text);border-color:var(--accent);}
html body .bk-steps li.on i{background:var(--cta-bg);color:var(--cta-fg);}
html body .bk-steps li.done{color:var(--text-soft);border-color:color-mix(in srgb,var(--accent) 55%,transparent);}
html body .bk-steps li.done i{background:color-mix(in srgb,var(--accent) 25%,transparent);color:var(--text);}
html body .tv-top-lbl{font:800 15px var(--font-sans);}

html body .bk-event{display:flex;gap:14px;align-items:center;padding:12px;border-radius:20px;background:var(--surface);border:1px solid var(--line-soft);margin-bottom:18px;}
html body .bk-art{width:64px;height:76px;border-radius:14px;flex-shrink:0;position:relative;overflow:hidden;}
html body .bk-art svg{transform:scale(.7);}
html body .bk-ev-txt{min-width:0;}
html body .bk-ev-when{font:700 11.5px var(--font-mono);text-transform:uppercase;letter-spacing:.05em;color:var(--accent);}
html body .bk-ev-title{font:800 19px/1.1 var(--font-display,var(--font-sans));letter-spacing:-.02em;margin:4px 0 3px;overflow-wrap:anywhere;}
html body .bk-ev-where{font-size:13px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .bk-h{margin:0 0 10px;font:800 18px var(--font-sans);letter-spacing:-.01em;}
html body .bk-types{display:flex;flex-direction:column;gap:8px;}
html body .bk-page .tt-card{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:var(--surface);border:1.5px solid var(--line);cursor:pointer;transition:border-color .2s ease,transform .2s var(--spring),box-shadow .2s ease;margin:0;}
html body .bk-page .tt-card:active{transform:scale(.985);}
html body .bk-page .tt-card.on{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent);}
html body .bk-page .tt-radio{width:22px;height:22px;border-radius:50%;border:2px solid var(--line);flex-shrink:0;position:relative;}
html body .bk-page .tt-card.on .tt-radio{border-color:var(--accent);background:var(--cta-bg);}
html body .bk-page .tt-card.on .tt-radio::after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--cta-fg);}
html body .bk-page .tt-body{flex:1;min-width:0;}
html body .bk-page .tt-name{font:700 15.5px var(--font-sans);color:var(--text);}
html body .bk-page .tt-desc{font-size:12.5px;color:var(--text-muted);margin-top:2px;}
html body .bk-page .tt-price{font:800 17px var(--font-sans);text-align:right;display:flex;flex-direction:column;align-items:flex-end;color:var(--text);}
html body .bk-stepper{display:flex;align-items:center;gap:4px;padding:4px;border-radius:999px;background:var(--surface-2);flex-shrink:0;}
html body .bk-stepper button{appearance:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--surface);color:var(--text);font:700 20px/1 var(--font-sans);cursor:pointer;transition:transform .15s var(--spring);}
html body .bk-stepper button:active{transform:scale(.9);}
html body .bk-stepper button:disabled{opacity:.35;cursor:not-allowed;}
html body .bk-stepper output{min-width:30px;text-align:center;font:800 18px var(--font-sans);}
html body .bk-line{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:var(--text-soft);padding:4px 0;}
html body .bk-line > span:last-child{text-align:right;color:var(--text);font-weight:600;display:inline-flex;align-items:center;gap:4px;}
html body .bk-line em{font-style:normal;color:var(--text-muted);font-size:12px;}
html body .bk-line.total{margin-top:6px;padding-top:10px;border-top:1px solid var(--line);font:800 17px var(--font-sans);color:var(--text);}
html body .bk-line.total > span:last-child{font-weight:800;}

html body .bk-promo{margin:0 0 12px;border-radius:16px;padding:0 4px;}
html body .bk-promo summary{cursor:pointer;font:700 14px var(--font-sans);color:var(--text);padding:10px 2px;list-style:none;}
html body .bk-promo summary::-webkit-details-marker{display:none;}
html body .bk-promo summary::before{content:"+ ";color:var(--accent);}
html body .bk-promo[open] summary::before{content:"− ";}
html body .bk-promo input{text-transform:uppercase;width:100%;}
html body .bk-promo p{font-size:12px;color:var(--text-muted);margin:6px 2px 0;}
html body .bk-optin{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--text-soft);line-height:1.45;padding:6px 4px 14px;cursor:pointer;}
html body .bk-optin input{width:18px;height:18px;margin-top:1px;accent-color:var(--accent);flex-shrink:0;}
html body .bk-optin em{font-style:normal;color:var(--text-muted);}

html body .bk-cta{position:fixed;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);z-index:1100;max-width:620px;margin:0 auto;display:flex;align-items:center;gap:14px;padding:10px 10px 10px 18px;border-radius:999px;background:var(--surface);border:1px solid var(--line);box-shadow:0 18px 44px -14px rgba(0,0,0,.55);animation:bk-cta-in .45s var(--spring) both;}
@keyframes bk-cta-in{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
html body .checkout-cta-bar.bk-cta{display:none;}
html body .bk-cta-total{display:flex;flex-direction:column;line-height:1.1;min-width:0;}
html body .bk-cta-total span{font:600 11.5px var(--font-sans);color:var(--text-muted);}
html body .bk-cta-total b{font:800 20px var(--font-sans);color:var(--text);}
html body .v-btn.bk-cta-btn{flex:1;min-height:52px;gap:8px;font-size:16px;}

html body .bk-secure{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:var(--text-muted);line-height:1.45;padding:2px 6px 14px;}
html body .bk-secure svg{color:var(--accent);flex-shrink:0;margin-top:1px;}
html body .bk-secure b{color:var(--text);}
html body .bk-pay .checkout-payment-panel{padding:14px;border-radius:18px;background:var(--surface);border:1px solid var(--line-soft);min-height:120px;}

/* ── Payment in progress / outcome ───────────────────────────────────── */
html body .pay-overlay{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:20px;background:color-mix(in srgb,var(--bg) 78%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);opacity:0;transition:opacity .25s ease;}
html body .pay-overlay.in{opacity:1;}
html body .po-card{width:min(360px,100%);padding:28px 22px 22px;border-radius:26px;background:var(--surface);border:1px solid var(--line);box-shadow:0 30px 70px -20px rgba(0,0,0,.6);display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;animation:po-pop .4s var(--spring) both;}
@keyframes po-pop{from{transform:scale(.92);opacity:0}to{transform:none;opacity:1}}
html body .po-msg{font:800 18px var(--font-sans);letter-spacing:-.01em;}
html body .po-sub{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-muted);}
html body .po-ic{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;margin-bottom:4px;}
html body .po-result.failed .po-ic{background:color-mix(in srgb,var(--hot) 16%,transparent);color:var(--hot-text);}
html body .po-result.pending .po-ic{background:color-mix(in srgb,var(--accent) 16%,transparent);color:var(--accent);}
html body .po-title{font:800 21px/1.15 var(--font-sans);letter-spacing:-.01em;}
html body .po-body{margin:0;font-size:14.5px;line-height:1.5;color:var(--text-soft);}
html body .po-acts{display:flex;gap:8px;width:100%;margin-top:10px;}
html body .po-acts .v-btn{flex:1;min-height:50px;}

/* ── Your ticket ─────────────────────────────────────────────────────── */
html body .tv-head{margin:4px 2px 18px;}
html body .tv-h1{margin:8px 0 6px;font:800 clamp(38px,10vw,60px)/.95 var(--font-display,var(--font-sans)) !important;letter-spacing:-.04em !important;overflow-wrap:anywhere;}
html body .tv-stack{display:flex;flex-direction:column;gap:16px;}
html body .tv-ticket{border-radius:26px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:0 22px 50px -24px rgba(0,0,0,.55);position:relative;}
html body .tv-page.just .tv-ticket{animation:tv-in .7s calc(2.45s + var(--i,0) * .12s) var(--spring) both;}
@keyframes tv-in{from{transform:translateY(30px) rotate(-2deg);opacity:0}to{transform:none;opacity:1}}
html body .tv-art{position:relative;height:190px;display:flex;flex-direction:column;justify-content:space-between;padding:14px 16px;overflow:hidden;}
html body .tv-art > svg{position:absolute;right:-10px;top:-10px;opacity:.9;}
html body .tv-art-top{position:relative;display:flex;justify-content:space-between;align-items:center;z-index:1;}
html body .tv-seat{font:700 11.5px var(--font-mono);background:rgba(0,0,0,.5);color:#fff;padding:5px 9px;border-radius:999px;backdrop-filter:blur(8px);}
html body .tv-art-foot{position:relative;z-index:1;}
html body .tv-art::after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.6));pointer-events:none;}
html body .tv-title{font:800 26px/1 var(--font-display,var(--font-sans));letter-spacing:-.03em;color:#fff;overflow-wrap:anywhere;}
html body .tv-venue{font-size:13.5px;color:rgba(255,255,255,.85);margin-top:5px;}
html body .tv-perf{height:0;border-top:2px dashed var(--line);margin:0 22px;position:relative;}
html body .tv-perf::before,html body .tv-perf::after{content:"";position:absolute;top:-13px;width:24px;height:24px;border-radius:50%;background:var(--bg);border:1px solid var(--line);}
html body .tv-perf::before{left:-35px;}
html body .tv-perf::after{right:-35px;}
html body .tv-stub{padding:20px 18px 18px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;}
html body .tv-qr{width:196px;height:196px;padding:10px;background:#fff;border-radius:18px;display:grid;place-items:center;box-shadow:0 0 0 1px rgba(0,0,0,.06);}
html body .tv-qr img,html body .tv-qr canvas{width:176px !important;height:176px !important;}
html body .tv-code{font:800 15px var(--font-mono);letter-spacing:.12em;}
html body .tv-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;}
html body .tv-meta span{font:650 12px var(--font-sans);padding:4px 10px;border-radius:999px;background:var(--surface-2);color:var(--text-soft);}
html body .tv-meta .tv-open{background:color-mix(in srgb,var(--accent) 18%,transparent);color:var(--text);}
html body .tv-hint{font-size:12px;color:var(--text-muted);}
html body .tv-kick{display:inline-flex;align-items:center;gap:6px;font:800 12px var(--font-mono);text-transform:uppercase;letter-spacing:.06em;color:var(--accent);}
html body .tv-master{margin-bottom:16px;border-color:color-mix(in srgb,var(--accent) 45%,var(--line));}
html body .tv-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;margin:16px 0;}
html body .tv-act{appearance:none;border:1px solid var(--line-soft);background:var(--surface);color:var(--text);border-radius:18px;padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:6px;font:700 12.5px var(--font-sans);cursor:pointer;transition:border-color .2s ease,transform .2s var(--spring);}
@media (hover:hover) and (pointer:fine){html body .tv-act:hover{border-color:var(--accent);transform:translateY(-1px);}}
html body .tv-act svg{color:var(--accent);}
html body .tv-receipt{border-radius:20px;background:var(--surface);border:1px solid var(--line-soft);overflow:hidden;}
html body .tv-receipt summary{list-style:none;display:flex;align-items:center;gap:12px;padding:14px;cursor:pointer;}
html body .tv-receipt summary::-webkit-details-marker{display:none;}
html body .tv-r-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--surface-2);color:var(--text-soft);flex-shrink:0;}
html body .tv-r-txt{flex:1;min-width:0;display:flex;flex-direction:column;}
html body .tv-r-txt b{font:700 15px var(--font-sans);}
html body .tv-r-txt span{font:600 12px var(--font-mono);color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .tv-r-amt{font:800 16px var(--font-sans);}
html body .tv-r-chev{color:var(--text-muted);transition:transform .25s var(--spring);}
html body .tv-receipt[open] .tv-r-chev{transform:rotate(180deg);}
html body .tv-r-body{padding:2px 16px 16px;animation:v-rise .3s ease backwards;}
html body .tv-r-sep{border-top:1px dashed var(--line);margin:8px 0;}
html body .tv-r-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid var(--line-soft);}
html body .tv-r-status{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-muted);}
html body .tv-r-status svg{color:var(--accent);}
html body .tv-policy{text-align:center;font-size:12px;color:var(--text-muted);margin:16px 0 0;}
html body .tv-policy a{color:var(--text-soft);}
@media (prefers-reduced-motion:reduce){
  html body .tv-page.just .tv-ticket,html body .po-card,html body .bk-cta{animation:none !important;}
}
html body .bk-load-err{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;width:100%;padding:10px 4px;}html body .bk-load-err b{font:800 16px var(--font-sans);}html body .bk-load-err span{font-size:13.5px;color:var(--text-soft);line-height:1.45;max-width:340px;}

/* ══ The Odd Flock ticket glyph ════════════════════════════════════════════ */
html body .tg{display:block;overflow:visible;}
html body .tg .tg-shape{fill:var(--surface-2);stroke:var(--text-muted);stroke-width:2.5;stroke-linejoin:round;transition:stroke .3s ease,fill .3s ease;}
html body .tg .tg-fill{fill:var(--volt);transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(0);}
html body .tg .tg-beam{transform:translateY(0);}
html body .tg .tg-lines rect{fill:var(--text-muted);opacity:.35;transition:fill .3s ease,opacity .3s ease;}
html body .tg .tg-tick{fill:none;stroke:var(--volt-ink,#0b0b0d);stroke-width:9;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:80;stroke-dashoffset:80;}
html body .tg .tg-perf{stroke:var(--text-muted);stroke-width:2.5;stroke-dasharray:4 5;stroke-linecap:round;}
html body .tg .tg-bars rect{fill:var(--text-muted);opacity:.55;}
html body .tg .tg-top,html body .tg .tg-stub{transform-box:fill-box;}
html body .tg .tg-stub{transform-origin:0% 0%;}
/* scan: a Volt beam prints the ticket, lines shimmer */
html body .tg.scan .tg-beam{animation:tg-beam 1.35s cubic-bezier(.45,0,.55,1) infinite;}
html body .tg.scan .tg-lines rect{animation:tg-shimmer 1.35s ease-in-out infinite;}
html body .tg.scan .tg-lines rect:nth-child(2){animation-delay:.12s;}
html body .tg.scan .tg-lines rect:nth-child(3){animation-delay:.24s;}
html body .tg.scan .tg-shape{stroke:color-mix(in srgb,var(--volt) 60%,var(--text-muted));}
@keyframes tg-beam{0%{transform:translateY(0)}100%{transform:translateY(150px)}}
@keyframes tg-shimmer{0%,100%{opacity:.25}50%{opacity:.7}}
/* win: fill, tick, tear */
html body .tg.win .tg-shape{stroke:var(--volt);transition:stroke .2s ease;}
html body .tg.win .tg-fill{animation:tg-fill .5s cubic-bezier(.3,.7,.2,1) forwards;}
html body .tg.win .tg-beam{opacity:0;transition:opacity .15s ease;}
html body .tg.win .tg-lines rect{fill:var(--volt-ink,#0b0b0d);opacity:.22;transition-delay:.25s;}
html body .tg.win .tg-tick{animation:tg-tick .42s .45s cubic-bezier(.6,0,.3,1) forwards;}
html body .tg.win .tg-perf{animation:tg-perf .3s .95s ease forwards;}
html body .tg.win .tg-stub .tg-shape{fill:var(--surface-2);}
@keyframes tg-fill{to{transform:scaleY(1)}}
@keyframes tg-tick{to{stroke-dashoffset:0}}
@keyframes tg-perf{to{opacity:0}}
/* fail: a small no */
html body .tg.fail{animation:tg-shake .42s cubic-bezier(.36,.07,.19,.97) both;}
html body .tg.fail .tg-shape{stroke:var(--hot);}
html body .tg.fail .tg-beam{opacity:0;}
@keyframes tg-shake{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}30%,50%,70%{transform:translateX(-7px)}40%,60%{transform:translateX(7px)}}

html body .po-glyph{width:74px;margin:0 auto 6px;}

/* ══ You're in! ═══════════════════════════════════════════════════════════ */
html body .yi-overlay{position:fixed;inset:0;z-index:3100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px;text-align:center;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;transition:opacity .25s ease;cursor:pointer;overflow:hidden;}
html body .yi-overlay.cont{opacity:1;transition:none;}
html body .yi-overlay.in{opacity:1;}
html body .yi-overlay.out{opacity:0;transition:opacity .5s ease;}
html body .yi-overlay.out .yi-stage{transform:translateY(32vh) scale(.45) rotate(-6deg);opacity:0;transition:transform .55s cubic-bezier(.6,0,.4,1),opacity .45s ease .1s;}
html body .yi-overlay.out .yi-title,html body .yi-overlay.out .yi-sub{opacity:0;transform:translateY(-10px);transition:all .3s ease;}
html body .yi-stage{position:relative;width:132px;margin-bottom:22px;}
html body .yi-overlay:not(.cont) .yi-stage{animation:yi-drop .55s var(--spring) both;}
@keyframes yi-drop{from{transform:translateY(-40px) rotate(-8deg) scale(.85);opacity:0}to{transform:none;opacity:1}}
html body .yi-burst{position:absolute;left:50%;top:66%;width:0;height:0;}
html body .yi-title{font:800 clamp(44px,12vw,72px)/.95 var(--font-display,var(--font-sans));letter-spacing:-.045em;display:flex;justify-content:center;}
html body .yi-title span{display:inline-block;opacity:0;transform:translateY(.5em) rotate(6deg);}
html body .yi-overlay.won .yi-title span{animation:yi-letter .5s calc(.62s + var(--i) * .035s) var(--spring) forwards;}
@keyframes yi-letter{to{opacity:1;transform:none}}
html body .yi-sub{font-size:15px;color:var(--text-soft);max-width:320px;opacity:0;}
html body .yi-overlay.won .yi-sub{animation:yi-sub .4s 1.05s ease forwards;}
@keyframes yi-sub{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html body .yi-overlay.still .yi-title span,html body .yi-overlay.still .yi-sub{opacity:1;transform:none;animation:none !important;}
html body .yi-overlay.still .tg *{animation:none !important;}
html body .yi-overlay.still .tg.win .tg-fill{transform:scaleY(1);}
html body .yi-overlay.still .tg.win .tg-tick{stroke-dashoffset:0;}

/* Pay button: the padlock clicks shut */
html body .bk-lockanim .shk{transform:translateY(-3px);animation:bk-shackle .28s .05s cubic-bezier(.5,1.8,.5,1) forwards;}
@keyframes bk-shackle{to{transform:translateY(0)}}
html body .bk-done{appearance:none;flex-shrink:0;height:42px;padding:0 18px;border-radius:999px;border:0;background:var(--cta-bg);color:var(--cta-fg);font:800 14.5px var(--font-sans);cursor:pointer;}

/* Transfer sheets */
html body .tf-list{list-style:none;margin:4px 0 14px;padding:0;display:flex;flex-direction:column;gap:10px;}
html body .tf-list li{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--text-soft);padding:2px 2px;}
html body .tf-list li svg{flex-shrink:0;color:var(--accent);margin-top:2px;}
html body .tf-list li b{color:var(--text);}
html body .tf-list li.key{padding:12px;border-radius:16px;background:color-mix(in srgb,var(--accent) 9%,var(--surface-2));border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);}
html body .tf-p{margin:2px 2px 10px;font-size:14.5px;color:var(--text-soft);line-height:1.45;}
html body .tf-note{font-size:13px;line-height:1.45;color:var(--text-soft);padding:11px 12px;border-radius:14px;background:var(--surface-2);margin:0 0 12px;}
html body .tf-note a{color:var(--text);}
html body .tv-r-body .tf-note{margin:10px 0 0;}
html body .tv-gift{background:color-mix(in srgb,var(--uv,#7c5cff) 22%,transparent) !important;color:var(--text) !important;}
html body .tv-gift-amt{font-size:13px !important;color:var(--text-muted);}
html body .tv-r-small{font-size:12px;color:var(--text-muted);margin-top:8px;}

/* ══ "Don't miss" wheel ═══════════════════════════════════════════════════ */
html body .fp-wheel{position:relative;--fw-card:min(60vw,232px);}
html body .fp-wheel .fp-rail{padding:4px calc(50% - var(--fw-card) / 2) 8px !important;scroll-padding:0;scroll-snap-type:x mandatory;gap:10px;margin:0 !important;}
html body .fp-wheel .fp-card,html body .fp-wheel .fp-card.xl{flex:0 0 var(--fw-card) !important;flex-basis:var(--fw-card) !important;scroll-snap-align:center;}
html body .fp-wheel .fp-card .poster{aspect-ratio:4 / 5;transition:transform .45s var(--spring),opacity .35s ease,filter .35s ease;}
html body .fp-wheel .fp-card:not(.on) .poster{transform:scale(.88);opacity:.62;filter:saturate(.8);}
@media (hover:hover) and (pointer:fine){html body .fp-wheel .fp-card:hover{transform:none;}}
@media (hover:hover) and (pointer:fine){html body .fp-wheel .fp-card.on:hover .poster{transform:translateY(-3px);}}
html body .fw-arrow{position:absolute;top:50%;z-index:3;width:42px;height:42px;margin-top:-21px;border-radius:50%;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:var(--text);display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px -10px rgba(0,0,0,.5);transition:transform .2s var(--spring),border-color .2s ease;}
@media (hover:hover) and (pointer:fine){html body .fw-arrow:hover{border-color:var(--accent);}}
html body .fw-arrow:active{transform:scale(.9);}
html body .fw-arrow.prev{left:10px;}
html body .fw-arrow.next{right:10px;}
html body .fw-dots{display:flex;justify-content:center;gap:6px;margin-top:6px;}
html body .fw-dots button{appearance:none;border:0;padding:0;width:7px;height:7px;border-radius:999px;background:var(--line);cursor:pointer;transition:width .3s var(--spring),background .3s ease;}
html body .fw-dots button.on{width:22px;background:var(--accent);}
@media (min-width:1024px){
  html body .fp-wheel{--fw-card:236px;}
  html body .fw-arrow.prev{left:0;}
  html body .fw-arrow.next{right:24px;}
}
@media (prefers-reduced-motion:reduce){html body .fp-wheel .fp-card .poster{transition:none;}}
html body .fp-rail.fw-jump .fp-card,html body .fp-rail.fw-jump .fp-card .poster{transition:none !important;}

/* ══ One-screen purchase (bk-fit) ═════════════════════════════════════════ */
html body .bk-fit{padding-bottom:120px;}
html body .bk-pay{max-width:560px;}
html body .bk-fit .bk-top{margin-bottom:12px;}
html body .bk-fit .bk-event{padding:10px;margin-bottom:14px;}
html body .bk-fit .bk-art{width:52px;height:60px;border-radius:12px;}
html body .bk-fit .bk-ev-title{font-size:17px;}
html body .bk-fit .bk-h{font-size:16px;margin:0 2px 8px;}
html body .bk-fit .tt-card{padding:12px 12px 12px 14px;}
html body .bk-fit .tt-desc{font-size:12.5px;}
html body .bk-stepper.sm{padding:3px;gap:2px;}
html body .bk-stepper.sm button{width:34px;height:34px;font-size:18px;}
html body .bk-stepper.sm output{min-width:24px;font-size:16px;}
html body .bk-note{display:flex;align-items:center;gap:7px;font-size:12.5px;color:var(--text-muted);margin:8px 4px 0;}
html body .bk-note svg{color:var(--accent);flex-shrink:0;}
html body .bk-extras{display:flex;flex-direction:column;gap:2px;margin:12px 0 10px;padding:4px 12px;border-radius:16px;background:var(--surface);border:1px solid var(--line-soft);}
html body .bk-fit .bk-promo{margin:0;padding:0;}
html body .bk-fit .bk-promo summary{padding:10px 0;font-size:13.5px;}
html body .bk-fit .bk-promo input{margin-bottom:10px;}
html body .bk-fit .bk-optin{padding:10px 0;font-size:13.5px;border-top:1px solid var(--line-soft);align-items:center;}
html body .bk-fit .bk-promo + .bk-optin{border-top:1px solid var(--line-soft);}
html body .bk-fit .bk-extras > .bk-optin:first-child{border-top:0;}
html body .bk-chips{list-style:none;margin:0;padding:0 2px;display:flex;flex-wrap:wrap;gap:6px;}
html body .bk-chips li{display:inline-flex;align-items:center;gap:5px;font:650 12px var(--font-sans);color:var(--text-soft);padding:6px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line-soft);}
html body .bk-chips svg{color:var(--accent);}
html body .bk-cta-total em{font-style:normal;font:600 11px var(--font-sans);color:var(--text-muted);margin-top:1px;}

html body .bk-order{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 10px;border-radius:18px;background:var(--surface);border:1px solid var(--line-soft);margin-bottom:12px;}
html body .bk-order .bk-art{width:44px;height:52px;border-radius:11px;}
html body .bk-order-txt{flex:1;min-width:0;display:flex;flex-direction:column;}
html body .bk-order-txt b{font:800 15px var(--font-sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .bk-order-txt span{font-size:12.5px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .bk-order-amt{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0;}
html body .bk-order-amt b{font:800 16px var(--font-sans);}
html body .bk-order-amt button{appearance:none;border:0;background:none;padding:0;color:var(--accent);font:700 12.5px var(--font-sans);cursor:pointer;text-decoration:underline;text-underline-offset:3px;}
html body .bk-express{margin:0 0 12px;}
html body .bk-express[hidden]{display:none;}
html body .bk-or{display:flex;align-items:center;gap:10px;margin:12px 2px 0;font:600 12px var(--font-sans);color:var(--text-muted);}
html body .bk-or::before,html body .bk-or::after{content:"";flex:1;height:1px;background:var(--line);}
html body .bk-fit .checkout-payment-panel{padding:12px;border-radius:18px;background:var(--surface);border:1px solid var(--line-soft);min-height:110px;}
html body .bk-fit .bk-secure{padding:10px 6px 0;font-size:12px;}
html body .bk-fit .bk-secure a{color:var(--text-soft);}
html body .bk-fit .checkout-payment-panel{min-height:0 !important;padding:10px !important;}html body .bk-fit{padding-bottom:96px;}html body .bk-fit .bk-order{margin-bottom:10px;}html body .bk-fit .bk-express{margin-bottom:10px;}html body .bk-fit .bk-or{margin-top:10px;}

/* ══ Desktop: more room, same app ════════════════════════════════════════
   Bottom dock stays (no side rail). Wider pages with generous outer
   margins so nothing feels boxed in; the organiser card becomes a wide
   banner across the top of Discover. */
@media (min-width:1100px){
  /* General pages: wider than the phone column, with real side margins. */
  html body #view-container{max-width:1040px !important;padding-left:48px !important;padding-right:48px !important;}

  /* Discover: one wide column, organiser banner up front. */
  html body #app[data-view="feed"] #view-container{max-width:1440px !important;padding:0 64px !important;}
  html body .feed-layout{display:block !important;padding-left:0 !important;}
  html body .feed-layout > .feed-aside{position:static !important;padding:6px 0 0 !important;}
  html body .feed-layout > .feed-hero{padding-left:0 !important;padding-right:0 !important;}
  html body .feed-head{padding-left:0 !important;padding-right:0 !important;}
  html body .feed-main .feed-more,html body .feed-main .feed-end{width:100% !important;}
  html body .feed-main .feed-sec-head,html body .feed-main .fp-rail{padding-left:0;}
  html body .feed-host-cta{flex-direction:row !important;align-items:center !important;gap:24px !important;padding:20px 26px !important;border-radius:var(--r-xl) !important;}
  html body .fhc-copy{display:flex;align-items:center;gap:28px;flex-wrap:wrap;}
  html body .fhc-kicker{flex-basis:100%;margin:0 0 -18px !important;}
  html body .fhc-title{display:block !important;font:800 34px/1 var(--font-display) !important;letter-spacing:-.04em !important;margin:0 !important;}
  html body .fhc-sub{font:600 16px/1.35 var(--font-sans) !important;opacity:.85;flex:1;min-width:220px;}
  html body .fhc-btn{display:inline-flex !important;margin:0 !important;padding:14px 22px !important;font-size:15px !important;flex-shrink:0;}
  html body .fhc-go{display:none !important;}
  html body .fp-wheel{--fw-card:260px;}
  html body .feed-h1{font-size:clamp(56px,5vw,84px) !important;}

  /* Event page: two columns with the sticky booking card. */
  html body #app[data-view="detail"] #view-container{max-width:1320px !important;padding:0 64px !important;}
  html body .ev-page{display:grid;grid-template-columns:minmax(0,1fr) 360px;column-gap:36px;align-items:start;padding-top:20px;padding-bottom:60px;}
  html body .ev-page > .ev-hero{grid-column:1 / -1;min-height:440px;}
  html body .ev-page > .ev-body{grid-column:1;padding:8px 0 0;}
  html body .ev-page > .ev-buybar{grid-column:2;grid-row:2;position:sticky;top:24px;left:auto;transform:none;bottom:auto;width:auto;margin-top:24px;
    flex-direction:column;align-items:stretch;gap:14px;padding:22px;border-radius:24px;background:var(--surface);animation:none;}
  html body .ev-page > .ev-buybar .ev-buy-price{flex-direction:column;}
  html body .ev-page > .ev-buybar .ev-buy-price b{font-size:34px;}
  html body .ev-page > .ev-buybar .ev-buy-cta .v-btn{width:100%;min-height:56px;font-size:16.5px;}
  html body .ev-buy-meta{display:flex !important;}

  /* Hosting info: posters right, copy left — no overlap. */
  html body #app:has(.hx) #view-container{max-width:1320px !important;padding:0 64px !important;}
  html body .hx-hero{min-height:560px;}
  html body .hx-wall{left:46%;}
  html body .hx-hero::after{background:linear-gradient(90deg,var(--volt) 40%,transparent 75%);}
  html body .hx-hero-copy{max-width:52%;padding:0 40px 44px;}
  html body .hx-poster{width:clamp(150px,13vw,200px);}
}
@media (min-width:1440px){
  html body .feed-main .fr-list:not(.compact){grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}
html body .ev-buy-meta{display:none;flex-direction:column;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--line-soft);font-size:14px;color:var(--text-soft);}
html body .ev-buy-meta div{display:flex;gap:10px;align-items:flex-start;}
html body .ev-buy-meta svg{color:var(--accent);flex-shrink:0;margin-top:2px;}
html body .ev-buy-meta b{color:var(--text);display:block;font-weight:700;}

/* ══ Polish pass: sharper, flatter, more editorial ════════════════════════
   Same layout. Tighter geometry (squarer corners in place of bubbles),
   hairlines instead of glows, flat surfaces instead of glass, tabular
   figures for prices and times, line icons instead of emoji. */
html[data-theme]{--r-sm:8px;--r-md:12px;--r-lg:16px;--r-xl:22px;}
html body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:"ss01","cv11";}
html body ::selection{background:var(--volt);color:var(--volt-ink);}
html body :focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
html body .ui-ic{vertical-align:-0.15em;flex-shrink:0;}

/* Brand mark + glows: calm down */
html body .pulse{box-shadow:none;}

/* Geometry: cards, posters, thumbs, sheets */
html body .fp-card .poster{border-radius:14px !important;}
html body .fr-thumb{border-radius:10px !important;}
html body .fr-row{border-radius:12px;}
html body .bk-event,html body .bk-order,html body .bk-extras,html body .ac-card,html body .tv-receipt,html body .up-next,html body .ev-facts,html body .host-card,html body .promise-strip li{border-radius:14px !important;}
html body .bk-page .tt-card{border-radius:14px;}
html body .tv-ticket{border-radius:20px;}
html body .bk-art,html body .un-art,html body .ac-past-art{border-radius:10px !important;}
html body .loc-sheet{border-radius:22px 22px 0 0;}
html body .po-card{border-radius:20px;}
html body .feed-host-cta{border-radius:16px !important;}
html body .ev-page > .ev-buybar{border-radius:18px;}
html body .set-opt,html body .ac-row,html body .ac-field,html body .loc-opt{border-radius:10px;}
html body .set-ic,html body .tv-r-ic,html body .loc-ic{border-radius:8px;}

/* Chips: tidy tags rather than bubbles */
html body .v-chip{border-radius:10px;border-width:1px;font-weight:600;letter-spacing:-.005em;}
html body .v-chip.on{border-color:transparent;}
html body .fr-chip,html body .tv-meta span,html body .bk-chips li,html body .crew-chip{border-radius:6px;}
html body .fp-date,html body .fp-hot,html body .fp-price,html body .tv-seat,html body .ev-tag{border-radius:6px !important;}

/* Surfaces: flat + hairline (no glass blur on content cards) */
html body .ac-card,html body .bk-event,html body .bk-order,html body .up-next{box-shadow:none;border-color:var(--line);}
@media (hover:hover) and (pointer:fine){html body .fp-card:hover{transform:none;}}
@media (hover:hover) and (pointer:fine){html body .fp-wheel .fp-card.on:hover .poster{transform:translateY(-2px);}}
@media (hover:hover) and (pointer:fine){html body .fr-row:hover{background:var(--surface);}}

/* Type: tighter display, quieter labels, tabular figures */
html body .feed-sec-head h2,html body .ev-h2,html body .bk-h,html body .ac-card-head h2{letter-spacing:-.02em !important;}
html body .fr-title{letter-spacing:-.015em;}
html body .fr-date,html body .fp-date,html body .bk-ev-when,html body .un-kicker,html body .v-kicker,html body .feed-kicker,html body .feed-count{letter-spacing:.06em;font-weight:600;}
html body .fr-price,html body .fp-price,html body .bk-line,html body .bk-cta-total b,html body .ev-buy-price b,html body .tt-price,html body .tv-r-amt,html body .ac-stat b,html body .tv-code,html body .bk-order-amt b{font-variant-numeric:tabular-nums;}
html body .fp-hot{font-weight:700;letter-spacing:.02em;text-transform:uppercase;font-size:10.5px;}

/* Buttons: confident, not bouncy */
html body .v-btn{letter-spacing:-.01em;font-weight:700;}
@media (hover:hover) and (pointer:fine){html body .v-btn:hover{transform:none;filter:brightness(1.04);}}
html body .v-btn.ghost{box-shadow:inset 0 0 0 1px var(--line);}

/* Bottom dock: solid bar with a hairline, not frosted glass */
html body .bottom-nav{background:color-mix(in srgb,var(--surface) 96%,transparent) !important;box-shadow:0 8px 28px rgba(0,0,0,.28) !important;border-radius:20px !important;}
html body .nav-link{border-radius:14px !important;}
html body .ev-buybar,html body .bk-cta{border-radius:18px;}
html body .ev-buybar .v-btn,html body .bk-cta .v-btn{border-radius:12px;}

/* Icons that replaced emoji */
html body .ff-bell{display:inline-flex;color:var(--accent);margin-right:2px;}
html body .ac-host-bell{display:inline-flex;color:var(--accent);}
html body .feed-empty-art{color:var(--text-muted);}
html body .me-emoji{color:var(--text-muted);display:grid;place-items:center;}
html body .gate-host-success-icon{color:var(--accent);}
html body .fp-hot,html body .fp-date{white-space:nowrap;}html body .fp-top-r{flex-shrink:0;}

/* Event page with a flyer/photo: show the whole artwork (not a zoomed
   crop) over a darkened fill of itself — the way Dice presents posters. */
html body .ev-hero.has-photo{background:
  var(--p-img) center top / 100% auto no-repeat,
  linear-gradient(rgba(8,8,10,.8),rgba(8,8,10,.8)),
  var(--p-img) center / cover no-repeat !important;background-color:#0a0a0c !important;}
html body .ev-hero.has-photo::after{background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,transparent 16%,transparent 52%,rgba(0,0,0,.9) 100%);}
@media (min-width:761px){
  html body .ev-hero.has-photo{background:
    var(--p-img) right 28px top 76px / auto calc(100% - 104px) no-repeat,
    linear-gradient(rgba(8,8,10,.78),rgba(8,8,10,.78)),
    var(--p-img) center / cover no-repeat !important;}
  html body .ev-hero.has-photo::after{background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,transparent 60%),linear-gradient(180deg,transparent 55%,rgba(0,0,0,.5) 100%);}
}

/* ══ You're in — refined (replaces cloud puffs) ═══════════════════════════
   One continuous motion: fill → tick → a light sweep across the ticket →
   the stub glides away (no overshoot) as a single hairline ring ripples
   out from the tear. */
html body .tg .tg-sheen{opacity:0;}
html body .tg.win .tg-sheen{animation:tg-sheen .7s .78s cubic-bezier(.4,0,.2,1) forwards;}
@keyframes tg-sheen{0%{opacity:0;transform:rotate(18deg) translateX(0)}15%{opacity:1}100%{opacity:0;transform:rotate(18deg) translateX(240px)}}
html body .tg.win .tg-top{animation:tg-settle .6s .8s cubic-bezier(.22,1,.36,1) both;}
@keyframes tg-settle{0%{transform:none}40%{transform:translateY(-3px)}100%{transform:none}}
html body .tg.win .tg-stub{animation:tg-glide .9s .98s cubic-bezier(.22,1,.36,1) forwards;}
@keyframes tg-glide{0%{transform:none;opacity:1}100%{transform:translate(6px,26px) rotate(5deg);opacity:.55}}
html body .tg.win .tg-perf{animation:tg-perf .25s .95s ease forwards;}
html body .yi-ring{position:absolute;left:-60px;top:-60px;width:120px;height:120px;border-radius:50%;border:1.5px solid var(--volt);opacity:0;transform:scale(.2);}
html body .yi-overlay.won .yi-ring{animation:yi-ring 1.1s 1s cubic-bezier(.22,1,.36,1) forwards;}
html body .yi-overlay.won .yi-ring.r2{animation-delay:1.14s;border-color:color-mix(in srgb,var(--volt) 45%,transparent);}
@keyframes yi-ring{0%{opacity:.9;transform:scale(.2)}100%{opacity:0;transform:scale(2.6)}}
html body .yi-title span{transform:translateY(.35em);filter:blur(6px);}
html body .yi-overlay.won .yi-title span{animation:yi-letter2 .55s calc(.6s + var(--i) * .03s) cubic-bezier(.22,1,.36,1) forwards;}
@keyframes yi-letter2{to{opacity:1;transform:none;filter:blur(0)}}
html body .yi-overlay.out .yi-stage{transition:transform .55s cubic-bezier(.65,0,.35,1),opacity .4s ease .1s;transform:translateY(28vh) scale(.5);}

/* Host "Your payouts explained": label/value rows that never collide —
   value takes the space it needs, wraps under the label on narrow screens,
   in the UI font rather than wide mono. */
html body .hp-tier-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px;padding:12px 14px;border-radius:10px;}
html body .hp-tier-label{flex:1 1 auto;min-width:0;font:600 13.5px var(--font-sans);color:var(--text-soft);}
html body .hp-tier-fee{flex:0 1 auto;max-width:100%;text-align:right;font:700 13.5px/1.35 var(--font-sans) !important;letter-spacing:0 !important;color:var(--text);}
html body .hp-tier-fee.keep{color:var(--accent);}
html body .hp-tier-fee.muted{color:var(--text-muted);font-weight:600 !important;}
@media (max-width:420px){html body .hp-tier-fee.muted{flex-basis:100%;text-align:left;}}
html body .bk-fit #payment-element{margin-bottom:0 !important;}html body .bk-fit .checkout-status{margin:0 !important;}
html body .bk-hint-pay{margin:8px 6px 0;font-size:12px;color:var(--text-muted);}

/* ══ Map performance on phones ════════════════════════════════════════════
   200+ HTML pins: drop the per-pin effects that force the phone to redo
   work on every frame of a drag. Visually near-identical. */
html body .mp-label{-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background:color-mix(in srgb,var(--surface) 94%,transparent) !important;}
/* Film grain + scrim pseudo-layers (mix-blend-mode) off on map tiles. */
html body .mp-tile.poster::before,html body .mp-tile.poster::after,
html body .mc-card.poster::before,html body .mc-card.poster::after{display:none !important;}
/* Isolate each pin so its repaints never spill into the map layer. */
html body .mp-root,html body .mc-root{contain:layout style;}
/* Pulses and blinks pause while the map is being dragged or zoomed. */
html body.map-moving .mp-ring,html body.map-moving .mc-live i,html body.map-moving .mp-live,html body.map-moving .pulse{animation-play-state:paused !important;}
html body.map-moving .mp-tile{transition:none !important;}

/* ══ Keyboard-aware sheets (see keyboardAware() in 13-discover-feed.js) ═══════
   Overlays follow the visible area above the keyboard; the sheet inside
   scrolls if it's taller than that, so the field you're typing in stays
   on screen. */
/* Keyboard-aware sheets. The overlay stays put; the sheet glides up by the
   keyboard's height (--kb, set once the keyboard has settled) using the
   separate `translate` property, so it never fights the entrance animation.
   While typing the sheet compacts — headline/intro copy fold away — so the
   fields and the button fit in the space above the keyboard. */
html body .lp-signup-overlay,html body .loc-overlay{overscroll-behavior:contain;}
html body .lp-signup-modal,html body .loc-sheet{translate:0 calc(-1 * var(--kb,0px));transition:translate .3s cubic-bezier(.2,.8,.2,1),max-height .3s cubic-bezier(.2,.8,.2,1),padding .3s ease !important;max-height:calc(var(--vvh,100dvh) - 12px) !important;overflow-y:auto !important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
html body .lp-signup-modal{animation-fill-mode:backwards !important;}
html.kb-open:not(.auth-page) body .lp-signup-modal{padding-top:16px !important;padding-bottom:16px !important;border-radius:var(--r-xl) !important;}
html.kb-open:not(.auth-page) body .lp-signup-modal::before,html.kb-open:not(.auth-page) body .lp-signup-modal :is(.lp-form-eyebrow,.lp-form-sub,.lp-trust,.lp-form-trust){display:none !important;}
html.kb-open:not(.auth-page) body .lp-signup-modal :is(.auth-mode-sel,.gate-type-sel){margin-bottom:10px !important;}
html.kb-open:not(.auth-page) body .lp-signup-modal .lp-form-title{font-size:20px !important;margin:4px 0 10px !important;}
html.kb-open:not(.auth-page) body .lp-signup-modal .gate-field{margin-bottom:10px !important;}
html.kb-open:not(.auth-page) body .lp-signup-close{top:18px !important;}
html.kb-open:not(.auth-page) body .lp-signup-modal .auth-mode-sel{width:calc(100% - 46px) !important;max-width:calc(100% - 46px) !important;margin-right:46px !important;}
@media (prefers-reduced-motion:reduce){html body .lp-signup-modal,html body .loc-sheet{transition:none !important;}}

/* Live-ticket notification: red dot on the Tickets tab + a strip on the card */
html body .nav-link{position:relative;}
/* Live-ticket notification — a crisp count badge pinned to the Tickets
   icon (ringed in the dock colour so it reads as cut out of it), a quiet
   halo while the event is on, and an accented Show QR on the live ticket. */
html body .bottom-nav .nav-link{position:relative;}
html body .nav-badge{position:absolute;top:4px;left:calc(50% + 6px);min-width:15px;height:15px;padding:0 4px;box-sizing:border-box;border-radius:8px;background:var(--hot);color:#fff;font:800 9.5px/15px var(--font-sans);font-variant-numeric:tabular-nums;text-align:center;letter-spacing:0;box-shadow:0 0 0 2.5px var(--surface);pointer-events:none;}
html body .nav-badge.pop{animation:nav-badge-in .32s cubic-bezier(.2,1.2,.4,1) backwards;}
html body .nav-badge::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 color-mix(in srgb,var(--hot) 55%,transparent);animation:nav-badge-halo 2.4s 1s ease-out infinite;}
html body .nav-link.active-tab .nav-badge{box-shadow:0 0 0 2.5px var(--volt);}
@keyframes nav-badge-in{from{transform:scale(.3);opacity:0}}
@keyframes nav-badge-halo{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--hot) 50%,transparent)}70%,100%{box-shadow:0 0 0 7px transparent}}
body.map-moving .nav-badge::after{animation:none;}
@media (prefers-reduced-motion:reduce){html body .nav-badge,html body .nav-badge::after{animation:none;}}
html body .tk.is-live{border-color:color-mix(in srgb,var(--hot) 32%,var(--line)) !important;box-shadow:0 0 0 1px color-mix(in srgb,var(--hot) 14%,transparent),0 16px 36px -28px color-mix(in srgb,var(--hot) 55%,transparent) !important;}
html body .v-btn.tk-qr-live{background:var(--hot) !important;color:#fff !important;display:inline-flex;align-items:center;justify-content:center;gap:8px;}
html body .tk-live-dot{width:7px;height:7px;border-radius:50%;background:#fff;flex:none;animation:tk-live-dot 1.6s ease-in-out infinite;}
@keyframes tk-live-dot{0%,100%{opacity:1}50%{opacity:.35}}

/* ══ Smooth page changes ══════════════════════════════════════════════════
   One calm, consistent transition everywhere: a short opacity fade on the
   new page (no slide, so nothing jumps), no bouncing bars, and nothing
   replays when the same page redraws. */
@keyframes v-rise{from{opacity:0}}
@keyframes v-glide{from{opacity:0;transform:translate3d(0,10px,0)}}
/* Pages with no pinned bars glide up a touch as they fade in; pages that
   pin a bar to the screen (event buy bar, Pay, host bar) only fade, since a
   moving parent would drag the bar with it for the first few frames. */
html body :is(.feed,.v-page,.tv-page,.ac-page){animation:v-glide .34s cubic-bezier(.2,.8,.2,1) backwards !important;}
html body :is(.ev-page,.bk-page,.hx){animation:v-rise .24s cubic-bezier(.2,0,0,1) backwards !important;}
html body .bk-cta,html body .ev-buybar{animation:none !important;}
#app.same-view :is(.feed,.v-page,.ev-page,.bk-page,.tv-page,.ac-page,.hx,.up-next,.tv-r-body,.hx-hero-copy,.ev-buybar,.bk-cta){animation:none !important;}

/* ══ You're in — snappy cut ════════════════════════════════════════════════
   ~1.3s end to end: fill → tick → one clean slice along the perforation →
   the stub snaps away with a single ring. Everything overrides the older,
   slower timings above. */
html body .yi-overlay:not(.cont) .yi-stage{animation-duration:.4s !important;}
html body .tg.win .tg-fill{animation:tg-fill .3s cubic-bezier(.3,.7,.2,1) forwards !important;}
html body .tg.win .tg-tick{animation:tg-tick .28s .14s cubic-bezier(.6,0,.3,1) forwards !important;}
html body .tg.win .tg-sheen{animation:tg-sheen .45s .28s cubic-bezier(.4,0,.2,1) forwards !important;}
html body .tg.win .tg-top{animation:tg-settle .35s .44s cubic-bezier(.22,1,.36,1) both !important;}
html body .tg .tg-cutline{stroke:var(--volt);stroke-width:2;stroke-linecap:round;stroke-dasharray:112;stroke-dashoffset:112;opacity:0;}
html body .tg.win .tg-cutline{animation:tg-cut .2s .42s cubic-bezier(.7,0,.3,1) forwards !important;}
html body .tg.win .tg-perf{animation:tg-perf .12s .42s linear forwards !important;}
@keyframes tg-cut{0%{opacity:1;stroke-dashoffset:112}80%{opacity:1;stroke-dashoffset:0}100%{opacity:0;stroke-dashoffset:0}}
html body .tg.win .tg-stub{animation:tg-snap .42s .6s cubic-bezier(.2,.9,.2,1) forwards !important;}
@keyframes tg-snap{0%{transform:none;opacity:1}100%{transform:translate(5px,22px) rotate(7deg);opacity:.5}}
html body .yi-overlay.won .yi-ring{animation:yi-ring .7s .6s cubic-bezier(.22,1,.36,1) forwards !important;}
html body .yi-overlay.won .yi-ring.r2{animation-delay:.68s !important;}
html body .yi-overlay.won .yi-title span{animation:yi-letter2 .38s calc(.08s + var(--i) * .02s) cubic-bezier(.22,1,.36,1) forwards !important;}
html body .yi-overlay.won .yi-sub{animation:yi-sub .3s .32s ease forwards !important;}
html body .tv-page.just .tv-ticket{animation-delay:calc(1.85s + var(--i,0) * .08s) !important;}

/* Booking reassurance: a quiet line of facts, not three boxed chips. */
html body .bk-chips{display:flex !important;flex-wrap:wrap !important;justify-content:center !important;gap:6px 16px !important;margin:14px 0 0 !important;padding:0 !important;}
html body .bk-chips li{background:none !important;border:0 !important;padding:0 !important;font-size:12px !important;font-weight:600 !important;color:var(--text-muted) !important;display:inline-flex !important;align-items:center !important;gap:5px !important;}
html body .bk-chips li svg{color:var(--accent);}

/* ══ Touch feel ═══════════════════════════════════════════════════════════
   One quick, consistent press response on everything tappable that didn't
   have one — a soft dip on touch, released smoothly, no overshoot. */
html body :is(.nav-link,.fr-row,.v-chip,.fr-chip,.ac-row,.tk-art){-webkit-tap-highlight-color:transparent;transition:transform .18s cubic-bezier(.2,.8,.2,1),background-color .2s ease,color .2s ease,opacity .2s ease,box-shadow .2s ease;}
html body :is(.nav-link,.v-chip,.fr-chip,.ac-row):active{transform:scale(.96);}
html body :is(.fr-row,.tk-art):active{transform:scale(.985);}
@media (prefers-reduced-motion:reduce){html body :is(.nav-link,.fr-row,.v-chip,.fr-chip,.ac-row,.tk-art):active{transform:none;}}

/* Tab highlight: no replay when the dock comes back (it's hidden on event
   and checkout pages); a short, soft fade only when you switch tabs. */
html body .nav-link.active-tab{animation:none !important;}
html body .nav-link.active-tab.tab-in{animation:nav-tab-in .26s cubic-bezier(.2,.8,.2,1) !important;}
@keyframes nav-tab-in{from{background-color:transparent;transform:scale(.94)}}
/* Back navigation shows the page as you left it. */
#app.nav-back :is(.feed,.v-page,.tv-page,.ac-page,.ev-page,.bk-page,.hx,.up-next){animation:none !important;}
/* …but it slides back in from the left, briefly, so going back reads as
   back (forward pages rise in). Content stays where you left it. */
#app.nav-slide:not(.same-view) :is(.feed,.v-page,.tv-page,.ac-page,.ev-page,.bk-page,.hx){animation:v-back .24s cubic-bezier(.2,.8,.2,1) !important;}
@keyframes v-back{from{opacity:.35;transform:translateX(-14px)}}
@media (prefers-reduced-motion:reduce){#app.nav-slide:not(.same-view) :is(.feed,.v-page,.tv-page,.ac-page,.ev-page,.bk-page,.hx){animation:v-back-fade .18s ease !important;}}
@keyframes v-back-fade{from{opacity:.5}}

/* Map card sheet: only the cards themselves catch the pointer. The sheet is
   full-width, so on desktop the empty space either side of the centred
   cards used to block dragging the map across the whole bottom band. */
html body .map-cards.in{pointer-events:none !important;}
html body .map-cards.in :is(.mcard,.mcard-panel){pointer-events:auto;}
html body .map-cards .mcard-rail{pointer-events:none;}
html body .map-cards.in .mcard-rail{pointer-events:auto;}
@media (min-width:761px){html body .map-cards.in .mcard-rail{pointer-events:none;}html body .map-cards.in .mcard-rail > *{pointer-events:auto;}}

/* ══ Sign-in as a page (phones) ═══════════════════════════════════════════
   The app steps aside (kept mounted, just hidden and out of the flow) and
   the sign-in form becomes the page itself: normal document scrolling, so
   iOS/Android move the focused field above the keyboard natively. */
@media (max-width:760px){
  html.auth-page body > #app,html.auth-page body > #gate-root{position:fixed !important;inset:0 !important;visibility:hidden !important;overflow:hidden !important;pointer-events:none !important;}
  html.auth-page body{overflow:auto !important;}
  html.auth-page .lp-signup-overlay.open{position:relative !important;inset:auto !important;top:auto !important;height:auto !important;min-height:100dvh;display:block !important;padding:0 !important;background:var(--bg) !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;opacity:1 !important;}
  html.auth-page .lp-signup-overlay.open .lp-signup-modal{position:relative;width:100% !important;max-width:none !important;max-height:none !important;min-height:100dvh;box-sizing:border-box;overflow:visible !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;translate:none !important;transform:none !important;padding:calc(env(safe-area-inset-top,0px) + 68px) 22px calc(env(safe-area-inset-bottom,0px) + 40px) !important;animation:auth-page-in .3s cubic-bezier(.2,.8,.2,1) backwards !important;}
  @keyframes auth-page-in{from{opacity:0;transform:translate3d(0,12px,0)}}
  html.auth-page .lp-signup-modal::before{font-size:40px !important;margin:0 0 20px !important;display:block !important;}
  /* the close ✕ becomes a back arrow, top-left like any pushed page */
  html.auth-page .lp-signup-close{position:absolute !important;top:calc(env(safe-area-inset-top,0px) + 14px) !important;left:14px !important;right:auto !important;width:42px !important;height:42px !important;font-size:0 !important;color:var(--text) !important;background:var(--surface) !important;border:1px solid var(--line) !important;display:grid !important;place-items:center !important;}
  html.auth-page .lp-signup-close::before{content:"";position:absolute;left:50%;top:50%;translate:-55% -50%;width:22px;height:22px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;}
  html.auth-page .lp-signup-close,html.auth-page .lp-signup-close:active{transform:none !important;rotate:none !important;}
@media (hover:hover) and (pointer:fine){html.auth-page .lp-signup-close:hover{transform:none !important;rotate:none !important;}}
  html.auth-page .lp-signup-close:active{scale:.94;}
  html.auth-page .lp-signup-modal .gate-input{font-size:16px !important;} /* ≥16px: iOS won't zoom on focus */
}

/* Tickets: Upcoming / Past */
html body .tk-tabs{display:flex;gap:4px;padding:4px;margin:0 18px 16px;border-radius:999px;background:var(--surface-2);}
html body .tk-tab{appearance:none;border:0;flex:1;height:40px;border-radius:999px;background:transparent;color:var(--text-muted);font:700 14px var(--font-sans);display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:background-color .2s ease,color .2s ease;-webkit-tap-highlight-color:transparent;}
html body .tk-tab.on{background:var(--text);color:var(--bg);}
html body .tk-tab-n{min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:10px;font:800 11px/20px var(--font-sans);font-variant-numeric:tabular-nums;background:color-mix(in srgb,currentColor 14%,transparent);}
html body .tk-empty{margin:8px 18px 20px;padding:28px 20px;border-radius:var(--r-lg);border:1px dashed var(--line);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;}
html body .tk-empty b{font:800 16px var(--font-sans);color:var(--text);}
html body .tk-empty span{font-size:13.5px;color:var(--text-muted);max-width:280px;line-height:1.45;}
html body .tk-empty .v-btn{margin-top:10px;}
html body .tk.past{opacity:.82;filter:grayscale(.45);}

/* "You've got a ticket" on the event page: a confident, on-brand state —
   not a second loud call to action, and not an off-palette green. */
html body .v-btn.have{background:color-mix(in srgb,var(--volt) 14%,var(--surface)) !important;color:var(--text) !important;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--volt) 45%,transparent) !important;display:inline-flex;align-items:center;justify-content:center;gap:8px;}
html body .v-btn.have svg{color:var(--volt);}
html[data-theme="light"] body .v-btn.have svg{color:var(--accent);}
/* Line icons where emoji used to be */
html body .review-empty-icon{display:grid;place-items:center;color:var(--text-muted);}
html body .review-empty-icon .ui-ic{display:block;}
/* Sign-in / sign-up submit: the app's one primary-button style, both themes */
html body .lp-claim-btn{background:var(--cta-bg) !important;color:var(--cta-fg) !important;border:0 !important;box-shadow:none !important;}
@media (hover:hover) and (pointer:fine){html body .lp-claim-btn:hover{filter:brightness(1.06);}}

/* ══ Home: Filters button + sheet ═══════════════════════════════════════ */
html body .feed-search-row{display:flex;gap:8px;align-items:stretch;}
html body .feed-search-row .feed-search{flex:1;min-width:0;margin:0 !important;}
html body .ffb-n{min-width:19px;height:19px;padding:0 5px;box-sizing:border-box;border-radius:10px;background:var(--cta-bg);color:var(--cta-fg);font:800 11px/19px var(--font-sans);text-align:center;font-variant-numeric:tabular-nums;}
html body .ffb-n[hidden]{display:none;}
html body .ff-body{padding:2px 2px 8px;}
html body .ff-sec{margin:0 0 18px;}
html body .ff-sec h4{margin:0 0 8px;font:700 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);}
html body .ff-seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--surface-2);}
html body .ff-seg button{appearance:none;border:0;flex:1;min-width:0;height:38px;border-radius:999px;background:transparent;color:var(--text-muted);font:700 13px var(--font-sans);white-space:nowrap;cursor:pointer;transition:background-color .2s ease,color .2s ease;}
html body .ff-seg button.on{background:var(--text);color:var(--bg);}
html body .ff-cats{display:flex;flex-wrap:wrap;gap:6px;}
html body .ff-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:var(--r-md);background:var(--surface-2);cursor:pointer;}
html body .ff-toggle span{display:flex;flex-direction:column;gap:2px;}
html body .ff-toggle b{font:700 14px var(--font-sans);color:var(--text);}
html body .ff-toggle small{font-size:12.5px;color:var(--text-muted);}
html body .ff-toggle input{position:absolute;opacity:0;pointer-events:none;}
html body .ff-toggle i{flex:none;width:44px;height:26px;border-radius:13px;background:var(--line);position:relative;transition:background-color .2s ease;}
html body .ff-toggle i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .22s cubic-bezier(.2,.8,.2,1);}
html body .ff-toggle input:checked + i{background:var(--cta-bg);}
html body .ff-toggle input:checked + i::after{transform:translateX(18px);}
html body .ff-toggle input:focus-visible + i{outline:2px solid var(--accent);outline-offset:2px;}

/* ══ Delight (see src/js/app/14-delight.js) ════════════════════════════════
   Decorative motion only: transform/opacity, individual translate/rotate/
   scale properties so nothing fights existing transforms, and all of it
   off under prefers-reduced-motion. */

/* 1 · Boot screen: progress bar, rotating tips, iris-wipe reveal */
@property --iris{syntax:"<length-percentage>";inherits:false;initial-value:0%;}
#boot-loader .boot-bar{width:120px;height:3px;border-radius:2px;background:color-mix(in srgb,var(--text) 12%,transparent);overflow:hidden;margin-top:4px;}
#boot-loader .boot-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--text) 0 82%,var(--volt));transform:scaleX(.08);transform-origin:0 50%;transition:transform .5s cubic-bezier(.2,.8,.2,1);}
#boot-loader .boot-tip{font:700 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);min-height:14px;}
#boot-loader .boot-tip.in{animation:boot-tip .45s cubic-bezier(.2,.8,.2,1) backwards;}
@keyframes boot-tip{from{opacity:0;translate:0 6px}}
#boot-loader.iris{-webkit-mask:radial-gradient(circle at 50% 46%,transparent var(--iris),#000 calc(var(--iris) + 1px));mask:radial-gradient(circle at 50% 46%,transparent var(--iris),#000 calc(var(--iris) + 1px));animation:boot-iris .7s cubic-bezier(.7,0,.25,1) forwards;}
#boot-loader.iris .boot-mark{animation:boot-mark-out .3s ease forwards;}
@keyframes boot-iris{to{--iris:150%}}
@keyframes boot-mark-out{to{scale:2.4;opacity:0}}

/* 2 · Home "level load" (first view per visit) */
#app.boot-play .feed-head{animation:bi-down .45s .15s cubic-bezier(.2,.8,.2,1) backwards;}
#app.boot-play .feed-kicker{animation:bi-type .55s .3s steps(var(--chars,24),end) backwards;}
@keyframes bi-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
#app.boot-play .feed-h1{animation:bi-title .6s .42s cubic-bezier(.16,1,.3,1) backwards;}
@keyframes bi-title{from{clip-path:inset(0 0 100% 0);translate:0 .45em}to{clip-path:inset(0 0 -10% 0)}}
#app.boot-play .feed-search{transform-origin:0 50%;animation:bi-draw .5s .56s cubic-bezier(.2,.8,.2,1) backwards;}
@keyframes bi-draw{from{scale:.35 1;opacity:0}}
@keyframes bi-pop{from{scale:.5;opacity:0}}
#app.boot-play :is(.feed-host-cta,.promise-strip){animation:bi-slide .55s .8s cubic-bezier(.16,1,.3,1) backwards;}
@keyframes bi-slide{from{translate:-28px 0;opacity:0}}
#app.boot-play .up-next{animation:bi-flip .6s .9s cubic-bezier(.16,1,.3,1) backwards !important;transform-origin:50% 0;}
@keyframes bi-flip{from{rotate:x 70deg;opacity:0}}
@keyframes bi-wipe{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
#app.boot-play .fp-rail{perspective:none;}
#app.boot-play .fp-card{animation:bi-deal .62s calc(1.02s + var(--bi,0) * 70ms) cubic-bezier(.2,1.25,.4,1) backwards;}
@keyframes bi-deal{from{translate:0 90px;rotate:calc(-10deg + var(--bi,0) * 5deg);opacity:0}}
#app.boot-play .feed-sec-head{animation:bi-down .45s 1.05s ease backwards;}
#app.boot-play .feed-sticky-filters .v-chip{animation:bi-pop .38s calc(1.25s + var(--bi,0) * 32ms) cubic-bezier(.3,1.5,.5,1) backwards;}
#app.boot-play #feed-results .fr-row{animation:bi-rise .45s calc(1.38s + var(--bi,0) * 45ms) cubic-bezier(.2,.8,.2,1) backwards;}
@keyframes bi-down{from{translate:0 -10px;opacity:0}}
@keyframes bi-rise{from{translate:0 14px;opacity:0}}
#app.boot-play .feed-kicker .pulse{animation-delay:.9s;}
[data-countup]{font-variant-numeric:tabular-nums;font-weight:inherit;}

/* 3 · Save confetti */
.save-burst{position:fixed;z-index:9000;width:0;height:0;pointer-events:none;}
.save-burst i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:2px;animation:save-burst .6s cubic-bezier(.15,.8,.3,1) forwards;}
.save-burst i:nth-child(odd){border-radius:50%;}
@keyframes save-burst{0%{translate:0 0;scale:.4;opacity:1}70%{opacity:1}100%{translate:var(--dx) var(--dy);scale:1;rotate:120deg;opacity:0}}

/* 5 · Tab hop, event poster drop, orb */
html body .nav-link.tab-in .nav-icon{animation:tab-hop .42s cubic-bezier(.3,1.6,.5,1);}
@keyframes tab-hop{0%{translate:0 0}35%{translate:0 -5px}100%{translate:0 0}}
#app:not(.same-view):not(.nav-back) .ev-hero{animation:ev-drop .55s .05s cubic-bezier(.2,1.1,.4,1) backwards;}
@keyframes ev-drop{from{scale:1.06;rotate:-1.2deg;opacity:0}}
html body .feed-mark{cursor:pointer;}
html body .feed-mark.spin .brand-mark > g{animation:hm-hop .5s cubic-bezier(.3,1.5,.5,1) backwards;}
html body .feed-mark.spin .hm-b{animation-delay:.06s;}
html body .feed-mark.spin .hm-c{animation-delay:.12s;}
html body .feed-mark.party .brand-mark > g{animation:hm-party .9s cubic-bezier(.3,1.4,.5,1) 2 backwards;}
html body .feed-mark.party .hm-b{animation-delay:.1s;}
html body .feed-mark.party .hm-c{animation-delay:.2s;}
@keyframes hm-hop{40%{translate:0 -22%;scale:.96 1.06}70%{translate:0 0;scale:1.06 .94}}
@keyframes hm-party{25%{translate:0 -30%;rotate:-10deg}50%{translate:0 0;rotate:0deg}75%{translate:0 -20%;rotate:10deg}}

@media (prefers-reduced-motion:reduce){
  #app.boot-play *,#boot-loader *,.save-burst,.feed-mark,.ev-hero,.nav-icon{animation:none !important;}
}

/* ══ Event rows: bordered cards, price front and centre on the right ════════
   Every listing is its own card, and what you'll pay is the first thing you
   see on the right — the all-in price (incl. fees), or a clear "Free". */
html body .fr-list{gap:8px;}
html body .fr-row{border:1px solid var(--line) !important;border-radius:var(--r-lg) !important;background:var(--surface) !important;padding:10px 10px 10px 10px !important;gap:12px !important;align-items:stretch !important;transition:border-color .2s ease,background-color .2s ease,transform .18s cubic-bezier(.2,.8,.2,1) !important;}
html body .fr-row + .fr-row::before{display:none !important;}
@media (hover:hover) and (pointer:fine){html body .fr-row:hover{border-color:color-mix(in srgb,var(--text) 22%,var(--line)) !important;background:var(--surface) !important;}}
html body .fr-row .fr-thumb{align-self:center;}
html body .fr-row .fr-body{flex:1;min-width:0;align-self:center;}
html body .fr-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:6px;min-width:64px;padding-left:10px;border-left:1px dashed var(--line);}
html body .fr-cost{display:flex;flex-direction:column;align-items:flex-end;line-height:1.05;}
html body .fr-cost b{font:800 19px/1 var(--font-sans);letter-spacing:-.02em;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;}
html body .fr-cost small{margin-top:3px;font:600 10.5px var(--font-sans);color:var(--text-muted);white-space:nowrap;}
html body .fr-cost.free b{font-size:13px;padding:5px 10px;border-radius:999px;background:var(--cta-bg);color:var(--cta-fg);letter-spacing:0;}
html body .fr-side .save-btn.in-row{margin:0 -4px -4px 0 !important;}
html body .fr-list.compact .fr-row{padding:8px !important;}
html body .fr-list.compact .fr-cost b{font-size:17px;}
html body .fr-foot:empty{display:none;}
@media (min-width:761px){html body .fr-list{row-gap:10px;}}

/* 6 · Event page "jump in": the ticket button flies in from the tapped poster (see delightEventJump) */
.ev-hero{position:relative;}
/* Ticket button: the event page's main CTA (ticketButtonHtml in 09).
   Poster strip | notched perforation | stub. */
.tk-btn{--aw:54px;appearance:none;border:0;padding:0;margin:0;width:100%;min-height:54px;display:flex;align-items:stretch;position:relative;overflow:hidden;cursor:pointer;
  border-radius:12px;background:var(--cta-bg);color:var(--cta-fg);font:inherit;text-align:left;-webkit-tap-highlight-color:transparent;
  transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .2s ease;
  -webkit-mask:radial-gradient(circle at var(--aw) 0,#0000 7px,#000 calc(7px + .5px)) top/100% 51% no-repeat,radial-gradient(circle at var(--aw) 100%,#0000 7px,#000 calc(7px + .5px)) bottom/100% 51% no-repeat;mask:radial-gradient(circle at var(--aw) 0,#0000 7px,#000 calc(7px + .5px)) top/100% 51% no-repeat,radial-gradient(circle at var(--aw) 100%,#0000 7px,#000 calc(7px + .5px)) bottom/100% 51% no-repeat;}
.tk-btn:active{transform:scale(.975);}
@media (hover:hover) and (pointer:fine){.tk-btn:hover{filter:brightness(1.04);}}
.tk-btn:focus-visible{outline:none;filter:brightness(1.08);box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--cta-fg) 60%,transparent);}
.tk-btn-art{flex:0 0 var(--aw);position:relative;display:block;border-radius:0;}
.tk-btn-art .poster-glyph{font-size:40px;}
.tk-btn-stub{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 16px 8px 15px;position:relative;}
/* the perforation, between the strip and the stub */
.tk-btn-stub::before{content:"";position:absolute;left:0;top:9px;bottom:9px;border-left:1.5px dashed color-mix(in srgb,var(--cta-fg) 38%,transparent);}
.tk-btn-kick{font:700 9.5px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;opacity:.62;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.tk-btn-label{font:800 16px/1.1 var(--font-sans);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:6px;}
.tk-btn.have{background:color-mix(in srgb,var(--volt) 14%,var(--surface));color:var(--text);}
.tk-btn.have .tk-btn-stub::before{border-color:color-mix(in srgb,var(--volt) 45%,transparent);}
.tk-btn.have svg{color:var(--volt);}
html[data-theme="light"] .tk-btn.have svg{color:var(--accent);}
/* a glint sweeps across as it presses into place */
.tk-btn::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.55) 48%,transparent 64%);translate:-130% 0;}
.tk-btn.shine::after{animation:tk-shine .8s cubic-bezier(.3,.6,.3,1) forwards;}
@keyframes tk-shine{to{translate:130% 0}}
.tk-btn-ghost{position:fixed !important;z-index:1200;margin:0 !important;pointer-events:none;transition:none;}
.tk-btn-wait{visibility:hidden;}
@media (min-width:761px){
  html body .ev-page > .ev-buybar .tk-btn{--aw:64px;min-height:60px;}
  html body .ev-page > .ev-buybar .tk-btn-label{font-size:17px;}
}
@media (prefers-reduced-motion:reduce){.tk-btn.shine::after{animation:none}.tk-btn:active{transform:none}}
/* while it flies in, the page simply appears: no staged rebuild */
/* (a class on the page itself, so ending the jump can't restart the entrance) */
html body .ev-page.jumped{animation:none !important;}
html body .ev-page.jumped .ev-body{animation:ev-in .28s ease-out backwards;}
@keyframes ev-in{from{opacity:0}}
html body .gate-otp-links{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--text-muted);font-size:13px;}
html body .gate-otp-links .gate-otp-resend{margin:0 !important;width:auto !important;display:inline !important;padding:4px 0 !important;}

/* ── Filters dropdown on the Home chip bar (toggleFeedDrop in 13) ───────── */
html body .ff-drop-btn{gap:6px;flex:none;}
html body .ff-drop-btn .ffb-n{min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--cta-bg);color:var(--cta-fg);font:800 10.5px/18px var(--font-sans);text-align:center;}
html body .ff-drop-btn .ffd-caret{margin-left:-1px;transition:rotate .22s cubic-bezier(.2,.8,.2,1);}
html body .ff-drop-btn[aria-expanded="true"] .ffd-caret{rotate:180deg;}
html body .ff-drop{position:absolute;left:12px;right:12px;top:calc(100% + 6px);z-index:60;overflow:auto;overscroll-behavior:contain;
  padding:16px 14px 0;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);box-shadow:0 24px 60px -18px rgba(0,0,0,.55);
  opacity:0;translate:0 -8px;scale:.98;transform-origin:20% 0;transition:opacity .16s ease,translate .2s cubic-bezier(.2,.8,.2,1),scale .2s cubic-bezier(.2,.8,.2,1);}
html body .ff-drop.in{opacity:1;translate:0 0;scale:1;}
@media (min-width:761px){html body .ff-drop{right:auto;width:420px;left:0;}}
html body .ffd-foot{position:sticky;bottom:0;display:flex;align-items:center;gap:12px;margin:0 -14px;padding:12px 14px;background:var(--surface);border-top:1px solid var(--line-soft);}
html body .ffd-foot > span{flex:1;font-size:13.5px;color:var(--text-muted);}
html body .ffd-foot > span b{color:var(--text);font-variant-numeric:tabular-nums;}
html body .ffd-foot .link-btn[disabled]{opacity:.4;pointer-events:none;}
@media (prefers-reduced-motion:reduce){html body .ff-drop{transition:opacity .12s ease;translate:none;scale:none;}}
html body .ff-drop.up{top:auto;bottom:calc(100% + 6px);transform-origin:20% 100%;translate:0 8px;}
html body .ff-drop.up.in{translate:0 0;}

/* ── Home: clear day headings + date strip (13-discover-feed.js) ──────── */
html body .fr-day{grid-column:1 / -1;display:flex;align-items:baseline;gap:10px;margin:0;padding:22px 4px 10px;font:inherit;text-transform:none;letter-spacing:0;color:var(--text);}
html body .fr-day:first-child{padding-top:4px;}
html body .fr-day b{font:800 24px/1 var(--font-display);letter-spacing:-.025em;}
html body .fr-day span{font:700 15px/1 var(--font-sans);color:var(--text-muted);}
html body .fr-day em{margin-left:auto;font:700 11px/1 var(--font-mono);font-style:normal;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);}
html body .fr-day.live b{color:var(--hot-text);}
html body .fr-day .pulse{align-self:center;}
html body .fr-list.compact .fr-date,html body .fr-date{font-size:12.5px;letter-spacing:.04em;font-weight:700;}
html body .fd-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:18px;margin:2px 0 14px;padding:10px 18px 6px;}
html body .fd-strip::-webkit-scrollbar{display:none;}
html body .fd-day{appearance:none;flex:none;scroll-snap-align:start;position:relative;width:58px;height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  border-radius:16px;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .18s cubic-bezier(.2,.8,.2,1);}
html body .fd-day:active{transform:scale(.95);}
html body .fd-wd{font:700 10.5px/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);}
html body .fd-day b{font:800 22px/1 var(--font-display);letter-spacing:-.02em;}
html body .fd-mo{font:600 10.5px/1 var(--font-sans);color:var(--text-muted);}
html body .fd-n{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:9px;background:var(--surface-2);border:1px solid var(--line);color:var(--text);font:800 10px/16px var(--font-sans);font-style:normal;text-align:center;}
html body .fd-n:empty{display:none;}
html body .fd-day.none{opacity:.45;}
html body .fd-day.wknd .fd-wd{color:var(--accent);}
html body .fd-day.on{background:var(--text);border-color:var(--text);color:var(--bg);opacity:1;}
html body .fd-day.on :is(.fd-wd,.fd-mo){color:color-mix(in srgb,var(--bg) 70%,transparent);}
html body .fd-day.on .fd-n{background:var(--cta-bg);border-color:var(--cta-bg);color:var(--cta-fg);}
html body .fd-any b{font-size:17px;}
html body .fd-pick{color:var(--text-muted);gap:6px;overflow:hidden;}
html body .fd-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;}
@media (min-width:761px){html body .fd-strip{margin:2px 0 16px;padding:2px 0 6px;scroll-padding-inline:0;}}
@media (prefers-reduced-motion:reduce){html body .fd-day:active{transform:none;}}

/* ── Home filter bar: Filters ▾ / Near me / Saved, a hairline, then the date strip ── */
html body .feed-sticky-filters{padding:10px 0 0 !important;}
html body .fbar-row{display:flex;gap:8px;padding:0 18px;overflow-x:auto;scrollbar-width:none;}
html body .fbar-row::-webkit-scrollbar{display:none;}
html body .fbar-row .v-chip{flex:none;}
html body .fbar-line{height:1px;margin:10px 18px 0;background:linear-gradient(90deg,transparent,var(--line) 12%,var(--line) 88%,transparent);}
html body .feed-sticky-filters .fd-strip{margin:0;padding:12px 18px 12px;gap:6px;}
html body .feed-sticky-filters .fd-day{width:50px;height:60px;border-radius:14px;gap:1px;}
html body .feed-sticky-filters .fd-day b{font-size:19px;}
html body .feed-sticky-filters .fd-wd,html body .feed-sticky-filters .fd-mo{font-size:9.5px;}
html body .feed-sticky-filters .fd-n{top:-4px;right:-4px;min-width:16px;height:16px;font-size:9px;line-height:14px;padding:0 4px;}
html body .feed-sticky-filters .fd-any b{font-size:15px;}
@media (min-width:761px){html body .fbar-row,html body .feed-sticky-filters .fd-strip{padding-left:4px;padding-right:4px;}html body .fbar-line{margin:10px 0 0;}html body .feed-sticky-filters{box-shadow:-16px 0 0 var(--bg),16px 0 0 var(--bg),0 1px 0 var(--line-soft) !important;}}
@media (min-width:761px){html body .feed-head{box-shadow:-16px 0 0 var(--bg),16px 0 0 var(--bg);}}
html body .ev-buy-cta{display:flex;flex-direction:column;gap:8px;}
html body .ev-buy-more{min-height:42px !important;font-size:14px !important;}
@media (max-width:760px){html body .ev-buybar:has(.ev-buy-more){border-radius:22px;align-items:flex-end;}html body .ev-buy-more{min-height:36px !important;padding:0 12px !important;font-size:13px !important;}}
@media (max-width:760px){html body .ev-page:has(.ev-buy-more){padding-bottom:calc(env(safe-area-inset-bottom,0px) + 170px);}}
html body .gate-field-error.ok{color:var(--good,#2fbf71) !important;}

/* ── Host: "Make a night" (renderHostView in 12) ───────────────────────── */
html body .hx2{padding:calc(env(safe-area-inset-top,0px) + 18px) 18px calc(env(safe-area-inset-bottom,0px) + 190px);max-width:1180px;margin:0 auto;}
html body .hx2-head{margin:0 0 18px;}
html body .hx2-title{margin:8px 0 10px;font:900 clamp(46px,13vw,92px)/.86 var(--font-display) !important;letter-spacing:-.05em !important;font-variation-settings:"wdth" 80;}
html body .hx2-title i{font-style:normal;color:var(--volt);display:inline-block;animation:hx2-dot 2.4s ease-in-out infinite;}
html[data-theme="light"] body .hx2-title i{color:var(--accent);}
@keyframes hx2-dot{0%,100%{translate:0 0}50%{translate:0 -6px}}
html body .hx2-sub{margin:0 0 14px;max-width:520px;font-size:15.5px;line-height:1.45;color:var(--text-muted);}
html body .hx2-notice{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;font-size:12.5px;font-weight:600;background:color-mix(in srgb,var(--volt) 12%,var(--surface));color:var(--text);border:1px solid color-mix(in srgb,var(--volt) 35%,var(--line));}
html body .hx2 > .host-section{margin:0 0 16px;}
html body .hx2-grid{display:grid;gap:16px;}
html body .hx2-form{display:flex;flex-direction:column;gap:14px;min-width:0;}
html body .hx2-step{position:relative;padding:18px 16px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line-soft);transition:border-color .25s ease,box-shadow .25s ease;}
html body .hx2-step.done{border-color:color-mix(in srgb,var(--volt) 40%,var(--line-soft));}
html body .hx2-step-h{display:flex;align-items:center;gap:12px;margin:0 0 14px;}
html body .hx2-step-h b{display:block;font:800 19px/1.1 var(--font-display);letter-spacing:-.02em;}
html body .hx2-step-h span{display:block;margin-top:2px;font-size:13px;color:var(--text-muted);}
html body .hx2-n{flex:none;position:relative;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);color:var(--text);font:800 14px var(--font-sans);font-style:normal;border:1px solid var(--line);transition:background-color .25s ease,color .25s ease,border-color .25s ease;}
html body .hx2-n svg{position:absolute;opacity:0;scale:.4;transition:opacity .2s ease,scale .3s cubic-bezier(.3,1.6,.5,1);}
html body .hx2-step.done .hx2-n{background:var(--cta-bg);color:var(--cta-fg);border-color:var(--cta-bg);}
html body .hx2-step.done .hx2-n span{opacity:0;}
html body .hx2-step.done .hx2-n svg{opacity:1;scale:1;}
html body .hx2-lbl{display:block;margin:14px 0 7px;font:700 10.5px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);}
html body .hx2-lbl small{text-transform:none;letter-spacing:0;font:500 11px var(--font-sans);opacity:.8;}
html body .hx2-step-h + .hx2-lbl{margin-top:0;}
html body :is(.hx2-in,.hx2-big){width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--text);font:500 15.5px var(--font-sans);padding:13px 14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;-webkit-appearance:none;appearance:none;}
html body .hx2-big{font:800 24px/1.15 var(--font-display);letter-spacing:-.02em;padding:14px 16px;}
html body :is(.hx2-in,.hx2-big)::placeholder{color:color-mix(in srgb,var(--text-muted) 70%,transparent);}
html body :is(.hx2-in,.hx2-big):focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent);background:var(--surface);}
html body textarea.hx2-in{resize:vertical;min-height:84px;line-height:1.45;}
html body .hx2-hidden{position:absolute !important;width:1px;height:1px;opacity:0;pointer-events:none;}
html body .hx2-chips{display:flex;flex-wrap:wrap;gap:7px;}
html body .hx2-chips .v-chip{flex:none;}
html body .hx2-cat.on{box-shadow:0 0 0 1.5px var(--dot) inset;}
html body .hx2-pickday{position:relative;gap:6px;cursor:pointer;overflow:hidden;}
html body .hx2-pickday input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;}
html body .hx2-row{display:flex;gap:10px;flex-wrap:wrap;}
html body .hx2-field{flex:1;min-width:130px;display:block;}
html body .hx2-seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);}
html body .hx2-seg button{appearance:none;border:0;flex:1;height:40px;border-radius:999px;background:transparent;color:var(--text-muted);font:700 14px var(--font-sans);cursor:pointer;transition:background-color .2s ease,color .2s ease,transform .15s ease;}
html body .hx2-seg button.on{background:var(--text);color:var(--bg);}
html body .hx2-seg button:active{transform:scale(.95);}
html body .hx2-when{min-height:20px;margin-top:12px;font-size:14px;color:var(--text);display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
html body .hx2-when small{color:var(--text-muted);}
html body .hx2-when .bad{color:var(--hot-text);font-weight:700;}
html body .hx2-more{margin-top:10px;}
html body .hx2-more summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--text-muted);list-style:none;}
html body .hx2-more summary::-webkit-details-marker{display:none;}
html body .hx2-more summary::before{content:"+ ";color:var(--accent);font-weight:800;}
html body .hx2-more[open] summary::before{content:"– ";}
html body .hx2-toggle{margin-top:14px;}
html body .hx2-hint{margin:8px 0 0;font-size:12.5px;line-height:1.45;color:var(--text-muted);}
html body .hx2-flyer{appearance:none;width:100%;margin-top:14px;display:flex;align-items:center;gap:14px;padding:10px;border-radius:16px;border:1.5px dashed var(--line);background:transparent;color:var(--text);text-align:left;cursor:pointer;font:inherit;transition:border-color .2s ease,background-color .2s ease;}
@media (hover:hover) and (pointer:fine){html body .hx2-flyer:hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,transparent);}}
html body .hx2-flyer-art{flex:none;width:64px;height:80px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);color:var(--text-muted);overflow:hidden;}
html body .hx2-flyer-txt b{display:block;font:700 15px var(--font-sans);}
html body .hx2-flyer-txt small{display:block;margin-top:2px;font-size:12.5px;color:var(--text-muted);}
html body .hx2-spin{width:20px;height:20px;border-radius:50%;border:2.5px solid var(--line);border-top-color:var(--accent);animation:hx2-spin .8s linear infinite;}
@keyframes hx2-spin{to{rotate:360deg}}
html body .hx2-search{position:relative;display:flex;align-items:center;}
html body .hx2-search > .ui-ic{position:absolute;left:14px;color:var(--text-muted);pointer-events:none;}
html body .hx2-search .hx2-in{padding-left:40px;}
html body .hx2-ac{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:2000;display:none;max-height:220px;overflow-y:auto;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 18px 40px -12px rgba(0,0,0,.5);}
html body .hx2 #host-map-picker{margin-top:12px;height:220px;border-radius:16px !important;}
html body .hx2-cap{width:96px;flex:none;padding:8px 12px;height:36px;border-radius:999px;font-size:14px;}
html body .hx2-paid{max-width:260px;}
html body .hx2-price{margin-top:12px;}
html body .hx2-money{display:flex;align-items:center;gap:4px;max-width:200px;padding:0 16px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line);transition:border-color .2s ease,box-shadow .2s ease;}
html body .hx2-money:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent);}
html body .hx2-money span{font:800 26px var(--font-display);color:var(--text-muted);}
html body .hx2-money input{flex:1;min-width:0;border:0;background:transparent;outline:none;color:var(--text);font:800 30px/1 var(--font-display);letter-spacing:-.02em;padding:12px 0;}
html body .hx2-money.sm{max-width:none;padding:0 12px;border-radius:14px;}
html body .hx2-money.sm span{font-size:17px;}
html body .hx2-money.sm input{font-size:17px;padding:12px 0;}
html body .hx2 .host-price-preview{margin-top:10px;}
html body .hx2-tier{margin-top:6px;}
/* live preview */
html body .hx2-live{border-radius:var(--r-lg);padding:14px;background:var(--surface);border:1px solid var(--line-soft);}
html body .hx2-live-h{display:flex;align-items:center;gap:8px;margin:0 0 12px;font:700 10.5px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);}
html body .hx2-poster{position:relative;aspect-ratio:4/5;max-height:340px;width:100%;border-radius:16px;overflow:hidden;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:14px;box-sizing:border-box;transition:background .4s ease;}
html body .hx2-poster .poster-glyph{font-size:150px;}
html body .hx2-poster .fp-date{align-self:flex-start;position:relative;z-index:2;}
html body .hx2-poster-foot{position:relative;z-index:2;}
html body .hx2-poster-cat{display:inline-block;margin-bottom:6px;padding:3px 8px;border-radius:6px;background:rgba(0,0,0,.45);font:700 10px var(--font-mono);letter-spacing:.06em;text-transform:uppercase;}
html body .hx2-poster-foot b{display:block;font:850 28px/1 var(--font-display);letter-spacing:-.03em;overflow-wrap:anywhere;}
html body .hx2-poster-foot small{display:block;margin-top:5px;font-size:13px;opacity:.88;}
html body .hx2-live-meta{display:flex;justify-content:space-between;margin:12px 2px 10px;font-size:13px;color:var(--text-muted);}
html body .hx2-live-meta b{color:var(--text);font:800 17px var(--font-display);}
html body .hx2-live-btn{pointer-events:none;}
/* sticky bar */
html body .hx2-bar{position:fixed;z-index:1100;left:50%;translate:-50% 0;bottom:calc(env(safe-area-inset-bottom,0px) + 84px);width:min(736px,calc(100% - 24px));box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:10px 10px 10px 18px;border-radius:20px;background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid var(--line);-webkit-backdrop-filter:blur(22px) saturate(1.6);backdrop-filter:blur(22px) saturate(1.6);box-shadow:0 12px 40px rgba(0,0,0,.35);}
html body .hx2-prog{flex:1;min-width:0;}
html body .hx2-dots{display:flex;gap:5px;margin-bottom:5px;}
html body .hx2-dots i{width:22px;height:5px;border-radius:3px;background:var(--line);transition:background-color .3s ease,width .35s cubic-bezier(.3,1.4,.5,1);}
html body .hx2-dots i.on{background:var(--cta-bg);width:30px;}
html body #hx2-prog-txt{font:700 13px var(--font-sans);color:var(--text-muted);}
html body .hx2-bar .v-btn{flex:none;min-height:50px;padding:0 20px;opacity:.55;transition:opacity .25s ease,transform .2s ease;}
html body .hx2-bar .v-btn.ready{opacity:1;animation:hx2-ready .5s cubic-bezier(.3,1.6,.5,1);}
@keyframes hx2-ready{40%{scale:1.06}}
html body .hx2-after{margin-top:28px;}
/* entrance: steps deal in */
html body .hx2-step{animation:bi-rise .45s calc(var(--k,0) * 70ms) cubic-bezier(.2,.8,.2,1) backwards;}
html body .hx2-step[data-step="2"]{--k:1}html body .hx2-step[data-step="3"]{--k:2}html body .hx2-step[data-step="4"]{--k:3}
#app.same-view .hx2-step,#app.nav-back .hx2-step{animation:none;}
@media (min-width:900px){
  html body .hx2{padding-top:28px;padding-left:40px;padding-right:40px;padding-bottom:140px;}
  html body .hx2-grid{grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start;}
  html body .hx2-live{position:sticky;top:24px;}
  html body .hx2-step{padding:22px 22px;}
  html body .hx2-bar{bottom:calc(env(safe-area-inset-bottom,0px) + 100px);}
}
@media (max-width:899px){
  /* phones: the live ticket rides along at the top, compact */
  html body .hx2-live{order:-1;padding:10px;display:grid;grid-template-columns:96px 1fr;gap:4px 12px;align-items:center;}
  html body .hx2-live-h{grid-column:1 / -1;margin-bottom:4px;}
  html body .hx2-poster{grid-row:2 / span 2;aspect-ratio:4/5;padding:7px;border-radius:12px;}
  html body .hx2-poster .poster-glyph{font-size:64px;}
  html body .hx2-poster .fp-date{font-size:8px;padding:2px 5px;}
  html body .hx2-poster-foot b{font-size:13px;}
  html body .hx2-poster-foot small,html body .hx2-poster-cat{display:none;}
  html body .hx2-live-meta{margin:0;grid-column:2;}
  html body .hx2-live-btn{grid-column:2;}
  html body .hx2-live-btn .tk-btn{--aw:40px;min-height:44px;}
  html body .hx2-live-btn .tk-btn-label{font-size:14px;}
  html body .hx2-grid{display:flex;flex-direction:column;}
}
@media (prefers-reduced-motion:reduce){html body .hx2-title i,html body .hx2-step,html body .hx2-bar .v-btn.ready{animation:none;}}
html body #app[data-view="host"] #view-container{max-width:none !important;}
html body .hx2-when{display:block;}
html body .hx2-when .ui-ic{vertical-align:-2px;margin-right:4px;}
@media (max-width:899px){html body #hx2-live{display:contents;}}
html body .hx2-after-h{margin:0 0 12px;font:800 22px var(--font-display);letter-spacing:-.02em;}

/* ══ Flow: scroll rise-in + press give ═══════════════════════════════════ */
html body .fr-row.rv{opacity:0;translate:0 18px;}
html body .fr-row.rv.rv-in{opacity:1;translate:0 0;transition:opacity .45s var(--rv,0ms) ease-out,translate .55s var(--rv,0ms) cubic-bezier(.2,.9,.25,1.05),scale .18s cubic-bezier(.2,.8,.2,1),border-color .2s,background-color .2s !important;}
html body .fr-row:not(.rv){transition:border-color .2s ease,background-color .2s ease,scale .18s cubic-bezier(.2,.8,.2,1) !important;}
html body :is(.fp-card,.mcard,.tk){transition:scale .18s cubic-bezier(.2,.8,.2,1);}
html body :is(.fr-row,.fp-card,.mcard,.tk):active{scale:.985;}
html body :is(.v-btn,.tk-btn,.fd-day,.ff-drop-btn,.fbar-row button,.hx2-cat,.hx2-chip):active{scale:.96;transition:scale .08s ease-out;}
html body :is(.v-btn,.tk-btn,.fd-day,.ff-drop-btn,.fbar-row button,.hx2-cat,.hx2-chip){transition:scale .22s cubic-bezier(.2,1.4,.4,1),background-color .2s,color .2s,border-color .2s;}
html body .bottom-nav .nav-link:active svg{scale:.86;transition:scale .08s ease-out;}
html body .bottom-nav .nav-link svg{transition:scale .3s cubic-bezier(.2,1.6,.4,1);}
@media (prefers-reduced-motion:reduce){html body .fr-row.rv{opacity:1;translate:none;}html body :is(.fr-row,.fp-card,.mcard,.tk,.v-btn,.tk-btn):active{scale:none;}}

/* ══ Odd Flock loading screen: the three shuffle in close, then breathe ══ */
#boot-loader .boot-mark .hm-a{animation:hm-in-l .9s cubic-bezier(.2,.8,.2,1) backwards,hm-sway 2.8s 1s ease-in-out infinite;}
#boot-loader .boot-mark .hm-c{animation:hm-in-r .9s .1s cubic-bezier(.2,.8,.2,1) backwards,hm-sway 2.8s 1.4s ease-in-out infinite reverse;}
#boot-loader .boot-mark .hm-b{animation:hm-in-up .7s .2s cubic-bezier(.2,.8,.2,1) backwards;}
#boot-loader .boot-word{animation:hm-word .6s .35s cubic-bezier(.2,.8,.2,1) backwards;}
@keyframes hm-in-l{from{translate:-18% 0;opacity:0}}
@keyframes hm-in-r{from{translate:18% 0;opacity:0}}
@keyframes hm-in-up{from{translate:0 8%;opacity:0}}
@keyframes hm-sway{50%{rotate:-2.5deg}}
@keyframes hm-word{from{opacity:0;translate:0 6px;letter-spacing:.04em}}
@media (prefers-reduced-motion:reduce){#boot-loader .boot-mark .brand-mark > g,#boot-loader .boot-word,html body .feed-mark .brand-mark > g{animation:none !important;}}

/* Two-word wordmark: keep "odd flock" and the header buttons on one line */
html body .feed-brand,html body .logo-wrap{white-space:nowrap;flex-shrink:0;}
html body .feed-head-actions{min-width:0;}
html body .feed-head-actions > *{white-space:nowrap;}
@media (max-width:400px){html body .feed-brand{font-size:20px;gap:7px;}html body .feed-brand .feed-mark{width:32px;height:32px;}html body .feed-head-actions{gap:6px;}}

/* ══ Colour themes ═════════════════════════════════════════════════════
   data-palette on <html> swaps the accent family; Volt is the default.
   Picked in Settings or on the account page; saved per device + account. */
html[data-palette="crest"][data-theme]{--volt:#ffc93c;--volt-ink:#1a1200;--hot:#ff5a3c;--uv:#7c5cff;}
html[data-palette="crest"][data-theme="dark"]{--accent:#ffc93c !important;--accent-deep:#f0b21a !important;--gold:#ffc93c !important;--gold-text:#ffc93c !important;--gold-tint:rgba(255, 201, 60, 0.12) !important;--cta-bg:#ffc93c;--cta-fg:#1a1200;}
html[data-palette="crest"][data-theme="light"]{--accent:#8a5a00 !important;--accent-deep:#6e4700 !important;--gold:#8a5a00 !important;--gold-text:#8a5a00 !important;--gold-tint:rgba(255, 201, 60, 0.14) !important;--cta-bg:#0b0b0d;--cta-fg:#ffc93c;}
html[data-palette="ember"][data-theme]{--volt:#ff9f45;--volt-ink:#1f0e00;--hot:#ff3d6e;--uv:#6d5cff;}
html[data-palette="ember"][data-theme="dark"]{--accent:#ff9f45 !important;--accent-deep:#f08a2a !important;--gold:#ff9f45 !important;--gold-text:#ff9f45 !important;--gold-tint:rgba(255, 159, 69, 0.12) !important;--cta-bg:#ff9f45;--cta-fg:#1f0e00;}
html[data-palette="ember"][data-theme="light"]{--accent:#a14d00 !important;--accent-deep:#823d00 !important;--gold:#a14d00 !important;--gold-text:#a14d00 !important;--gold-tint:rgba(255, 159, 69, 0.14) !important;--cta-bg:#0b0b0d;--cta-fg:#ff9f45;}
html[data-palette="krill"][data-theme]{--volt:#ff7f73;--volt-ink:#1d0705;--hot:#e5245a;--uv:#7c5cff;}
html[data-palette="krill"][data-theme="dark"]{--accent:#ff7f73 !important;--accent-deep:#f2685c !important;--gold:#ff7f73 !important;--gold-text:#ff7f73 !important;--gold-tint:rgba(255, 127, 115, 0.12) !important;--cta-bg:#ff7f73;--cta-fg:#1d0705;}
html[data-palette="krill"][data-theme="light"]{--accent:#b8322a !important;--accent-deep:#962620 !important;--gold:#b8322a !important;--gold-text:#b8322a !important;--gold-tint:rgba(255, 127, 115, 0.14) !important;--cta-bg:#0b0b0d;--cta-fg:#ff7f73;}
html[data-palette="aurora"][data-theme]{--volt:#5cf2c4;--volt-ink:#02150f;--hot:#ff5fa2;--uv:#8b7bff;}
html[data-palette="aurora"][data-theme="dark"]{--accent:#5cf2c4 !important;--accent-deep:#38dcae !important;--gold:#5cf2c4 !important;--gold-text:#5cf2c4 !important;--gold-tint:rgba(92, 242, 196, 0.12) !important;--cta-bg:#5cf2c4;--cta-fg:#02150f;--bg:#06090a !important;--bg-2:#040607 !important;--surface:#0f1416 !important;--surface-2:#172022 !important;--glass:rgba(15,20,22,.72);}
html[data-palette="aurora"][data-theme="light"]{--accent:#086b4f !important;--accent-deep:#075f46 !important;--gold:#086b4f !important;--gold-text:#086b4f !important;--gold-tint:rgba(92, 242, 196, 0.14) !important;--cta-bg:#0b0b0d;--cta-fg:#5cf2c4;}
html[data-palette="glacier"][data-theme]{--volt:#8cd4ff;--volt-ink:#021320;--hot:#ff6b8b;--uv:#9a8cff;}
html[data-palette="glacier"][data-theme="dark"]{--accent:#8cd4ff !important;--accent-deep:#6cc2f5 !important;--gold:#8cd4ff !important;--gold-text:#8cd4ff !important;--gold-tint:rgba(140, 212, 255, 0.12) !important;--cta-bg:#8cd4ff;--cta-fg:#021320;--bg:#070a10 !important;--bg-2:#05070b !important;--surface:#10141c !important;--surface-2:#182030 !important;--glass:rgba(16,20,28,.74);}
html[data-palette="glacier"][data-theme="light"]{--accent:#0a5d94 !important;--accent-deep:#084a76 !important;--gold:#0a5d94 !important;--gold-text:#0a5d94 !important;--gold-tint:rgba(140, 212, 255, 0.14) !important;--cta-bg:#0b0b0d;--cta-fg:#8cd4ff;--bg:#eef2f6 !important;--bg-2:#e2e8ef !important;--surface-2:#e6ecf2 !important;}
html[data-palette="tuxedo"][data-theme]{--volt:#f4f2ee;--volt-ink:#0b0b0d;--hot:#ff3d6e;--uv:#8b5cff;}
html[data-palette="tuxedo"][data-theme="dark"]{--accent:#f4f2ee !important;--accent-deep:#dcd9d2 !important;--gold:#f4f2ee !important;--gold-text:#f4f2ee !important;--gold-tint:rgba(244, 242, 238, 0.12) !important;--cta-bg:#f4f2ee;--cta-fg:#0b0b0d;}
html[data-palette="tuxedo"][data-theme="light"]{--accent:#0b0b0d !important;--accent-deep:#000000 !important;--gold:#0b0b0d !important;--gold-text:#0b0b0d !important;--gold-tint:rgba(11, 11, 13, 0.14) !important;--cta-bg:#0b0b0d;--cta-fg:#f4f2ee;}
html[data-palette="tuxedo"]{--hm-patch:#ffc93c;}
html.palette-switching *,html.palette-switching *::before{transition:background-color .35s ease,color .35s ease,border-color .35s ease,fill .35s ease !important;}
.pal-opt{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-radius:14px;background:none;color:var(--text);text-align:left;cursor:pointer;}
@media (hover:hover) and (pointer:fine){.pal-opt:hover{background:var(--surface-2);}}
.pal-opt.on{background:var(--surface-2);box-shadow:inset 0 0 0 1.5px var(--text);}
.pal-sw{display:flex;flex:none;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px var(--line);}
.pal-sw i{width:14px;height:34px;}
.pal-sw i:first-child{width:26px;}
.pal-opt b{display:block;font:800 15px/1.2 var(--font-display);}
.pal-opt span span{display:block;font-size:12px;color:var(--text-muted);margin-top:2px;line-height:1.35;}
.pal-dotbtn{width:30px;height:30px;border-radius:50%;border:0;padding:0;cursor:pointer;background:conic-gradient(from 200deg,var(--a) 0 70%,var(--b) 0);box-shadow:0 0 0 1px var(--line);transition:scale .2s cubic-bezier(.2,1.4,.4,1);}
@media (hover:hover) and (pointer:fine){.pal-dotbtn:hover{scale:1.08;}}
.pal-dotbtn.on{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--text);}

/* ══ Odd Flock brand: wordmark + the penguins around the site ══════════ */
html[data-theme]{--font-brand:"Funnel Display","Bricolage Grotesque","Inter",system-ui,sans-serif;}
html body .feed-brand,html body .logo-wrap .logo,html body #app.map-home .logo-wrap .logo,#boot-loader .boot-word{font-family:var(--font-brand) !important;font-weight:800 !important;letter-spacing:-.035em !important;}
#boot-loader .boot-word{font-size:26px;}

/* Ticket glyph (Pay → You're in): penguins in the corner of the ticket */
html body .tg .tg-mark{color:var(--text-muted);--hm-cut:var(--surface-2);--hm-patch:var(--volt);opacity:.75;transition:color .3s ease,opacity .3s ease;}
html body .tg.scan .tg-mark{animation:tg-shimmer 1.35s ease-in-out infinite;}
html body .tg.win .tg-mark{color:var(--volt-ink,#0b0b0d);--hm-cut:var(--volt);--hm-patch:var(--volt);opacity:1;transition-delay:.25s;}
html body .yi-overlay.still .tg.win .tg-mark{opacity:1;}

/* Get tickets button: the penguins lead the "ADMIT ONE" line */
.tk-btn-kick{display:flex;align-items:center;gap:5px;}
.tk-btn-kick > span{overflow:hidden;text-overflow:ellipsis;}
.tk-btn-kick .brand-mark{width:15px;height:15px;flex:none;color:currentColor;--hm-cut:var(--cta-bg);--hm-patch:currentColor;}
.tk-btn.have .tk-btn-kick .brand-mark{--hm-cut:color-mix(in srgb,var(--volt) 14%,var(--surface));--hm-patch:var(--volt);}

/* Tickets: a little stamp on the artwork, and a signed-off stub */
html body .tk-art{position:relative;}
html body .tk-stamp{position:absolute;top:10px;right:10px;z-index:2;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#111114;color:#f4f2ee;--hm-cut:#111114;--hm-patch:var(--volt);box-shadow:0 4px 14px -6px rgba(0,0,0,.6),0 0 0 1.5px rgba(255,255,255,.14);}
html body .tk-stamp .brand-mark{width:28px;height:28px;}
html body .tv-art-top .tk-stamp{position:static;flex:none;margin-left:8px;}
html body .tv-art-top .tv-seat{margin-left:auto;}
html body .tv-brand{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line);font:800 14px/1 var(--font-brand);letter-spacing:-.02em;color:var(--text-muted);--hm-cut:var(--surface);}
html body .tv-brand .brand-mark{width:22px;height:22px;color:var(--text-muted);}

/* QR: penguins in the middle (codes use error correction H) */
html body .tv-qr{position:relative;}
html body .qr-mark{position:absolute;left:50%;top:50%;translate:-50% -50%;width:40px;height:40px;border-radius:10px;background:#fff;display:grid;place-items:center;box-shadow:0 0 0 3px #fff;color:#0b0b0d;--hm-cut:#fff;--hm-patch:#0b0b0d;pointer-events:none;}
html body .qr-mark .brand-mark{width:32px;height:32px;}

/* Empty states */
html body .feed-empty-art{display:grid;place-items:center;font-size:0 !important;}
html body .feed-empty-art .brand-mark,html body .be-mark,html body .me-brand .brand-mark{width:72px;height:72px;color:var(--text-muted);--hm-cut:var(--bg);--hm-patch:var(--volt);opacity:.9;}
html body .feed-empty-art .brand-mark > g,html body .be-mark > g{animation:hm-sway 3.2s ease-in-out infinite;}
html body .feed-empty-art .brand-mark .hm-c,html body .be-mark .hm-c{animation-delay:-1.2s;animation-direction:reverse;}
html body .tk-empty .be-mark{display:block;margin:0 auto 10px;width:64px;height:64px;--hm-cut:var(--surface);}
html body .brand-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:48px 20px;text-align:center;color:var(--text-muted);}
html body .brand-empty p{margin:0;font-weight:600;}
html body .map-empty-card .me-brand{background:none !important;box-shadow:none !important;width:auto !important;height:auto !important;}
html body .map-empty-card .me-brand .brand-mark{width:64px;height:64px;--hm-cut:var(--surface);}

/* Sign-up sheet and footer */
html body .lp-form-mark{display:flex;justify-content:center;margin-bottom:6px;}
html body .lp-form-mark .brand-mark{width:56px;height:56px;color:var(--text);--hm-cut:var(--surface);}
html body .ff-brand{display:inline-flex;align-items:center;gap:6px;}
html body .ff-brand .brand-mark{width:18px;height:18px;color:currentColor;--hm-cut:var(--bg);--hm-patch:currentColor;}
@media (prefers-reduced-motion:reduce){html body .feed-empty-art .brand-mark > g,html body .be-mark > g,html body .tg .tg-mark{animation:none !important;}}
html body .pal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px;margin-top:10px;}
html body .pal-grid .pal-opt{border:1px solid var(--line);}
html body .feed-settings .pal-row,html body .pal-row{display:flex;flex-wrap:wrap;gap:7px;padding:8px 10px 16px;}
html body .pal-row .pal-dotbtn{flex:none;width:30px;height:30px;min-width:0;min-height:0;margin:0;padding:0;}

/* ══ Host: Your events + edit sheet ═══════════════════════════════════ */
html body .hev-note{font-size:12.5px;color:var(--text-muted);line-height:1.55;margin:0 0 12px;}
html body .hev-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);}
html body .hev-art{width:44px;height:55px;border-radius:9px;flex:none;position:relative;overflow:hidden;}
html body .hev-art .poster-glyph{font-size:22px;}
html body .hev-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
html body .hev-txt b{font:700 14.5px/1.25 var(--font-sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .hev-txt span{font-size:12.5px;color:var(--text-muted);}
html body .hev-acts{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none;}
html body .hev-cancel{appearance:none;border:0;background:none;padding:2px 0;font:600 12px var(--font-sans);color:var(--danger);cursor:pointer;}
@media (hover:hover) and (pointer:fine){html body .hev-cancel:hover{text-decoration:underline;}}
html body .ee-sheet{display:flex;flex-direction:column;gap:12px;max-height:min(88vh,760px);overflow:auto;}
html body .ee-f{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1;}
html body .ee-f span{font:700 11px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);}
html body .ee-f :is(input,textarea){width:100%;box-sizing:border-box;border:1px solid var(--line);background:var(--surface-2);color:var(--text);border-radius:12px;padding:12px 13px;font:500 16px/1.35 var(--font-sans);}
html body .ee-f textarea{resize:vertical;min-height:96px;}
html body .ee-f :is(input,textarea):focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--gold-tint);}
html body .ee-f input:disabled{opacity:.55;}
html body .ee-row{display:flex;gap:10px;}
html body .ee-hint{margin:0;font-size:12.5px;color:var(--text-muted);line-height:1.5;}
html body .ee-err{margin:0;font-size:13px;font-weight:600;color:var(--danger);}
@media (max-width:420px){html body .ee-row{flex-wrap:wrap;}html body .ee-row .ee-f{flex:1 1 40%;}}

/* ══ First-visit welcome card ═════════════════════════════════════════ */
html body .welcome{display:flex;gap:16px;align-items:center;margin:4px 0 14px;padding:16px 18px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line);position:relative;overflow:hidden;transition:opacity .3s ease,translate .3s ease,max-height .3s ease;max-height:400px;}
html body .welcome::before{content:"";position:absolute;inset:auto -40px -60px auto;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,var(--gold-tint),transparent 70%);pointer-events:none;}
html body .welcome.out{opacity:0;translate:0 -6px;max-height:0;margin-block:0;padding-block:0;border-width:0;}
html body .welcome-mark{flex:none;width:76px;height:76px;color:var(--text);--hm-cut:var(--surface);}
html body .welcome-mark .brand-mark{width:100%;height:100%;}
html body .welcome-mark .brand-mark > g{animation:hm-sway 3.4s ease-in-out infinite;}
html body .welcome-mark .brand-mark .hm-c{animation-delay:-1.4s;animation-direction:reverse;}
html body .welcome-body{min-width:0;display:flex;flex-direction:column;gap:6px;position:relative;}
html body .welcome h2{margin:0;font:800 22px/1.1 var(--font-brand);letter-spacing:-.025em;}
html body .welcome p{margin:0;font-size:14px;line-height:1.5;color:var(--text-soft);}
html body .welcome-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;}
@media (max-width:400px){html body .welcome{align-items:flex-start;}html body .welcome-mark{width:58px;height:58px;}}
@media (prefers-reduced-motion:reduce){html body .welcome-mark .brand-mark > g{animation:none;}html body .welcome{transition:none;}}
/* the map promise is a link inside its list item (lists can't be links) */
html body .promise-strip .pr-link{padding:0;}
html body .promise-strip .pr-hit{display:flex;flex-direction:row;gap:8px;align-items:flex-start;padding:10px;width:100%;border-radius:inherit;font-size:inherit;color:inherit;}
html body .promise-strip .pr-hit:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

/* ══ Contrast (WCAG AA) ═══════════════════════════════════════════════ */
/* Red text on cream needs to be deeper than the red used for fills. */
html[data-theme="light"]{--hot-text:color-mix(in srgb,var(--hot) 70%,#000);--text-muted:#64626b !important;}
/* Show QR on a live ticket: white text needs a deeper red behind it. */
html body .v-btn.tk-qr-live{background:color-mix(in srgb,var(--hot) 72%,#000) !important;}
html[data-theme="light"] body .host-reviewed-badge{color:#0b6b3c !important;}
/* Days with nothing on read quieter by colour, not by fading (stays legible). */
html body .fd-day.none{opacity:1;}
html body .fd-day.none :is(b,.fd-wd,.fd-mo){color:var(--text-muted) !important;}
html body .fd-day.none b{font-weight:700;}
/* Publish before the form is complete: a clear neutral button, not a faded one. */
html body .hx2-bar .v-btn:not(.ready){opacity:1;background:var(--surface-2) !important;color:var(--text) !important;box-shadow:inset 0 0 0 1px var(--line) !important;}
/* Ticket type: the choice (radio) and the quantity stepper are siblings. */
html body .bk-page .tt-pick{display:flex;align-items:center;gap:12px;flex:1;min-width:0;border-radius:12px;}
html body .bk-page .tt-pick:focus-visible{outline:2px solid var(--accent);outline-offset:4px;}

/* Host page: subscribe to their events in your calendar */
html body .hp-actions{display:flex;gap:8px;align-items:center;}
html body .hp-cal-btn{appearance:none;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer;flex:none;}
@media (hover:hover) and (pointer:fine){html body .hp-cal-btn:hover{border-color:var(--accent);}}
html body .hp-cal-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}

/* ══ Flock extras (13b-flock-extras.js) ════════════════════════════════ */
/* Access chips on the event page */
html body .ev-access{list-style:none;margin:2px 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:6px;}
html body .ev-access li{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font:600 12.5px/1 var(--font-sans);color:var(--text);}
html body .ev-access svg{color:var(--accent);}
/* Host updates */
html body .ev-updates{margin:6px 0 2px;padding:14px 16px;border-radius:var(--r-md);background:var(--gold-tint);border:1px solid color-mix(in srgb,var(--accent) 30%,transparent);display:flex;flex-direction:column;gap:10px;}
html body .ev-updates .ev-h2{display:flex;align-items:center;gap:7px;margin:0;font-size:16px;}
html body .ev-updates .ev-h2 svg{color:var(--accent);}
html body .ev-update p{margin:0;font-size:14.5px;line-height:1.5;color:var(--text);}
html body .ev-update span{font-size:12px;color:var(--text-muted);}
html body .ev-update + .ev-update{border-top:1px dashed var(--line);padding-top:10px;}
/* Solo + here now */
html body .ev-social-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
html body .ev-social-row > span{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:var(--surface-2);font-size:13px;color:var(--text-soft);}
html body .ev-social-row b{color:var(--text);font-weight:800;}
html body .ev-here .pulse{width:8px;height:8px;border-radius:50%;background:var(--hot);display:inline-block;}
html body .ev-meet,html body .tv-meet{display:flex;align-items:center;gap:12px;margin-top:12px;padding:12px 14px;border-radius:var(--r-md);border:1px dashed color-mix(in srgb,var(--accent) 55%,var(--line));}
html body .ev-meet > div,html body .tv-meet > span{display:flex;flex-direction:column;gap:2px;font-size:13.5px;color:var(--text-soft);line-height:1.4;}
html body .ev-meet b,html body .tv-meet b{color:var(--text);font-size:14px;}
html body .ev-meet-mark{width:40px;height:40px;flex:none;color:var(--text);--hm-cut:var(--surface);}
/* Coming solo switch (ticket view) */
html body .tv-solo{margin:14px 0 4px;padding:14px 16px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--line);}
html body .tv-solo .tv-meet{margin-top:12px;}
html body .solo-row{display:flex;align-items:center;gap:14px;cursor:pointer;}
html body .solo-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
html body .solo-txt b{font-size:15px;}
html body .solo-txt span{font-size:12.5px;color:var(--text-muted);line-height:1.45;}
html body .solo-switch{appearance:none;-webkit-appearance:none;width:46px;height:28px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);position:relative;flex:none;cursor:pointer;transition:background-color .2s ease;margin:0;}
html body .solo-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--text-muted);transition:translate .2s cubic-bezier(.2,1.2,.4,1),background-color .2s ease;}
html body .solo-switch:checked{background:var(--accent);border-color:var(--accent);}
html body .solo-switch:checked::after{translate:18px 0;background:var(--surface);}
html body .solo-switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
html body #tv-updates .ev-updates{margin-top:14px;}
/* Live rotating QR note */
html body .tv-live-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:8px;font-size:12px;font-weight:600;color:var(--text-muted);}
html body .tv-live-note[hidden]{display:none;}
html body .tv-live-note .tv-live-dot{width:7px;height:7px;border-radius:50%;background:var(--success);animation:tk-live-dot 1.6s ease-in-out infinite;}
/* Same again? */
html body .sa-card{margin-top:12px;padding:12px 14px;border-radius:var(--r-md);background:var(--surface-2);display:flex;flex-direction:column;gap:10px;}
html body .sa-line{margin:0;font-size:14px;color:var(--text-soft);}
html body .sa-line b{color:var(--text);}
html body .sa-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
html body .sa-vibe{appearance:none;width:44px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-size:19px;cursor:pointer;transition:scale .2s cubic-bezier(.2,1.4,.4,1),border-color .2s ease;}
html body .sa-vibe.on{border-color:var(--accent);background:var(--gold-tint);scale:1.06;}
html body .sa-next.on{border-color:var(--accent) !important;}
html body .sa-note{margin:0;font-size:11.5px;color:var(--text-muted);}
/* Access picker (edit sheet) */
html body .acc-pick{display:flex;flex-wrap:wrap;gap:6px;}
html body .acc-chip{position:relative;cursor:pointer;}
html body .acc-chip input{position:absolute;opacity:0;pointer-events:none;}
html body .acc-chip span{display:inline-flex;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);font:600 13px/1 var(--font-sans);color:var(--text);text-transform:none;letter-spacing:0;}
html body .acc-chip input:checked + span{background:var(--accent);border-color:var(--accent);color:var(--cta-fg,#0b0b0d);}
html body .acc-chip input:focus-visible + span{outline:2px solid var(--accent);outline-offset:2px;}
html body .hev-btns{display:flex;gap:6px;}
html[data-theme="light"] body .acc-chip input:checked + span{background:var(--text);border-color:var(--text);color:var(--bg);}
/* Your events: buttons on their own line so titles get the full width */
html body .hev-row{flex-wrap:wrap;row-gap:10px;}
html body .hev-acts{flex:1 1 100%;flex-direction:row;align-items:center;justify-content:space-between;padding-left:56px;}
html body .hev-txt b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
html body .hev-btns .v-btn{white-space:nowrap;}
html body .hev-cancel{white-space:nowrap;}
/* Home header: a bigger, clearer logo */
html body .feed-head .feed-brand{font-size:27px;gap:10px;}
html body .feed-head .feed-brand .feed-mark{width:52px;height:52px;margin:-8px 0 -6px;}
html body .feed-head .feed-mark .brand-mark{shape-rendering:geometricPrecision;}
@media (max-width:400px){
  html body .feed-head .feed-brand{font-size:23px;gap:8px;}
  html body .feed-head .feed-brand .feed-mark{width:44px;height:44px;margin:-6px 0 -4px;}
}
@media (max-width:360px){
  html body .feed-head .feed-brand{font-size:20px;}
  html body .feed-head .feed-brand .feed-mark{width:38px;height:38px;}
  html body .feed-head .icon-pill span{display:none;}
}
@media (max-width:440px){
  html body .feed-head .icon-pill:not(.solid) span{display:none;}
  html body .feed-head .icon-pill:not(.solid){padding:0;width:42px;justify-content:center;}
}

/* ══ Host submit celebration (same overlay, scale and type as "You're in!") ═ */
html body .sr .sr-stage{width:168px;}
html body .eg{display:block;width:100%;height:auto;overflow:visible;}
html body .eg-shape{fill:var(--surface-2);stroke:var(--text-muted);stroke-width:2.5;stroke-linejoin:round;transition:fill .3s ease,stroke .3s ease;}
html body .eg-paper{fill:var(--surface);stroke:var(--text-muted);stroke-width:2.5;}
html body .eg-line{fill:var(--text-muted);opacity:.35;}
html body .eg-flap,html body .eg-flap-open,html body .eg-seal{transform-box:fill-box;}
html body .eg-flap,html body .eg-flap-open{transform-origin:50% 0;}
html body .eg-flap{transform:scaleY(0);}
html body .eg-flap-open{transform:scaleY(-1);}
html body .eg-seal{transform-origin:50% 50%;transform:scale(0);}
html body .eg-seal circle{fill:var(--volt-ink,#0b0b0d);}
html body .eg-mark{color:var(--volt);--hm-cut:var(--volt-ink,#0b0b0d);--hm-patch:var(--volt);}
html body .sr-burst{position:absolute;left:50%;top:66%;width:0;height:0;}
/* letter in → tucked away → flap folds over → accent fill + seal */
html body .sr.in .eg-letter{animation:eg-in .4s .2s cubic-bezier(.22,1,.36,1) backwards,eg-tuck .42s .68s cubic-bezier(.5,0,.2,1) forwards;}
html body .sr.in .eg-flap-open{animation:eg-shut .15s 1.08s ease-in forwards;}
html body .sr.in .eg-flap{animation:eg-open .2s 1.23s cubic-bezier(.2,.8,.3,1) forwards;}
html body .sr.won .eg-shape{fill:var(--volt);stroke:var(--volt);}
html body .sr.won .eg-front,html body .sr.won .eg-flap{stroke:color-mix(in srgb,var(--volt-ink,#0b0b0d) 28%,var(--volt));}
html body .sr.won .eg-seal{animation:eg-seal .36s .05s var(--spring) forwards;}
html body .sr.won .yi-title span{animation:yi-letter2 .5s calc(.12s + var(--i) * .028s) cubic-bezier(.22,1,.36,1) forwards;}
html body .sr.won .yi-sub{animation:yi-sub .4s .45s ease forwards;}
html body .sr.won .yi-ring{animation:yi-ring 1s .08s cubic-bezier(.22,1,.36,1) forwards;}
/* sent: the envelope leaves up and away on close; live keeps the default exit */
html body .sr:not(.live).out .yi-stage{transform:translate(18vw,-26vh) scale(.5) rotate(8deg);}
@keyframes eg-in{from{transform:translateY(-22px);opacity:0}}
@keyframes eg-tuck{to{transform:translateY(38px)}}
@keyframes eg-shut{to{transform:scaleY(0)}}
@keyframes eg-open{to{transform:scaleY(1)}}
@keyframes eg-seal{from{transform:scale(0)}to{transform:scale(1)}}
/* live: pin drops onto the map, squashes on landing, fills and is sealed */
html body .sr.live .sr-burst{top:76%;}
html body .pg-fold{fill:none;stroke:var(--text-muted);stroke-width:2;opacity:.45;}
html body .pg-road{fill:none;stroke:var(--text-muted);stroke-width:2.5;stroke-linecap:round;opacity:.28;}
html body .pg-shadow{fill:var(--text);opacity:0;transform-box:fill-box;transform-origin:50% 50%;transform:scale(.3);}
html body .pg-dot{fill:var(--surface-2);stroke:var(--text-muted);stroke-width:2.5;transition:opacity .2s ease;}
html body .pg-pin{transform-box:fill-box;transform-origin:50% 100%;}
html body .sr.live.in .pg-drop{animation:pg-drop .5s .25s cubic-bezier(.55,0,.75,.4) backwards;}
html body .sr.live.in .pg-pin{animation:pg-squash .34s .75s ease-out;}
html body .sr.live.in .pg-shadow{animation:pg-shadow .5s .25s cubic-bezier(.55,0,.75,.4) forwards;}
html body .sr.live.won .pg-map{fill:var(--surface-2);stroke:var(--volt);}
html body .sr.live.won .pg-head{stroke:color-mix(in srgb,var(--volt-ink,#0b0b0d) 28%,var(--volt));}
html body .sr.live.won .pg-dot{opacity:0;}
@keyframes pg-drop{from{transform:translateY(-70px);opacity:0}30%{opacity:1}}
@keyframes pg-squash{0%{transform:scale(1.08,.88)}55%{transform:scale(.97,1.04)}100%{transform:none}}
@keyframes pg-shadow{to{opacity:.16;transform:scale(1)}}
html body .sr.still *{animation:none !important;}
html body .sr.live.still .pg-shadow{opacity:.16;transform:none;}
html body .sr.still .eg-letter{transform:translateY(38px);}
html body .sr.still .eg-flap-open{transform:scaleY(0);}
html body .sr.still .eg-flap,html body .sr.still .eg-seal{transform:none;}
html body .sr.won .eg-letter{opacity:0;transition:opacity .2s ease;}

/* ══ New version pill (service worker swapped in an update) ═══════════ */
html body .sw-update{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));translate:-50% 0;z-index:3200;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:600 13.5px/1 var(--font-sans);box-shadow:0 14px 34px -14px rgba(0,0,0,.55);cursor:pointer;animation:yi-sub .35s ease both;}
html body .sw-update b{padding:7px 12px;border-radius:999px;background:var(--accent);color:var(--volt-ink,#0b0b0d);font-weight:800;}

/* Tuxedo light: the organiser bar's off-white fill matched the page, so it
   gets an ink outline and a soft lift to stand apart. */
html[data-palette="tuxedo"][data-theme="light"] body .feed-host-cta{background:#fff !important;box-shadow:inset 0 0 0 1.5px var(--volt-ink),0 12px 28px -18px rgba(11,11,13,.45) !important;}

/* ══ Pull to refresh ═══════════════════════════════════════════════════ */
html body #ptr{position:fixed;left:50%;top:var(--ptr-top,env(safe-area-inset-top,0px));z-index:5;translate:-50% calc((var(--ptr,0px) - 40px) / 2);pointer-events:none;opacity:0;}
html body #ptr.pulling{opacity:calc(var(--ptr-p,0) * 1.4 - .2);}
html body #ptr.busy{opacity:1;}
html body #ptr.done{opacity:0;}
html body .ptr-badge{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);border:1px solid var(--line);color:var(--text);--hm-cut:var(--surface);--hm-patch:var(--volt);scale:calc(.55 + var(--ptr-p,0) * .45);}
html body .ptr-badge .brand-mark{width:20px;height:20px;opacity:calc(.35 + var(--ptr-p,0) * .65);}
html body .ptr-ring{position:absolute;inset:-3px;width:calc(100% + 6px);height:calc(100% + 6px);rotate:-90deg;overflow:visible;}
html body .ptr-track{fill:none;stroke:var(--line);stroke-width:2.5;}
html body .ptr-arc{fill:none;stroke:var(--text);stroke-width:2.5;stroke-linecap:round;transition:stroke .2s ease;}
html body #ptr.armed .ptr-arc,html body #ptr.busy .ptr-arc{stroke:var(--accent);}
html body #ptr.armed .ptr-badge{scale:1.08;transition:scale .2s var(--spring);}
html body #ptr.busy .ptr-badge{scale:1;}
html body #ptr.busy .ptr-arc{stroke-dashoffset:calc(var(--ptr-c,119.38) * .72) !important;}
html body #ptr.busy .ptr-ring{animation:ptr-spin .8s linear infinite;}
@keyframes ptr-spin{to{rotate:270deg}}
@media (prefers-reduced-motion:reduce){html body #ptr.busy .ptr-ring{animation-duration:2.4s;}}
@media (hover:hover) and (pointer:fine){html body #ptr{display:none;}}

/* ══ Tuxedo light: anything filled with --volt (an off-white here, close to
   the page) gets an ink outline so it reads clearly. Outlines, not borders:
   no layout shift and existing shadows stay. Other palettes are untouched. */
html[data-palette="tuxedo"][data-theme="light"] body :is(.cu-toast.success,.fp-hot,.ev-tag.hot,.mp-count,.mc-count,.mcard-count,.crew-faces i,.hp-notify-row.on .hp-notify-switch){outline:1.5px solid var(--volt-ink);outline-offset:-1.5px;}
html[data-palette="tuxedo"][data-theme="light"] body .selected .mp-tail{outline:1.5px solid var(--volt-ink);}
/* Ticket (You're in!), envelope (Sent for review) and pin (It's live!):
   their success state fills with --volt, so the outline turns ink instead. */
html[data-palette="tuxedo"][data-theme="light"] body .tg.win .tg-shape{stroke:var(--volt-ink);}
html[data-palette="tuxedo"][data-theme="light"] body .tg .tg-shape{stroke:color-mix(in srgb,var(--volt-ink) 70%,transparent);}
html[data-palette="tuxedo"][data-theme="light"] body .sr.won .eg-shape,html[data-palette="tuxedo"][data-theme="light"] body .sr.won .eg-front,html[data-palette="tuxedo"][data-theme="light"] body .sr.won .eg-flap,html[data-palette="tuxedo"][data-theme="light"] body .sr.live.won .pg-head,html[data-palette="tuxedo"][data-theme="light"] body .sr.live.won .pg-map{stroke:var(--volt-ink);}
html[data-palette="tuxedo"][data-theme="light"] body .eg-shape,html[data-palette="tuxedo"][data-theme="light"] body .eg-paper{stroke:color-mix(in srgb,var(--volt-ink) 70%,transparent);}
html[data-palette="tuxedo"][data-theme="light"] body .sr.won .eg-seal circle{stroke:var(--volt-ink);stroke-width:1.5;}

/* ════════════════════════════════════════════════════════════════════════
   EDITORIAL PASS: "London listings print"
   Less generic-template, more printed listings guide. Pass 1 covers the
   shared chrome, Home and the event page:
   • tighter corners (6–12px) — pills only for real toggles and tags
   • plain sentence-case labels in the body face; no tracked mono caps
   • thin rules and flat fills instead of soft-shadow cards
   • flat ink avatars, the penguin mark instead of gradient tiles
   • a solid, ruled tab bar instead of a floating frosted pill
   ════════════════════════════════════════════════════════════════════════ */
html:root{--r-sm:6px !important;--r-md:8px !important;--r-lg:10px !important;--r-xl:12px !important;}

/* Labels: sentence case in the body face. */
html body :is(.feed-kicker,.fhc-kicker,.un-kicker,.feed-count,.fp-cat,.fr-day em,.set-group-title,.host-card-label,.ev-buy-label,.ff-sec h4,.fd-wd){font-family:var(--font-sans) !important;text-transform:none !important;letter-spacing:-.005em !important;font-weight:600 !important;}
html body :is(.feed-kicker,.un-kicker,.feed-count,.fr-day em,.set-group-title,.ff-sec h4){font-size:13px !important;}
html body :is(.fhc-kicker,.fp-cat,.host-card-label,.ev-buy-label){font-size:12.5px !important;}
html body .fd-wd{font-size:11px !important;}
html body :is(.fp-date,.fr-date,.ev-datebox span,.ev-tag.cat,.ev-cap){font-family:var(--font-sans) !important;letter-spacing:-.005em !important;text-transform:none !important;font-weight:650 !important;font-variant-numeric:tabular-nums;}
html body .fr-date{font-size:13.5px !important;}
html body .fp-date{font-size:12px !important;}
html body .feed-count,html body .fr-day em{color:var(--text-muted) !important;}

/* Shapes: one corner scale. */
html body :is(.v-btn,.icon-pill,.settings-btn,.glass-btn){border-radius:10px !important;}
html body .avatar-pill{border-radius:50% !important;}
html body :is(.v-chip,.fd-day,.ev-tag){border-radius:8px !important;}
html body .feed-search{border-radius:10px !important;}
html body :is(.fp-card .poster,.fp-card,.up-next,.fr-row,.feed-host-cta,.ev-block,.ev-buybar,.ev-minimap,.ev-fact,.host-card,.un-art){border-radius:12px !important;}
html body .fr-row .poster,html body .un-art{border-radius:8px !important;}

/* Flat, ruled surfaces instead of floating shadow cards. */
html body :is(.up-next,.fr-row,.ev-block,.host-card){box-shadow:none !important;}
html body .up-next{background:transparent !important;border:0 !important;border-top:1px solid var(--line) !important;border-bottom:1px solid var(--line) !important;border-radius:0 !important;padding:16px 0 !important;margin:8px 18px 20px !important;animation:none !important;}
@media (min-width:1024px){html body .feed-main .up-next{margin:8px 24px 20px 0 !important;}}

/* The three promises: one quiet ruled line, not three feature cards. */
html body .promise-strip li{background:transparent !important;border:0 !important;border-left:1px solid var(--line) !important;border-radius:0 !important;padding:2px 14px !important;}
html body .promise-strip li:first-child{border-left:0 !important;padding-left:0 !important;}
html body .promise-strip svg{color:var(--text-muted) !important;}

/* Avatars: flat initials, no purple-to-pink gradients. */
html body .avatar-pill{background:var(--text) !important;color:var(--bg) !important;}
html body .host-card-av{background:var(--surface-2) !important;color:var(--text) !important;box-shadow:inset 0 0 0 1px var(--line);font-family:var(--font-sans) !important;font-weight:750 !important;}

/* Organiser bar: the penguins in place of the gradient tile stack. */
html body .fhc-mark{flex-shrink:0;width:52px;height:52px;display:grid;place-items:center;color:var(--volt-ink);--hm-cut:var(--volt);--hm-patch:#fff;}
html body .fhc-mark .brand-mark{width:50px;height:50px;}
@media (min-width:1024px){html body .fhc-mark{width:64px;height:64px;margin:0 4px;}html body .fhc-mark .brand-mark{width:62px;height:62px;}}
html body .feed-host-cta{box-shadow:none !important;}

html body .tk-btn-kick{font:600 11.5px/1 var(--font-sans) !important;letter-spacing:-.005em !important;text-transform:none !important;opacity:.7;}
html body .feed-kicker b{margin:0 .25em 0 0 !important;}

/* ════════════════════════════════════════════════════════════════════════
   MATTE: like a penguin's coat — solid, sleek, no sheen.
   • no frosted glass: translucent chrome becomes solid
   • nothing that sits on the page casts a shadow; edges are hairlines
   • things that genuinely float (menus, toasts, map cards) get one tight,
     flat shadow instead of a soft glow
   • no coloured halos or pulsing glows
   ════════════════════════════════════════════════════════════════════════ */
html[data-theme] { --glass: var(--surface) !important; }
html body *, html body *::before, html body *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* Overlays that relied on blur get a denser, flat scrim. */
html body .yi-overlay{background:color-mix(in srgb,var(--bg) 96%,transparent) !important;}

/* On the page: no shadow. */
html body :is(.bottom-nav,.fp-card,.fp-card .poster,.ev-buybar,.up-next,.bk-cta,.tv-ticket,.fw-arrow,.tk,.tk.is-live,.tk-stamp,.hx-poster,.hx-bar,.hx2-bar,.fhc-stack i,.feed-host-cta,.icon-pill,.settings-btn,.avatar-pill,.glass-btn,.v-btn,.v-chip,.fd-day,.mc-card,.host-card,.ev-block,.fr-row){box-shadow:none !important;}
html body :is(.fw-arrow,.glass-btn,.icon-pill,.settings-btn){border:1px solid var(--line) !important;}
html body .ev-buybar,html body .hx2-bar,html body .bk-cta{border-top:1px solid var(--line) !important;}
html[data-palette="tuxedo"][data-theme="light"] body .feed-host-cta{box-shadow:inset 0 0 0 1.5px var(--volt-ink) !important;}

/* Floating: one tight, flat shadow + hairline. */
html body :is(.cu-toast,.feed-settings,.ff-drop,.mcard,.mcard-panel,.map-filters,.po-card,.hx2-ac,.flt-hint,.sw-update,.ptr-badge,.mp-tile,.mc-count){box-shadow:0 1px 0 var(--line),0 2px 6px -2px rgba(0,0,0,.28) !important;}
html body :is(.cu-toast,.feed-settings,.ff-drop,.mcard,.mcard-panel,.map-filters,.po-card,.hx2-ac,.flt-hint,.sw-update){border:1px solid var(--line) !important;}
html body .selected .mp-tile{box-shadow:0 0 0 2px var(--text),0 2px 6px -2px rgba(0,0,0,.3) !important;}
html body #app.map-home .filter-toggle-btn.flt-btn{box-shadow:none !important;}

/* No halos, no glowing pulses. */
html body .nav-badge::after{display:none !important;}
html body .nav-badge{animation:none !important;}
html body .pulse{animation:none !important;box-shadow:none !important;}
html body .avatar-pill.on{box-shadow:0 0 0 2px var(--text) !important;}
html body .ac-avatar .account-avatar{box-shadow:0 0 0 1px var(--line) !important;}
html body :is(.ac-card.editing,.bk-page .tt-card.on){box-shadow:none !important;}
html body :is(.hx2-in,.hx2-big):focus,html body .hx2-money:focus-within{box-shadow:none !important;}
html body .pg-head {filter:none !important;}

/* Generated posters (no banner): flat print ink + the flock, cropped like
   the stock flyers. Replaces the gradient blob and the ✦ glyph. */
html body .poster.gen{background:var(--p-a) !important;background-image:none !important;}
html body .poster.gen::before{opacity:.1 !important;}
html body .poster-glyph{position:absolute !important;inset:auto -10% -16% auto !important;top:auto !important;width:86% !important;height:auto !important;font-size:0 !important;line-height:0 !important;transform:none !important;color:var(--p-ink,#f1ece1) !important;--hm-cut:var(--p-a);--hm-patch:#ffc93c;opacity:1 !important;}
html body .poster-glyph .brand-mark{display:block;width:100% !important;height:auto !important;}

/* ── Editorial pass 2: remaining labels across the app ─────────────────── */
html body :is(.v-kicker,.tk-lbl,.bk-ev-when,.hx2-lbl,.hx2-live-h,.hx2-poster-cat,.tv-kick,.ac-field > span,.ee-f span,.boot-tip,.ac-card-head span,.ac-since){font-family:var(--font-sans) !important;text-transform:none !important;letter-spacing:-.005em !important;font-weight:600 !important;}
html body :is(.v-kicker,.hx2-lbl,.hx2-live-h,.ac-field > span,.ee-f span){font-size:13px !important;}
html body :is(.tk-lbl,.hx2-poster-cat,.boot-tip){font-size:12px !important;}
html body .bk-ev-when{font-size:13.5px !important;font-variant-numeric:tabular-nums;}
html body .tv-kick{font-size:12.5px !important;}

/* ── Admin ──────────────────────────────────────────────────────────────── */
html body .adm-sec{margin:0 18px 22px;}
html body .adm-sec .prof-action-list{margin:0 !important;}
html body .adm-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 8px;padding-bottom:8px;border-bottom:1px solid var(--line);font:700 15px/1.2 var(--font-sans);letter-spacing:-.01em;color:var(--text);}
html body .adm-h span{font:600 12.5px var(--font-sans);color:var(--text-muted);}
html body .adm-test .adm-h{color:var(--danger);}
html body .adm-test .prof-action-list{border:1px dashed color-mix(in srgb,var(--danger) 45%,var(--line)) !important;background:transparent !important;}
html body .prof-action-list{border-radius:12px !important;box-shadow:none !important;border:1px solid var(--line) !important;background:var(--surface) !important;overflow:hidden;}
html body .prof-action-row{border-radius:0 !important;}
html body .prof-action-row + .prof-action-row{border-top:1px solid var(--line) !important;}
@media (min-width:900px){html body .adm-head,html body .adm-sec{max-width:720px;margin-left:auto !important;margin-right:auto !important;}html body .adm-head{padding-left:0 !important;padding-right:0 !important;}}

/* Finances: plain figures, neutral ink; green only for money coming in,
   muted for costs. No rainbow tiers, no mono. */
html body #od-wrap *{font-family:var(--font-sans) !important;font-variant-numeric:tabular-nums;letter-spacing:-.005em !important;}
html body #od-wrap :is(.od-sv,.plv,.tb-val,.sh-v,.od-vb,.od-vp,.od-vr,.od-thv,.rc,.uc,.ibar-nums,.od-live-rev-val){color:var(--text) !important;}
html body #od-wrap :is(.tb-badge,.status-pill,[class*="badge-t"]){background:var(--surface-2) !important;color:var(--text-soft) !important;border:1px solid var(--line) !important;box-shadow:none !important;text-transform:none !important;font-weight:650 !important;}
html body #od-wrap :is(.od-sc,.od-st,.od-card,.od-panel,.plr-wrap,section,details){box-shadow:none !important;border-radius:10px !important;}
html body #od-wrap :is(h3,h4,.od-lbl,.od-sl,.sl,.od-k){text-transform:none !important;letter-spacing:-.005em !important;}
html body :is(#od-live-panel,#od-wrap) :is(.od-live-stat-label,.od-stag,.od-t1,.vc-tier,.od-live-rev-label),html body #od-live-panel *{text-transform:none !important;letter-spacing:-.005em !important;}
html body #od-live-panel *,html body #app .od-live-rev-val{font-family:var(--font-sans) !important;font-variant-numeric:tabular-nums;}
html body #app :is(.od-live-rev-val.rd,.od-live-rev-val.neg,.od-live-rev-val[style*="ef4444"],.od-live-rev-val[style*="E24B4A"]){color:var(--text-muted) !important;}
html body .feed-kicker b{margin:0 !important;min-width:0 !important;display:inline !important;padding:0 !important;}

/* Tab bar: exactly as before (floating rounded bar, current tab a solid
   filled pill), just without the drop shadow. */
html body .bottom-nav{box-shadow:none !important;}

/* Banner-less posters: a real bird silhouette (assets/birds/) stencilled in
   the category ink, bottom right, cropped like the stock flyers. */
html body .poster-glyph.poster-bird{width:72% !important;aspect-ratio:1 / 1;height:auto !important;inset:auto -6% -4% auto !important;background:var(--p-ink,#f1ece1) !important;-webkit-mask:var(--bird) no-repeat 100% 100% / contain;mask:var(--bird) no-repeat 100% 100% / contain;}
/* Host form: the photo is required; flag it when someone tries to skip it. */
html body .hx2-flyer.missing{outline:1.5px solid var(--danger);outline-offset:2px;}
html body .hx2-flyer.missing .hx2-flyer-txt small{color:var(--danger);}

/* Map clusters: one card per event. A pair fans out side by side (no empty
   middle card); three keep the original fan with the third on top. */
html body .mc-stack.mc-n2 .mc-card:nth-child(1){transform:rotate(-10deg) translate(-8px,2px);}
html body .mc-stack.mc-n2 .mc-card:nth-child(2){transform:rotate(9deg) translate(8px,0);}
@media (hover:hover) and (pointer:fine){html body .mc:hover .mc-stack.mc-n2 .mc-card:nth-child(1){transform:rotate(-15deg) translate(-12px,2px);}}
@media (hover:hover) and (pointer:fine){html body .mc:hover .mc-stack.mc-n2 .mc-card:nth-child(2){transform:rotate(14deg) translate(12px,0);}}

/* Phones and tablets: no web-style scroll bars. Styling ::-webkit-scrollbar
   (the desktop pill above) makes iOS draw it instead of its own faint
   indicator, so on touch screens the bars are switched off entirely. */
@media (hover:none) and (pointer:coarse){
  html, html body, html body *{scrollbar-width:none !important;}
  html::-webkit-scrollbar, html body::-webkit-scrollbar, html body *::-webkit-scrollbar{display:none !important;width:0 !important;height:0 !important;background:transparent !important;}
}

/* Inside the iOS / Android app: none of the web-page tells. No text
   selection or long-press menus on the interface (inputs still work), no
   grey tap flash, no dragging images out. */
html.is-native body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;}
html.is-native body :is(input,textarea,select,[contenteditable="true"],.selectable){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default;}
html.is-native body img{-webkit-user-drag:none;}

/* Theme switch: everything changes colour at once (no element-by-element
   fades), and the whole screen cross-fades a single time. */
html.theme-swap,html.theme-swap *,html.theme-swap *::before,html.theme-swap *::after{transition:none !important;}
html body .theme-veil{position:fixed;inset:0;z-index:2147483646;pointer-events:none;opacity:1;transition:opacity .36s ease;}
html body .theme-veil.out{opacity:0;}

/* Touch screens: a grab handle on bottom sheets (they drag down to close),
   and a soft edge shadow while a screen is being swiped back. */
@media (hover:none) and (pointer:coarse) and (max-width:639px){
  html body :is(.loc-sheet,.cu-confirm-sheet){position:relative;}
  html body :is(.loc-sheet,.cu-confirm-sheet)::before{content:"";position:absolute;top:7px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--line);}
}
html body #view-container.swiping{box-shadow:-12px 0 24px -12px rgba(0,0,0,.35);}

/* Host form: import from another ticketing site. */
html body .hx2-import{margin:0 0 18px;padding:14px;border:1px dashed var(--line);border-radius:12px;background:var(--surface);}
html body .hx2-import .hx2-lbl{display:block;margin-bottom:8px;}
html body .hx2-import-row{display:flex;gap:8px;}
html body .hx2-import-row .hx2-in{flex:1;min-width:0;}
html body .hx2-import-row .v-btn{flex-shrink:0;}
html body #host-import-msg:empty{display:none;}

/* Admin: host pipeline. */
html body .lead-funnel{display:grid;gap:8px;margin:4px 0 16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);}
html body .lead-stage{display:grid;grid-template-columns:112px 1fr 34px 40px;align-items:center;gap:10px;font-size:13.5px;}
html body .lead-stage span{color:var(--text-soft);}
html body .lead-bar{height:8px;border-radius:4px;background:var(--surface-2);overflow:hidden;}
html body .lead-bar i{display:block;height:100%;background:var(--text);border-radius:4px;}
html body .lead-stage b{text-align:right;font-variant-numeric:tabular-nums;}
html body .lead-stage em{font-style:normal;color:var(--text-muted);font-size:12px;text-align:right;}
html body .lead-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;}
html body .lead-sheet .lead-actions{margin:10px 0 0;}
html body .lead-filters{margin:0 0 10px;}
html body .lead-two{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
html body .lead-pill{flex-shrink:0;font:650 12px var(--font-sans);padding:4px 9px;border-radius:999px;border:1px solid var(--line);color:var(--text-soft);background:var(--surface-2);}
html body .lead-pill.lead-first_event,html body .lead-pill.lead-regular{color:var(--success);border-color:color-mix(in srgb,var(--success) 40%,var(--line));}
html body .lead-pill.lead-lost{opacity:.6;}
html body .lead-due{color:var(--danger);font-weight:650;}
html body .lead-del{color:var(--danger) !important;}
html body .lead-sheet{max-height:88dvh;overflow:auto;}

/* Host badges: Verified host (earned) and New on Odd Flock (welcome). */
html body .fr-chip.trust{color:var(--success);border-color:color-mix(in srgb,var(--success) 35%,var(--line));}
html body .fr-chip.trust svg{vertical-align:-1px;margin-right:2px;}
html body .fr-chip.new{color:var(--text);background:color-mix(in srgb,var(--volt) 22%,var(--surface));border-color:color-mix(in srgb,var(--volt) 45%,var(--line));}
html body .host-verified-badge{color:var(--success);}
html body .host-new-badge{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font:600 11px/1.5 var(--font-sans);background:color-mix(in srgb,var(--volt) 22%,var(--surface));border:1px solid color-mix(in srgb,var(--volt) 45%,var(--line));color:var(--text);}

/* Admin: weekly social post. */
html body .sk-row{gap:12px;align-items:center;cursor:pointer;}
html body .sk-row input{width:20px;height:20px;flex-shrink:0;accent-color:var(--text);}
html body .sk-actions{margin-top:14px;}
html body .sk-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;}
html body .sk-fig{margin:0;display:grid;gap:8px;justify-items:start;}
html body .sk-fig img{width:100%;height:auto;border-radius:10px;border:1px solid var(--line);display:block;}
html body .sk-fig.story{grid-row:span 2;}

/* Admin → Finances projection: theme colours only, so it reads in every
   palette, light and dark. */
html body .fm{display:grid;gap:14px;margin:0 0 18px;}
html body .fm-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px;color:var(--text);}
html body .fm-top{display:flex;justify-content:space-between;align-items:baseline;font:600 14px var(--font-sans);color:var(--text-soft);}
html body .fm-top b{font:800 28px/1 var(--font-display);color:var(--text);font-variant-numeric:tabular-nums;}
html body .fm-card input[type=range]{width:100%;margin:12px 0 8px;accent-color:var(--text);}
html body .fm-chips{display:flex;flex-wrap:wrap;gap:6px;}
html body .fm-note{margin:10px 0 0;font-size:12.5px;line-height:1.45;color:var(--text-muted);}
html body .fm-note.bad{color:var(--danger);}
html body .fm-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
html body .fm-kpi{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:4px;min-width:0;}
html body .fm-kpi span{font:600 12.5px var(--font-sans);color:var(--text-muted);}
html body .fm-kpi b{font:800 20px/1.1 var(--font-display);color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
html body .fm-kpi small{font-size:12px;color:var(--text-muted);line-height:1.35;}
html body .fm-kpi.big{grid-column:1 / -1;}
html body .fm-kpi.big b{font-size:34px;}
html body .fm-kpi.good b,html body .fm-row.good b,html body .fm-table .good{color:var(--success);}
html body .fm-kpi.bad b,html body .fm-row.bad b,html body .fm-table .bad{color:var(--danger);}
@media (min-width:720px){html body .fm-kpis{grid-template-columns:repeat(4,minmax(0,1fr));}html body .fm-kpi.big{grid-column:1 / -1;}}
html body .fm-list{padding-top:4px;padding-bottom:4px;}
html body .fm-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14.5px;color:var(--text);}
html body .fm-row:last-child{border-bottom:0;}
html body .fm-row span{min-width:0;}
html body .fm-row small{display:block;font-size:12px;color:var(--text-muted);margin-top:2px;}
html body .fm-row b{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700;}
html body .fm-row.total{font-weight:800;font-size:16px;border-top:1px solid var(--text-muted);margin-top:2px;}
html body .fm-in{font:600 14px var(--font-sans);color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:5px 7px;text-align:right;font-variant-numeric:tabular-nums;}
html body .fm-in:focus{outline:2px solid var(--accent);outline-offset:1px;}
html body .fm-scroll{overflow-x:auto;}
html body .fm-table{width:100%;border-collapse:collapse;font-size:14px;color:var(--text);}
html body .fm-table th{text-align:left;font:600 12.5px var(--font-sans);color:var(--text-muted);padding:6px 8px 8px 0;white-space:nowrap;}
html body .fm-table td{padding:9px 8px 9px 0;border-top:1px solid var(--line);font-variant-numeric:tabular-nums;white-space:nowrap;}
html body .fm-table td:first-child{white-space:normal;min-width:120px;}
html body .fm-table td small{display:block;font-size:11.5px;color:var(--text-muted);}
html body .fm-link{appearance:none;border:0;background:none;padding:0;font:600 12.5px var(--font-sans);color:var(--text-soft);text-decoration:underline;cursor:pointer;}
html body .fm-assume summary{cursor:pointer;font-weight:700;list-style:none;}
html body .fm-assume summary::-webkit-details-marker{display:none;}
html body .fm-assume summary::after{content:" +";color:var(--text-muted);}
html body .fm-assume[open] summary::after{content:" –";}
html body .fm-src{margin:10px 0 0;padding-left:18px;font-size:12.5px;line-height:1.5;}
html body .fm-src a{color:var(--text-soft);}
html body .fm-dev{margin:8px 0 20px;}
html body .fm-danger{color:var(--danger) !important;border-color:color-mix(in srgb,var(--danger) 45%,var(--line)) !important;width:100%;}
@media (max-width:600px){
  html body .fm-mix thead{display:none;}
  html body .fm-mix tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;padding:12px 0;border-top:1px solid var(--line);}
  html body .fm-mix tr:first-child{border-top:0;}
  html body .fm-mix td{border:0;padding:0;white-space:normal;min-width:0;}
  html body .fm-mix td:first-child{grid-column:1 / -1;font-weight:650;}
  html body .fm-mix td[data-l]::before{content:attr(data-l);display:block;font:600 11.5px var(--font-sans);color:var(--text-muted);margin-bottom:3px;}
  html body .fm-mix .fm-in{width:100% !important;max-width:72px;}
}

/* Admin: errors. */
html body .ce-list{display:grid;gap:8px;}
html body .ce-item summary{cursor:pointer;list-style:none;display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:baseline;}
html body .ce-item summary::-webkit-details-marker{display:none;}
html body .ce-n{font:800 15px var(--font-sans);color:var(--danger);font-variant-numeric:tabular-nums;}
html body .ce-msg{font-weight:650;overflow-wrap:anywhere;}
html body .ce-meta{grid-column:2;font-size:12.5px;color:var(--text-muted);}
html body .ce-detail{margin-top:10px;display:grid;gap:6px;font-size:13px;color:var(--text-soft);overflow-wrap:anywhere;}
html body .ce-stack{margin:4px 0 0;padding:10px;border-radius:8px;background:var(--bg);border:1px solid var(--line);font:12px/1.45 var(--font-mono, ui-monospace, monospace);white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;color:var(--text);}
html body .ce-ua{font-size:11.5px;color:var(--text-muted);}
