@import url('https://fonts.googleapis.com/css2?family=Raleway+Dots&family=Poppins:wght@200;300;400&display=swap');

/* ══════════════════════════════════════════════════════════════
   NightOut App Shell — v5.5
   Fixed header + fixed bottom nav. Page body scrolls freely
   so the browser chrome auto-collapses natively.
══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    height: 100%;
    background: #0d0d14;
}
body {
    min-height: 100%;
    background: #0d0d14;
    color: #F0F0FF;
    font-family: 'DM Sans', sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    /* No overflow:hidden — let window scroll freely */
}

/* ── Fixed header strip (logo + controls + day nav) ─────────── */
.noe-app-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 300;
    background: linear-gradient(180deg, rgba(13,13,20,0.97) 0%, rgba(13,13,20,0.88) 70%, rgba(13,13,20,0.75) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-top: env(safe-area-inset-top);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* iOS: fixed topbar must respond to taps immediately even during
       body momentum scroll. touch-action:manipulation bypasses the
       300ms scroll-decision delay on all tap targets inside. */
    touch-action: manipulation;
}

/* ── Header ──────────────────────────────────────────────────── */
.noe-app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 16px 3px;
    gap: 11px;
    position: relative;
}
.noe-app-logo { display: flex; flex-shrink: 0; }
.noe-app-logo-img { height: 48px; width: auto; display: block; object-fit: contain; }

/* ── Brand text (shared base) ───────────────────────────────── */
.noe-app-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.noe-brand-top-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    line-height: 1;
}
.noe-brand-lv {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.1;
    display: block;
    color: #F0F0FF;
    -webkit-text-fill-color: #F0F0FF;
    background: none;
    filter: none;
}
.noe-brand-pa {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 15.2px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
    display: block;
    margin-top: 2px;
    color: rgba(240,240,255,0.65);
    -webkit-text-fill-color: rgba(240,240,255,0.65);
    background: none;
}
.noe-brand-web { display: none; }
.noe-brand-divider { display: none; }

/* ── Search + date button ────────────────────────────────────── */
.noe-app-controls {
    display: flex;
    align-items: center;
    padding: 2px 12px 6px;
}

/* ── Unified frosted bar ───────────────────────────────────── */
.noe-app-unified-bar {
    display: flex;
    align-items: center;
    flex: 1;
    height: 46px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px;
    /* overflow:hidden + backdrop-filter kills iOS touch on child inputs after DOM updates.
       clip-path preserves rounded corners without creating a blocking compositing layer. */
    overflow: visible;
    -webkit-clip-path: inset(0 round 14px);
    clip-path: inset(0 round 14px);
}
.noe-app-search-wrap {
    flex: 1; position: relative;
    display: flex; align-items: center;
    height: 100%;
}
.noe-app-search-wrap input {
    width: 100%; height: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 12px 0 38px;
    color: #F0F0FF;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    /* iOS: bypass scroll-decision delay so taps register immediately
       even during momentum scroll after search results load */
    touch-action: manipulation;
    -webkit-user-select: text;
    user-select: text;
}
.noe-app-search-wrap input::placeholder { color: rgba(255,255,255,0.35); }
.noe-app-search-icon {
    position: absolute; left: 12px;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; color: rgba(240,240,255,.38);
    line-height: 0; width: 16px; height: 16px;
}
.noe-app-search-icon svg { width: 15px; height: 15px; }

