/*
 * MINOMO — events page styles
 * Estratto da events.html (refactor 2026-04-24)
 * Caricato dopo minomo.css; aggiunge stili specifici della pagina.
 */

        /* Events Page Styles */
        body {
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }

        .m-events-container {
            position: fixed;
            top: calc(60px + env(safe-area-inset-top, 0px)); /* C1: notch iOS */
            left: 0;
            right: 0;
            bottom: 70px;
            display: flex;
            flex-direction: column;
            background: var(--m-bg);
        }

        /* Location selector bar */
        .m-location-selector {
            background: var(--m-bg);
            border-bottom: 1px solid var(--m-border);
            padding: 12px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .m-city-selector {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--m-card);
            padding: 10px 14px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .m-city-selector:active {
            transform: scale(0.98);
            opacity: 0.8;
        }

        .m-city-icon {
            font-size: 20px;
        }

        .m-city-name {
            flex: 1;
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--m-text);
        }

        .m-chevron {
            width: 16px;
            height: 16px;
            color: var(--m-text-secondary);
            transition: transform 0.2s;
        }

        .m-chevron.open {
            transform: rotate(180deg);
        }

        /* Filter Toggle Button (next to location) */
        .m-filters-toggle {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 10px 14px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.875rem;
            font-weight: 600;
            color: #fff;
            transition: all 0.2s;
            border: none;
        }

        .m-filters-toggle:active {
            transform: scale(0.95);
        }

        .m-filters-toggle svg {
            width: 18px;
            height: 18px;
        }

        /* Category Filter Modal - Fullscreen */
        .m-filter-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2000;
            display: none;
        }

        .m-filter-modal.active {
            display: block;
        }

        .m-filter-modal-backdrop {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
        }

        .m-filter-modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            max-width: 400px;
            max-height: 80vh;
            background: var(--m-card);
            border-radius: 24px;
            padding: 24px;
            overflow-y: auto;
        }

        .m-filter-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .m-filter-modal-header h3 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--m-text);
            margin: 0;
        }

        .m-filter-modal-close {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--m-bg);
            border: none;
            color: var(--m-text);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .m-filter-modal-close:active {
            transform: scale(0.9);
        }

        .m-filter-modal-close svg {
            width: 18px;
            height: 18px;
        }

        /* Filter Grid - 2 columns for mobile */
        .m-filter-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .m-filter-grid-item {
            padding: 14px 12px;
            border-radius: 14px;
            background: var(--m-bg);
            border: 2px solid transparent;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--m-text);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .m-filter-grid-item:active {
            transform: scale(0.96);
        }

        .m-filter-grid-item.active {
            background: rgba(124, 58, 237, 0.15);
            border-color: var(--m-accent);
            color: var(--m-accent);
        }

        .m-filter-grid-item-icon {
            font-size: 1.5rem;
        }

        /* Location Mode Selector (dropdown) */
        .m-location-modes {
            padding: 16px;
            background: var(--m-card);
            border-radius: 12px;
            margin: 16px;
            display: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .m-location-modes.active {
            display: block;
        }

        .m-location-mode {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 8px;
        }

        .m-location-mode:last-child {
            margin-bottom: 0;
        }

        .m-location-mode:hover {
            background: var(--m-bg);
        }

        .m-location-mode.active {
            background: rgba(124, 58, 237, 0.1);
        }

        .m-location-mode-icon {
            font-size: 24px;
        }

        .m-location-mode-text {
            flex: 1;
        }

        .m-location-mode-label {
            font-size: 0.9375rem;
            font-weight: 600;
            color: var(--m-text);
            display: block;
            margin-bottom: 2px;
        }

        .m-location-mode-desc {
            font-size: 0.8125rem;
            color: var(--m-text-secondary);
        }

        .m-location-mode-radio {
            width: 20px;
            height: 20px;
            border: 2px solid var(--m-border);
            border-radius: 50%;
            position: relative;
        }

        .m-location-mode.active .m-location-mode-radio {
            border-color: var(--m-accent);
        }

        .m-location-mode.active .m-location-mode-radio::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background: var(--m-accent);
            border-radius: 50%;
        }

        /* Date filters */
        .m-date-filters-container {
            background: var(--m-bg);
            border-bottom: 1px solid var(--m-border);
            padding: 8px 16px;
        }

        /* Current Category Title */
        .m-current-category {
            background: var(--m-bg);
            padding: 16px;
            text-align: center;
            border-bottom: 1px solid var(--m-border);
        }

        .m-current-category-title {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--m-text);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .m-current-category-icon {
            font-size: 1.5rem;
        }
        .m-date-filters {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            padding: 12px 16px;
            background: var(--m-bg);
        }

        .m-date-filter {
            padding: 10px 12px;
            border-radius: 10px;
            background: var(--m-card);
            color: var(--m-text);
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            text-align: center;
            transition: all 0.2s;
            border: 1px solid var(--m-border);
            user-select: none;
        }

        .m-date-filter:active {
            transform: scale(0.96);
        }

        .m-date-filter.active {
            background: var(--m-accent);
            color: #fff;
            border-color: var(--m-accent);
        }

        /* Events List */
        .m-events-list {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
        }

        /* Event Card */
        .m-event-card {
            background: var(--m-card);
            border-radius: 16px;
            padding: 16px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: all 0.2s;
        }

        .m-event-card:active {
            transform: scale(0.98);
        }

        .m-event-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--m-text);
            margin-bottom: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .m-event-meta {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-size: 0.8125rem;
            color: var(--m-text-secondary);
        }

        .m-rsvp-btn {
            margin-left: auto;
            padding: 8px 16px;
            border-radius: 10px;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }

        .m-rsvp-btn.not-going {
            background: var(--m-card);
            color: var(--m-text);
            border: 1px solid var(--m-border);
        }

        .m-rsvp-btn.going {
            background: var(--m-accent);
            color: #fff;
        }

        .m-rsvp-btn:active {
            transform: scale(0.95);
        }

        /* Empty State */
        .m-empty-state {
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 48px 24px;
            text-align: center;
        }

        .m-empty-state.active {
            display: flex;
        }

        .m-empty-icon {
            font-size: 64px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .m-empty-title {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--m-text);
            margin-bottom: 8px;
        }

        .m-empty-desc {
            font-size: 0.9375rem;
            color: var(--m-text-secondary);
            max-width: 300px;
        }

        /* Wave CITY-SIGNAGE (2026-07-16): città vicine suggerite quando la
           città corrente non ha eventi in programma. */
        .m-empty-suggest {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
            margin-top: 20px;
            max-width: 360px;
        }

        .m-empty-suggest-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            border-radius: 999px;
            border: 1px solid var(--m-border);
            background: var(--m-bg);
            color: var(--m-text);
            font-size: 0.8125rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.15s;
        }

        .m-empty-suggest-item:hover {
            background: rgba(124, 58, 237, 0.1);
        }

        .m-empty-suggest-item:focus-visible {
            outline: 2px solid #7c3aed;
            outline-offset: 2px;
        }

        .m-empty-suggest-count {
            font-size: 0.75rem;
            font-weight: 700;
            color: var(--m-text-secondary);
        }

        /* .m-loading / .m-spinner / @keyframes spin → definiti in minomo.css */

        /* City Dropdown — Vito 2026-05-11: era un panel piccolo top:70px
           left/right 16px che finiva in alto-sinistra sotto la navbar.
           Riscritto come MODAL centrato (backdrop scuro + card center).
           Lo stile dettagliato dark MINOMO-2026 vive piu sotto (selettore
           body.minomo-2026 .m-city-dropdown). Qui solo i fondamentali. */
        .m-city-dropdown {
            position: fixed;
            inset: 0;
            z-index: 200;
            display: none;
            align-items: flex-start;
            justify-content: center;
            background: rgba(0, 0, 0, 0.55);
            padding: 96px 20px 24px;
            overflow-y: auto;
        }

        .m-city-dropdown.active {
            display: flex;
        }

        .m-city-search {
            padding: 16px;
            border-bottom: 1px solid var(--m-border);
        }

        .m-city-search input {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--m-border);
            border-radius: 10px;
            font-size: 0.9375rem;
            background: var(--m-bg);
            color: var(--m-text);
            outline: none;
        }

        .m-city-list {
            flex: 1;
            overflow-y: auto;
            padding: 8px;
        }

        .m-city-item {
            padding: 12px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 0.9375rem;
            color: var(--m-text);
        }

        .m-city-item:hover {
            background: var(--m-bg);
        }

        .m-city-item.active {
            background: rgba(124, 58, 237, 0.1);
            font-weight: 600;
        }


