*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { touch-action: pan-x pan-y; }

:root {
  --red:     #C42B2B;
  --blue:    #1A3A8F;
  --orange:  #D4581A;
  --teal:    #D4581A;
  --black:   #151515;
  --ink:     #F0EDE6;
  --white:   #151311;
  --mid:     #1E1C1A;
  --border: rgba(255,255,255,0.08);
  --muted:   rgba(248,246,242,0.45);
  --now:     #C42B2B;
  --soon:    #D4581A;
  --today:   #2A7A3A;
}

html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; font-size: 14px; }
::-webkit-scrollbar { width: 5px; background: #1A1816; border-radius: 99px; }
::-webkit-scrollbar-thumb { background: #D4581A; border-radius: 99px; }
::-webkit-scrollbar-track { border-radius: 99px; }

.page { display: none; }
.page.active { display: block; }

/* ════════════════════════════
   MOBILE BOTTOM SHEET
════════════════════════════ */
.bottom-sheet-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 3000;
}
.bottom-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1A1816;
  border-radius: 16px 16px 0 0;
  z-index: 3001;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1);
  max-height: 75vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.bottom-sheet.open { transform: translateY(0); }
.bottom-sheet-overlay.open { display: block; }
.bs-handle {
  width: 44px; height: 5px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin: 10px auto 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.bs-content {
  overflow-y: auto;
  padding: 0 22px 8px;
  flex: 1;
  min-height: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.group-pick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
}
.group-pick-item:last-child { border-bottom: none; }
.group-pick-item:hover { background: var(--mid); }
.group-pick-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.group-pick-info { flex: 1; min-width: 0; }
.group-pick-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.group-pick-meta  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.group-pick-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 2px 6px; border-radius: 2px; color: white; flex-shrink: 0;
}
.bs-content::-webkit-scrollbar { display: none; }

/* ════════════════════════════
   DESKTOP SIDE PANEL
════════════════════════════ */

/* Shared detail content */
.detail-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 6px;
}
.detail-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700; font-size: 28px; line-height: 1.1;
  margin-bottom: 12px; color: var(--ink);
}
.detail-meta span { display:flex; align-items:center; }
.detail-meta {
  font-size: 13px; color: rgba(248,246,242,0.7);
  line-height: 2; margin-bottom: 14px;
}
.detail-meta span { display: block; }
.detail-desc {
  font-size: 13px; font-weight: 300; color: var(--ink);
  line-height: 1.7; margin-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 14px;
}
.detail-price, .detail-urgency, .detail-city-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
  color: white;
  height: 24px;
}
.detail-map-btn {
  display: block; width: 100%;
  padding: 12px; margin-top: 8px;
  background: #6B4C8A; color: white; border: none;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  border-radius: 4px; transition: background 0.15s;
  text-align: center;
}
.detail-map-btn:hover { background: #5a3d78; }
.detail-url-btn {
  display: block; width: 100%;
  padding: 12px; margin-top: 8px;
  background: #2a4a7f; color: white; border: none;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  border-radius: 4px; transition: background 0.15s;
  text-align: center; text-decoration: none;
}
.detail-url-btn:hover { background: #1e3a6a; }
.detail-cal-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; margin-top: 8px;
  background: #D4581A; color: white; border: none; border-radius: 4px;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.detail-cal-btn:hover { background: #b84a14; }

/* On desktop, shift home-body when panel is open */

@media (min-width: 601px) {
  .bottom-sheet, .bottom-sheet-overlay { display: none !important; }
}

/* ════════════════════════════
   CTA sticky bottom bar */

/* ════════════════════════════
   FAB — Floating Action Button
════════════════════════════ */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #D4581A;
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s;
  font-size: 24px;
  line-height: 1;
}
.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: #b84a14;
}
.fab:active { transform: scale(0.96); }

/* FAB tooltip label */

@media (max-width: 600px) {
  .fab { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 22px; }
  
}

/* ════════════════════════════
   HEADER SECTION
════════════════════════════ */
.site-header {
  background: linear-gradient(to bottom, #c44a10 0%, #8b3060 40%, #1A3A8F 70%, #8B3000 100%);
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.site-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #151515 0%, transparent 60%),
    linear-gradient(to right, #151515 0%, #151515 8%, transparent 22%),
    linear-gradient(to left,  #151515 0%, #151515 8%, transparent 22%);
  pointer-events: none;
  z-index: 2;
}
.site-header-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  preserveAspectRatio: none;
}
.hdr-logo-block, .hdr-combined { position: relative; z-index: 1; }

/* B1: Logo — centred on top */
.hdr-logo-block {
  background: transparent;
  border-right: none;
  padding: 18px 28px 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  border-radius: 10px 10px 0 0;
}
.hdr-lokalt {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}
.hdr-location {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.55);
  margin-top: 4px;
  text-align: center;
}

/* B2: Combined now card — centred below logo */
.hdr-combined {
  background: linear-gradient(135deg, rgba(212,88,26,0.15) 0%, rgba(139,48,96,0.1) 50%, rgba(26,58,143,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  width: 80%;
  max-width: 730px;
  min-height: 96px;
  align-self: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
}
/* Center: Search + how-to strip */
.hdr-center {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-right: none;
  background: transparent;
}

/* Live "now" panel */
.hdr-now {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0;
  gap: 16px;
  overflow: hidden;
  background: transparent;
}
.now-pip {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--now); flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pinPulse { 0%,100%{opacity:0.35;r:15} 50%{opacity:0.6;r:17} }
@keyframes markerBounce {
  0%   { transform: translateY(0) scaleY(1); }
  20%  { transform: translateY(-16px) scaleY(1.05); }
  45%  { transform: translateY(0) scaleY(0.95); }
  65%  { transform: translateY(-7px) scaleY(1.02); }
  80%  { transform: translateY(0) scaleY(0.98); }
  100% { transform: translateY(0) scaleY(1); }
}
.marker-bounce {
  animation: markerBounce 1.2s cubic-bezier(0.36,0.07,0.19,0.97) forwards;
  transform-origin: bottom center;
}
@keyframes soonPulse { 0%,100%{opacity:0.2;r:15} 50%{opacity:0.4;r:16} }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(196,43,43,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(196,43,43,0); }
}
.now-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--now); flex-shrink: 0;
}
.now-divider {
  width: 1px; height: 28px; background: rgba(255,255,255,0.15); flex-shrink: 0;
}
.now-content { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.now-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700; font-size: 18px; line-height: 1.1;
  color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.now-meta {
  font-size: 11px; font-weight: 400;
  color: rgba(248,246,242,0.5); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.now-content.wide .now-title { white-space: normal; }
.now-content.wide .now-meta  { white-space: normal; }
.now-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cat-now, var(--red));
  margin-bottom: 2px;
}
.now-divider-soon {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 8px;
}
.soon-pip {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--soon); flex-shrink: 0;
}
.soon-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--soon); flex-shrink: 0;
}
.now-clickable {
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 8px;
  transition: background 0.15s;
}
.now-clickable:hover { background: rgba(255,255,255,0.07); }
.now-empty {
  font-size: 12px; font-weight: 500;
  color: #1a3a2a; font-style: italic;
  white-space: nowrap; flex-shrink: 0;
}
.now-empty .now-time {
  text-decoration: underline;
  text-decoration-color: rgba(0,110,110,0.5);
  text-underline-offset: 2px;
  font-weight: 600;
}

/* ════════════════════════════
   FILTER STRIP
════════════════════════════ */
.filter-strip {
  background: var(--mid);
  border-top: none;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  margin: 0 16px 24px 16px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.fchip {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0 18px;
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  height: 36px;
  white-space: nowrap;
  gap: 6px;
}
.fchip:hover { background: rgba(255,255,255,0.05); color: var(--ink); }
.fchip-clear, 
.fchip.active { background: #D0CCC4; color: var(--ink); }
.fchip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Urgency filter buttons */
.strip-search {
  flex: 1;
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--border);
}
.strip-search input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  color: var(--ink);
}
.strip-search input::placeholder { color: var(--muted); }

/* ════════════════════════════
   BAUHAUS SIDE PANELS
════════════════════════════ */
:root {
  --red-dk:    #7A1818;
  --blue-dk:   #0F2455;
  --orange-dk: #7A3210;
  --teal-dk:   #8B3000;
  --black-dk:  #151515;
}
#page-home {
  position: relative;
  background: #151515;
}
#page-home::before, #page-home::after {
  content: '';
  position: fixed;
  top: 0; bottom: 0;
  width: 15%;
  z-index: 0;
  pointer-events: none;
}
#page-home::before {
  left: 0;
  background: #151515;
}
#page-home::after {
  right: 0;
  background: #151515;
}
.home-wrap {
  background: #151515;
  max-width: 70%;
  min-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.home-body {
  display: grid;
  grid-template-columns: 400px 1fr;
  flex: 1;
  min-height: 0;
  margin: 0 16px 0 16px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* ── LIST ── */
.list-panel {
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.12);
  background: #151311;
  min-height: 100%;
  scrollbar-width: none; /* Firefox */
}
.list-panel::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.list-head {
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: #1A1816;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list-head span { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); }
.list-head strong { color: var(--ink); }

/* event row */
.ev.last-today {
  border-bottom: none !important;
}
.today-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: #1A1816;
  border-bottom: 1px solid var(--border);
}
.today-divider-bar {
  display: none;
}
.today-divider-line {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 10px;
}
.today-divider span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.35);
  white-space: nowrap;
  padding: 10px 0;
}
.ev {
  display: grid;
  grid-template-columns: 58px 1fr;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.1s;
  position: relative;
  background: #1A1816;
}
.ev.has-img {
  grid-template-columns: 58px 1fr 72px;
}
.ev-thumb {
  width: 68px;
  height: 68px;
  align-self: center;
  overflow: hidden;
  flex-shrink: 0;
  margin: 8px 14px 8px 0;
  border-radius: 6px;
}
.ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 6px;
}
.ev-urgency-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
}

.ev:hover { background: #252220; }
.ev.sel { background: #2A2826; color: var(--ink); }

.ev-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.ev.sel .ev-date { border-right-color: rgba(255,255,255,0.1); }
.ev-dd {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--cat-color, var(--ink));
}
.ev.sel .ev-dd { color: var(--ink); }
.ev-mm {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.ev.sel .ev-mm { color: var(--muted); }

.ev-body { padding: 11px 14px 11px 18px; min-width: 0; }
.ev-top-row { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.ev-cat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cat-color, var(--ink));
}
.ev.sel .ev-cat-label { filter: none; }

/* urgency badge */
.u-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 2px;
  color: white;
  animation: pulseBadge 2s ease-in-out infinite;
}
.u-badge.now  { background: var(--now); }
.u-badge.soon { background: var(--soon); }
.u-badge.today{ background: var(--today); }
@keyframes pulseBadgeNow  { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(196,43,43,0)} 50%{opacity:0.85;box-shadow:0 0 0 3px rgba(196,43,43,0.3)} }
@keyframes pulseBadgeSoon { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(212,88,26,0)} 50%{opacity:0.85;box-shadow:0 0 0 2px rgba(212,88,26,0.25)} }
.u-badge.now  { animation: pulseBadgeNow  3.75s ease-in-out infinite; }
.u-badge.soon { animation: pulseBadgeSoon 5s ease-in-out infinite; }
.u-badge.today { animation: none; }