/* Thin vertical divider between search and date pill */
.noe-app-bar-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Date picker button — clearly a dropdown/picker, not a nav arrow */
.noe-app-date-btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 100%;
    padding: 0 10px 0 12px;
    background: rgba(99,102,241,0.04);
    border: none;
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(99,102,241,0.12);
    border-radius: 0;
    color: #a5b4fc;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 700;
    white-space: nowrap; cursor: pointer; flex-shrink: 0;
    transition: background .15s, color .15s;
}
/* Calendar icon */
.noe-app-date-btn > svg:first-child { width: 14px; height: 14px; flex-shrink: 0; opacity: .75; }
/* Chevron-down — signals "opens a picker" */
.noe-app-date-chevron {
    width: 11px; height: 11px; flex-shrink: 0;
    opacity: .6;
    transition: transform .2s, opacity .2s;
}
.noe-app-date-btn.open { color: #a5b4fc; background: rgba(99,102,241,0.15); }
.noe-app-date-btn.open .noe-app-date-chevron { transform: rotate(180deg); opacity: 1; }

/* Scroll sync pulse — flashes when date flips while scrolling */
@keyframes noe-date-pulse {
    0%   { background: rgba(165,180,252,.2); border-color: rgba(165,180,252,.6); color: #a5b4fc; transform: scale(1.04); }
    100% { background: transparent; border-color: rgba(255,255,255,.15); color: #F0F0FF; transform: scale(1); }
}
.noe-app-date-btn.noe-date-btn-pulse { animation: noe-date-pulse .45s ease forwards; }

/* Forward arrow — transparent, lines only */
.noe-app-unified-bar .noe-app-ctrl-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 100%;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255,255,255,0.07);
    border-radius: 0;
    color: rgba(255,255,255,0.38);
    cursor: pointer; flex-shrink: 0;
    transition: color .15s;
}
.noe-app-unified-bar .noe-app-ctrl-arrow:hover,
.noe-app-unified-bar .noe-app-ctrl-arrow:active {
    background: transparent;
    color: #a5b4fc;
}

/* ── Day nav ─────────────────────────────────────────────────── */
.noe-app-day-nav {
    display: none; /* mobile: removed — arrows now in controls row */
    align-items: center; gap: 8px;
    padding: 0;
    margin: 0;
    border-top: none;
}
.noe-app-prev, .noe-app-next {
    width: 34px; height: 34px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    transition: all .15s;
}
.noe-app-prev:hover, .noe-app-next:hover { background: rgba(233,30,140,0.12); border-color: rgba(233,30,140,0.4); color: #e91e8c; }
.noe-app-prev:active, .noe-app-next:active { border-color: #e91e8c; color: #e91e8c; background: rgba(233,30,140,0.2); }
.noe-app-day-center {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.noe-app-day-label {
    text-align: center;
    font-size: 14px; font-weight: 600;
    color: #e5e7eb;
    line-height: 1;
}
.noe-app-day-reset {
    background: none; border: none; padding: 0;
    font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: rgba(233,30,140,0.7); cursor: pointer;
    transition: color .15s;
    display: none; /* shown via JS when date != today */
}
.noe-app-day-reset.visible { display: block; }
.noe-app-day-reset:hover { color: #e91e8c; }

/* ── Datepicker overlay ──────────────────────────────────────── */
.noe-app-dp-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 600;
    background: rgba(0,0,0,.75);
    align-items: center; justify-content: center;
    padding: 0 20px;
}
.noe-app-dp-overlay.open { display: flex; }

@media (min-width: 768px) {
    .noe-app-dp-overlay {
        background: transparent;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
    }
}
.noe-app-dp-wrap {
    background: #16161e;
    border: 1px solid rgba(233,30,140,.3);
    border-radius: 20px;
    padding: 22px 18px 18px;
    width: 100%; max-width: 340px;
    box-shadow: 0 24px 80px rgba(0,0,0,.9);
}
.noe-app-dp-header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 16px;
}
.noe-app-dp-month-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem; letter-spacing: .07em;
}
.noe-app-dp-nav-btn {
    width: 32px; height: 32px; border-radius: 8px;
    background: rgba(255,255,255,.07); border: none; color: #F0F0FF;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.noe-app-dp-nav-btn:hover { background: rgba(233,30,140,.25); }
.noe-app-dp-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.noe-app-dp-dayname {
    text-align: center; padding: 2px 0 8px;
    font-size: 10px; color: rgba(240,240,255,.3);
    font-family: 'Space Mono', monospace; text-transform: uppercase;
}
.noe-app-dp-cell {
    text-align: center; padding: 8px 4px; border-radius: 8px;
    font-size: 13px; color: #F0F0FF; cursor: pointer;
    border: 1px solid transparent; transition: all .1s;
}
.noe-app-dp-cell.empty { cursor: default; }
.noe-app-dp-cell.past  { color: rgba(240,240,255,.2); cursor: default; }
.noe-app-dp-cell.today { border-color: rgba(233,30,140,.5); color: #e91e8c; font-weight: 700; }
.noe-app-dp-cell.selected { background: #e91e8c; border-color: #e91e8c; color: #fff; font-weight: 700; }
.noe-app-dp-cell:not(.past):not(.empty):not(.selected):hover { background: rgba(233,30,140,.18); }

/* ── Main content — padded for fixed top + fixed bottom ─────── */
.noe-app-main {
    width: 100%;
    /* top padding = safe-area + header(60) + controls(54) + border(1) = 115px + 6px breathing */
    padding-top: calc(env(safe-area-inset-top) + 120px);
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    padding-left: 10px;
    padding-right: 10px;
}

/* ── Hide calendar's own controls ────────────────────────────── */
.noe-app-main .noe-filter-row,
.noe-app-main .noe-view-controls,
.noe-app-main .noe-datepicker-wrap,
.noe-app-main .noe-featured-strip { display: none !important; }

/* ── Calendar container ──────────────────────────────────────── */
.noe-app-main .noe-calendar {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
.noe-app-main .noe-calendar::before { display: none !important; }
.noe-app-main .noe-events-container { padding: 0; }
.noe-app-main .noe-list-view {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px;
}

/* ── Date separator ──────────────────────────────────────────── */
.noe-app-main .noe-date-sep {
    display: flex; align-items: center;
    margin: 18px 0 10px;
    padding: 0 2px;
}
.noe-app-main .noe-date-sep::after {
    content: ''; flex: 1; height: 1px; margin-left: 12px;
    background: linear-gradient(90deg, rgba(165,180,252,.4), transparent);
}
.noe-app-main .noe-date-sep-label {
    font-size: 11px; font-family: 'DM Sans', sans-serif;
    font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: #a5b4fc;
    background: rgba(165,180,252,.1);
    border: 1.5px solid rgba(165,180,252,.35);
    border-radius: 100px; padding: 5px 14px; white-space: nowrap;
}

/* ── Event cards ─────────────────────────────────────────────── */
.noe-app-main .noe-list-entry {
    position: relative;
    width: 100%;
    background: linear-gradient(160deg, rgba(28,28,42,.95) 0%, rgba(18,18,28,.98) 100%);
    border: 1px solid rgba(255,255,255,.07);
    border-top: 1px solid rgba(255,255,255,.12);
    border-radius: 14px; margin-bottom: 10px;
    overflow: hidden; cursor: pointer;
    transition: border-color .15s;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 8px 20px rgba(0,0,0,.35),
        0 2px 4px rgba(0,0,0,.2);
}
.noe-app-main .noe-list-entry.noe-open { border-color: rgba(233,30,140,.4); box-shadow: 0 0 20px rgba(233,30,140,.12); }
.noe-app-main .noe-list-row {
    display: grid !important;
    grid-template-columns: 100px 1fr 20px !important;
    min-height: 160px; align-items: stretch;
}
.noe-app-main .noe-list-img-col {
    width: 100px; flex-shrink: 0; overflow: hidden;
    align-self: stretch; height: auto !important;
}
.noe-app-main .noe-list-thumb {
    width: 100%; height: 100% !important; min-height: 160px;
    object-fit: cover; display: block; border-radius: 0;
}
.noe-app-main .noe-list-thumb-placeholder {
    width: 100%; height: 100%; min-height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; border-radius: 0;
}
.noe-app-main .noe-list-row-right {
    padding: 12px 10px 12px 14px;
    display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
/* Badge + organizer on one line — pill style */
.noe-app-main .noe-list-meta-row {
    display: flex; align-items: center; gap: 5px;
    min-width: 0; overflow: visible; flex-shrink: 0;
}
.noe-app-main .noe-cat-badge {
    font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase;
    font-family: 'Space Mono', monospace;
    padding: 2px 7px; border-radius: 20px;
    flex-shrink: 0; margin-bottom: 0; align-self: center;
    white-space: nowrap;
}
.noe-app-main .noe-list-organizer {
    display: flex; align-items: center; gap: 5px;
    min-width: 0; overflow: hidden; flex-shrink: 1;
}
.noe-app-main .noe-list-org-dot {
    width: 16px; height: 16px; border-radius: 50%;
    font-size: 9px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.noe-app-main .noe-list-org-logo {
    width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.noe-app-main .noe-list-org-name {
    font-size: 11px; font-weight: 500; color: #ffffff;
}
.noe-app-main .noe-list-title {
    font-size: 15px !important; font-weight: 700 !important;
    line-height: 1.2; color: #ffffff;
    white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important;
    word-break: normal !important;
}
.noe-app-main .noe-list-sub {
    font-size: 11px; color: #9ca3af;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.noe-app-main .noe-list-btns {
    display: flex !important; flex-wrap: wrap; gap: 5px; margin-top: 6px;
    align-items: flex-start;
}
.noe-app-main .noe-btn-sm {
    padding: 5px 12px !important; font-size: 11px !important;
    border-radius: 7px !important;
    width: auto !important; flex: 0 0 auto;
}
.noe-app-main .noe-list-chevron {
    display: flex; align-items: center; justify-content: center;
    color: rgba(240,240,255,.2); font-size: 12px;
    padding-right: 8px; align-self: center;
}
.noe-app-main .noe-list-entry.noe-open .noe-list-chevron { color: #e91e8c; transform: rotate(180deg); }
.noe-app-main .noe-list-detail { border-top: 1px solid rgba(255,255,255,.06); }
.noe-app-main .noe-detail-hero-img { border-radius: 0; }
.noe-app-main .noe-loading {
    padding: 50px 20px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    color: rgba(240,240,255,.4); font-size: 13px;
}

/* ── Fixed bottom nav ────────────────────────────────────────── */
.noe-app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    background: rgba(13,13,20,.95);
    border-top: 1px solid #1f2937;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 9999;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    /* Force hardware layer — prevents iOS from treating as in-flow */
    /* will-change:transform removed — caused iOS to drop touch hit-testing
       on child inputs after GPU compositing updates triggered by DOM changes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.noe-app-bottom-nav::-webkit-scrollbar { display: none; }

.noe-app-nav-item {
    flex: 1; min-width: 68px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 10px 6px 8px;
    border: none; background: transparent;
    color: #6b7280;
    cursor: pointer; gap: 4px;
    position: relative; transition: color .15s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.noe-app-nav-item.active { color: var(--nav-active-color, #e91e8c); }
.noe-app-nav-item.active::before { display: none; }
.noe-app-nav-item.active .noe-app-nav-icon {
    background: color-mix(in srgb, var(--nav-active-color, #e91e8c) 12%, transparent);
    border-radius: 8px;
    padding: 4px;
}
.noe-app-nav-icon {
    display: flex; align-items: center; justify-content: center;
    line-height: 0; width: 30px; height: 30px;
    flex-shrink: 0;
}
.noe-app-nav-icon svg { width: 22px; height: 22px; }
.noe-app-nav-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .03em;
    white-space: nowrap;
}

@media (max-width: 380px) {
    .noe-app-main .noe-list-img-col { width: 85px; }
    .noe-app-main .noe-list-row { grid-template-columns: 85px 1fr 20px !important; }
}


/* Desktop topbar: hidden on mobile */
.noe-desktop-topbar { display: none; }

/* ══════════════════════════════════════════════════════════════
   DESKTOP LAYOUT — min-width: 768px
   Mobile styles above are completely untouched.
══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) and (min-height: 769px) {

    /* Reset mobile fixed chrome */
    .noe-app-topbar         { display: none !important; }
    .noe-app-bottom-nav-mobile { display: none !important; }
    /* Hide scroll pill on desktop */
    #noe-scroll-date-pill   { display: none !important; }

    /* ── Desktop top bar ── */
    .noe-desktop-topbar {
        display: flex !important;
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 60px;
        background: rgba(13,13,20,0.97);
        border-bottom: 1px solid rgba(255,255,255,.07);
        backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        z-index: 200;
        align-items: center;
        padding: 0 20px;
        gap: 16px;
    }
    .noe-desktop-topbar-logo {
        display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none;
    }
    .noe-desktop-topbar-logo-img { height: 58px; width: auto; object-fit: contain; }
    .noe-desktop-topbar-brand { display: flex; flex-direction: column; line-height: 1.2; }
    .noe-dtb-lv {
        font-family: 'Poppins', sans-serif; font-weight: 700;
        font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #F0F0FF;
    }
    .noe-dtb-pa {
        font-family: 'Rajdhani', sans-serif; font-weight: 600;
        font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
        color: rgba(240,240,255,.5);
    }
    /* Center group: search only — pills hidden */
    .noe-dtb-center {
        display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
    }
    .noe-dtb-cats {
        display: none !important;
    }
    .noe-dtb-cat {
        padding: 6px 13px; border-radius: 99px;
        background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
        color: rgba(240,240,255,.65); font-family: 'DM Sans', sans-serif;
        font-size: 12px; font-weight: 700; letter-spacing: .03em;
        cursor: pointer; white-space: nowrap;
        transition: background .15s, color .15s, border-color .15s;
    }
    .noe-dtb-cat:hover { background: rgba(255,255,255,.1); color: #F0F0FF; }
    .noe-dtb-cat.active {
        background: rgba(165,180,252,.15); border-color: rgba(165,180,252,.4); color: #a5b4fc;
    }
    .noe-desktop-topbar-search {
        flex: 1; position: relative; min-width: 160px; max-width: 380px;
    }
    .noe-desktop-topbar-search-icon {
        position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
        color: rgba(240,240,255,.35); pointer-events: none; line-height: 0;
    }
    .noe-desktop-topbar-search-icon svg { width: 14px; height: 14px; }
    .noe-desktop-topbar-search input {
        width: 100%; height: 36px; border-radius: 10px;
        background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
        padding: 0 14px 0 38px; color: #F0F0FF;
        font-family: 'DM Sans', sans-serif; font-size: 13px; outline: none;
        transition: border-color .2s;
    }
    .noe-desktop-topbar-search input:focus { border-color: rgba(165,180,252,.5); }
    .noe-desktop-topbar-search input::placeholder { color: rgba(240,240,255,.3); }
    .noe-venues-pill-topbar {
        display: none; align-items: center; gap: 6px; flex-shrink: 0;
        padding: 6px 13px; border-radius: 99px;
        background: rgba(165,180,252,.08); border: 1px solid rgba(165,180,252,.3);
        color: #a5b4fc; font-size: 12px; font-weight: 700;
        letter-spacing: .04em; cursor: pointer; white-space: nowrap;
        transition: background .15s;
    }
    .noe-venues-pill-topbar:hover { background: rgba(165,180,252,.14); }
    .noe-desktop-topbar-right {
        display: flex; align-items: center; flex-shrink: 0; margin-left: auto;
    }
    .noe-wallet-btn-topbar {
        display: flex !important; align-items: center !important; gap: 8px !important;
        padding: 0 20px !important; border-radius: 99px !important;
        width: auto !important; height: 38px !important;
        background: rgba(233,30,140,.12) !important; border: 1px solid rgba(233,30,140,.4) !important;
        color: #ff2d78 !important; -webkit-text-fill-color: #ff2d78 !important;
        font-family: 'DM Sans', sans-serif !important; font-size: 13px !important;
        font-weight: 700 !important; cursor: pointer !important;
        white-space: nowrap !important; transition: background .15s !important;
        justify-content: center !important;
    }
    .noe-wallet-btn-topbar:hover { background: rgba(233,30,140,.22) !important; }
    .noe-wallet-btn-topbar svg { stroke: #ff2d78 !important; flex-shrink: 0 !important; width: 15px !important; height: 15px !important; }
    .noe-wallet-btn-topbar .noe-wallet-label { color: #ff2d78 !important; -webkit-text-fill-color: #ff2d78 !important; }
    .noe-wallet-btn-topbar .noe-wallet-badge {
        background: #ff2d78 !important; color: #fff !important; -webkit-text-fill-color: #fff !important;
        border-radius: 99px !important; font-size: 10px !important; padding: 1px 6px !important; font-weight: 800 !important;
    }
    /* Hide sidebar search/wallet/logo */
    .noe-app-sidebar-search        { display: none !important; }
    .noe-wallet-btn-sidebar        { display: none !important; }
    .noe-venues-pill-sidebar       { display: none !important; }
    .noe-app-sidebar .noe-app-logo { display: none !important; }
    .noe-app-sidebar .noe-app-brand-desktop { display: none !important; }

    /* Body: offset for fixed topbar, then sidebar | main row */
    body {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        min-height: 100vh;
        padding-top: 60px;
    }



    /* ── Sidebar ─────────────────────────────────────────────── */
    .noe-app-desktop-wrap {
        display: flex !important;
        flex-direction: column;
        width: 240px;
        flex-shrink: 0;
        position: sticky;
        top: 60px;
        height: calc(100vh - 60px);
        overflow-y: auto;
        padding: 0 14px 16px 14px;
        border-right: 1px solid rgba(255,255,255,.07);
        gap: 0;
        background: #0d0d14;
        z-index: 100;
        align-items: stretch;
    }
    .noe-app-desktop-wrap::-webkit-scrollbar { width: 3px; }
    .noe-app-desktop-wrap::-webkit-scrollbar-thumb { background: rgba(255,45,120,.2); }

    /* ── Sidebar elements: zero gaps, flush to top ─────────── */
    .noe-app-sidebar .noe-app-logo {
        margin: 0; padding: 12px 0 16px 0; line-height: 0;
        display: flex; justify-content: center;
    }
    .noe-app-sidebar .noe-app-logo-img { height: 213px; width: auto; display: block; object-fit: contain; }

    /* Desktop brand text — centered below logo */
    .noe-app-brand-desktop {
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 8px 8px 4px;
    }
    .noe-app-brand-desktop .noe-brand-lv  { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 0.22em; text-transform: uppercase; display: block; color: #F0F0FF; -webkit-text-fill-color: #F0F0FF; background: none; filter: none; }
    .noe-app-brand-desktop .noe-brand-pa  { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 3px; display: block; color: #F0F0FF; -webkit-text-fill-color: #F0F0FF; background: none; }
    .noe-app-brand-desktop .noe-brand-web { font-size: 12px; letter-spacing: 0.05em; margin-top: 5px; color: #F0F0FF; -webkit-text-fill-color: #F0F0FF; background: none; }
    .noe-app-brand-desktop .noe-brand-divider {
        display: block;
        width: 70px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(240,240,255,0.2), transparent);
        margin: 7px auto 0;
    }
    /* Hide brand text from mobile topbar on desktop */
    .noe-app-header .noe-app-brand-text { display: none; }

    /* Search now at bottom of sidebar with its own class */
    .noe-app-sidebar-search {
        position: relative; margin-top: 8px;
        display: flex; align-items: center;
    }
    .noe-app-sidebar-search .noe-app-search-icon {
        position: absolute; left: 10px;
        display: flex; align-items: center; justify-content: center;
        pointer-events: none; color: rgba(240,240,255,.35);
        line-height: 0; width: 14px; height: 14px;
    }
    .noe-app-sidebar-search .noe-app-search-icon svg { width: 14px; height: 14px; }
    .noe-app-sidebar-search input {
        width: 100%; height: 36px; border-radius: 8px; font-size: 13px;
        background: #1a1a24; border: 1px solid #1f2937;
        padding: 0 12px 0 34px; color: #F0F0FF;
        font-family: 'DM Sans', sans-serif; outline: none;
    }
    .noe-app-sidebar-search input:focus { border-color: rgba(233,30,140,.5); }
    .noe-app-sidebar-search input::placeholder { color: #6b7280; }

    /* Hide old search-wrap in sidebar (no longer used on desktop) */
    .noe-app-sidebar .noe-app-search-wrap { display: none; }

    .noe-app-sidebar .noe-app-date-btn {
        width:100%; height:36px; border-radius:8px;
        justify-content:flex-start; margin:8px 0 3px; font-size:13px;
        background: #1a1a24; border-color: #1f2937;
    }

    .noe-app-sidebar .noe-app-day-nav   { padding:6px 0 2px; margin:4px 0 0; gap:4px; border-top:1px solid rgba(255,255,255,.05); }
    .noe-app-sidebar .noe-app-day-label { font-size:12px; text-align:left; }
    .noe-app-sidebar .noe-app-prev,
    .noe-app-sidebar .noe-app-next      { width:28px; height:28px; font-size:14px; }

    .noe-app-sidebar-label {
        display: block; margin: 6px 0 2px 2px; padding-top: 6px;
        border-top: 1px solid rgba(255,255,255,.06);
        font-size: 9px; font-family: 'Space Mono', monospace;
        text-transform: uppercase; letter-spacing: .1em;
        color: rgba(240,240,255,.25);
    }

    /* Category nav — vertical list */
    .noe-app-sidebar .noe-app-bottom-nav {
        position: static !important;
        transform: none !important; will-change: auto !important;
        flex-direction: column;
        background: transparent; border: none;
        overflow: visible; padding-bottom: 0;
        gap: 2px; width: 100%;
        backdrop-filter: none; -webkit-backdrop-filter: none;
        z-index: auto;
    }
    .noe-app-sidebar .noe-app-nav-item {
        flex-direction: row; justify-content: flex-start;
        align-items: center; padding: 9px 10px;
        border-radius: 9px; gap: 10px;
        min-width: unset; width: 100%;
        color: rgba(240,240,255,.75);
        transition: background .15s, color .15s;
    }
    .noe-app-sidebar .noe-app-nav-item:hover { background: rgba(255,255,255,.05); color: #F0F0FF; }
    .noe-app-sidebar .noe-app-nav-item.active { background: color-mix(in srgb, var(--nav-active-color, #e91e8c) 12%, transparent); color: var(--nav-active-color, #e91e8c); }
    .noe-app-sidebar .noe-app-nav-item.active::before { display: none; }
    .noe-app-sidebar .noe-app-nav-icon  {
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0; line-height: 0; width: 20px; height: 20px;
    }
    .noe-app-sidebar .noe-app-nav-icon svg { width: 17px; height: 17px; }
    .noe-app-sidebar .noe-app-nav-label {
        font-size: 13px; font-weight: 600;
        letter-spacing: .01em; text-transform: none; white-space: nowrap;
    }

    /* ── Main content ────────────────────────────────────────── */
    #noe-app-main {
        flex: 1;
        min-width: 0;
        padding: 24px 24px 40px 28px;
    }

    /* ── Desktop event card ─────────────────────────────────── */
    #noe-app-main .noe-list-entry { border-radius: 10px; margin-bottom: 6px; }

    /* Desktop card: image | [text ←→ buttons] | chevron
       .noe-list-row-right holds both text and buttons,
       so we make IT a flex row: text fills left, buttons sit right */
    #noe-app-main .noe-list-row {
        display: grid !important;
        grid-template-columns: 220px 1fr 28px !important;
        grid-template-areas: "img info chev" !important;
        min-height: 220px; align-items: stretch;
    }

    #noe-app-main .noe-list-img-col {
        grid-area: img; width: 220px; min-height: 220px;
    }
    #noe-app-main .noe-list-thumb {
        width: 220px; height: 220px; min-height: 220px; object-fit: cover;
    }
    #noe-app-main .noe-list-thumb-placeholder { min-height: 220px; }

    /* row-right: flex column so each row stacks cleanly */
    #noe-app-main .noe-list-row-right {
        grid-area: info;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch;
        justify-content: center;
        padding: 10px 16px;
        gap: 3px;
        min-width: 0;
    }

    /* Row 1: category badge — sits on its own line, auto width */
    /* Row 1: badge + organizer on same line */
    #noe-app-main .noe-list-meta-row {
        order: 1;
        display: flex;
        align-items: center;
        gap: 5px;
        min-width: 0;
        overflow: visible;
        flex: 0 0 auto;
        width: 100%;
    }
    #noe-app-main .noe-cat-badge {
        flex-shrink: 0;
        font-size: 9px;
        padding: 2px 7px;
        border-radius: 20px;
        margin-bottom: 0;
        align-self: center;
    }

    /* Row 2: organizer inside meta-row */
    #noe-app-main .noe-list-organizer {
        order: 2;
        display: flex;
        align-items: center;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 0 0 auto;
    }

    /* Row 3: title */
    #noe-app-main .noe-list-title {
        order: 3;
        flex: 0 0 auto;
        font-size: 15px !important; font-weight: 700 !important;
        white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
        margin-top: 1px;
        color: #F0F0FF;
    }

    /* Row 4: sub */
    #noe-app-main .noe-list-sub {
        order: 4;
        flex: 0 0 auto;
        display: block !important;
        font-size: 11px; color: rgba(240,240,255,.45);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        border: none; padding: 0; height: auto; margin-top: 1px;
    }

    /* Buttons: positioned absolute-right via wrapper trick */
    #noe-app-main .noe-list-btns {
        order: 2;
        position: absolute;
        right: 52px;
        top: 50%;
        transform: translateY(-50%);
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        align-items: stretch;
        width: 190px;
    }

    /* Make the row-right position:relative so buttons can anchor to it */
    #noe-app-main .noe-list-row-right { position: relative; }
    /* Pad right so text never overlaps the absolute-positioned buttons */
    #noe-app-main .noe-list-row-right { padding-right: 210px !important; }


    #noe-app-main .noe-btn-sm {
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 7px !important;
        white-space: nowrap;
        width: 100% !important;
        text-align: center;
        display: flex !important;
        align-items: center; justify-content: center; gap: 4px;
    }

    #noe-app-main .noe-list-chevron { grid-area: chev; justify-self: center; align-self: center; padding: 0; }

    /* Date separators */
    #noe-app-main .noe-date-sep { margin: 20px 0 8px; }

    /* Desktop main: tight top padding (mobile padding set globally above) */
    #noe-app-main { padding-top: 20px; }
}


/* ── Mobile bottom nav (separate element, hidden on desktop) ── */
.noe-app-bottom-nav-mobile {
    position: fixed;
    bottom: 0; left: 0; right: 0; width: 100%;
    display: flex;
    background: rgba(13,13,20,.95);
    border-top: 1px solid #1f2937;
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    z-index: 9999;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    /* will-change:transform removed — caused iOS to drop touch hit-testing
       on child inputs after GPU compositing updates triggered by DOM changes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.noe-app-bottom-nav-mobile::-webkit-scrollbar { display: none; }

@media (min-width: 768px) and (min-height: 769px) {
    /* Hide mobile-only elements on desktop */
    .noe-app-bottom-nav-mobile { display: none !important; }
    .noe-app-topbar            { display: none !important; }
    /* Show desktop wrap */
    .noe-app-desktop-wrap      { display: flex !important; }
}
@media (max-width: 767px), (max-height: 768px) {
    /* Hide desktop wrap on mobile + landscape phones */
    .noe-app-desktop-wrap      { display: none !important; }

    /* Reset body — desktop makes it flex row, mobile must be block */
    body { display: block !important; }

    /* Restore mobile padding — beat desktop #id specificity */
    #noe-app-main {
        padding-top: calc(env(safe-area-inset-top) + 120px) !important;
        padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Ensure mobile bottom nav shows */
    .noe-app-bottom-nav-mobile { display: flex !important; }
}

/* ══ POPUP FORM ═════════════════════════════════════════════════ */
#noe-popup-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,.82); backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
#noe-popup-box {
    background: #0E0E1A;
    border: 1px solid rgba(233,30,140,.25);
    border-radius: 20px; padding: 32px 28px 28px;
    width: 100%; max-width: 460px; position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,.9);
    max-height: 92vh; overflow-y: auto;
}
#noe-popup-close {
    position: absolute; top: 14px; right: 16px;
    background: rgba(255,255,255,.08); border: none;
    color: #F0F0FF; width: 30px; height: 30px;
    border-radius: 50%; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s; z-index: 2;
}
#noe-popup-close:hover { background: rgba(233,30,140,.3); }
#noe-popup-header { margin-bottom: 18px; }
#noe-popup-type-badge {
    display: inline-block;
    background: rgba(233,30,140,.12); border: 1px solid rgba(233,30,140,.35);
    color: #e91e8c; border-radius: 20px; padding: 3px 12px;
    font-size: 10px; font-family: 'Space Mono',monospace;
    letter-spacing: .1em; font-weight: 700; margin-bottom: 8px;
}
#noe-popup-type-badge.vip {
    background: rgba(255,180,0,.1); border-color: rgba(255,180,0,.35); color: #FFB800;
}
#noe-popup-event-title {
    font-size: 17px; font-weight: 800; color: #FFFFFF;
    margin: 0 0 4px; font-family: Arial, Helvetica, sans-serif;
}
#noe-popup-event-meta { font-size: 12px; color: rgba(240,240,255,.4); margin: 0; }
.noe-prow { display: flex; gap: 12px; }
.noe-pf   { flex: 1; display: flex; flex-direction: column; margin-bottom: 14px; }
.noe-pf label {
    font-size: 10px; font-weight: 800; color: rgba(240,240,255,.85);
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 6px; font-family: 'Space Mono',monospace;
}
.noe-pf input {
    height: 44px; background: #13131F;
    border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
    padding: 0 14px; color: #F0F0FF; font-size: 14px;
    font-family: 'DM Sans',sans-serif; outline: none;
    width: 100%; box-sizing: border-box; transition: border-color .18s;
}
.noe-pf input:focus { border-color: rgba(255,45,120,.5); }
.noe-pf input::placeholder { color: rgba(240,240,255,.28); }
#noe-popup-submit {
    width: 100%; height: 50px; margin-top: 4px;
    background: linear-gradient(135deg,#e91e8c,#c41e5b);
    border: none; border-radius: 12px; color: #fff;
    font-size: 14px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; cursor: pointer;
    box-shadow: 0 8px 24px rgba(233,30,140,.35);
    font-family: 'DM Sans',sans-serif; transition: opacity .2s;
}
#noe-popup-submit:hover   { opacity: .88; }
#noe-popup-submit:disabled{ opacity: .45; cursor: default; }
.noe-popup-note {
    text-align: center; font-size: 11px;
    color: rgba(240,240,255,.3); margin: 10px 0 0;
}
.noe-popup-note strong { color: rgba(240,240,255,.55); }
#noe-popup-success-view { text-align: center; padding: 24px 0 8px; }
#noe-popup-success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg,#FF2D78,#C41E5B);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff; margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(255,45,120,.4);
}
#noe-popup-success-view h3 {
    font-size: 22px; font-weight: 800; color: #F0F0FF; margin: 0 0 10px;
}
#noe-popup-success-view p {
    font-size: 14px; color: rgba(240,240,255,.55); line-height: 1.6; margin: 0 0 6px;
}
#noe-popup-success-view strong { color: #e91e8c; }
#noe-popup-success-timer {
    font-size: 11px !important; color: rgba(240,240,255,.25) !important;
    font-family: 'Space Mono',monospace; margin-top: 12px !important;
}
@media (max-width: 480px) {
    #noe-popup-box { padding: 26px 16px 20px; }
    .noe-prow { flex-direction: column; gap: 0; }
}