/* ═══════════════════════════════════════════════════════════════════
   2026 redesign — scoped under body.minomo-2026
   Editorial late-night magazine aesthetic. Coexists with legacy.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Local vars (exceptions approved by brief) ─────────────────── */
body.minomo-2026 {
  --magenta: #C84FFF;
  --magenta-tint: rgba(200, 79, 255, 0.14);
}

/* ─── [hidden] guard ─────────────────────────────────────────────── */
body.minomo-2026 .m-events-container [hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   CONTAINER & ATMOSPHERE
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-events-container {
  /* Remove legacy fixed positioning & old background */
  position: static;
  top: unset;
  left: unset;
  right: unset;
  bottom: unset;
  /* Vito 2026-05-11: rollback del padding-top — la navbar #mHeader e'
     position:relative, scorre naturalmente sopra il contenuto. Il
     problema "titolo sotto al logo" era SOLO sul modal city-search,
     fixato a parte. events.html riprende il flow originale. */
  padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  display: flex;
  flex-direction: column;
  /* stacking context so atmosphere ::before stays behind content */
  isolation: isolate;
}

/* Atmosphere overlay */
body.minomo-2026 .m-events-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background:
    radial-gradient(ellipse 90% 60% at 30% 0%,
      rgba(245, 130, 32, 0.18) 0%,
      rgba(200, 79, 255, 0.10) 35%,
      transparent 70%),
    radial-gradient(ellipse 60% 40% at 78% 8%,
      rgba(255, 100, 60, 0.14) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background 600ms var(--ease);
}

/* All direct content above atmosphere */
body.minomo-2026 .m-events-container > * {
  position: relative;
  z-index: 1;
}

/* Atmosphere override — live mode (flame red) */
html[data-atmosphere-override="live"] body.minomo-2026 .m-events-container::before {
  background:
    radial-gradient(ellipse 90% 60% at 30% 0%,
      rgba(255, 69, 58, 0.22) 0%,
      rgba(245, 130, 32, 0.12) 35%,
      transparent 70%),
    radial-gradient(ellipse 60% 40% at 78% 8%,
      rgba(255, 100, 60, 0.18) 0%,
      transparent 70%);
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-events-hero {
  padding: 18px 22px 12px;
  animation: m-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

body.minomo-2026 .m-events-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--t2);
  text-shadow: 0 0 12px rgba(10, 132, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

body.minomo-2026 .m-events-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--aqua-glow), transparent);
}