.ev-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
  color: #F0EDE6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev-meta {
  font-size: 11px;
  font-weight: 400;
  color: rgba(248,246,242,0.55);
  line-height: 1.8;
}
.ev.sel .ev-meta { color: var(--muted); }
.ev-price-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  margin-top: 4px;
  background: color-mix(in srgb, var(--cat-color, #555) 25%, transparent);
  color: var(--cat-color, var(--ink));
  border-radius: 2px;
}

.ev-expanded {
  border-top: 1px solid var(--border);
  background: #1A1816;
  --ink: #F0EDE6;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.52s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, padding 0.52s cubic-bezier(0.4,0,0.2,1);
  padding: 0 18px;
}
.ev-expanded.open {
  max-height: 800px;
  opacity: 1;
  padding: 16px 18px 20px 18px;
}
.ev-expanded .detail-cat { font-size:9px; font-weight:700; letter-spacing:0.22em; text-transform:uppercase; margin-bottom:6px; }
.ev-expanded .detail-title { font-family:'Big Shoulders Display',sans-serif; font-weight:700; font-size:26px; line-height:1.1; margin-bottom:10px; color:var(--ink); } /* used when no image */
.ev-expanded .detail-meta { font-size:12px; color:rgba(248,246,242,0.55); line-height:2; margin-bottom:12px; }
.ev-expanded .detail-meta span { display:block; }
.ev-expanded .detail-desc { font-size:13px; font-weight:300; color:var(--ink); line-height:1.7; margin-bottom:16px; border-top:1px solid rgba(255,255,255,0.08); padding-top:12px; }
.ev-expanded .detail-price { display:inline-block; font-size:12px; font-weight:600; letter-spacing:0.08em; padding:4px 12px; border-radius:3px; color:white; margin-bottom:14px; }
.ev-expanded .detail-urgency { display:inline-block; font-size:10px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; padding:3px 10px; border-radius:3px; color:white; margin-bottom:12px; margin-left:6px; }
.ev-expanded .detail-map-btn { display:inline-block; padding:10px 20px; background:#6B4C8A; color:white; border:none; font-family:'Outfit',sans-serif; font-size:13px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; cursor:pointer; border-radius:4px; transition:background 0.15s; }
.ev-expanded .detail-map-btn:hover { background:#5a3d78; }
.ev-expanded img { display: none; } /* replaced by detail-hero */

/* ── Full-bleed hero image for bottom sheet and expanded detail ── */
.detail-hero {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center top;
  position: relative;
  flex-shrink: 0;
}
.detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,24,22,0) 0%,
    rgba(26,24,22,0) 35%,
    rgba(26,24,22,0.6) 65%,
    rgba(26,24,22,1) 100%
  );
}
.detail-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 18px 14px;
}