/* ════════════════════════════════════════════════════════════════
 * ITINERARY SYSTEM — Wallet button, panels, group popup, items
 * ════════════════════════════════════════════════════════════════ */

/* ── Wallet button (mobile topbar) ──────────────────────────── */
/* Wrapper takes the margin-left:auto so bubble can position relative to it */
.noe-wallet-wrap {
    margin-left: auto; /* push wallet to right edge of header */
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.noe-wallet-btn {
    position: relative;
    background: rgba(233,30,140,.1);
    border: 1.5px solid rgba(233,30,140,.3);
    color: #e91e8c;
    border-radius: 12px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .18s, border-color .18s, transform .12s;
}

/* ── Plan My Vegas guest dot — bottom-left of wallet button ──────
 * Shows ONLY to guests (no session token). Hidden the instant the
 * user logs in. Positioned bottom-left so it NEVER overlaps the
 * item-count badge which sits top-right (top:-5px right:-5px).
 * ─────────────────────────────────────────────────────────────── */
.noe-plan-dot {
    display: none; /* shown via JS for guests only */
    position: absolute;
    bottom: -3px; left: -3px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #e91e8c;
    border: 2px solid #0d0d14;
    pointer-events: none;
    animation: noe-dot-pulse 2s ease-in-out infinite;
}
@keyframes noe-dot-pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(233,30,140,.55); transform: scale(1); }
    50%      { box-shadow: 0 0 0 4px rgba(233,30,140,0); transform: scale(1.2); }
}