body.minomo-2026 .m-events-eyebrow-count {
  color: var(--t2);
  background: var(--surf-2);
  border: 1px solid var(--bd);
  border-radius: 100px;
  padding: 2px 9px;
  font-size: 9.5px;
  text-shadow: none;
}

body.minomo-2026 .m-events-eyebrow-count b {
  color: var(--orange);
  font-weight: 700;
}

body.minomo-2026 .m-events-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 38px;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--t1);
}

body.minomo-2026 .m-events-title em {
  /* 🔴 DIRITTO, non corsivo. Segnalato da Vito il 26/08: «Eventi *a Brașov*»
     era l'unico titolo colorato in corsivo dell'app.
     Il corsivo non era una scelta: qui `font-style` non era dichiarato
     affatto, e `<em>` e' corsivo per impostazione del browser. Il tag serve a
     marcare il pezzo da colorare, non a inclinarlo.
     Il riferimento e' `.v-hero-title em` in explore.css, che dichiara
     `font-style: normal` da sempre. */
  font-style: normal;
  background: linear-gradient(110deg, var(--orange) 0%, var(--orange-soft) 50%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* italic glyphs lean right — padding prevents the gradient from clipping
     the final letter of "succede" / "in diretta". margin compensates so
     the visual flow is unchanged. Same fix as notifications.css. */
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.12em;
}

/* ═══════════════════════════════════════════════════════════════════
   SEGMENT CONTROL (Locali / Online) + LIVE TOGGLE
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-view-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 6px;
  animation: m-rise 900ms var(--ease) 200ms both;
}

body.minomo-2026 .m-segment {
  flex: 1;
  display: flex;
  position: relative;
  background: var(--surf-2);
  border: 1px solid var(--bd-active);
  border-radius: 100px;
  padding: 4px;
  height: 44px;
}

body.minomo-2026 .m-segment::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--orange-hot) 0%, var(--orange) 100%);
  border-radius: 100px;
  box-shadow:
    0 6px 18px rgba(245, 130, 32, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 360ms var(--ease),
    background 360ms var(--ease),
    box-shadow 360ms var(--ease);
}

body.minomo-2026 .m-segment[data-pos="online"]::before {
  transform: translateX(100%);
  background: linear-gradient(135deg, var(--orange-hot) 0%, var(--orange) 100%);
  box-shadow:
    0 6px 18px rgba(10, 132, 255, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.minomo-2026 .m-seg-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: transparent;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--t3);
  cursor: pointer;
  position: relative;
  z-index: 1;
  letter-spacing: -0.005em;
  transition: color 360ms var(--ease);
}

body.minomo-2026 .m-seg-btn .m-seg-icon {
  font-size: 13px;
}

body.minomo-2026 .m-seg-btn.is-active {
  color: white;
}

/* Live toggle */
body.minomo-2026 .m-live-toggle {
  height: 44px;
  padding: 0 14px 0 12px;
  border-radius: 100px;
  border: 1px solid var(--bd-active);
  background: var(--surf-2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 240ms var(--ease);
  flex-shrink: 0;
}

body.minomo-2026 .m-live-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t4);
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease);
}