.detail-hero-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  color: #F0EDE6;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.list-empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Now bubble bar — multiple ongoing events */
.map-panel { position: relative; display: flex; flex-direction: column; background: #E8E5DE; }
#map { flex: 1; width: 100%; min-height: 0; }

.map-filter-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  gap: 6px;
  flex-shrink: 0;
  z-index: 500;
  border: none;
  pointer-events: none;
}
.map-filter-bar::before,
.map-filter-bar::after { display: none; }
.map-fchip {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(26,24,22,0.85);
  color: rgba(248,246,242,0.75);
  border-radius: 20px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s, border-color 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  pointer-events: all;
}
.map-fchip:hover { background: rgba(26,24,22,0.95); color: #F0EDE6; box-shadow: 0 3px 12px rgba(0,0,0,0.28); }
.map-fchip.active { background: #D4581A; color: white; border-color: #D4581A; }
.leaflet-container { background: #e4e0d8 !important; }

@media (max-width: 600px) {
  .map-filter-bar {
    width: 94%;
    gap: 4px;
  }
  .map-fchip {
    font-size: 10px;
    padding: 5px 8px;
    min-width: 0;
    flex: 1;
    letter-spacing: 0.03em;
  }
  .leaflet-bottom.leaflet-right { display: none; }
  .leaflet-bottom.leaflet-left { display: none; }
  .leaflet-top.leaflet-right .leaflet-control-attribution {
    font-size: 9px;
    opacity: 0.5;
  }
  .leaflet-control-zoom { display: none; }
}

.past-events-header h2 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}

/* ════════════════════════════
   EVENTS PAGE
════════════════════════════ */
.ev-page { }
.ev-page-header h1 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 56px;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* Bauhaus color band */
.bauhaus-band
.bauhaus-band div:nth-child(1){ background: var(--red); }
.bauhaus-band div:nth-child(2){ background: var(--blue); }
.bauhaus-band div:nth-child(3){ background: var(--orange); }
.bauhaus-band div:nth-child(4){ background: var(--teal); }
.bauhaus-band div:nth-child(5){ background: var(--black); }

.ev-past-grid 

/* ════════════════════════════
   SUBMIT PAGE
════════════════════════════ */
#page-submit {
  background: #8B3000;
}
/* Bauhaus geometric accent */

.sub-rules li { list-style: none; font-size: 12px; color: rgba(248,246,242,0.52); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; gap: 8px; align-items: center; }
.sub-rules li::before { content: '▸'; color: rgba(255,255,255,0.5); font-size: 10px; }


.fg { margin-bottom: 10px; }
.fg label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 4px; }
.fg label em { color: var(--red); font-style: normal; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--border);
  background: #E8E5DE;
  font-family: 'Outfit', sans-serif; font-size: 13px; color: var(--ink);
  outline: none; border-radius: 2px; transition: border-color 0.15s, background 0.15s;
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue); }
.fg input.field-error, .fg select.field-error, .fg textarea.field-error {
  border-color: var(--red); background: rgba(196,43,43,0.06);
}
.fg .field-error-msg { display: none; color: var(--red); font-size: 11px; margin-top: 4px; font-weight: 500; }
.fg .field-error-msg.visible { display: block; }
.fg input[readonly] { background: #D8D5CE; color: var(--muted); cursor: not-allowed; }
.fg 
.fg textarea { height: 85px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error-banner { display: none; background: rgba(196,43,43,0.08); border: 1.5px solid var(--red); border-radius: 2px; padding: 10px 14px; margin-bottom: 16px; font-size: 13px; color: var(--red); font-weight: 500; line-height: 1.6; }
.form-error-banner.visible { display: block; }
.sub-btn {
  width: 100%; padding: 13px;
  background: #8B3000; color: var(--white); border: none;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: background 0.15s; margin-top: 8px;
}
.sub-btn:hover { background: var(--blue); }

/* Image upload */
.img-upload-area {
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  overflow: hidden;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
}
.img-upload-area:hover { border-color: #8B3000; background: rgba(212,88,26,0.04); }
.img-upload-inner { text-align: center; padding: 20px; }
.img-upload-text { font-size: 13px; font-weight: 500; color: var(--ink); }
.img-upload-hint { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* success */
.success-box { display: none; text-align: center; padding: 60px 20px; }
.s-circle { width: 100px; height: 100px; border-radius: 50%; background: var(--blue); border: 3px solid var(--black); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 44px; color: var(--white); }
.success-box h3 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 30px; margin-bottom: 8px; }
.success-box p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.success-box button { background: var(--red); color: white; border: none; padding: 10px 28px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 2px; }

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
/* Large desktop — sides start showing */
@media (max-width: 1400px) {
  .home-wrap { margin: 0; }
}

/* Medium — collapse to full width */
@media (max-width: 900px) {
  .home-wrap { margin: 0; }
  #page-home::before, #page-home::after { display: none; }
  .hdr-combined { width: 92%; }
  .home-body { grid-template-columns: 1fr; }
  .list-panel { border-right: none; border-bottom: 2px solid var(--black); }

}

/* Mobile view tabs */

/* Mobile */
@media (max-width: 600px) {
  /* Header */
  .hdr-lokalt { font-size: 32px; }
  .hdr-location { font-size: 9px; }
  .hdr-combined { width: 96%; min-height: auto; border-radius: 8px 8px 0 0; }
  .hdr-now { padding: 10px 14px; gap: 10px; flex-wrap: nowrap; overflow-x: auto; }
  .now-title { font-size: 13px; white-space: nowrap; }
  .now-meta { font-size: 10px; }
  .now-divider-soon { margin: 0 4px; }

  /* Filter strip — hidden on mobile, map filter bar handles it */
  .filter-strip { display: none; }

  /* Mobile tab switcher */
  
  .home-wrap { background: transparent; min-width: 0; max-width: 100%; margin: 0; height: 100dvh; min-height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
  #page-home { background: #151515; }
  .list-head { display: none; }
  .home-body { grid-template-columns: 1fr; flex: 1; min-height: 0; max-height: 100%; overflow: hidden; }

  .home-body { margin: 0 2%; border-radius: 12px 12px 0 0; box-shadow: none; width: 96%; }
  .filter-strip { margin: 0; border-radius: 0; box-shadow: none; }
  .list-panel {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    max-height: none;
    border-right: none;
    border-bottom: none;
    display: block;
    border-radius: 0 0 12px 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .map-panel { height: 100%; display: none; flex-direction: column; width: 100%; margin: 0; border-radius: 0 0 12px 12px; overflow: hidden; }
  .map-filter-bar { display: flex; }
  #map { height: calc(100% - 46px); }
  .list-panel.mob-hidden { display: none; }
  .map-panel.mob-visible { display: flex; }

  /* Submit page — stack vertically, teal on top */
  
  

  
  
  

  

  /* Form */
  .frow { grid-template-columns: 1fr; }
  .sub-btn { font-size: 16px; }

  /* Hide urgency strip on mobile */
  

  /* Always show sticky bar in list view, hide when karta */

  /* Hide scrollbar in list panel on mobile */
  .list-panel { scrollbar-width: none; -ms-overflow-style: none; }
  .list-panel::-webkit-scrollbar { display: none; }

  .ev-title { font-size: 13px; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}

/* Loading skeleton */
.loading-skeleton { padding: 0; }
.skel-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  border-bottom: 1px solid var(--border);
  padding: 18px 16px;
  gap: 16px;
  background: #1A1816;
}
.skel-date {
  width: 38px; height: 48px;
  background: linear-gradient(90deg, #d8d4cc 25%, #e8e5de 50%, #d8d4cc 75%);
  background-size: 200% 100%;
  animation: skelShimmer 1.2s ease-in-out infinite;
  border-radius: 3px;
}
.skel-body { display: flex; flex-direction: column; gap: 8px; }
.skel-line {
  height: 12px;
  background: linear-gradient(90deg, #d8d4cc 25%, #e8e5de 50%, #d8d4cc 75%);
  background-size: 200% 100%;
  animation: skelShimmer 1.2s ease-in-out infinite;
  border-radius: 3px;
}
.skel-line-cat { width: 60px; height: 10px; }
.skel-line-title { width: 75%; height: 16px; }
.skel-line-meta { width: 50%; height: 10px; }
@keyframes skelShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Improved empty state */
.list-empty {
  text-align: center;
  padding: 32px 0 24px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.list-empty-msg {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
  padding: 0 20px;
}
.list-empty-sub {
  font-size: 12px;
  color: rgba(248,246,242,0.35);
  margin-bottom: 8px;
}
.list-empty-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.list-empty-btn-primary {
  padding: 13px 20px;
  border: 1.5px solid rgba(212,88,26,0.55);
  border-radius: 24px;
  background: rgba(212,88,26,0.2);
  color: #F0A070;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
}
.list-empty-btn-primary:hover {
  background: rgba(212,88,26,0.35);
  border-color: rgba(212,88,26,0.8);
}
.list-empty-btn-secondary {
  padding: 11px 20px;
  border: 1px solid rgba(212,88,26,0.35);
  border-radius: 24px;
  background: rgba(212,88,26,0.08);
  color: #D4581A;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
}
.list-empty-btn-secondary:hover {
  background: rgba(212,88,26,0.16);
  border-color: rgba(212,88,26,0.6);
}
.list-empty-btn { display: none; }
.list-empty-sections {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 4px;
  text-align: left;
}
.list-empty-section {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.list-empty-section:last-child { border-bottom: none; }
.list-empty-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.12s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.list-empty-section-hdr:hover { background: rgba(255,255,255,0.04); }
.list-empty-section-hdr:active { background: rgba(255,255,255,0.07); }
.list-empty-hdr-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-empty-cat-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid;
}
.list-empty-live-indicator {
  font-family: 'Outfit', sans-serif;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  animation: pulse 1.8s ease-in-out infinite;
}
.list-empty-cat-count {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 500;
}
.list-empty-link {
  background: none; border: none;
  color: #D4581A; font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer; padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile search bar */

/* Toast notification */
.app-toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(200%);
  background: var(--teal);
  color: white;
  padding: 14px 24px;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  z-index: 10000;
  transition: transform 0.35s cubic-bezier(0.36,0.07,0.19,0.97), opacity 0.35s;
  pointer-events: none;
  max-width: 90%;
  opacity: 0;
}
.app-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.app-toast.err { background: #C42B2B; }
@media (max-width: 600px) {
  .app-toast { bottom: 90px; }
}

/* Share button */
.detail-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.detail-share-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(248,246,242,0.4);
}

/* ── EVENT DETAIL PAGE ── */
#page-event {
  background: #151515;
  height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.ev-page {
  min-height: 100%;
  background: #151515;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.ev-page-hero {
  width: 100%;
  height: 300px;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}
.ev-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, #151515);
}
.ev-page-hero.no-image {
  height: 80px;
  background: transparent;
}
.ev-page-content {
  padding: 0 24px 48px;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}
.ev-page-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(248,246,242,0.45);
  margin-bottom: 10px;
}
.ev-page-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 38px; line-height: 1.05;
  letter-spacing: 0.01em;
  color: #F0EDE6;
  margin-bottom: 14px;
}
.ev-page-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.ev-page-meta {
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.ev-page-meta-row {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(248,246,242,0.85);
}
.ev-page-meta-icon { opacity: 0.4; flex-shrink: 0; margin-top: 1px; }
.ev-page-meta-link { color: #F0A070; text-decoration: none; }
.ev-page-meta-link:hover { text-decoration: underline; }
.ev-page-desc {
  font-size: 15px; line-height: 1.75;
  color: rgba(248,246,242,0.7);
  margin-bottom: 28px;
}
.ev-page-actions { display: flex; flex-direction: column; gap: 10px; }
.ev-page-btn-primary {
  display: block; width: 100%;
  padding: 16px; text-align: center;
  background: #2a4a7f; color: white;
  border: none; border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.ev-page-btn-primary:hover { background: #1e3a6a; }
.ev-page-btn-cal {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: #D4581A; color: white;
  border: none; border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.ev-page-btn-cal:hover { background: #b84a14; }
.ev-page-btn-share {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: rgba(255,255,255,0.08); color: #F0EDE6;
  border: 1.5px solid rgba(255,255,255,0.15); border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.ev-page-btn-share:hover { background: rgba(255,255,255,0.14); }
.ev-page-back {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 16px; margin-top: 8px;
  background: #6B4C8A; color: white;
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 2px 12px rgba(107,76,138,0.35);
}
.ev-page-back:hover { background: #5a3d78; }

@media (min-width: 601px) {
  .ev-page-hero { height: 420px; }
  .ev-page-title { font-size: 52px; }
  .ev-page-content { padding: 0 48px 64px; }
}

/* Recurring event badge */
.ev-recurring-badge {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200,210,255,0.7);
  background: rgba(120,140,200,0.15);
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Mobile form progressive disclosure */

@media (max-width: 600px) {
  
  /* On mobile, left panel is very compact */


  
}

/* ── FAB ACTION SHEET ── */
.fab-menu { display: none; position: fixed; inset: 0; z-index: 3000; }
.fab-menu.open { display: block; }
.fab-menu-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.fab-menu-sheet {
  position: absolute;
  bottom: 90px; right: 28px;
  background: #1A1816;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  overflow: hidden;
  min-width: 280px;
  animation: fabSheetIn 0.2s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: all;
}
@media (max-width: 600px) {
  .fab-menu-sheet {
    bottom: 90px; right: 50%;
    transform: translateX(50%);
    animation: fabSheetInMob 0.25s ease-out;
  }
}
@keyframes fabSheetIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fabSheetInMob {
  from { opacity: 0; transform: translateX(50%) scale(0.95); }
  to   { opacity: 1; transform: translateX(50%) scale(1); }
}
.fab-menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
  position: relative;
  pointer-events: all;
}
.fab-menu-item:last-child { border-bottom: none; }
.fab-menu-item:hover { background: rgba(255,255,255,0.05); }
.fab-menu-newsletter { background: rgba(212,88,26,0.04); }
.fab-menu-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #D4581A;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.fab-menu-newsletter .fab-menu-icon { background: #1A3A8F; }
.fab-menu-title { font-weight: 700; font-size: 14px; color: var(--ink); }
.fab-menu-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.fab-menu-wip {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; background: #D4581A; color: white;
  padding: 2px 6px; border-radius: 3px; margin-left: auto; flex-shrink: 0;
}

/* FAB rotates to X when open */
.fab.open { transform: rotate(45deg); background: #B84A14; }

/* ── NEWSLETTER MODAL ── */
.nl-modal { display: none; position: fixed; inset: 0; z-index: 4000; }
.nl-modal.open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 601px) { .nl-modal.open { align-items: center; } }
.nl-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.nl-sheet {
  position: relative; z-index: 1;
  background: #1A1816;
  border-radius: 16px 16px 0 0;
  padding: 0;
  width: 100%; max-width: 480px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: nlSlideIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@media (min-width: 601px) {
  .nl-sheet { border-radius: 16px; max-width: 420px; max-height: 80vh; }
}
@keyframes nlSlideIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nl-wip-badge {
  display: inline-block;
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #D4581A; color: white;
  padding: 3px 8px; border-radius: 3px;
  margin-bottom: 14px;
}
.nl-header {
  padding: 24px 24px 16px;
  flex-shrink: 0;
}
.nl-header h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 30px; letter-spacing: 0.02em;
  color: var(--ink); margin-bottom: 10px;
}
.nl-header p {
  font-size: 13px; color: var(--muted);
  line-height: 1.65; margin-bottom: 0;
}
.nl-input {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 6px; color: var(--ink);
  font-family: 'Outfit', sans-serif; font-size: 14px;
  margin-bottom: 10px; outline: none;
  transition: border-color 0.15s;
}
.nl-input::placeholder { color: rgba(248,246,242,0.3); }
.nl-input:focus { border-color: #D4581A; }
.nl-btn {
  width: 100%; padding: 14px;
  background: #D4581A; color: white;
  border: none; border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.nl-btn:hover { background: #b84a14; }
.nl-close {
  width: 100%; margin-top: 14px; padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.nl-close:hover { background: rgba(255,255,255,0.1); }
.nl-success { text-align: center; color: var(--ink); padding: 12px 0; }

/* ── INFO MODAL ── */
.info-modal { display: none; position: fixed; inset: 0; z-index: 4000; }
.info-modal.open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 601px) { .info-modal.open { align-items: center; } }
.info-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.info-modal-sheet {
  position: relative; z-index: 1;
  background: #1A1816;
  border-radius: 16px 16px 0 0;
  padding: 0;
  width: 100%; max-width: 480px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: nlSlideIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@media (min-width: 601px) { .info-modal-sheet { border-radius: 16px; } }
.info-modal-logo {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 32px; letter-spacing: 0.04em;
  color: var(--ink); margin-bottom: 2px;
}
.info-modal-tag {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.info-modal-body p {
  font-size: 14px; line-height: 1.75;
  color: rgba(248,246,242,0.7); margin-bottom: 10px;
}
.info-modal-divider {
  height: 1px; background: var(--border);
  margin: 16px 0;
}
.info-modal-email {
  display: inline-block; font-size: 15px; font-weight: 600;
  color: #D4581A; text-decoration: none;
  border-bottom: 1px solid rgba(212,88,26,0.3); padding-bottom: 2px;
  transition: border-color 0.15s;
}
.info-modal-email:hover { border-color: #D4581A; }
.info-modal-close {
  width: 100%; margin-top: 20px; padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--muted); font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.info-modal-close:hover { background: rgba(255,255,255,0.1); }

/* ── NEW SUBMIT PAGE ── */
#page-submit { background: #1A1816; min-height: 100vh; }

.sub-back:hover { background: rgba(255,255,255,0.12); }

.sub-expand-btn {
  width: 100%; padding: 14px;
  background: transparent;
  border: 1.5px dashed rgba(255,255,255,0.2);
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--muted); cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.sub-expand-btn:hover { background: rgba(255,255,255,0.06); color: var(--ink); border-color: rgba(248,246,242,0.35); }
.sub-expand-btn.expanded { display: none; }

.sub-expanded { display: flex; flex-direction: column; gap: 16px; }
.sub-expanded.collapsed { display: none; }

.sub-tip-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
}
.sub-tip-check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 1px;
  flex-shrink: 0; cursor: pointer; accent-color: #D4581A;
}
.sub-tip-label {
  font-size: 13px; color: var(--ink); line-height: 1.5;
}

.sub-contact-fields { display: flex; flex-direction: column; gap: 16px; }
.sub-contact-fields.hidden { display: none; }

/* ── SUBMIT MODAL ── */
.submit-modal { display: none; position: fixed; inset: 0; z-index: 4000; }
.submit-modal.open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 601px) { .submit-modal.open { align-items: center; } }
.submit-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.submit-modal-sheet {
  position: relative; z-index: 1;
  background: #1A1816;
  display: flex; flex-direction: column; max-height: 85vh; overflow: hidden;
  border-radius: 16px 16px 0 0;
  width: 100%; max-width: 560px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  animation: nlSlideIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@media (min-width: 601px) { .submit-modal-sheet { border-radius: 16px; max-height: 85vh; } }
.submit-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 0;
  flex-shrink: 0;
}
.submit-modal-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 20px;
  letter-spacing: 0.02em; color: var(--ink);
}
.submit-modal-x { display: none; }
.submit-modal-body {
  overflow-y: auto;
  padding: 16px 20px 32px;
  display: flex; flex-direction: column; gap: 14px;
  -webkit-overflow-scrolling: touch;
}

.submit-modal-sub {
  font-size: 12px; color: var(--muted);
  padding: 4px 20px 0;
  letter-spacing: 0.01em;
}

/* ── PRIVACY MODAL ── */
.priv-modal { display: none; position: fixed; inset: 0; z-index: 5000; }
.priv-modal.open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 601px) { .priv-modal.open { align-items: center; } }
.priv-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.priv-sheet {
  position: relative; z-index: 1;
  background: #1A1816; color: var(--ink);
  display: flex; flex-direction: column;
  max-height: 85vh; overflow: hidden;
  border-radius: 16px 16px 0 0;
  padding: 28px 24px 0;
  width: 100%; max-width: 480px;
  animation: nlSlideIn 0.3s ease;
}
@media (min-width: 601px) { .priv-sheet { border-radius: 16px; } }
.priv-body {
  overflow-y: auto; flex: 1;
  -webkit-overflow-scrolling: touch;
}
.priv-body h4 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin: 16px 0 4px;
}
.priv-body h4:first-child { margin-top: 0; }
.priv-body p {
  font-size: 13px; line-height: 1.7;
  color: rgba(248,246,242,0.7);
}
.info-modal-privacy-btn {
  background: none; border: none;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  padding: 0; margin-top: 4px;
  transition: color 0.15s;
}
.info-modal-privacy-btn:hover { color: var(--ink); }

/* ── PREFERENCES SHEET ── */
.prefs-modal { display: none; position: fixed; inset: 0; z-index: 4000; }
.prefs-modal.open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 601px) { .prefs-modal.open { align-items: center; } }
.prefs-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.prefs-sheet {
  position: relative; z-index: 1;
  background: #1A1816;
  border-radius: 16px 16px 0 0;
  width: 100%; max-width: 480px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  animation: nlSlideIn 0.3s ease;
  overflow: hidden;
}
@media (min-width: 601px) { .prefs-sheet { border-radius: 16px; max-height: 80vh; } }
.prefs-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.prefs-header-actions {
  display: flex; align-items: center; gap: 6px;
}
.prefs-reset-pill {
  display: flex; align-items: center; gap: 4px;
  background: rgba(212,88,26,0.1);
  border: 1px solid rgba(212,88,26,0.35);
  border-radius: 20px;
  padding: 5px 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #D4581A; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.prefs-reset-pill:hover { background: rgba(212,88,26,0.18); border-color: rgba(212,88,26,0.6); }
.prefs-share-link {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 11px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(248,246,242,0.45); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.prefs-share-link:hover { background: rgba(255,255,255,0.09); color: var(--ink); }
.prefs-close-x { display: none; }
.prefs-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 20px; color: var(--ink);
}
.prefs-body {
  padding: 14px 20px 28px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.prefs-desc { font-size: 12px; color: rgba(248,246,242,0.45); margin-bottom: 14px; line-height: 1.6; }
.prefs-cats { display: flex; flex-direction: column; gap: 2px; }
.prefs-cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 6px;
  cursor: pointer; font-size: 14px; color: var(--ink);
  transition: background 0.1s;
}
.prefs-cat-item:hover { background: rgba(255,255,255,0.06); }
.prefs-cat-item input { width: 16px; height: 16px; cursor: pointer; accent-color: #D4581A; }
.prefs-cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.prefs-divider { height: 1px; background: var(--border); margin: 14px 0; }

/* Section header row */
.prefs-section-hdr {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.prefs-saved-only-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 12px;
  border: 1px solid rgba(224,85,101,0.4);
  background: rgba(196,43,43,0.1);
  color: #e05565; cursor: pointer;
  transition: background 0.15s;
}
.prefs-saved-only-btn:hover { background: rgba(196,43,43,0.2); }
.prefs-saved-only-btn.active { background: rgba(196,43,43,0.25); border-color: #e05565; }

/* Category pills grid */
.prefs-cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px; margin-bottom: 4px;
}
.prefs-cat-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  font-size: 12px; font-weight: 600;
  color: #F0EDE6;
  transition: background 0.12s, border-color 0.12s, opacity 0.12s;
  user-select: none;
}
.prefs-cat-pill:hover { background: rgba(255,255,255,0.1); }
.prefs-cat-pill input { display: none; }
.prefs-cat-pill:has(input:not(:checked)) {
  opacity: 0.55;
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.prefs-cat-pill:has(input:checked) {
  opacity: 1;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
}
.prefs-cat-pill-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* Near me radius */
.prefs-radius-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.prefs-radius-label { font-size: 13px; color: rgba(248,246,242,0.55); }
.prefs-radius-label strong { color: #F0EDE6; font-weight: 700; }

/* Advanced collapse */
.prefs-advanced-toggle {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(248,246,242,0.25);
  padding: 4px 0; transition: color 0.15s; user-select: none;
}
.prefs-advanced-toggle:hover { color: rgba(248,246,242,0.45); }
.prefs-advanced-arrow { transition: transform 0.2s; }
.prefs-advanced-toggle.open .prefs-advanced-arrow { transform: rotate(180deg); }
.prefs-advanced { display: none; padding-top: 12px; }
.prefs-advanced.open { display: block; }

/* Advanced filter rows */
.prefs-adv-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 6px 0 10px;
}
.prefs-adv-label {
  font-size: 12px; font-weight: 600;
  color: rgba(248,246,242,0.6);
}
.prefs-adv-sublabel {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(248,246,242,0.3);
  display: block; margin-bottom: 4px;
}
.prefs-adv-time-row {
  display: flex; align-items: flex-end; gap: 8px;
}
.prefs-adv-time-field { flex: 1; }
.prefs-adv-time-sep {
  color: rgba(248,246,242,0.3);
  font-size: 14px; padding-bottom: 8px;
  flex-shrink: 0;
}
.prefs-time-input {
  width: 100%; padding: 7px 8px;
  background: #1A1816;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: #F0EDE6;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color-scheme: dark;
}
.prefs-time-input:focus {
  outline: none;
  border-color: rgba(212,88,26,0.6);
}
.prefs-saved-count {
  font-size: 10px; font-weight: 500;
  color: rgba(248,246,242,0.35);
  margin-left: 4px;
}
/* Pink saved events label in collapse toggle */
#prefsSavedToggle { color: #e05565; }
#prefsSavedToggle .prefs-saved-count { color: rgba(224,85,101,0.5); }
#prefsSavedToggle svg { stroke: rgba(224,85,101,0.6); }
.prefs-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.prefs-label { font-size: 13px; font-weight: 500; color: var(--ink); }
.prefs-select {
  padding: 6px 10px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; font-family: 'Outfit', sans-serif;
  font-size: 13px; background: #1A1816; color: #F0EDE6; cursor: pointer;
}
.prefs-select option { background: #1A1816; color: #F0EDE6; }

.prefs-reset-btn {
  width: auto; padding: 6px 0; margin-top: 4px;
  background: none; border: none; color: rgba(248,246,242,0.3);
  font-family: 'Outfit', sans-serif; font-size: 10px;
  letter-spacing: 0.04em;
  cursor: pointer; transition: color 0.15s;
}
.prefs-reset-btn:hover { color: var(--ink); text-decoration: underline; }
.prefs-btn { min-width: auto !important; padding: 0 10px !important; }
.prefs-saved-indicator {
  position: fixed; bottom: 90px; left: 50%;
  transform: translateX(-50%);
  background: #D4581A; color: white;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  padding: 8px 16px; border-radius: 20px;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none; z-index: 3000;
}
.prefs-saved-indicator.show { opacity: 1; }

/* ── LIST HEAD PREFS BUTTON (desktop) ── */
.list-head-prefs-btn {
  display: flex; align-items: center; gap: 5px;
  background: rgba(212,88,26,0.08);
  border: 1px solid rgba(212,88,26,0.18);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #D4581A; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.list-head-prefs-btn:hover { background: rgba(212,88,26,0.14); border-color: rgba(212,88,26,0.3); }
.list-head-prefs-btn svg { color: #D4581A; }

/* ── MOBILE PREFS BUTTON ── */

@media (max-width: 600px) {
  
  .list-head-prefs-btn { display: none; }
}

/* Remove old prefs-btn from filter strip */
.prefs-btn { display: none; }

/* ══ MOBILE BOTTOM NAV ══ */
.mob-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  will-change: transform;
  backface-visibility: hidden;
  background: linear-gradient(135deg, rgba(212,88,26,0.12) 0%, rgba(139,48,96,0.08) 50%, rgba(26,58,143,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2500;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding-bottom: 0;
  overflow: visible;
}
@media (max-width: 600px) {
  .mob-bottom-nav {
    display: grid;
    position: relative;
    bottom: auto; left: auto; right: auto;
    border-radius: 0;
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    /* No z-index fight — it lives in the flex column */
  }
  .fab { display: none !important; }
}

.mob-nav-btn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  background: none; border: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 10px 4px 8px;
  cursor: pointer;
  color: rgba(248,246,242,0.45);
  font-family: 'Outfit', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.15s, transform 0.15s;
  width: 100%;
  height: 100%;
}
.mob-nav-btn.active { color: #D4581A; }
.mob-nav-btn.active svg { stroke-width: 2.5; }
.mob-nav-btn:hover { color: #D4581A; }
.mob-nav-btn:active { transform: scale(0.92); }

.mob-nav-add-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  overflow: visible;
  grid-column: 3; /* explicitly centre column */
}
.mob-nav-add {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  width: 49px; height: 49px;
  padding: 0;
  margin-top: -4px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
  color: white !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.3);
}
/* Glass layer — behind the icon */
.mob-nav-add::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 0;
}
/* Icon sits above the glass */
.mob-nav-add svg {
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}
.mob-nav-add:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.45); }
.mob-nav-add.open { border-color: #D4581A; color: white !important; }
.mob-nav-add.open::before { background: rgba(212,88,26,0.75); }
.mob-nav-add.open svg { transform: rotate(45deg); }

.mob-nav-filter-count {
  font-size: 8px; font-weight: 700;
  background: #D4581A; color: white;
  border-radius: 6px; padding: 0 4px;
  margin-left: 2px;
  display: none;
}
.mob-nav-filter-count.visible { display: inline; }

/* ══ DESKTOP LIST HEAD updates ══ */
.list-head {
  justify-content: space-between;
}
.list-head-prefs-btn {
  padding: 5px 16px !important; /* slightly wider */
  gap: 6px !important;
}
.list-head-prefs-count {
  font-size: 10px; font-weight: 700;
  background: #D4581A; color: white;
  border-radius: 8px; padding: 1px 6px;
  margin-left: 2px;
  display: none; line-height: 1.4;
}
.list-head-prefs-count.visible { display: inline-block; }

/* ══ FILTER STRIP — search only on desktop ══ */
.strip-search-full {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 0 12px;
}
.strip-search-full input {
  flex: 1; border: none; outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; color: var(--ink);
  background: transparent; padding: 9px 0;
}

/* Mobile search bar now full-width below header */
@media (max-width: 600px) {
  .mob-search-bar { margin: 0; width: 100%; border-bottom: 1px solid var(--border); }
  .filter-strip { display: none; }
}

/* Prefs sheet event counts */
.prefs-counts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; margin-bottom: 16px;
}
.prefs-count-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px; padding: 8px 10px;
  min-height: 36px; /* stable height even at 0 */
}
.prefs-count-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 14px;
  color: white;
  border-radius: 6px; padding: 1px 8px; min-width: 28px;
  text-align: center; display: inline-block;
  flex-shrink: 0;
  transition: background 0.2s;
}
.prefs-count-lbl {
  font-size: 11px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

/* ══ MOBILE SEARCH OVERLAY ══ */
.mob-search-overlay {
  display: none;
  position: fixed;
  z-index: 2100;
  background: #151311;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  flex-direction: column;
}
.mob-search-overlay.open { display: flex; }

/* Search overlay slide — 50% travel + fade */
@keyframes searchSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes searchSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(20px); opacity: 0; }
}
.mob-search-overlay.animating-in  { animation: searchSlideUp   0.28s cubic-bezier(0.34,1.56,0.64,1) forwards; }
.mob-search-overlay.animating-out { animation: searchSlideDown 0.22s ease-in forwards; }

/* Strip slide — 50% travel + fade */
@keyframes stripSlideUp {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(-50%); opacity: 0; }
}
@keyframes stripSlideDown {
  from { transform: translateY(-50%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.hdr-combined.search-hide { animation: stripSlideUp   0.22s ease-in  forwards; pointer-events: none; }
.hdr-combined.search-show { animation: stripSlideDown 0.28s cubic-bezier(0.34,1.56,0.64,1) forwards; }

.mob-search-bar-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #1A1816;
}
.mob-search-bar-inner input {
  flex: 1; border: none; outline: none;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 15px; color: var(--ink);
}
.mob-search-clear {
  background: rgba(255,255,255,0.08); border: none;
  border-radius: 50%; width: 22px; height: 22px;
  font-size: 11px; color: var(--ink);
  cursor: pointer; display: none;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mob-search-clear.visible { display: flex; }

.mob-search-results {
  overflow-y: auto; flex: 1;
  -webkit-overflow-scrolling: touch;
}
.mob-search-empty {
  padding: 40px 20px; text-align: center;
  color: var(--muted); font-size: 14px;
}

/* Search result items */
.mob-search-result {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; background: #1A1816;
  transition: background 0.1s;
}
.mob-search-result:hover { background: #252220; }
.mob-search-result-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.mob-search-result-body { flex: 1; min-width: 0; }
.mob-search-result-title {
  font-size: 14px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mob-search-result-meta {
  font-size: 11px; color: var(--muted); margin-top: 2px;
}

/* ── SUBMIT VENUE LANDING PAGE ── */
#page-submit { background: #151515; min-height: 100vh; }
.submit-venue-page {
  min-height: 100vh;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 20px 60px;
}
.submit-venue-inner {
  max-width: 520px; width: 100%;
}
.submit-venue-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  padding: 8px 16px 8px 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  color: rgba(248,246,242,0.75);
  cursor: pointer;
  margin-bottom: 32px;
  transition: background 0.15s;
}
.submit-venue-back:hover { background: rgba(255,255,255,0.14); color: #F0EDE6; }

.submit-venue-logo {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 32px;
  letter-spacing: 0.06em; color: #F0EDE6;
  line-height: 1;
}
.submit-venue-tag {
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.4);
  margin: 6px 0 36px;
}

.submit-venue-inner h1 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 40px; line-height: 1;
  letter-spacing: 0.01em; color: #F0EDE6;
  margin-bottom: 18px;
}
.submit-venue-lead {
  font-size: 15px; line-height: 1.65;
  color: rgba(248,246,242,0.7);
  margin-bottom: 28px;
}
.submit-venue-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px 16px 0 0;
}
.submit-venue-list li {
  padding: 14px 0;
  font-size: 13px; line-height: 1.6;
  color: rgba(248,246,242,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.submit-venue-list li strong { color: #F0EDE6; font-weight: 600; }

.submit-venue-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 18px;
  background: #D4581A; color: white;
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.submit-venue-cta:hover { background: #b84a14; }
.submit-venue-cta:active { transform: scale(0.98); }

.submit-venue-contact {
  text-align: center; margin-top: 24px;
  font-size: 13px; color: rgba(248,246,242,0.4);
}
.submit-venue-contact a {
  color: #F0A070; text-decoration: none;
  border-bottom: 1px solid rgba(110,207,207,0.4);
}
.submit-venue-contact a:hover { color: #F0EDE6; }

@media (min-width: 601px) {
  .submit-venue-inner h1 { font-size: 52px; }
  .submit-venue-page { padding-top: 60px; }
}

/* ── MOBILE: Option E — card-style now-strip, no skyline ── */
@media (max-width: 600px) {
  .site-header-gradient { height: 180px; }
  .hdr-logo-block {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 14px 16px 6px;
    min-height: auto;
  }
  .hdr-lokalt { font-size: 22px; }
  .hdr-location { font-size: 8px; letter-spacing: 0.2em; }
  .hdr-combined {
    display: flex !important;
    width: 94% !important;
    min-height: 58px !important;
    border-radius: 10px !important;
    margin: 4px auto 6px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  }
  .hdr-now { padding: 0 16px; }
  .list-head { display: none !important; }
}

/* Prevent overscroll bounce and pull-to-refresh */
html, body {
  overscroll-behavior-y: contain;
}
@media (max-width: 600px) {
  html, body {
    overflow: hidden;
    height: 100dvh;
  }
}

/* ── GRADIENT HEADER — sits behind logo + now strip ── */
.site-header-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 280px;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(196,74,16,0.45) 0%, rgba(139,48,96,0.3) 25%, rgba(26,58,143,0.15) 45%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
/* Bottom glow */
.home-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 250px;
  background: radial-gradient(ellipse 120% 100% at 50% 100%, rgba(196,74,16,0.3) 0%, rgba(139,48,96,0.15) 30%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* ── SAVE/BOOKMARK BUTTON ── */
.ev-save-btn {
  background: none; border: none;
  font-size: 15px; cursor: pointer;
  color: rgba(248,246,242,0.4);
  transition: color 0.15s;
  padding: 2px 4px;
  line-height: 1;
  flex-shrink: 0;
}
.ev-save-btn:hover { color: #C42B2B; }
.ev-save-btn.saved { color: #C42B2B; }

.detail-save-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px;
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.2); border-radius: 4px;
  font-family: 'Outfit', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.detail-save-btn:hover { background: rgba(196,43,43,0.08); border-color: #C42B2B; color: #C42B2B; }
.detail-save-btn.saved { background: rgba(196,43,43,0.08); border-color: #C42B2B; color: #C42B2B; }

.ev-page-btn-save {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: rgba(255,255,255,0.08); color: #F0EDE6;
  border: 1.5px solid rgba(255,255,255,0.15); border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 14px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.ev-page-btn-save:hover { background: rgba(196,43,43,0.2); }
.ev-page-btn-save.saved { background: rgba(196,43,43,0.15); border-color: rgba(196,43,43,0.4); color: #ff8a8a; }

/* ── PREFS: Saved + Popular sections ── */
.prefs-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(248,246,242,0.35);
  margin-bottom: 10px;
}
.prefs-ev-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px; border-radius: 6px;
  cursor: pointer; transition: background 0.1s;
}
.prefs-ev-item:hover { background: rgba(255,255,255,0.06); }
.prefs-ev-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.prefs-ev-info { flex: 1; min-width: 0; }
.prefs-ev-title {
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prefs-ev-meta { font-size: 11px; color: var(--muted); margin-top: 1px; }
.prefs-ev-unsave {
  background: none; border: none; font-size: 14px;
  color: var(--muted); cursor: pointer; padding: 4px;
  opacity: 0; transition: opacity 0.15s;
}
.prefs-ev-item:hover .prefs-ev-unsave { opacity: 1; }

/* Title + save button row */
.ev-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.ev-title-row .ev-title { flex: 1; min-width: 0; }

/* Prefs footer */
.prefs-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.prefs-close-btn {
  width: 100%; padding: 12px;
  background: #D4581A; color: white;
  border: none; border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer; transition: background 0.15s;
}
.prefs-close-btn:hover { background: #b84a14; }

/* Prefs footer */
.prefs-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.prefs-close-btn {
  width: 100%; padding: 14px;
  background: #D4581A; color: white;
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.prefs-close-btn:hover { background: #b84a14; }
/* Detail title row with heart */
.detail-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.detail-title-row .detail-title { flex: 1; }
.detail-save-heart {
  background: none; border: none;
  font-size: 20px; cursor: pointer;
  color: rgba(248,246,242,0.4);
  transition: color 0.15s;
  padding: 2px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.detail-save-heart:hover { color: #C42B2B; }
.detail-save-heart.saved { color: #C42B2B; }

/* Make cal and share buttons full width and consistent */
.detail-cal-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.detail-share-btn {
  width: 100%;
}

.prefs-hint {
  font-size: 11px; color: var(--muted);
  line-height: 1.5; margin-bottom: 12px;
  background: rgba(255,255,255,0.04);
  padding: 8px 10px; border-radius: 6px;
}

/* Heart shake animation */
@keyframes heartShake {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.3) rotate(-10deg); }
  40%  { transform: scale(1.2) rotate(8deg); }
  60%  { transform: scale(1.15) rotate(-5deg); }
  80%  { transform: scale(1.1) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.heart-shake { animation: heartShake 0.4s ease; }

/* Detail share button — with background */
.detail-share-btn {
  background: rgba(255,255,255,0.06) !important;
}
.detail-share-btn:hover {
  background: rgba(255,255,255,0.12) !important;
}

/* Info modal FAQ */
.info-faq-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 16px;
  color: var(--ink); letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.info-faq-item { margin-bottom: 12px; }
.info-faq-item strong {
  font-size: 13px; color: var(--ink);
  display: block; margin-bottom: 3px;
}
.info-faq-item p {
  font-size: 12px; line-height: 1.6;
  color: var(--muted); margin: 0;
}



/* Saved-only toggle in prefs */
.prefs-saved-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  background: rgba(196,43,43,0.1);
  border: 1px solid rgba(196,43,43,0.2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  transition: background 0.15s;
}
.prefs-saved-toggle:hover { background: rgba(196,43,43,0.1); }
.prefs-saved-toggle input {
  width: 16px; height: 16px;
  cursor: pointer; accent-color: #C42B2B;
}

/* ── Detail action buttons (calendar + share on same row) ── */
.detail-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px;
  background: rgba(255,255,255,0.06);
  color: #F0EDE6; border: none; border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.detail-action-btn:hover { background: rgba(255,255,255,0.12); }

/* Close button for mobile bottom sheet */
.detail-close-btn {
  width: 100%; padding: 12px; margin-top: 6px;
  background: transparent; color: rgba(248,246,242,0.5);
  border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Outfit', sans-serif; font-size: 12px;
  font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.detail-close-btn:hover { background: rgba(255,255,255,0.06); }
@media (min-width: 601px) {
  .detail-close-btn { display: none; }
}

/* ── Lock to portrait on mobile ── */
@media (max-width: 600px) and (orientation: landscape) {
  body::before {
    content: 'Please rotate your device to portrait mode';
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #151515;
    color: #F0EDE6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 20px;
  }
}

/* ── TRENDING MODAL ── */
.trending-modal { display: none; position: fixed; inset: 0; z-index: 4000; }
.trending-modal.open { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 601px) { .trending-modal.open { align-items: center; } }
.trending-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.trending-sheet {
  position: relative; z-index: 1;
  background: #1A1816;
  border-radius: 16px 16px 0 0;
  width: 100%; max-width: 480px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: nlSlideIn 0.3s ease;
}
@media (min-width: 601px) { .trending-sheet { border-radius: 16px; } }
.trending-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 20px 0;
}
.trending-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 20px; color: var(--ink);
}
.trending-body {
  padding: 12px 20px 20px;
  overflow-y: auto; flex: 1; min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.trending-desc { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.trending-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.1s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: rgba(255,255,255,0.06); }
.trending-rank {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 18px; color: rgba(248,246,242,0.2);
  width: 24px; text-align: center; flex-shrink: 0;
}
.trending-thumb {
  width: 44px; height: 44px; border-radius: 6px;
  overflow: hidden; flex-shrink: 0;
}
.trending-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trending-no-img {
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.trending-dot { width: 10px; height: 10px; border-radius: 50%; }
.trending-info { flex: 1; min-width: 0; }
.trending-item-title {
  font-size: 13px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trending-item-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.trending-views {
  font-size: 10px; font-weight: 600; color: var(--muted);
  flex-shrink: 0; letter-spacing: 0.03em;
}
.trending-empty p { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 0; }
.trending-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border);
}
.trending-close-btn {
  width: 100%; padding: 14px;
  background: rgba(255,255,255,0.06); color: var(--ink);
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 13px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.trending-close-btn:hover { background: rgba(255,255,255,0.12); }

/* Info modal scrollable body */
.info-modal-inner {
  padding: 32px 28px 40px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

/* Trending dropdown */
.info-trending-toggle {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 10px 0;
  user-select: none;
}
.info-trending-toggle .info-faq-title { margin-bottom: 0; }
.info-trending-arrow {
  font-size: 12px; color: var(--muted);
  transition: transform 0.2s;
}
.info-trending-toggle.open .info-trending-arrow { transform: rotate(180deg); }
.info-trending-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.info-trending-content.open {
  max-height: 500px;
}

/* Saved pill on event card — matches ev-city-pill exactly */
.ev-saved-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px;
  background: rgba(196,43,43,0.18);
  color: #e05565;
  margin-left: 4px;
  vertical-align: middle;
}

/* City pill on event card */
.ev-city-pill {
  display: inline-flex;
  align-items: center;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px;
  background: color-mix(in srgb, var(--cat-color, #555) 25%, transparent);
  color: var(--cat-color, var(--muted));
  margin-top: 4px;
  vertical-align: middle;
}

/* City + price pills in detail view — lighter category color */
.ev-page-badges .ev-city-pill,
div > .ev-city-pill,
div > .ev-saved-pill {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  margin-top: 0;
}

/* ── Prefs collapsible sections ── */
.prefs-collapse-toggle {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; user-select: none;
}
.prefs-collapse-toggle .prefs-section-title { margin-bottom: 0; }
.prefs-collapse-arrow {
  font-size: 11px; color: var(--muted);
  transition: transform 0.2s;
}
.prefs-collapse-toggle.open .prefs-collapse-arrow { transform: rotate(180deg); }
.prefs-saved-list.collapsed { display: none; }

/* Map button toggles */
.prefs-sub-title {
  font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.04em; margin: 10px 0 6px;
}
.prefs-map-buttons {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
}
.prefs-toggle-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink); cursor: pointer;
}
.prefs-toggle-item input { accent-color: #D4581A; }
.prefs-toggle-item input {
  width: 14px; height: 14px; cursor: pointer;
  accent-color: #D4581A;
}

/* Nearby radius slider */
.prefs-slider {
  width: 160px; height: 6px;
  accent-color: #D4581A;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  outline: none;
}
.prefs-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: #D4581A;
  border-radius: 50%;
  cursor: pointer;
}
.prefs-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: #D4581A;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.prefs-slider-val {
  font-size: 11px; font-weight: 600;
  color: var(--ink); min-width: 48px;
  text-align: right;
}

/* ── Nearby location prompt ── */
.nearby-prompt-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9500;
  background: rgba(0,0,0,0.45);
  align-items: center; justify-content: center;
  padding: 20px;
}
.nearby-prompt-sheet {
  background: #1A1816;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 360px; width: 100%;
  animation: nlSlideIn 0.25s ease;
}
.nearby-prompt-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 20px;
  color: var(--ink); margin-bottom: 6px;
}
.nearby-prompt-desc {
  font-size: 13px; color: var(--muted);
  margin-bottom: 16px; line-height: 1.5;
}
.nearby-prompt-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px; background: rgba(255,255,255,0.06);
  font-family: 'Outfit', sans-serif; font-size: 14px;
  color: var(--ink); margin-bottom: 10px;
  outline: none;
}
.nearby-prompt-input:focus { border-color: #D4581A; }
.nearby-prompt-btn {
  width: 100%; padding: 13px;
  border: none; border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px; transition: background 0.15s;
}
.nearby-prompt-search {
  background: #D4581A; color: white;
}
.nearby-prompt-search:hover { background: #b84a14; }
.nearby-prompt-gps {
  background: rgba(255,255,255,0.06); color: var(--ink);
}
.nearby-prompt-gps:hover { background: rgba(255,255,255,0.12); }
.nearby-prompt-close {
  width: 100%; padding: 10px;
  background: none; border: none;
  color: var(--muted); font-family: 'Outfit', sans-serif;
  font-size: 12px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.nearby-prompt-close:hover { color: var(--ink); }

/* ── Change location button on map ── */


/* Cities filter */
.prefs-cities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}
.prefs-cities .prefs-toggle-item {
  font-size: 12px; font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  justify-content: flex-start;
  transition: background 0.12s;
}
.prefs-cities .prefs-toggle-item:hover { background: rgba(255,255,255,0.08); }
.prefs-cities .prefs-toggle-item input {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

/* ── Unified modal close button (sticky footer) ── */
.modal-footer {
  padding: 10px 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
  background: #151311;
}
.modal-close-btn {
  width: 100%; padding: 15px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: rgba(248,246,242,0.55);
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.09); color: rgba(248,246,242,0.8); }
.modal-close-btn:active { background: rgba(255,255,255,0.12); transform: scale(0.98); }

/* Scrollable modal bodies */
.nl-body { overflow-y: auto; flex: 1; min-height: 0; -webkit-overflow-scrolling: touch; padding: 16px 24px; }

/* Reminders modal tabs */
.nl-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.nl-tab {
  flex: 1; padding: 12px 8px;
  background: none; border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  color: rgba(248,246,242,0.4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
}
.nl-tab.active {
  color: #F0EDE6;
  border-bottom-color: #D4581A;
}
.nl-tab-soon {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(212,88,26,0.2);
  color: #D4581A;
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Push section */
.nl-push-section { display: flex; flex-direction: column; gap: 16px; }
.nl-push-desc { font-size: 13px; color: rgba(248,246,242,0.5); line-height: 1.6; margin: 0; }
.nl-push-toggle-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nl-push-status {
  font-size: 13px; font-weight: 600;
  color: rgba(248,246,242,0.7);
}
.nl-push-note {
  font-size: 11px;
  color: rgba(212,88,26,0.8);
  min-height: 16px;
}

/* Toggle switch */
.nl-toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.nl-toggle-switch input { opacity: 0; width: 0; height: 0; }
.nl-toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.nl-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.nl-toggle-switch input:checked + .nl-toggle-slider { background: #D4581A; }
.nl-toggle-switch input:checked + .nl-toggle-slider::before { transform: translateX(20px); }

/* Push prompt banner — appears after hearting an event */
.push-prompt-banner {
  position: fixed;
  bottom: 80px; left: 12px; right: 12px;
  background: rgba(21,19,17,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  z-index: 4500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slideUpFade 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.push-prompt-text {
  font-size: 13px;
  color: rgba(248,246,242,0.8);
  line-height: 1.4;
}
.push-prompt-text strong { color: #F0EDE6; }
.push-prompt-btns { display: flex; gap: 8px; }
.push-prompt-yes {
  flex: 1; padding: 10px;
  border: 1.5px solid rgba(212,88,26,0.55);
  border-radius: 20px;
  background: rgba(212,88,26,0.2);
  color: #F0A070;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.push-prompt-yes:hover { background: rgba(212,88,26,0.35); }
.push-prompt-no {
  flex: 1; padding: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: none;
  color: rgba(248,246,242,0.4);
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 500;
  cursor: pointer;
}
.priv-body { overflow-y: auto; flex: 1; min-height: 0; -webkit-overflow-scrolling: touch; }

/* Performance — GPU acceleration for scrolling */
.list-panel, .bs-content, .prefs-body, .info-modal-inner {
  will-change: scroll-position;
}

/* ── Nearby controls overlay on map ── */
.nearby-controls {
  position: absolute;
  bottom: 6px; left: 12px; right: 12px;
  z-index: 1000;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nearby-controls-inner {
  background: rgba(26,24,22,0.9);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  pointer-events: all;
  max-width: 380px; width: 100%;
}
.nearby-radius-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.nearby-radius-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  color: rgba(248,246,242,0.45); letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nearby-slider {
  flex: 1; height: 6px;
  -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 3px; outline: none;
  accent-color: #D4581A;
}
.nearby-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  background: #D4581A;
  border-radius: 50%; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.nearby-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  background: #D4581A;
  border-radius: 50%; border: none; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.nearby-radius-val {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #F0EDE6; min-width: 50px;
  text-align: right;
}
.nearby-btn-row {
  display: flex;
}
.nearby-ctrl-btn {
  padding: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  color: #F0EDE6; cursor: pointer;
  text-align: center;
  transition: background 0.15s;
}
.nearby-ctrl-btn:hover { background: rgba(255,255,255,0.15); }
@media (max-width: 600px) {
  .nearby-controls { bottom: 68px; }
}

/* ── Onboarding prompt in now panel ── */
.now-onboard {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px;
  cursor: pointer;
  width: 100%; height: 100%;
}
.now-onboard-text {
  font-size: 13px; font-weight: 600;
  font-style: italic;
  color: rgba(248,246,242,0.5);
}
.now-onboard-arrow {
  font-size: 16px; color: #D4581A;
  transition: transform 0.2s;
}
.now-onboard:hover .now-onboard-arrow { transform: translateX(4px); }

/* ── Now panel redesign ── */
.now-empty {
  color: rgba(248,246,242,0.6) !important;
  font-style: italic;
}
.now-context {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 12px;
}
.now-context-left {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.now-context-location {
  font-size: 14px; font-weight: 700;
  color: #F0EDE6; letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.now-context-sub {
  font-size: 11px; color: rgba(248,246,242,0.5);
  white-space: nowrap;
}
.now-context-change {
  font-size: 10px; font-weight: 600;
  color: rgba(248,246,242,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer; flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  transition: background 0.15s, color 0.15s;
}
.now-context-change:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(248,246,242,0.7);
}
.now-onboard {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px;
  cursor: pointer;
  width: 100%; height: 100%;
}
.now-onboard-text {
  font-size: 13px; font-weight: 600;
  font-style: italic;
  color: rgba(248,246,242,0.5);
}
.now-onboard-arrow {
  font-size: 16px; color: #D4581A;
  transition: transform 0.2s;
}
.now-onboard:hover .now-onboard-arrow { transform: translateX(4px); }
.now-onboard:hover .now-onboard-text { color: rgba(248,246,242,0.7); }

/* Now event slot on dark bg */
.now-label { color: rgba(248,246,242,0.4) !important; }
.now-title { color: #F0EDE6 !important; }
.now-meta { color: rgba(248,246,242,0.45) !important; }
.now-time { color: #D4581A !important; }

/* Dark mode search results */
.mob-search-result {
  color: #F0EDE6 !important;
}
.mob-search-result-title {
  color: #F0EDE6 !important;
}
.mob-search-result-meta {
  color: rgba(248,246,242,0.5) !important;
}
.mob-search-empty {
  color: rgba(248,246,242,0.4) !important;
}

/* Fix FAB menu for dark mode */
.fab-menu-title { color: #F0EDE6 !important; }
.fab-menu-sub { color: rgba(248,246,242,0.45) !important; }
.fab-menu-sheet { background: #1A1816 !important; }
.fab-menu-item { border-bottom-color: rgba(255,255,255,0.06) !important; }
.fab-menu-item:hover { background: rgba(255,255,255,0.06) !important; }

/* Fix prefs for dark mode */
.prefs-cat-label { color: #F0EDE6 !important; }
.prefs-row { color: #F0EDE6; }
.prefs-label { color: rgba(248,246,242,0.6) !important; }
.prefs-select { background: #1A1816; color: #F0EDE6; border-color: rgba(255,255,255,0.15); }
.prefs-sub-title { color: rgba(248,246,242,0.45) !important; }
.prefs-saved-toggle span { color: #F0EDE6; }

/* Fix month readability */
.ev-mm { color: rgba(248,246,242,0.5) !important; }

/* Saved event title color intentionally not overridden */

/* Fix submit form */
.submit-modal-sheet { color: #F0EDE6; }

/* Form fields inside submit modal — dark bg, warm white text */
.submit-modal-sheet .fg input,
.submit-modal-sheet .fg select,
.submit-modal-sheet .fg textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #F0EDE6;
}
.submit-modal-sheet .fg input:focus,
.submit-modal-sheet .fg select:focus,
.submit-modal-sheet .fg textarea:focus {
  border-color: rgba(212,88,26,0.7);
  background: rgba(255,255,255,0.09);
}
.submit-modal-sheet .fg input::placeholder,
.submit-modal-sheet .fg textarea::placeholder {
  color: rgba(248,246,242,0.3);
}
.submit-modal-sheet .fg label {
  color: rgba(248,246,242,0.55);
}
.submit-modal-sheet .fg input[readonly] {
  background: rgba(255,255,255,0.03);
  color: rgba(248,246,242,0.35);
}
.fg select option { background: #1A1816; color: #F0EDE6; }
.sub-expand-btn { color: rgba(248,246,242,0.5) !important; border-color: rgba(255,255,255,0.12) !important; }
.sub-expand-btn:hover { color: #F0EDE6 !important; background: rgba(255,255,255,0.06) !important; }
.sub-tip-check { color: rgba(248,246,242,0.6); }
.sub-contact-fields label { color: rgba(248,246,242,0.5); }
.field-error-msg { color: #e05565; }

/* Fix info modal */
.info-modal-logo { color: #F0EDE6 !important; }
.info-modal-tag { color: rgba(248,246,242,0.4) !important; }
.info-faq-title { color: #F0EDE6 !important; }
.info-faq-item strong { color: rgba(248,246,242,0.85) !important; }
.info-faq-item p { color: rgba(248,246,242,0.55) !important; }
.info-modal-privacy-btn { color: rgba(248,246,242,0.4) !important; }
.info-modal-privacy-btn:hover { color: #F0EDE6 !important; }

/* Fix newsletter */
.nl-wip-badge { color: white; }
.nl-header h3 { color: #F0EDE6 !important; }
.nl-header p { color: rgba(248,246,242,0.55) !important; }
.nl-success h3 { color: #F0EDE6; }
.nl-success p { color: rgba(248,246,242,0.6); }

/* Fix privacy modal */
.priv-title { color: #F0EDE6 !important; }
.priv-body h4 { color: rgba(248,246,242,0.5) !important; }
.priv-body p { color: rgba(248,246,242,0.7) !important; }

/* Fix event page */
.ev-page-content { color: #F0EDE6; }
.ev-page-title { color: #F0EDE6 !important; }
.ev-page-cat { color: rgba(248,246,242,0.5); }
.ev-page-meta-row { color: rgba(248,246,242,0.75); }
.ev-page-desc { color: rgba(248,246,242,0.7); }
.ev-page-extra { color: rgba(248,246,242,0.55); }

/* Fix heart colors for dark mode */
.ev-save-btn { color: rgba(248,246,242,0.3); }
.ev-save-btn:hover { color: #e05565; }
.ev-save-btn.saved { color: #e05565; }
.detail-save-heart { color: rgba(248,246,242,0.3); }
.detail-save-heart:hover { color: #e05565; }
.detail-save-heart.saved { color: #e05565; }

/* Fix reset button */
.prefs-reset-btn { color: rgba(248,246,242,0.25) !important; }
.prefs-reset-btn:hover { color: #F0EDE6 !important; }

/* Fix slider track for dark mode */
.prefs-slider, .nearby-slider {
  background: rgba(255,255,255,0.1) !important;
}

/* Fix cities checkboxes */
.prefs-cities .prefs-toggle-item { color: #F0EDE6; }

/* Fix venue link in detail */
.detail-venue-link { color: #D4581A !important; }

/* Links in detail/event pages */
.detail-meta a, .ev-page-meta a, .ev-expanded a {
  color: #D4581A !important;
}

/* ── Now Panel Option C ── */
.now-context-c {
  display: flex; flex-direction: column;
  width: 100%; padding: 8px 0;
  gap: 6px;
}
.now-saved-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 13px;
  color: rgba(248,246,242,0.4);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1;
}
.now-saved-btn:hover {
  border-color: rgba(224,85,101,0.5);
  color: rgba(224,85,101,0.8);
}
.now-saved-btn.active {
  background: rgba(196,43,43,0.2);
  border-color: #e05565;
  color: #e05565;
}

.now-context-top {
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
}
.now-context-left {
  display: flex; align-items: center; gap: 6px;
  min-width: 0;
}
.now-context-location {
  font-size: 13px; font-weight: 700;
  color: #F0EDE6; cursor: pointer;
  white-space: nowrap;
}
.now-context-location:hover { text-decoration: underline; }
.now-context-dot { color: rgba(248,246,242,0.3); }
.now-context-sub {
  font-size: 11px; color: rgba(248,246,242,0.45);
  white-space: nowrap;
}


/* Chip row */
.now-chip-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 0 12px;
}
.now-chip-row::-webkit-scrollbar { display: none; }
.now-chip {
  padding: 6px 8px;
  border-radius: 16px;
  border: 1.5px solid;
  background: rgba(21,19,17,0.85);
  color: rgba(248,246,242,0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.now-chip:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(248,246,242,0.8);
}
.now-chip-active {
  color: white !important;
  /* no padding/size changes on active - highlight only */
}
.now-chip:active { transform: none; }
.now-chip-gps {
  border-color: rgba(212,88,26,0.3);
  color: rgba(212,88,26,0.8);
}
.now-chip-gps:hover {
  background: rgba(212,88,26,0.15);
  color: #D4581A;
}
.now-chip-saved {
  border-color: rgba(196,43,43,0.35);
  color: rgba(224,85,101,0.7);
}
.now-chip-saved:hover {
  background: rgba(196,43,43,0.15);
  color: #e05565;
  border-color: rgba(196,43,43,0.6);
}
.now-chip-saved-active {
  background: rgba(196,43,43,0.2) !important;
  border-color: #e05565 !important;
  color: #e05565 !important;
}

/* Onboarding wrap */
.now-onboard-wrap {
  display: flex; flex-direction: column;
  width: 100%; padding: 8px 0;
  gap: 8px;
}
.now-onboard-top {
  padding: 0 16px;
}

/* Pulsing text */
.now-onboard-pulse {
  font-size: 14px; font-weight: 700;
  color: #D4581A;
  animation: nowPulse 2s ease-in-out infinite;
}
@keyframes nowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(212,88,26,0.4); }
}

/* ══════════════════════════
   ONBOARDING OVERLAY
══════════════════════════ */
.onboard-overlay {
  position: fixed; inset: 0;
  z-index: 9000;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(212,88,26,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(139,48,96,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(26,58,143,0.1) 0%, transparent 50%),
    #151315;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s ease;
}
.onboard-inner {
  max-width: 420px; width: 100%;
  padding: 40px 28px;
  display: flex; flex-direction: column;
  align-items: center;
  max-height: 100vh;
  overflow-y: auto;
}
.onboard-header {
  text-align: center;
  margin-bottom: 28px;
}
.onboard-logo {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900; font-size: 48px;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
}
.onboard-tagline {
  font-size: 15px; font-weight: 600;
  color: rgba(248,246,242,0.7);
  line-height: 1.5;
  margin-bottom: 8px;
}
.onboard-desc {
  font-size: 12px;
  color: rgba(248,246,242,0.35);
  line-height: 1.6;
  max-width: 320px;
}

/* Event showcase */

.onboard-event-showcase {
  width: 100%;
  margin-bottom: 20px;
  min-height: 72px;
}
.onboard-event-card {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  animation: onboardFadeIn 0.4s ease;
}
.onboard-showcase-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(248,246,242,0.35);
  margin-bottom: 6px;
}
.onboard-ev-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 3px; }
.onboard-ev-title { font-size: 14px; font-weight: 700; color: #F0EDE6; margin-bottom: 3px; }
.onboard-ev-meta { font-size: 11px; color: rgba(248,246,242,0.45); }
.onboard-ev-urg { font-size: 10px; font-weight: 700; margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

@keyframes onboardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.onboard-ev-cat {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.onboard-ev-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700; font-size: 20px;
  color: #F0EDE6; line-height: 1.1;
  margin-bottom: 4px;
}
.onboard-ev-meta {
  font-size: 11px;
  color: rgba(248,246,242,0.4);
}
.onboard-ev-urg {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* City selection */
.onboard-step {
  width: 100%;
  animation: onboardFadeIn 0.4s ease;
}
.onboard-step-title {
  font-size: 14px; font-weight: 700;
  color: rgba(248,246,242,0.6);
  margin-bottom: 14px;
  text-align: center;
}
.onboard-city-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
}
.onboard-city-btn {
  padding: 11px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #F0EDE6;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  transition: filter 0.15s, transform 0.1s;
}
.onboard-city-btn:hover { filter: brightness(1.12); }
.onboard-city-btn:active { transform: scale(0.96); }
.onboard-city-count {
  font-size: 10px; font-weight: 500;
  color: rgba(248,246,242,0.35);
  display: block;
}
.onboard-city-more {
  grid-column: 1 / -1;
  padding: 10px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  background: none;
  color: rgba(248,246,242,0.35);
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.onboard-city-more:hover {
  color: rgba(248,246,242,0.6);
  border-color: rgba(255,255,255,0.3);
}

.onboard-gps-btn {
  display: block;
  width: 100%; max-width: 280px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(212,88,26,0.3);
  border-radius: 24px;
  background: rgba(212,88,26,0.08);
  color: #D4581A;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.onboard-gps-btn:hover { background: rgba(212,88,26,0.15); }

/* Category selection */
.onboard-cat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}
.onboard-cat-btn {
  padding: 11px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 700;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  text-align: center;
  transition: filter 0.15s, transform 0.1s;
}
.onboard-cat-btn:hover { filter: brightness(1.15); }
.onboard-cat-btn:active { transform: scale(0.96); }
.onboard-cat-active {
  filter: brightness(1.25);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.3);
}
.onboard-cat-count {
  font-size: 10px; font-weight: 500;
  display: block; opacity: 0.65;
}
/* Show all types — teal, full width */
.onboard-cat-all {
  grid-column: 1 / -1;
  border-color: rgba(42,157,143,0.4) !important;
  color: #4ECDC4 !important;
  background: rgba(42,157,143,0.07) !important;
  font-size: 12px; font-weight: 600;
  min-height: auto;
  align-items: center;
  justify-content: center;
}
.onboard-cat-all:hover {
  background: rgba(42,157,143,0.14) !important;
  border-color: rgba(42,157,143,0.65) !important;
  filter: none;
}

/* Weekend step */
.onboard-step-weekend {
  width: 100%;
  animation: onboardFadeIn 0.4s ease;
}
.onboard-weekend-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}
.onboard-weekend-yes {
  padding: 14px 20px;
  border: 1.5px solid rgba(212,88,26,0.55);
  border-radius: 24px;
  background: rgba(212,88,26,0.2);
  color: #F0A070;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  animation: btnShine 5.6s linear infinite;
  background-image: linear-gradient(
    105deg,
    rgba(212,88,26,0.2) 0%, rgba(212,88,26,0.2) 40%,
    rgba(212,88,26,0.18) 50%, rgba(248,246,242,0.08) 55%,
    rgba(212,88,26,0.2) 65%, rgba(212,88,26,0.2) 100%
  );
  background-size: 200% 100%;
}
.onboard-weekend-yes:hover {
  background: rgba(212,88,26,0.35);
  border-color: rgba(212,88,26,0.8);
  animation: none;
}
.onboard-weekend-no {
  padding: 12px 20px;
  border: 1.5px solid rgba(42,157,143,0.45);
  border-radius: 24px;
  background: rgba(42,157,143,0.1);
  color: #4ECDC4;
  font-family: 'Outfit', sans-serif;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.onboard-weekend-no:hover {
  background: rgba(42,157,143,0.2);
  border-color: rgba(42,157,143,0.7);
}

/* No nearby events step */
.onboard-step-nonearby {
  width: 100%;
  animation: onboardFadeIn 0.4s ease;
  text-align: center;
}
.onboard-nonearby-desc {
  font-size: 13px;
  color: rgba(248,246,242,0.45);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto 20px;
}
.onboard-nonearby-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

/* GPS spinner */
.onboard-spinner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 0 24px;
  animation: onboardFadeIn 0.3s ease;
}
.onboard-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: #D4581A;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.onboard-spinner-label {
  font-size: 13px; font-weight: 500;
  color: rgba(248,246,242,0.5);
  letter-spacing: 0.02em;
}

/* Skip */
.onboard-skip {
  margin-top: 20px;
  padding: 10px 28px;
  border: 1.5px solid rgba(42,157,143,0.4);
  border-radius: 24px;
  background: rgba(42,157,143,0.08);
  font-size: 12px; font-weight: 600;
  color: #4ECDC4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: 'Outfit', sans-serif;
}
.onboard-skip:hover {
  background: rgba(42,157,143,0.16);
  border-color: rgba(42,157,143,0.7);
}
.onboard-skip:active { transform: scale(0.97); }
.onboard-skip-full {
  border-color: rgba(42,157,143,0.4) !important;
  background: rgba(42,157,143,0.08) !important;
  color: #4ECDC4 !important;
  margin-top: 8px;
}
.onboard-skip-full:hover {
  background: rgba(42,157,143,0.16) !important;
}

.onboard-hint {
  font-size: 10px;
  color: rgba(248,246,242,0.2);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* Now panel info line */
/* ── Saved-only toggle in list header ── */
.list-head-saved-btn {
  display: flex; align-items: center; gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 4px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(248,246,242,0.45);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.list-head-saved-btn:hover {
  border-color: rgba(224,85,101,0.5);
  color: rgba(224,85,101,0.8);
}
.list-head-saved-btn.active {
  background: rgba(196,43,43,0.15);
  border-color: #e05565;
  color: #e05565;
}

@keyframes btnShine {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.now-context-info {
  font-size: 12px;
  font-weight: 600;
  color: rgba(248,246,242,0.8);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1; min-width: 0;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
  background: linear-gradient(
    105deg,
    rgba(212,88,26,0.22) 0%,
    rgba(212,88,26,0.22) 40%,
    rgba(212,88,26,0.18) 50%,
    rgba(248,246,242,0.08) 55%,
    rgba(212,88,26,0.22) 65%,
    rgba(212,88,26,0.22) 100%
  );
  background-size: 200% 100%;
  animation: btnShine 5.6s linear infinite;
  border: 1px solid rgba(212,88,26,0.5);
  border-radius: 16px;
  padding: 5px 14px 5px 10px;
  font-family: 'Outfit', sans-serif;
  text-align: left;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.now-context-info::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(212,88,26,0.9)' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.now-context-info:hover {
  color: rgba(248,246,242,1);
  border-color: rgba(212,88,26,0.9);
  box-shadow: 0 0 10px 2px rgba(212,88,26,0.2);
  animation: none;
  background: rgba(212,88,26,0.4);
}
.now-context-info:active { transform: scale(0.97); }

/* Nearby prompt city list */
.nearby-prompt-section-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.35);
  margin-bottom: 10px;
}
.nearby-city-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.nearby-city-btn {
  padding: 10px 8px;
  border-radius: 10px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  text-align: center;
  transition: background 0.12s;
  outline: none;
}
.nearby-city-btn:active { transform: scale(0.96); }
.nearby-city-count {
  font-size: 10px; font-weight: 500;
  display: block;
}
.nearby-city-more-btn {
  grid-column: 1 / -1;
  padding: 8px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  background: none;
  color: rgba(248,246,242,0.35);
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.nearby-city-more-btn:hover {
  color: rgba(248,246,242,0.6);
  border-color: rgba(255,255,255,0.3);
}
.nearby-prompt-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 6px 0 14px;
}

/* Reset X inside info button */
.now-reset-x {
  color: #e05565;
  font-size: 11px;
  font-weight: 900;
  margin-left: 6px;
  padding: 1px 4px;
  border-radius: 50%;
  transition: background 0.15s;
}
.now-reset-x:hover {
  background: rgba(224,85,101,0.2);
}