/* Hide on desktop — sidebar already has the Plan My Vegas label */
@media (min-width: 768px) {
    .noe-plan-dot { display: none !important; }
}
.noe-wallet-btn:active { transform: scale(.93); }
.noe-wallet-btn.has-items {
    background: rgba(233,30,140,.18);
    border-color: rgba(233,30,140,.6);
}
.noe-wallet-btn.noe-wallet-pulse {
    animation: noe-wallet-pulse .6s ease;
}
@keyframes noe-wallet-pulse {
    0%  { transform: scale(1); }
    35% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(233,30,140,.18); }
    100%{ transform: scale(1); }
}
.noe-wallet-badge {
    position: absolute;
    top: -5px; right: -5px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 100px;
    background: #e91e8c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    pointer-events: none;
}

/* Desktop sidebar wallet button */
.noe-wallet-btn-sidebar {
    width: 100%;
    height: auto;
    border-radius: 12px;
    padding: 10px 14px;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
}
.noe-wallet-label {
    font-size: 13px;
    font-weight: 600;
    color: #e91e8c;
    font-family: 'DM Sans', sans-serif;
}
.noe-wallet-btn-sidebar .noe-wallet-badge {
    position: static;
    margin-left: auto;
}

/* ── Body lock when panel open ──────────────────────────────── */
body.noe-panel-open { overflow: hidden; }

/* ── Overlay panel base ─────────────────────────────────────── */
.noe-overlay-panel {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.noe-overlay-panel.open {
    opacity: 1;
    pointer-events: all;
}
.noe-overlay-panel.open .noe-panel-sheet {
    transform: translateY(0);
}

/* ── Panel sheet (slides up from bottom) ────────────────────── */
.noe-panel-sheet {
    background: #16161e;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 680px;
    height: auto;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(40px);
    transition: transform .3s cubic-bezier(.22,.8,.36,1);
    box-shadow: 0 -20px 60px rgba(0,0,0,.5);
}
.noe-panel-sheet-sm {
    height: auto !important;
    max-height: 70vh !important;
}

/* ── Panel header ───────────────────────────────────────────── */
.noe-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}
.noe-panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}
.noe-panel-title-wrap svg { color: #e91e8c; flex-shrink: 0; }
.noe-panel-close {
    background: rgba(255,255,255,.07);
    border: none;
    color: rgba(240,240,255,.5);
    width: 32px; height: 32px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.noe-panel-close:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Panel body (scrollable) ────────────────────────────────── */
.noe-panel-body {
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;         /* critical for flex scroll */
    -webkit-overflow-scrolling: touch;
}
.noe-panel-lead {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(240,240,255,.55);
    margin-bottom: 18px;
    font-family: 'DM Sans', sans-serif;
}

/* ── Form fields (shared with popup) ────────────────────────── */
.noe-overlay-panel .noe-pf { margin-bottom: 14px; }
.noe-overlay-panel .noe-pf label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: 'DM Sans', sans-serif;
}
.noe-overlay-panel .noe-pf input {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1.5px solid rgba(255,255,255,.1);
    border-radius: 12px;
    color: #f0f0ff;
    padding: 12px 14px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color .15s;
    -webkit-appearance: none;
}
.noe-overlay-panel .noe-pf input:focus { border-color: rgba(233,30,140,.6); }
.noe-overlay-panel .noe-pf input::placeholder { color: rgba(240,240,255,.2); }
.noe-overlay-panel .noe-prow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.noe-form-error {
    color: #fb7185;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
    min-height: 18px;
    margin-bottom: 6px;
}
.noe-panel-note {
    text-align: center;
    font-size: 12px;
    color: rgba(240,240,255,.3);
    margin-top: 12px;
    font-family: 'DM Sans', sans-serif;
}

/* ── CTA button ─────────────────────────────────────────────── */
.noe-panel-cta {
    width: 100%;
    background: linear-gradient(135deg, #e91e8c, #c41e5b);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 15px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    margin-top: 6px;
}
.noe-panel-cta:active { transform: scale(.98); opacity: .9; }
.noe-panel-cta:disabled { opacity: .55; cursor: not-allowed; }

/* ── Group popup event card ─────────────────────────────────── */
.noe-group-event-card {
    background: rgba(233,30,140,.06);
    border: 1px solid rgba(233,30,140,.2);
    border-radius: 14px;
    padding: 14px 16px;
}
.noe-group-event-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 4px;
}
.noe-group-event-meta {
    font-size: 12px;
    color: rgba(240,240,255,.4);
    font-family: 'DM Sans', sans-serif;
}
.noe-group-icon { font-size: 14px; }

/* ── Itinerary list items ────────────────────────────────────── */
.noe-itn-date-group { margin-bottom: 8px; }
.noe-itn-date-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #e91e8c;
    padding: 6px 4px 8px;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-item {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: noe-item-in .22s ease;
}
@keyframes noe-item-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.noe-itn-item-body { flex: 1; min-width: 0; }
.noe-itn-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noe-itn-item-sub {
    font-size: 12px;
    color: rgba(240,240,255,.4);
    margin-bottom: 3px;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-item-time {
    font-size: 11px;
    color: rgba(240,240,255,.3);
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-pax { display: flex; flex-wrap: wrap; gap: 6px; }
.noe-itn-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-chip-ladies {
    background: rgba(236,72,153,.1);
    border: 1px solid rgba(236,72,153,.25);
    color: #ec4899;
}
.noe-itn-chip-guys {
    background: rgba(96,165,250,.1);
    border: 1px solid rgba(96,165,250,.2);
    color: #60a5fa;
}
.noe-itn-remove {
    background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(240,240,255,.3);
    flex-shrink: 0;
    transition: background .15s, color .15s;
}
.noe-itn-remove:hover { background: rgba(239,68,68,.15); color: #f87171; border-color: rgba(239,68,68,.3); }

/* ── Empty state ─────────────────────────────────────────────── */
.noe-itn-empty {
    padding: 48px 20px;
    text-align: center;
}
.noe-itn-empty-icon { margin-bottom: 16px; }
.noe-itn-empty p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(240,240,255,.4);
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-empty strong { color: rgba(240,240,255,.7); }

/* ── Footer ─────────────────────────────────────────────────── */
#noe-itn-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
}
.noe-itn-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
}
.noe-itn-logout-btn {
    background: transparent;
    border: none;
    color: rgba(240,240,255,.25);
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: block;
    margin: 10px auto 0;
    padding: 4px;
    transition: color .15s;
}
.noe-itn-logout-btn:hover { color: rgba(240,240,255,.55); }

/* ── Success screen ─────────────────────────────────────────── */
.noe-itn-success {
    padding: 56px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.noe-itn-success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(233,30,140,.08);
    border: 1.5px solid rgba(233,30,140,.25);
    display: flex; align-items: center; justify-content: center;
    animation: noe-success-pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes noe-success-pop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1);  opacity: 1; }
}
.noe-itn-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-success p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(240,240,255,.5);
    font-family: 'DM Sans', sans-serif;
    max-width: 300px;
}