body.minomo-2026 .m-live-toggle.is-on {
  background: linear-gradient(135deg, #FF3B30 0%, #FF6B3D 100%);
  border-color: rgba(255, 59, 48, 0.5);
  color: white;
  box-shadow: 0 6px 18px rgba(255, 69, 58, 0.40);
}

body.minomo-2026 .m-live-toggle.is-on .m-live-toggle-dot {
  background: white;
  box-shadow: 0 0 8px white;
  animation: m-live-pulse 1.4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════
   LOCATION SELECTOR (city chip + filters toggle)
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-location-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px 4px;
  background: transparent;
  border-bottom: none;
  justify-content: flex-start;
}

body.minomo-2026 .m-city-selector {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 12px;
  background: var(--surf-2);
  border: 1px solid var(--bd-active);
  border-radius: 100px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--t2);
  cursor: pointer;
  letter-spacing: -0.005em;
  flex: unset;
}

body.minomo-2026 .m-city-selector:active {
  transform: scale(0.97);
  opacity: 1;
}

body.minomo-2026 .m-city-selector .m-city-icon {
  font-size: 13px;
}

body.minomo-2026 .m-city-selector .m-city-name {
  color: var(--t1);
  font-weight: 700;
  flex: unset;
}

body.minomo-2026 .m-city-selector .m-chevron {
  width: 12px;
  height: 12px;
  stroke: var(--t3);
  stroke-width: 2;
  fill: none;
}

body.minomo-2026 .m-filters-toggle {
  height: 36px;
  padding: 0 12px;
  border-radius: 100px;
  background: var(--surf-2);
  border: 1px solid var(--bd);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  cursor: pointer;
  /* override legacy black-box style */
  backdrop-filter: none;
  box-shadow: none;
}

body.minomo-2026 .m-filters-toggle:active {
  transform: scale(0.97);
}

body.minomo-2026 .m-filters-toggle svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

/* ═══════════════════════════════════════════════════════════════════
   LOCATION MODES DROPDOWN
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-location-modes {
  background: var(--surf-2);
  border: 1px solid var(--bd);
  border-radius: 18px;
  margin: 8px 22px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  display: none;
}

body.minomo-2026 .m-location-modes.active {
  display: block;
}

body.minomo-2026 .m-location-mode {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 200ms var(--ease);
  margin-bottom: 4px;
  border: 1px solid transparent;
}

body.minomo-2026 .m-location-mode:last-child {
  margin-bottom: 0;
}

body.minomo-2026 .m-location-mode:hover {
  background: var(--surf);
}

body.minomo-2026 .m-location-mode.active {
  background: var(--orange-tint);
  border-color: rgba(245, 130, 32, 0.28);
}

body.minomo-2026 .m-location-mode-radio {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--bd-active);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

body.minomo-2026 .m-location-mode.active .m-location-mode-radio {
  border-color: var(--orange);
}

body.minomo-2026 .m-location-mode.active .m-location-mode-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
}

body.minomo-2026 .m-location-mode-label {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
  display: block;
  margin-bottom: 2px;
}

body.minomo-2026 .m-location-mode-desc {
  font-size: 12px;
  color: var(--t3);
}

/* ═══════════════════════════════════════════════════════════════════
   CITY DROPDOWN (fullscreen overlay)
   ═══════════════════════════════════════════════════════════════════ */

/* City-search "modal" — Vito 2026-05-11: da fullscreen overlay a card
   centrata che lascia respirare la navbar in alto. Wrapper HTML
   `.m-city-dropdown-card` (vedi events.html) contiene header + country +
   search + list. */
body.minomo-2026 .m-city-dropdown {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.60);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  /* Padding-top compensa la navbar fissa (header ~64px + 32px respiro) */
  padding: calc(96px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
body.minomo-2026 .m-city-dropdown.active { display: flex; }

body.minomo-2026 .m-city-dropdown-card {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  background: var(--m-bg-card, #141416);
  border: 1px solid var(--m-border, rgba(255,255,255,0.08));
  border-radius: 18px;
  padding: 20px 22px;
  gap: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 2px 0 rgba(255,255,255,0.04) inset;
}

body.minomo-2026 .m-city-dropdown .m-city-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 40vh;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

body.minomo-2026 .m-city-search {
  padding: 0;
  border-bottom: none;
  margin-top: 12px;
}

body.minomo-2026 .m-city-search input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surf-2);
  border: 1px solid var(--bd-active);
  border-radius: 12px;
  color: var(--t1);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color 200ms var(--ease);
}