/* ── Transformed Itinerary buttons (replaces Guestlist style) ─ */
/* noe-itn-btn: teal accent, slightly larger for tap comfort */
.noe-itn-btn {
    background: rgba(34,211,238,.12) !important;
    border-color: rgba(34,211,238,.35) !important;
    color: #22d3ee !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
}

/* ── Desktop breakpoint adjustments ─────────────────────────── */
@media (min-width: 900px) {
    .noe-overlay-panel {
        align-items: center;
    }
    .noe-panel-sheet {
        border-radius: 24px;
        max-width: 480px;
        max-height: 85vh;
    }
    .noe-wallet-btn:not(.noe-wallet-btn-sidebar):not(.noe-wallet-btn-topbar) {
        display: none !important; /* mobile button hidden on desktop */
    }
    .noe-wallet-wrap {
        display: none !important; /* hide wrapper + bubble on desktop */
    }
}
@media (max-width: 899px) {
    .noe-wallet-btn-sidebar { display: none !important; }
}

/* ── Itinerary content flex fix ─────────────────────────────── */
#noe-itn-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ── Auth tabs (Sign In / Create Account) ───────────────────── */
.noe-auth-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}
.noe-auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(240,240,255,.4);
    font-size: 13px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    padding: 9px;
    border-radius: 9px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.noe-auth-tab.active {
    background: rgba(233,30,140,.15);
    color: #e91e8c;
}

/* ── Past itinerary section ─────────────────────────────────── */
.noe-itn-past-section {
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 16px;
}
.noe-itn-past-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(240,240,255,.25);
    padding: 0 4px 10px;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-past-item {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    opacity: .6;
}
.noe-itn-past-item .noe-itn-item-title {
    color: rgba(240,240,255,.6);
    font-size: 13px;
}
.noe-itn-past-item .noe-itn-item-sub,
.noe-itn-past-item .noe-itn-item-time {
    font-size: 11px;
}
.noe-itn-past-submitted-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(34,197,94,.7);
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.2);
    border-radius: 100px;
    padding: 2px 8px;
    margin-top: 6px;
    font-family: 'DM Sans', sans-serif;
}
/* Table Request badge in Submitted tab */
.noe-itn-badge-table {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%) !important;
    color: #c8a8ff !important;
    border: 1px solid rgba(168,120,255,.4) !important;
}

/* ════════════════════════════════════════════════════════════════
 * IN-APP ACCOUNT/ITINERARY PAGE  (slides in from right)
 * Replaces all drawer/overlay patterns on mobile
 * ════════════════════════════════════════════════════════════════ */

#noe-itn-page {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: #0d0d14;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.22,.8,.36,1);
    overscroll-behavior-x: contain;
    overscroll-behavior: contain;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    /* Panel is off-screen when closed — disable hit-testing so the
       wallet button and other controls behind it remain tappable. */
    pointer-events: none;
}
#noe-itn-page.open {
    transform: translateX(0);
    pointer-events: auto;
}

/* ── Top bar ─────────────────────────────────────────────────── */
.nitp-topbar {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 56px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
    gap: 12px;
    background: #0d0d14;
}
.nitp-back {
    background: rgba(255,255,255,.07);
    border: none;
    color: rgba(240,240,255,.6);
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.nitp-back:active { background: rgba(255,255,255,.12); }
.nitp-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}
.nitp-logout-btn {
    background: transparent;
    border: none;
    color: rgba(240,240,255,.35);
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .15s;
}
.nitp-logout-btn:active { color: #e91e8c; }

/* ── Scrollable body ─────────────────────────────────────────── */
.nitp-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

/* ── Fixed footer ────────────────────────────────────────────── */
.nitp-footer {
    padding: 14px 20px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255,255,255,.06);
    flex-shrink: 0;
    background: #0d0d14;
}
/* On mobile the bottom nav is fixed at 72px — push footer above it */
@media (max-width: 767px), (max-height: 768px) {
    .nitp-footer {
        padding-bottom: calc(20px + 72px + env(safe-area-inset-bottom));
    }
}

/* ── Auth section inside in-app page ────────────────────────── */
.nitp-auth-wrap {
    padding: 24px 20px 32px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}
.nitp-auth-tagline {
    font-size: 13px;
    color: rgba(240,240,255,.4);
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}
.nitp-auth-tagline strong { color: #e91e8c; }

/* ── Itinerary section inside in-app page ───────────────────── */
.nitp-itn-wrap {
    padding: 16px 20px 20px;
}
.nitp-greeting {
    font-size: 14px;
    color: rgba(240,240,255,.45);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 16px;
}
.nitp-greeting strong { color: #fff; }

/* ── Success screen ─────────────────────────────────────────── */
.nitp-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 28px;
    text-align: center;
    gap: 16px;
    height: 100%;
}
.nitp-success-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(233,30,140,.08);
    border: 1.5px solid rgba(233,30,140,.25);
    display: flex; align-items: center; justify-content: center;
    animation: nitp-pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes nitp-pop {
    from { transform: scale(.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.nitp-success h3 {
    font-size: 22px; font-weight: 800; color: #fff;
    font-family: 'DM Sans', sans-serif;
}
.nitp-success p {
    font-size: 14px; line-height: 1.7;
    color: rgba(240,240,255,.5);
    font-family: 'DM Sans', sans-serif;
    max-width: 300px;
}

/* ── Desktop: keep as sidebar panel, not full-screen slide ───── */
@media (min-width: 900px) {
    #noe-itn-page {
        position: fixed;
        left: auto;
        right: 0;
        top: 0;
        bottom: 0;
        width: 420px;
        transform: translateX(100%);
        border-left: 1px solid rgba(255,255,255,.07);
        box-shadow: -20px 0 60px rgba(0,0,0,.4);
    }
    #noe-itn-page.open {
        transform: translateX(0);
        pointer-events: auto;
    }
}


/* ════════════════════════════════════════════════════════════════
 * GROUP SIZE POPUP — mirrors working #noe-popup-overlay pattern
 * z-index: 99999 beats bottom-nav (9999) and itn-page (400)
 * ════════════════════════════════════════════════════════════════ */
#noe-group-popup {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
#noe-group-box {
    background: #0E0E1A;
    border: 1px solid rgba(233,30,140,.25);
    border-radius: 20px;
    padding: 32px 28px 28px;
    width: 100%; max-width: 420px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,.9);
    max-height: 90vh; overflow-y: auto;
}
#noe-group-close {
    position: absolute; top: 14px; right: 16px;
    background: rgba(255,255,255,.08); border: none;
    color: #F0F0FF; width: 30px; height: 30px;
    border-radius: 50%; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s; z-index: 2;
}
#noe-group-close:hover { background: rgba(233,30,140,.3); }
#noe-group-header { margin-bottom: 18px; }
#noe-group-badge {
    display: inline-block;
    background: rgba(233,30,140,.12); border: 1px solid rgba(233,30,140,.35);
    color: #e91e8c; border-radius: 20px; padding: 3px 12px;
    font-size: 10px; font-family: 'Space Mono', monospace;
    letter-spacing: .1em; font-weight: 700; margin-bottom: 8px;
}
#noe-group-header h2 {
    font-size: 17px; font-weight: 800; color: #fff;
    margin: 0 0 4px; font-family: Arial, sans-serif;
}
#noe-group-meta { font-size: 12px; color: rgba(240,240,255,.4); margin: 0; }
#noe-group-submit {
    width: 100%; height: 50px; margin-top: 6px;
    background: linear-gradient(135deg,#e91e8c,#c41e5b);
    border: none; border-radius: 12px; color: #fff;
    font-size: 14px; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; cursor: pointer;
    box-shadow: 0 8px 24px rgba(233,30,140,.35);
    font-family: 'DM Sans', sans-serif; transition: opacity .2s;
}
#noe-group-submit:hover   { opacity: .88; }
#noe-group-submit:disabled{ opacity: .45; cursor: default; }
/* Success view */
#noe-group-success-view { text-align: center; padding: 24px 0 8px; }
#noe-group-success-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(233,30,140,.12); border: 2px solid rgba(233,30,140,.4);
    font-size: 28px; color: #e91e8c;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
#noe-group-success-view h3 {
    font-size: 18px; font-weight: 800; color: #fff;
    margin: 0 0 8px; font-family: Arial, sans-serif;
}
#noe-group-success-view p {
    font-size: 13px; color: rgba(240,240,255,.5);
    margin: 0 0 6px; line-height: 1.5;
}
#noe-group-success-timer { font-size: 11px; color: rgba(240,240,255,.25); }

/* ── Itinerary page tabs ─────────────────────────────────────── */
.nitp-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,.04);
    border-radius: 12px;
    padding: 4px;
    margin: 16px 20px 0;
    flex-shrink: 0;
}
.nitp-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(240,240,255,.4);
    font-size: 13px; font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    padding: 9px 6px;
    border-radius: 9px;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.nitp-tab.active {
    background: rgba(233,30,140,.15);
    color: #e91e8c;
}
.nitp-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e91e8c;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 100px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 5px;
    vertical-align: middle;
}

/* ── Tab content padding ─────────────────────────────────────── */
.nitp-tab-content {
    padding: 0 0 20px;
}

/* ════════════════════════════════════════════════════════════════
 * VIP TABLE REQUEST POPUP
 * ════════════════════════════════════════════════════════════════ */
#noe-vip-popup {
    position: fixed; inset: 0; background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
    z-index: 99999; display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 600px) {
    #noe-vip-popup { align-items: center; }
}
#noe-vip-box {
    background: #12121a; border: 1px solid rgba(233,30,140,.2); border-radius: 20px 20px 0 0;
    width: 100%; max-width: 480px; padding: 28px 24px 36px; position: relative;
    max-height: 90vh; overflow-y: auto;
    transform: translateY(0);
    transition: transform .38s cubic-bezier(.22,.8,.36,1), opacity .3s;
}
@media (min-width: 600px) {
    #noe-vip-box { border-radius: 20px; }
}
#noe-vip-close {
    position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.08);
    border: none; border-radius: 50%; width: 30px; height: 30px; font-size: 14px;
    color: rgba(255,255,255,.5); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.noe-vip-header { text-align: center; margin-bottom: 20px; }
.noe-vip-badge {
    display: inline-block; background: rgba(233,30,140,.12); border: 1px solid rgba(233,30,140,.3);
    color: #e91e8c; border-radius: 100px; padding: 4px 14px;
    font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
}
#noe-vip-title {
    font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 4px; font-family: 'DM Sans', sans-serif;
}
#noe-vip-meta { font-size: 12px; color: rgba(240,240,255,.45); margin: 0; font-family: 'DM Sans', sans-serif; }
/* Profile card */
.noe-vip-profile {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px; padding: 14px 16px; margin-bottom: 20px;
}
.noe-vip-avatar {
    width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#e91e8c,#9c27b0);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0; font-family: 'DM Sans', sans-serif;
}
.noe-vip-profile-info { min-width: 0; }
.noe-vip-pname  { font-size: 14px; font-weight: 700; color: #fff; font-family: 'DM Sans', sans-serif; }
.noe-vip-pdetail { font-size: 12px; color: rgba(240,240,255,.45); font-family: 'DM Sans', sans-serif; margin-top: 1px; }
/* Success */
#noe-vip-success-view { text-align: center; padding: 20px 0; }
.noe-vip-succ-icon {
    width: 56px; height: 56px; border-radius: 50%; background: rgba(233,30,140,.15);
    border: 1px solid rgba(233,30,140,.3); display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 16px; color: #e91e8c;
}
#noe-vip-success-view h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 8px; font-family: 'DM Sans', sans-serif; }
#noe-vip-success-view p  { font-size: 13px; color: rgba(240,240,255,.5); margin: 0; font-family: 'DM Sans', sans-serif; }
#noe-vip-submit {
    width: 100%; background: #e91e8c; color: #fff; border: none; border-radius: 12px;
    padding: 14px; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 4px;
    font-family: 'DM Sans', sans-serif; transition: opacity .15s;
}
#noe-vip-submit:disabled { opacity: .6; cursor: default; }
#noe-vip-err { color: #ff6b9d; font-size: 12px; margin: 6px 0 0; min-height: 16px; font-family: 'DM Sans', sans-serif; }

/* ════════════════════════════════════════════════════════════════
 * ITEM TYPE BADGES  (guestlist 🥂 / table request 🍾)
 * ════════════════════════════════════════════════════════════════ */
.noe-itn-type-tag {
    display: inline-flex; align-items: center; gap: 4px;
    border-radius: 100px; padding: 2px 10px; font-size: 10px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px;
    font-family: 'DM Sans', sans-serif;
}
.noe-itn-type-gl    { background: rgba(99,179,237,.1); border: 1px solid rgba(99,179,237,.25); color: #63b3ed; }
.noe-itn-type-table { background: rgba(233,30,140,.1); border: 1px solid rgba(233,30,140,.25); color: #e91e8c; }

/* Block Safari horizontal back-swipe only on scroll containers, not body.
   pan-y on body causes iOS to hold touch events during momentum scroll,
   freezing fixed elements like the topbar search input after results load. */
.noe-app-main, .noe-list-view { touch-action: pan-y; }

/* ── Share Button — in-app detail panel ─────────────────────── */
.noe-detail-share-row {
    padding: 0 0 4px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}
.noe-detail-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(240,240,255,.75);
    padding: 9px 18px;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .01em;
}
.noe-detail-share-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.noe-detail-share-btn:hover,
.noe-detail-share-btn:active {
    background: rgba(255,45,120,.18);
    border-color: #FF2D78;
    color: #FF2D78;
}


/* ══════════════════════════════════════════════════════════════════
 * IN-APP EVENT DETAIL PANEL  (#noe-event-panel)
 * Same slide-in pattern as #noe-itn-page
 * ══════════════════════════════════════════════════════════════════ */
#noe-event-panel {
    position: fixed;
    inset: 0;
    z-index: 450;   /* above itn-page (400), below popup (99999) */
    background: #0d0d14;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.8,.36,1);
    overscroll-behavior: contain;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
}
#noe-event-panel.open {
    transform: translateX(0);
    pointer-events: auto;
}

/* Top bar */
.nep2-topbar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,45,120,.12);
    flex-shrink: 0;
    background: #0d0d14;
    min-height: 52px;
    gap: 12px;
}
.nep2-back {
    background: none;
    border: none;
    color: rgba(240,240,255,.7);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color .15s;
}
.nep2-back:hover { color: #FF2D78; }
.nep2-topbar-title {
    flex: 1;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: rgba(240,240,255,.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nep2-share-top {
    background: none;
    border: none;
    color: rgba(240,240,255,.6);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color .15s;
}
.nep2-share-top:hover { color: #FF2D78; }

/* Scrollable body */
.nep2-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

/* Hero flyer */
.nep2-hero {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 380px;
    background: #1a0a2e;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.nep2-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.nep2-hero-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

/* Content */
.nep2-content {
    padding: 20px 18px calc(120px + env(safe-area-inset-bottom));
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}
.nep2-cat-row {
    margin-bottom: 8px;
}
.nep2-cat-badge {
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #FF2D78;
    background: rgba(255,45,120,.1);
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(255,45,120,.25);
}
.nep2-title {
    font-family: "Bebas Neue", cursive, sans-serif;
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    letter-spacing: .03em;
    line-height: 1.05;
    color: #F0F0FF;
    margin: 0 0 16px;
}
.nep2-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.nep2-chip {
    background: #0E0E1A;
    border: 1px solid rgba(255,45,120,.16);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(240,240,255,.8);
    font-family: "DM Sans", sans-serif;
}

/* Organizer bar */
.nep2-org-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0E0E1A;
    border: 1px solid rgba(255,45,120,.18);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}
.nep2-org-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.nep2-org-ph {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}
.nep2-org-name {
    font-family: "Bebas Neue", cursive, sans-serif;
    font-size: 1.1rem;
    letter-spacing: .06em;
    color: #F0F0FF;
}
.nep2-org-type {
    font-size: 11px;
    color: rgba(240,240,255,.45);
    margin-top: 2px;
}
.nep2-org-socials {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
.nep2-org-social {
    font-size: 18px;
    text-decoration: none;
    opacity: .65;
    transition: opacity .2s;
}
.nep2-org-social:hover { opacity: 1; }

/* Description */
.nep2-desc {
    background: #0E0E1A;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(240,240,255,.75);
    margin-bottom: 20px;
    font-family: "DM Sans", sans-serif;
}

/* Action buttons */
.nep2-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.nep2-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    border-radius: 12px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .07em;
    transition: all .2s;
    cursor: pointer;
    border: none;
    width: 100%;
}
.nep2-btn-gl {
    background: rgba(0,245,212,.12);
    color: #00F5D4;
    border: 1px solid rgba(0,245,212,.4);
}
.nep2-btn-gl:hover { background: #00F5D4; color: #080810; }
.nep2-btn-vip {
    background: rgba(249,115,22,.12);
    color: #F97316;
    border: 1px solid rgba(249,115,22,.4);
}
.nep2-btn-vip:hover { background: #F97316; color: #fff; }
.nep2-btn-tkt {
    background: #FF2D78;
    color: #fff;
    box-shadow: 0 0 20px rgba(255,45,120,.35);
}
.nep2-btn-tkt:hover { box-shadow: 0 0 32px rgba(255,45,120,.6); }

/* Share row */
.nep2-share-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.nep2-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(240,240,255,.65);
    padding: 10px 22px;
    border-radius: 100px;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.nep2-share-btn:hover,
.nep2-share-btn:active {
    background: rgba(255,45,120,.15);
    border-color: rgba(255,45,120,.5);
    color: #FF2D78;
}

/* ── Bookings tab badge + cards ──────────────────────────────── */
.nitp-tab-badge-pink {
    background: #e91e8c;
}
.nitp-booking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 40px;
}
.nitp-booking-card {
    background: #0E0E1A;
    border: 1px solid rgba(233,30,140,.25);
    border-radius: 14px;
    overflow: hidden;
}
.nitp-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(233,30,140,.08);
    border-bottom: 1px solid rgba(233,30,140,.15);
}
.nitp-booking-title {
    font-size: 14px;
    font-weight: 700;
    color: #F0F0FF;
}
.nitp-booking-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.nitp-booking-rows {
    padding: 10px 16px;
}
.nitp-booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: 13px;
}
.nitp-booking-row:last-child {
    border-bottom: none;
}
.nitp-booking-row span:first-child {
    color: rgba(240,240,255,.5);
    flex-shrink: 0;
    margin-right: 12px;
}
.nitp-booking-row span:last-child {
    color: #F0F0FF;
    text-align: right;
}


/* ── Itinerary Profile Card ──────────────────────────────────────── */
.nitp-profile-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(255,45,120,.08), rgba(255,45,120,.03));
    border: 1px solid rgba(255,45,120,.2);
    border-radius: 16px;
    padding: 14px 16px;
    margin: 0 0 16px;
}
.nitp-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF2D78, #cc2060);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: .02em;
}
.nitp-profile-info {
    flex: 1;
    min-width: 0;
}
.nitp-profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #F0F0FF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nitp-profile-email,
.nitp-profile-phone {
    font-size: 12px;
    color: rgba(240,240,255,.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* ── Itinerary Legal Section ─────────────────────────────────────── */
.nitp-legal {
    margin: 28px 0 8px;
    padding: 16px;
    border-top: 1px solid rgba(255,45,120,.1);
    text-align: center;
}
.nitp-legal-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(240,240,255,.3);
    margin-bottom: 10px;
}
.nitp-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}
.nitp-legal-links a {
    font-size: 12px;
    font-weight: 600;
    color: rgba(240,240,255,.5);
    text-decoration: none;
    transition: color .15s;
}
.nitp-legal-links a:hover {
    color: #FF2D78;
}
.nitp-legal-dot {
    font-size: 10px;
    color: rgba(240,240,255,.2);
}
.nitp-legal-copy {
    font-size: 11px;
    color: rgba(240,240,255,.2);
    margin: 0;
}