body.minomo-2026 .m-city-search input:focus {
  border-color: var(--orange);
}

body.minomo-2026 .m-country-selector select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surf-2);
  border: 1px solid var(--bd-active);
  border-radius: 12px;
  color: var(--t1);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

body.minomo-2026 .m-city-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  margin-top: 8px;
}

body.minomo-2026 .m-city-list .m-city-item {
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--t2);
  transition: background 160ms var(--ease);
}

body.minomo-2026 .m-city-list .m-city-item:hover {
  background: var(--surf-2);
}

body.minomo-2026 .m-city-list .m-city-item.active {
  color: var(--orange);
  background: var(--orange-tint);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   DATE FILTERS
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-date-filters-container {
  padding: 8px 22px 6px;
  background: transparent;
  border-bottom: none;
}

/* Override legacy grid layout */
body.minomo-2026 .m-date-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
  background: transparent;
  grid-template-columns: unset;
}

body.minomo-2026 .m-date-filters::-webkit-scrollbar {
  display: none;
}

body.minomo-2026 .m-date-filter {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--bd);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  text-align: unset;
}

body.minomo-2026 .m-date-filter:active {
  transform: scale(0.96);
}

body.minomo-2026 .m-date-filter.active {
  background: var(--t1);
  color: var(--bg);
  border-color: var(--t1);
}

/* ═══════════════════════════════════════════════════════════════════
   CURRENT CATEGORY EYEBROW
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-current-category {
  padding: 14px 22px 6px;
  text-align: left;
  background: transparent;
  border-bottom: none;
}

body.minomo-2026 .m-current-category-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--t3);
}

/* ═══════════════════════════════════════════════════════════════════
   EVENTS LIST
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-events-list {
  padding: 4px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  overflow-y: unset;
}

/* ═══════════════════════════════════════════════════════════════════
   EVENT CARD — Editorial layout
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-event-card {
  display: block;
  background: var(--surf-2);
  border: 1px solid var(--bd);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
  /* Reset legacy styles */
  padding: 0;
  margin-bottom: 0;
}

body.minomo-2026 .m-event-card:hover {
  border-color: var(--bd-active);
}

body.minomo-2026 .m-event-card:active {
  transform: scale(0.992);
}

/* Event hero image area */
body.minomo-2026 .m-event-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #1c1c1e;
  background-size: cover;
  background-position: center;
}

/* Bottom shadow overlay */
body.minomo-2026 .m-event-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.45) 78%,
    rgba(0, 0, 0, 0.70) 100%
  );
  z-index: 1;
}

/* Fallback gradient when no image — default */
body.minomo-2026 .m-event-hero-fallback {
  background: radial-gradient(ellipse at 30% 30%,
    rgba(155, 60, 255, 0.55) 0%,
    rgba(245, 130, 32, 0.35) 45%,
    #0d0d10 100%
  );
}

/* Category fallback gradients */
body.minomo-2026 .hero-cat-music {
  background: linear-gradient(135deg, #4B0082 0%, #8B008B 40%, #F58220 100%);
}
body.minomo-2026 .hero-cat-art {
  background: linear-gradient(135deg, #C84FFF 0%, #FF3B30 55%, #1c1c1e 100%);
}
body.minomo-2026 .hero-cat-food {
  background: linear-gradient(135deg, #FF7B1F 0%, #FFB830 60%, #3D1F00 100%);
}
body.minomo-2026 .hero-cat-sports {
  background: linear-gradient(135deg, #0A8A3B 0%, #0A84FF 60%, #002240 100%);
}
body.minomo-2026 .hero-cat-technology {
  background: linear-gradient(135deg, #0A84FF 0%, #9B3CFF 55%, #0d0d14 100%);
}
body.minomo-2026 .hero-cat-business {
  background: linear-gradient(135deg, #2470FF 0%, #1c3a5e 50%, #0a0a12 100%);
}
body.minomo-2026 .hero-cat-health {
  background: linear-gradient(135deg, #34C759 0%, #00D2FF 55%, #001a12 100%);
}
body.minomo-2026 .hero-cat-party {
  background: linear-gradient(135deg, #C84FFF 0%, #FF6B3D 55%, #1a0028 100%);
}
body.minomo-2026 .hero-cat-festival {
  background: linear-gradient(135deg, #FF3B30 0%, #FF9500 50%, #1c0800 100%);
}
body.minomo-2026 .hero-cat-theater {
  background: linear-gradient(135deg, #9B3CFF 0%, #FF3B30 55%, #100018 100%);
}
body.minomo-2026 .hero-cat-cinema {
  background: linear-gradient(135deg, #FF3B30 0%, #3D0000 55%, #0a0a0a 100%);
}
body.minomo-2026 .hero-cat-networking {
  background: linear-gradient(135deg, #0A84FF 0%, #00D2FF 50%, #001c30 100%);
}
body.minomo-2026 .hero-cat-education {
  background: linear-gradient(135deg, #2470FF 0%, #34C759 55%, #001a0a 100%);
}
body.minomo-2026 .hero-cat-entertainment {
  background: linear-gradient(135deg, #C84FFF 0%, #FF6B3D 50%, #1a0028 100%);
}
body.minomo-2026 .hero-cat-all {
  background: radial-gradient(ellipse at 30% 30%,
    rgba(155, 60, 255, 0.55) 0%,
    rgba(245, 130, 32, 0.35) 45%,
    #0d0d10 100%
  );
}

/* Mode pill (TL) */
body.minomo-2026 .m-event-mode-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 8px;
  background: rgba(20, 20, 22, 0.78);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: white;
}

body.minomo-2026 .m-event-mode-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 🔑 I tre modi si distinguevano SOLO per il colore del pallino: verde in
   presenza, azzurro online, sfumato ibrido. Nel 2027 quell'azzurro non
   esiste (due accenti soli, e l'acqua e' dei merchant), quindi la differenza
   passa alla FORMA. Non e' una perdita: la pill porta gia' l'etichetta
   scritta accanto al pallino (events.html:1859), quindi il colore era
   ridondanza, non informazione. Adesso il pallino AGGIUNGE qualcosa invece
   di ripetere:
     pieno   = ci si va di persona
     vuoto   = e' online, non c'e' un posto dove andare
     meta'   = ibrido, tutte e due
   E funziona anche per chi non distingue i colori, che prima no. */
body.minomo-2026 .m-event-mode-pill.in_person .m-event-mode-dot {
  background: var(--t1);
}

body.minomo-2026 .m-event-mode-pill.online .m-event-mode-dot {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--t2);
}

body.minomo-2026 .m-event-mode-pill.hybrid .m-event-mode-dot {
  background: linear-gradient(90deg, var(--t1) 0 50%, transparent 50% 100%);
  box-shadow: inset 0 0 0 1.5px var(--t2);
}

/* Live badge (TR) */
body.minomo-2026 .m-event-live {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  background: linear-gradient(135deg, #FF3B30 0%, #FF6B3D 100%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 100px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: white;
  box-shadow: 0 4px 14px rgba(255, 69, 58, 0.40);
}

body.minomo-2026 .m-event-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  flex-shrink: 0;
  animation: m-live-pulse 1.4s ease-in-out infinite;
}

/* Date stamp (BL) */
body.minomo-2026 .m-event-date-stamp {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.65),
    0 0 14px rgba(10, 132, 255, 0.45);
}

body.minomo-2026 .m-event-d-day {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--t1);
}

body.minomo-2026 .m-event-d-num {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 24px;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1;
}

body.minomo-2026 .m-event-d-time {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  margin-left: 4px;
  letter-spacing: -0.005em;
}

/* Card body */
body.minomo-2026 .m-event-body {
  padding: 14px 16px;
}

body.minomo-2026 .m-event-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--t3);
  margin-bottom: 7px;
}

body.minomo-2026 .m-event-cat-ic {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--orange-tint);
  border: 1px solid var(--bd);
  display: grid;
  place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}

body.minomo-2026 .m-event-cat-name {
  color: var(--t3);
}

/* Platform tags */
body.minomo-2026 .m-event-platform {
  margin-left: 4px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bd);
  border-radius: 100px;
  color: var(--t2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.04em;
}

body.minomo-2026 .m-event-platform.zoom {
  color: #4A8AFF;
  border-color: rgba(74, 138, 255, 0.30);
}

body.minomo-2026 .m-event-platform.youtube {
  color: var(--err-text);
  border-color: rgba(255, 69, 58, 0.25);
}

body.minomo-2026 .m-event-platform.twitch {
  color: var(--magenta);
  border-color: rgba(200, 79, 255, 0.30);
}

body.minomo-2026 .m-event-platform.meet {
  color: var(--ok-text);
  border-color: rgba(111, 211, 168, 0.25);
}

body.minomo-2026 .m-event-platform.instagram {
  color: #C84FFF;
  border-color: rgba(200, 79, 255, 0.30);
}

body.minomo-2026 .m-event-platform.custom {
  color: var(--t2);
}

/* Event title */
body.minomo-2026 .m-event-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 22px;
  font-variation-settings: "opsz" 90;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin-bottom: 8px;
  /* Override legacy line-clamp */
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  -webkit-box-orient: unset;
}

/* Meta row */
body.minomo-2026 .m-event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: -0.005em;
  margin-bottom: 13px;
  /* Reset legacy */
  flex-direction: row;
}

body.minomo-2026 .m-event-meta-it {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.minomo-2026 .m-event-meta-it b {
  color: var(--t2);
  font-weight: 700;
}

body.minomo-2026 .m-event-meta-ic {
  font-size: 13px;
}

body.minomo-2026 .m-event-meta-sep {
  color: var(--t4);
}

/* Card footer */
body.minomo-2026 .m-event-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--bd);
}

body.minomo-2026 .m-event-att {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
}

body.minomo-2026 .m-event-att-ic {
  font-size: 14px;
}

body.minomo-2026 .m-event-att-count b {
  color: var(--orange);
}

body.minomo-2026 .m-event-att-cap {
  color: var(--t3);
}

/* RSVP button */
body.minomo-2026 .m-rsvp-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 100px;
  border: none;
  background: var(--orange);
  color: var(--on-orange);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow:
    0 6px 16px rgba(245, 130, 32, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: transform 200ms var(--ease);
  /* Reset legacy */
  margin-left: 0;
}

body.minomo-2026 .m-rsvp-btn:active {
  transform: scale(0.96);
}

body.minomo-2026 .m-rsvp-btn svg {
  width: 14px;
  height: 14px;
}

body.minomo-2026 .m-rsvp-btn.is-going {
  background: rgba(111, 211, 168, 0.14);
  color: var(--ok-text);
  box-shadow: inset 0 0 0 1px rgba(111, 211, 168, 0.32);
}

body.minomo-2026 .m-rsvp-btn.is-going svg {
  stroke: var(--ok-text);
}

/* ═══════════════════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  animation: m-rise 900ms var(--ease) 200ms both;
}

body.minomo-2026 .m-empty-state.active {
  display: flex;
}

body.minomo-2026 .m-empty-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--orange-tint), rgba(245, 130, 32, 0.04));
  border: 1px solid rgba(245, 130, 32, 0.20);
  display: grid;
  place-items: center;
  font-size: 44px;
  box-shadow: 0 12px 32px rgba(245, 130, 32, 0.18);
  margin-bottom: 20px;
  /* Reset legacy */
  opacity: 1;
  width: 96px;
  height: 96px;
}

body.minomo-2026 .m-empty-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 32px;
  font-variation-settings: "opsz" 144;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin-bottom: 12px;
}

body.minomo-2026 .m-empty-title em {
  color: var(--orange);
}

body.minomo-2026 .m-empty-desc {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  color: var(--t3);
  line-height: 1.55;
  max-width: 300px;
}

/* Wave CITY-SIGNAGE (2026-07-16): città vicine con eventi, mostrate quando
   la città corrente (residenza/roaming) non ha nulla in programma. */
body.minomo-2026 .m-empty-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  max-width: 380px;
}

body.minomo-2026 .m-empty-suggest-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--t1);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms, border-color 150ms, transform 150ms;
}