/* ── Controls row arrow buttons (mobile) ────────────────────────── */
.noe-app-ctrl-arrow {
    width: 38px; height: 44px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    background: #1a1a24;
    color: #F0F0FF;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.noe-app-ctrl-arrow:hover,
.noe-app-ctrl-arrow:active {
    border-color: rgba(233,30,140,.5);
    background: rgba(233,30,140,.1);
    color: #FF2D78;
}

/* Make date-btn more compact on mobile to fit all 4 items */
@media (max-width: 767px) {
    .noe-app-date-btn {
        padding: 0 10px;
        gap: 5px;
        font-size: 13px;
    }
    .noe-app-date-btn > svg:first-child { width: 13px; height: 13px; }
    .noe-app-date-chevron { width: 10px; height: 10px; }
    .noe-app-date-btn { padding: 0 8px 0 10px; gap: 5px; }
    .noe-app-search-wrap input { font-size: 13px; }
}

/* ── Datepicker popup footer (Today btn + current date label) ────── */
.noe-app-dp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
    gap: 10px;
}
.noe-app-dp-cur-label {
    font-size: 11px;
    color: rgba(240,240,255,.4);
    font-family: 'Space Mono', monospace;
    letter-spacing: .04em;
    text-transform: uppercase;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noe-app-dp-today-btn {
    height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(233,30,140,.4);
    background: rgba(233,30,140,.1);
    color: #FF2D78;
    font-size: 12px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: .04em;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
.noe-app-dp-today-btn:hover {
    background: rgba(233,30,140,.22);
}

/* Desktop sidebar: keep day-nav visible */
@media (min-width: 768px) and (min-height: 769px) {
    .noe-app-desktop-wrap .noe-app-day-nav {
        display: flex !important;
    }
    /* Hide ctrl arrows from mobile topbar on desktop (sidebar has its own) */
    .noe-app-topbar .noe-app-ctrl-arrow {
        display: none;
    }
}

/* ── Date nav group: [‹][📅 Mar 14][›] ──────────────────────────── */
/* .noe-app-date-nav-group — removed, now unified bar */

/* ── Ticket discount code reveal (all ticket button locations) ── */
.noe-hidden { display: none !important; }

/* Discount Code button — blue tint, inherits all sizing from noe-btn-sm / noe-btn-lg / nep2-btn */
.noe-tcoupon-btn {
    background: rgba(59,130,246,.15);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,.45);
    min-width: 90px;
    justify-content: center;
}
.noe-tcoupon-btn:hover {
    background: rgba(59,130,246,.28);
    color: #93c5fd;
    border-color: #3b82f6;
}
/* Revealed code — same size as the button it replaces, monospace */
.noe-tcoupon-code {
    background: rgba(59,130,246,.18);
    border: 1px solid rgba(59,130,246,.5);
    color: #93c5fd;
    font-family: 'Space Mono', monospace;
    font-weight: 800;
    letter-spacing: .1em;
    user-select: all;
    cursor: text;
}

/* ── Floor Plan & Tables ──────────────────────────────────────── */
.noe-detail-section-title {
    font-size: 11px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(240,240,255,.5);
    margin: 0 0 10px;
}
.noe-detail-floorplan {
    padding: 14px 18px 10px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.noe-fp-img-wrap {
    position: relative; border-radius: 10px; overflow: hidden;
    cursor: pointer; margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,.08);
}
.noe-fp-img {
    width: 100%; display: block; border-radius: 10px;
    transition: opacity .2s;
}
.noe-fp-img-wrap:active .noe-fp-img { opacity: .85; }
.noe-fp-tap-hint {
    position: absolute; bottom: 8px; right: 10px;
    font-size: 10px; color: rgba(255,255,255,.6);
    background: rgba(0,0,0,.5); border-radius: 99px;
    padding: 3px 9px; pointer-events: none;
}
.noe-tables-grid {
    display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px;
}
.noe-table-item {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,.04); border-radius: 8px;
    padding: 8px 12px; border: 1px solid rgba(255,255,255,.07);
}
.noe-table-name {
    font-size: 13px; font-weight: 600; color: rgba(240,240,255,.9);
}
.noe-table-price {
    font-size: 12px; font-weight: 700; color: #ff2d78;
}
.noe-tables-note {
    font-size: 11px; color: rgba(240,240,255,.35);
    margin: 0; line-height: 1.5;
}
.noe-vip-req-link {
    color: rgba(233,30,140,.7); text-decoration: none; font-weight: 700;
}
.noe-vip-req-link:active { color: #ff2d78; }

/* ── Dress Code & Policies ────────────────────────────────────── */
.noe-detail-policies {
    padding: 10px 18px 14px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex; flex-direction: column; gap: 6px;
}
.noe-policy-row {
    display: flex; gap: 8px; align-items: flex-start;
}
.noe-policy-icon {
    font-size: 13px; flex-shrink: 0; margin-top: 1px;
}
.noe-policy-text {
    font-size: 11px; color: rgba(240,240,255,.35);
    line-height: 1.5;
}
.noe-policy-text strong {
    color: rgba(240,240,255,.55); font-weight: 600;
}

.noe-fp-share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px; background: none;
    border: 1px solid rgba(233,30,140,.3); border-radius: 8px;
    color: rgba(233,30,140,.7); font-size: 11px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    padding: 6px 12px; cursor: pointer; transition: all .2s;
}
.noe-fp-share-btn:active {
    background: rgba(233,30,140,.1); color: #ff2d78;
    border-color: rgba(233,30,140,.6);
}

/* ── nep2 panel — Floor Plan & Policies sections ─────────────── */
#nep2-floorplan {
    border-top: 1px solid rgba(255,255,255,.06);
    padding-bottom: 6px;
}
#nep2-policies {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 10px 18px 14px;
}
#nep2-policies .noe-policy-row { display:flex; gap:10px; align-items:flex-start; margin-bottom:8px; }
#nep2-policies .noe-policy-icon { font-size:15px; flex-shrink:0; margin-top:2px; }
#nep2-policies .noe-policy-text { font-size:13px; color:rgba(240,240,255,.85); line-height:1.6; }
#nep2-policies .noe-policy-text strong { color:#ffffff; font-weight:700; }

/* ── Quick-nav jump pills ─────────────────────────────────────── */
.nep2-quicknav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 28px 14px 12px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 2;
}
.nep2-qn-btn {
    font-family: "Space Mono", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,.25);
    padding: 3px 10px;
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .15s, border-color .15s;
}
.nep2-qn-btn:active {
    background: rgba(233,30,140,.45);
    border-color: rgba(255,45,120,.6);
}

/* ── Table section images ─────────────────────────────────────── */
.noe-table-item {
    flex-direction: column;
}
.noe-table-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
    position: relative;
}
.noe-table-section-img {
    width: 100%;
    display: block;
    border-radius: 8px;
    max-height: 160px;
    object-fit: cover;
}
.noe-table-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ══════════════════════════════════════════════════════════════════
 * VENUE SUGGESTION ROWS (search results)
 * ══════════════════════════════════════════════════════════════════ */
.noe-venue-suggestions {
    padding: 10px 12px 4px;
    flex-shrink: 0;
}
.noe-venue-suggestions-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(240,240,255,.35);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.noe-venue-suggestions-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.07);
}
.noe-venue-suggestion-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    background: rgba(99,102,241,.07);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 6px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background .12s, border-color .12s;
}
.noe-venue-suggestion-row:active {
    background: rgba(99,102,241,.16);
    border-color: rgba(99,102,241,.45);
}
.noe-vsr-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}
.noe-vsr-body { flex: 1; min-width: 0; }
.noe-vsr-name {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noe-vsr-meta {
    font-size: 10px;
    color: rgba(255,255,255,.42);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noe-vsr-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 100px;
    background: rgba(99,102,241,.2);
    color: #a5b4fc;
    border: 1px solid rgba(99,102,241,.3);
    white-space: nowrap;
    flex-shrink: 0;
}
.noe-vsr-arrow {
    color: rgba(99,102,241,.6);
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
    margin-left: 2px;
}
.noe-venue-sep {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0 8px;
}
.noe-venue-sep-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.08);
}
.noe-venue-sep-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
 * ORGANIZER / VENUE PANEL  (#noe-org-panel)
 * Same fixed-slide pattern as #noe-event-panel (z-index 450)
 * Org panel sits at 500 — above event panel, below all popups
 * ══════════════════════════════════════════════════════════════════ */
#noe-org-panel {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: #0d0d14;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,.8,.36,1);
    overscroll-behavior: contain;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    pointer-events: none;
}
#noe-org-panel.open {
    transform: translateX(0);
    pointer-events: auto;
}

/* Top bar */
.noe-org-topbar {
    height: 52px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    flex-shrink: 0;
    background: rgba(13,13,20,.9);
    border-bottom: 1px solid rgba(255,255,255,.06);
    position: relative;
    z-index: 2;
}
.noe-org-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0f0ff;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.noe-org-back:active { background: rgba(255,255,255,.12); }
.noe-org-topbar-title {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(240,240,255,.5);
    margin-right: 36px; /* balance back button */
}

/* Scrollable body */
.noe-org-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* last item clears the fixed bottom nav bar */
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
.noe-org-body::-webkit-scrollbar { display: none; }

/* Cover */
.noe-org-cover {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    flex-shrink: 0;
}
.noe-org-cover-bg {
    position: absolute;
    inset: 0;
    transition: background .3s;
}
.noe-org-cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13,13,20,1) 0%, rgba(13,13,20,.5) 50%, rgba(13,13,20,.1) 100%);
}
.noe-org-cover-info {
    position: relative;
    z-index: 1;
    padding: 14px 16px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}