body.minomo-2026 .m-empty-suggest-item:hover {
  background: var(--orange-tint);
  border-color: rgba(245, 130, 32, 0.30);
}

body.minomo-2026 .m-empty-suggest-item:active {
  transform: scale(0.97);
}

body.minomo-2026 .m-empty-suggest-item:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

body.minomo-2026 .m-empty-suggest-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-tint);
  padding: 2px 7px;
  border-radius: 999px;
}

/* ═══════════════════════════════════════════════════════════════════
   RSVP TOAST
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-rsvp-toast {
  position: fixed;
  bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(245, 130, 32, 0.40);
  border-radius: 14px;
  padding: 12px 18px;
  max-width: 90%;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--t1);
  line-height: 1.4;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(245, 130, 32, 0.15);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
  text-align: center;
  white-space: nowrap;
}

body.minomo-2026 .m-rsvp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

body.minomo-2026 .m-rsvp-toast-icon {
  display: inline-block;
  margin-right: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   FILTER MODAL
   ═══════════════════════════════════════════════════════════════════ */

body.minomo-2026 .m-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

body.minomo-2026 .m-filter-modal.active {
  display: flex;
}

body.minomo-2026 .m-filter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.minomo-2026 .m-filter-modal-content {
  position: relative;
  z-index: 1;
  background: var(--surf-2);
  border: 1px solid var(--bd-active);
  border-radius: 24px 24px 0 0;
  padding: 24px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  /* Override legacy centered absolute */
  top: unset;
  left: unset;
  transform: none;
  max-width: unset;
}

body.minomo-2026 .m-filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

body.minomo-2026 .m-filter-modal-header h3 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 22px;
  font-variation-settings: "opsz" 90;
  color: var(--t1);
  margin: 0;
}

body.minomo-2026 .m-filter-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surf);
  border: 1px solid var(--bd);
  color: var(--t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms var(--ease);
  padding: 0;
}

body.minomo-2026 .m-filter-modal-close:active {
  transform: scale(0.9);
}

body.minomo-2026 .m-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

body.minomo-2026 .m-filter-grid-item {
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--surf);
  border: 1.5px solid var(--bd);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}

body.minomo-2026 .m-filter-grid-item:active {
  transform: scale(0.96);
}

body.minomo-2026 .m-filter-grid-item.active {
  background: var(--orange-tint);
  border-color: rgba(245, 130, 32, 0.40);
  color: var(--orange);
}

body.minomo-2026 .m-filter-grid-item-icon {
  font-size: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   GEO SUGGESTION BANNER (Wave EVENTS-GEO-BANNER, 2026-08-02)
   Sober dismissible notice, shown above #eventsList only when
   navigator.permissions already reports geolocation 'granted' — see
   checkGeoBannerSuggestion() in the module script below. Never causes a
   permission prompt itself; the CTA routes through the same
   selectLocationMode('nearby') the manual "Vicino a Me" tap uses.
   Visual pattern mirrors .h-push-nudge (assets/css/pages/home.css,
   Wave PUSH-REENABLE-NUDGE) 1:1 — same tokens (--card/--hairline/
   --orange/--text-*), reused here under the page's own m- namespace so
   events.html doesn't need to load home.css for one component. NOT the
   .h-promo-emph gradient variant (Vito 2026-08-02: sobrio, non enfatico). */
body.minomo-2026 .m-geo-banner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* 22px matches the page's horizontal rhythm (.m-current-category,
     .m-events-list use the same 22px) — .m-events-container itself
     carries no horizontal padding of its own. */
  margin: 0 22px 14px;
  padding: 15px 16px 16px;
  background: var(--surf);
  border: 1px solid var(--bd);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

body.minomo-2026 .m-geo-banner[hidden] { display: none; }

body.minomo-2026 .m-geo-banner-head { display: flex; align-items: center; gap: 11px; }

body.minomo-2026 .m-geo-banner-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}

body.minomo-2026 .m-geo-banner-text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--t2);
}

body.minomo-2026 .m-geo-banner-close {
  flex-shrink: 0;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--t3);
  width: 28px;
  height: 28px;
  margin: -4px -4px -4px 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}

body.minomo-2026 .m-geo-banner-close:hover,
body.minomo-2026 .m-geo-banner-close:focus-visible { background: var(--surf-2); color: var(--t1); }
body.minomo-2026 .m-geo-banner-close:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

body.minomo-2026 .m-geo-banner-cta {
  align-self: flex-start;
  margin-top: 1px;
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  background: var(--orange);
  color: var(--on-orange);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms var(--ease), transform 120ms var(--ease);
}

body.minomo-2026 .m-geo-banner-cta:hover,
body.minomo-2026 .m-geo-banner-cta:focus-visible { background: var(--orange-hot); }
body.minomo-2026 .m-geo-banner-cta:active { transform: translateY(1px); }
body.minomo-2026 .m-geo-banner-cta:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */

/* Live pulse dot — local, avoids conflict with any other m-live-pulse */
@keyframes m-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.18); }
}

/* m-rise is already defined in minomo-2026.css — no redefinition needed */

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — center layout on desktop
   ═══════════════════════════════════════════════════════════════════ */

@media (min-width: 600px) {
  body.minomo-2026 .m-events-container {
    max-width: 480px;
    margin: 0 auto;
  }
}


/* ── Lista a pagine (25/11/2026) ───────────────────────────────────────── */
.m-events-more { display: flex; justify-content: center; padding: 8px 16px 28px; }
.m-events-more[hidden] { display: none; }
.m-events-more-btn {
  min-height: 44px; padding: 10px 22px; border-radius: 100px;
  border: 1px solid var(--bd); background: var(--surf); color: var(--t1);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.m-events-more-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.m-events-more.is-loading .m-events-more-btn { opacity: 0.5; pointer-events: none; }