.noe-org-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    border: 2px solid rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.noe-org-cover-text { min-width: 0; }
.noe-org-name {
    font-family: 'Bebas Neue', 'DM Sans', sans-serif;
    font-size: 24px;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noe-org-type {
    font-size: 10px;
    font-weight: 800;
    color: rgba(165,180,252,.85);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 3px;
}

/* CTA row */
.noe-org-cta-row {
    display: flex;
    gap: 8px;
    padding: 14px 16px 4px;
}
.noe-org-cta-btn {
    flex: 1;
    height: 42px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.noe-org-cta-share {
    background: rgba(255,255,255,.06);
    border: 1.5px solid rgba(255,255,255,.12);
    color: rgba(240,240,255,.75);
}
.noe-org-cta-share:active { background: rgba(255,255,255,.12); }

/* Info sections */
.noe-org-section {
    padding: 16px 16px 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.noe-org-section:last-child { border-bottom: none; padding-bottom: 20px; }
.noe-org-section-title {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(240,240,255,.3);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.noe-org-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.06);
}
.noe-org-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.noe-org-info-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
    color: rgba(240,240,255,.6);
}
.noe-org-info-text {
    font-size: 12px;
    color: rgba(240,240,255,.75);
    line-height: 1.5;
    padding-top: 7px;
}

/* Social buttons */
.noe-org-socials {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    padding: 4px 0 12px;
}
.noe-org-social-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    font-size: 11px;
    font-weight: 700;
    color: rgba(240,240,255,.65);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.noe-org-social-btn:active { background: rgba(255,255,255,.1); }

/* Upcoming event cards inside org panel */
.noe-org-event-card {
    display: flex;
    align-items: center;
    height: 72px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 13px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: border-color .12s;
}
.noe-org-event-card:last-child { margin-bottom: 0; }
.noe-org-event-card:active { border-color: rgba(233,30,140,.4); }
.noe-org-ec-img {
    width: 64px;
    height: 100%;
    flex-shrink: 0;
    background: #1a1a2e;
}
.noe-org-ec-body {
    padding: 8px 11px;
    flex: 1;
    min-width: 0;
}
.noe-org-ec-date {
    font-size: 9px;
    font-weight: 800;
    color: #e91e8c;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}
.noe-org-ec-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.noe-org-ec-sub {
    font-size: 10px;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
}
.noe-org-ec-arrow {
    padding-right: 12px;
    color: rgba(233,30,140,.4);
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

/* Desktop: org panel is a right-side drawer, not full screen */
@media (min-width: 900px) {
    #noe-org-panel {
        left: auto;
        width: 380px;
        border-left: 1px solid rgba(255,255,255,.07);
        box-shadow: -20px 0 60px rgba(0,0,0,.6);
    }
}

/* ══════════════════════════════════════════════════════════════════
 * VENUES PILL — context-aware, shown only for dayclubs / nightclubs
 * Sits outside .noe-app-unified-bar in the flex row of .noe-app-controls
 * ══════════════════════════════════════════════════════════════════ */
.noe-venues-pill {
    display: none; /* shown via JS when dayclubs/nightclubs active */
    flex-shrink: 0;
    align-items: center;
    gap: 5px;
    height: 46px;
    padding: 0 12px;
    margin-left: 8px;
    background: rgba(99,102,241,0.1);
    border: 1.5px solid rgba(99,102,241,0.35);
    border-radius: 14px;
    color: #a5b4fc;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.15s, border-color 0.15s;
}
.noe-venues-pill:active {
    background: rgba(99,102,241,0.2);
    border-color: rgba(99,102,241,0.6);
}
.noe-venues-pill svg {
    flex-shrink: 0;
}

/* Desktop sidebar variant */
.noe-venues-pill-sidebar {
    width: 100%;
    height: 36px;
    border-radius: 8px;
    margin-left: 0;
    margin-bottom: 6px;
    justify-content: center;
    font-size: 12px;
}

/* Hide mobile pill on desktop, show desktop pill */
@media (min-width: 900px) {
    #noe-venues-pill { display: none !important; }
    .noe-venues-pill-sidebar { /* shown via JS, display:flex */ }
}

/* ── Tour closing-soon timer (Concept A) ─────────────────────────
 * Shows on today-only tour cards in the main calendar.
 * Pure CSS — no JS timers, no event listeners, no memory leak.
 * .noe-timer-fill width is set inline via --w/--dur CSS vars
 * computed once at card render time in buildEventHtml.
 * ---------------------------------------------------------------- */

/* Track: sits below the 160px card row, inside the card border-radius */
.noe-timer-track {
    position: relative;
    height: 22px;
    background: rgba(255,255,255,.025);
    border-top: 1px solid rgba(255,255,255,.04);
    overflow: visible; /* pill vertically centred, must not clip */
}

/* Fill bar: drains left → right via one @keyframes */
/* Initial width is set via inline style in buildEventHtml — NOT via var(--w) here */
/* because CSS custom props inside @keyframes from{} don't resolve on first paint. */
.noe-timer-fill {
    position: absolute;
    left: 0; top: 50%; transform: translateY(-50%);
    height: 3px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(90deg, rgba(233,30,140,.35), #e91e8c 65%, #ff6b9d);
    animation: noe-bar-drain var(--dur, 43200s) linear forwards;
}

/* Pill: sibling of fill inside track — anchored to track's right edge, never clips */
.noe-timer-pill {
    position: absolute;
    right: 8px; top: 50%; transform: translateY(-50%);
    background: #0d0d14;
    border: 1px solid rgba(233,30,140,.55);
    border-radius: 20px;
    padding: 3px 8px 3px 6px;
    display: flex; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 800; letter-spacing: .02em;
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(233,30,140,.18);
    animation: noe-pill-in .45s cubic-bezier(.22,.8,.36,1) both .15s;
    pointer-events: none;
}

/* Pulsing dot inside pill */
.noe-timer-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: #e91e8c; flex-shrink: 0;
    animation: noe-timer-dot-pulse 1.6s ease-in-out infinite;
}

/* ── Keyframes ─────────────────────────────────────────────────── */

/* Bar drain — one-shot, stops at 0% */
@keyframes noe-bar-drain {
    to { width: 0%; }
}

/* Pill enter — one-shot scale-in */
@keyframes noe-pill-in {
    from { opacity: 0; transform: translateY(-50%) scale(.8); }
    to   { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* Dot fade-pulse (timer pill only — distinct from wallet dot pulse) */
@keyframes noe-timer-dot-pulse {
    0%, 100% { opacity: 1;  transform: scale(1); }
    50%      { opacity: .3; transform: scale(.6); }
}

/* ── Tour price badge — positioned on image thumbnail ───────────── */
.noe-tour-price-badge {
    position: absolute;
    bottom: 7px; right: 7px;
    background: #00c2a8;
    color: #041a18;
    font-size: 10px; font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

/* ── Popup closed view ───────────────────────────────────────────── */
#noe-popup-closed-view {
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#noe-popup-closed-icon {
    font-size: 38px;
    margin-bottom: 14px;
}
#noe-popup-closed-view h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
#noe-popup-closed-view p {
    font-size: 13px;
    color: rgba(240,240,255,.55);
    line-height: 1.55;
    margin-bottom: 20px;
}
#noe-popup-closed-cta {
    display: inline-block;
    background: linear-gradient(135deg, #e91e8c, #ff6b9d);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
}

/* ── Category badge ─────────────────────────────────────────────── */

/* Mobile default: frosted glass dot+label, absolute top-right */
.noe-app-main .noe-img-badge {
    position: absolute;
    top: 8px; right: 10px;
    z-index: 3;
    pointer-events: none;
    font-size: 8px;
    padding: 3px 8px 3px 22px;
    border-radius: 5px;
    border: none;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.noe-app-main .noe-img-badge::before {
    content: ''; position: absolute;
    left: 8px; top: 50%; transform: translateY(-50%);
    width: 7px; height: 7px; border-radius: 50%;
}

/* Mobile badge colors — no border, gradient blends into #0d0d14 */
.noe-app-main .noe-cat-nightclubs.noe-img-badge { background: linear-gradient(135deg, rgba(168,85,247,.16) 0%, rgba(13,13,20,.85) 100%) !important; color: #d4a0ff !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-nightclubs.noe-img-badge::before { background: #a855f7; box-shadow: 0 0 5px rgba(168,85,247,.9); }
.noe-app-main .noe-cat-dayclubs.noe-img-badge   { background: linear-gradient(135deg, rgba(249,115,22,.16) 0%, rgba(13,13,20,.85) 100%) !important; color: #ffb380 !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-dayclubs.noe-img-badge::before   { background: #f97316; box-shadow: 0 0 5px rgba(249,115,22,.9); }
.noe-app-main .noe-cat-shows.noe-img-badge      { background: linear-gradient(135deg, rgba(233,30,140,.16) 0%, rgba(13,13,20,.85) 100%) !important; color: #ff80c0 !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-shows.noe-img-badge::before      { background: #e91e8c; box-shadow: 0 0 5px rgba(233,30,140,.9); }
.noe-app-main .noe-cat-tours.noe-img-badge      { background: linear-gradient(135deg, rgba(0,194,168,.16) 0%, rgba(13,13,20,.85) 100%) !important; color: #7fffee !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-tours.noe-img-badge::before      { background: #00bfa5; box-shadow: 0 0 5px rgba(0,194,168,.9); }
.noe-app-main .noe-cat-clubs.noe-img-badge      { background: linear-gradient(135deg, rgba(233,30,140,.16) 0%, rgba(13,13,20,.85) 100%) !important; color: #ff80c0 !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-clubs.noe-img-badge::before      { background: #e91e8c; box-shadow: 0 0 5px rgba(233,30,140,.9); }
.noe-app-main .noe-cat-concerts.noe-img-badge   { background: linear-gradient(135deg, rgba(0,191,165,.16) 0%, rgba(13,13,20,.85) 100%) !important; color: #7fffee !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-concerts.noe-img-badge::before   { background: #00bfa5; box-shadow: 0 0 5px rgba(0,191,165,.9); }
.noe-app-main .noe-cat-general.noe-img-badge    { background: linear-gradient(135deg, rgba(156,163,175,.12) 0%, rgba(13,13,20,.85) 100%) !important; color: rgba(255,255,255,.6) !important; border: none !important; box-shadow: none !important; }
.noe-app-main .noe-cat-general.noe-img-badge::before    { background: #9ca3af; }

/* Mobile card: deep gradient fade to app bg #0d0d14 per category */
@media (max-width: 899px) {
    .noe-app-main .noe-entry-cat-nightclubs.noe-list-entry { background: linear-gradient(135deg, rgba(35,15,55,.98) 0%, rgba(18,18,28,.99) 60%, rgba(13,13,20,1) 100%) !important; }
    .noe-app-main .noe-entry-cat-dayclubs.noe-list-entry   { background: linear-gradient(135deg, rgba(50,25,5,.98) 0%, rgba(18,18,28,.99) 60%, rgba(13,13,20,1) 100%) !important; }
    .noe-app-main .noe-entry-cat-shows.noe-list-entry      { background: linear-gradient(135deg, rgba(45,8,22,.98) 0%, rgba(18,18,28,.99) 60%, rgba(13,13,20,1) 100%) !important; }
    .noe-app-main .noe-entry-cat-tours.noe-list-entry      { background: linear-gradient(135deg, rgba(5,28,26,.98) 0%, rgba(18,18,28,.99) 60%, rgba(13,13,20,1) 100%) !important; }
    .noe-app-main .noe-entry-cat-clubs.noe-list-entry      { background: linear-gradient(135deg, rgba(45,8,22,.98) 0%, rgba(18,18,28,.99) 60%, rgba(13,13,20,1) 100%) !important; }
    .noe-app-main .noe-entry-cat-concerts.noe-list-entry   { background: linear-gradient(135deg, rgba(5,28,26,.98) 0%, rgba(18,18,28,.99) 60%, rgba(13,13,20,1) 100%) !important; }
}

/* Desktop: badge absolute top-left of info area, above organizer */
@media (min-width: 900px) {
    .noe-app-main .noe-img-badge {
        position: absolute !important;
        top: 10px; left: 16px;
        right: auto; margin-left: 0;
        z-index: 3;
        font-size: 9px !important;
        padding: 2px 7px !important;
        border-radius: 20px !important;
        pointer-events: none;
    }
    .noe-app-main .noe-img-badge::before { display: none; }
    .noe-app-main .noe-cat-dayclubs.noe-img-badge   { background: #2d1500 !important; color: #ff8c00 !important; border: 1px solid rgba(255,140,0,.4) !important; }
    .noe-app-main .noe-cat-nightclubs.noe-img-badge { background: #1e0a3c !important; color: #a855f7 !important; border: 1px solid rgba(168,85,247,.6) !important; }
    .noe-app-main .noe-cat-shows.noe-img-badge      { background: #2d0018 !important; color: #e91e8c !important; border: 1px solid rgba(233,30,140,.4) !important; }
    .noe-app-main .noe-cat-tours.noe-img-badge      { background: #002a2a !important; color: #00bfa5 !important; border: 1px solid rgba(0,191,165,.4) !important; }
    .noe-app-main .noe-cat-clubs.noe-img-badge      { background: rgba(233,30,140,.15) !important; color: #e91e8c !important; border: 1px solid rgba(233,30,140,.4) !important; }
    .noe-app-main .noe-cat-concerts.noe-img-badge   { background: rgba(0,191,165,.14) !important; color: #00bfa5 !important; border: 1px solid rgba(0,191,165,.4) !important; }
    .noe-app-main .noe-cat-general.noe-img-badge    { background: rgba(255,255,255,.06) !important; color: #9ca3af !important; border: 1px solid rgba(255,255,255,.1) !important; }
}

/* ── Story Card button ───────────────────────────────────────────── */
.noe-story-btn {
    background: linear-gradient(135deg, rgba(212,160,23,.18), rgba(255,229,102,.08)) !important;
    border-color: rgba(212,160,23,.45) !important;
    color: #d4a017 !important;
}
.noe-story-btn:hover,
.noe-story-btn:active {
    background: rgba(212,160,23,.25) !important;
    border-color: #d4a017 !important;
    color: #ffe566 !important;
}
