/* ============================================================
   NightRadar Moscow — nightradar.css
   Полная переработка: шрифты, визуал, теплокарта, иконки,
   пульсация, glassmorphism, соцсети, адаптив
   ============================================================ */

/* ---------- ШРИФТЫ ---------- */
@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/nightradar/assets/fonts/InterVariable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('/wp-content/themes/nightradar/assets/fonts/Unbounded-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- CSS ПЕРЕМЕННЫЕ ---------- */
:root {
    --nr-cyan:        #00e0ff;
    --nr-red:         #ff2d55;
    --nr-purple:      #a855f7;
    --nr-amber:       #f59e0b;
    --nr-pink:        #f472b6;
    --nr-green:       #10b981;
    --nr-yellow:      #fbbf24;
    --nr-indigo:      #6366f1;
    --nr-blue:        #38caff;

    --nr-bg-deep:     #070810;
    --nr-bg-mid:      #0b0b0f;
    --nr-bg-card:     #12141b;

    --nr-font-body:   'Inter', system-ui, -apple-system, sans-serif;
    --nr-font-head:   'Unbounded', 'Inter', system-ui, sans-serif;

    --nr-glass-bg:    rgba(255,255,255,0.06);
    --nr-glass-border:rgba(255,255,255,0.10);
    --nr-glass-blur:  blur(20px);

    /* ===== SHEET (мобильная шторка) — единый источник истины =====
       JS читает эти переменные через getComputedStyle и не дублирует
       значения. Любая правка здесь синхронно применяется в JS. */
    --nr-sheet-min-h:   280px;     /* высота свёрнутой шторки (с компакт-инфой) */
    --nr-sheet-max-vh:  88dvh;     /* потолок раскрытой шторки */
    --nr-sheet-radius:  28px;      /* премиум-радиус (Apple-style) */
    --nr-card-radius:   24px;      /* радиус карточек внутри */

    /* Safe-area для iPhone notch / Dynamic Island. Даже на устройствах
       без челки env() возвращает 0px, поэтому переменная безопасна. */
    --nr-safe-top:      env(safe-area-inset-top, 0px);
    --nr-safe-bottom:   env(safe-area-inset-bottom, 0px);

    /* Премиум палитра: один акцент = тёплый оранж/золото.
       Все остальные цвета — производные от чёрного графита.
       Бирюзу/фиолет используем ТОЛЬКО точечно (leader, hot, активные).*/
    --nr-accent-1:      #ff8c00;
    --nr-accent-2:      #ff4500;
    --nr-accent-glow:   rgba(255, 107, 53, 0.40);
}

/* ---------- БАЗОВЫЕ СТИЛИ ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

body.nr-lock-scroll {
    overflow: hidden;
}

body.nr-resetting-sheet #nr-list-wrap {
    transition: none !important;
}

/* ---------- ГЛАВНЫЙ КОНТЕЙНЕР ---------- */
.nr-dashboard {
    background:
        radial-gradient(ellipse 900px 600px at 0% -10%,   rgba(0,224,255,0.07),  transparent 55%),
        radial-gradient(ellipse 800px 500px at 100% 5%,   rgba(168,85,247,0.08), transparent 50%),
        radial-gradient(ellipse 600px 400px at 50% 100%,  rgba(99,102,241,0.06), transparent 60%),
        radial-gradient(ellipse 400px 300px at 20% 60%,   rgba(255,45,85,0.05),  transparent 50%),
        linear-gradient(180deg, #070810 0%, #0b0b0f 60%, #0d0d14 100%);
    color: #fff;
    padding: 34px 18px 40px;
    font-family: var(--nr-font-body);
    /* НЕ ставим min-height:100vh — страница должна свободно скроллиться вниз к SEO/B2B блокам */
    position: relative;
}

/* Декоративная текстура ночного города */
.nr-dashboard::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,224,255,0.008) 2px,
            rgba(0,224,255,0.008) 3px
        );
    pointer-events: none;
    z-index: 0;
}

.nr-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ---------- ХЕДЕР ---------- */
.nr-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    align-items: flex-start;
    gap: 20px;
}


/* ===== КОМПАКТНЫЙ ХЕДЕР (v6 Night Navigation) =====
   Минимальный логотип, тонкая строка "обновление через",
   без массивного h1 и описания на весь экран. */
.nr-header-compact {
    display: block;
    margin-bottom: 12px;
    animation: nrFadeDown 0.45s cubic-bezier(.22,1,.36,1) both;
}

.nr-header-compact .nr-header-brand {
    display: block;
}

.nr-brand-title {
    font-family: var(--nr-font-head);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
    color: #fff;
}
.nr-brand-title span {
    background: linear-gradient(135deg, #fff 20%, var(--nr-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nr-brand-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    font-size: 11px;
    line-height: 1.2;
    color: rgba(255,255,255,0.58);
    font-family: var(--nr-font-body);
    letter-spacing: 0.01em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nr-brand-meta-now b {
    color: rgba(255,255,255,0.88);
    font-weight: 700;
    margin-left: 2px;
}
.nr-brand-meta-dot {
    opacity: 0.4;
}
.nr-refresh-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nr-refresh-inline .nr-refresh-ring {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(56,202,255,0.85);
    border-top-color: transparent;
    animation: nrRingSpin 2s linear infinite;
    flex-shrink: 0;
}
@keyframes nrRingSpin {
    to { transform: rotate(360deg); }
}
.nr-trend-line {
    font-size: 12px;
    margin-top: 8px;
    color: rgba(255,255,255,0.55);
    line-height: 1.4;
}
.nr-trend-line:empty { display: none; }

@keyframes nrFadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes nrFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== FLOATING ПАНЕЛЬ ФИЛЬТРОВ (Glassmorphism) =====
   Компактная, НЕ на всю ширину. */
.nr-actions-floating {
    display: inline-flex !important;
    flex-wrap: nowrap;
    width: auto !important;
    max-width: 100%;
    padding: 6px !important;
    gap: 6px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(15px) saturate(1.4);
    -webkit-backdrop-filter: blur(15px) saturate(1.4);
    box-shadow:
        0 12px 32px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.06);
    margin-bottom: 14px;
    animation: nrFadeIn 0.5s cubic-bezier(.22,1,.36,1) 0.08s both;
    overflow: visible;
}
.nr-actions-floating .nr-btn {
    flex: 0 0 auto;
}

/* ===== ПРАВЫЙ ВЕРТИКАЛЬНЫЙ СТЕК FAB =====
   z-index: 9999 — кнопки ВСЕГДА поверх любого контента страницы,
   даже когда юзер скроллит к блокам тарифов / SEO-блокам.
   На мобиле это даёт ощущение монолитного app-интерфейса. */
.nr-fab-stack {
    position: fixed;
    right: 14px;
    /* bottom синхронизируется с высотой шторки через CSS переменную.
       Когда шторка поднимается — кнопки подпрыгивают вверх. */
    bottom: calc(var(--nr-sheet-offset, 20px) + 12px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: bottom 0.32s cubic-bezier(.22,1,.36,1);
    animation: nrFadeIn 0.55s cubic-bezier(.22,1,.36,1) 0.15s both;
    pointer-events: none;
}

/* ============================================================
   📱 APP-LIKE LAYOUT (МОБАЙЛ ≤ 980px)
   Карта = весь viewport, хедер/фильтры/шторка висят ПОВЕРХ неё.
   Нижние секции (О сервисе, Тарифы) выносятся из .nr-dashboard
   через JS (moveAppSectionsOutOfDashboard) и живут в body
   после app-viewport-a — доступны скроллом вниз.
   ============================================================ */
@media (max-width: 980px) {
    /* App-viewport: первые 100dvh страницы — приложение с картой */
    .nr-dashboard {
        position: relative;
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }
    .nr-dashboard > .nr-shell {
        position: relative;
        height: 100dvh;
        overflow: hidden;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Контейнер секций ниже app-viewport — обычный скролл страницы */
    .nr-below-app {
        position: relative;
        padding: 20px 16px 40px;
        background: linear-gradient(180deg, #08090f 0%, #0c0e18 100%);
    }
    .nr-below-app > * {
        margin-bottom: 20px;
    }
    .nr-below-app > *:last-child {
        margin-bottom: 0;
    }

    /* Карта — full-screen фундамент */
    .nr-content {
        position: absolute !important;
        inset: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    .nr-map {
        position: absolute !important;
        inset: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
        overflow: hidden;
    }
    #map {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    /* Хедер — абсолютно поверх карты, glass */
    .nr-header-compact {
        position: absolute !important;
        top: 10px;
        left: 12px;
        right: 12px;
        z-index: 880;
        margin: 0 !important;
        pointer-events: none;
    }
    .nr-header-compact .nr-header-brand {
        pointer-events: auto;
        display: inline-block;
    }
    .nr-brand-title {
        font-size: 18px;
        text-shadow: 0 2px 16px rgba(0,0,0,0.7);
    }
    .nr-brand-meta {
        font-size: 10.5px;
        padding: 3px 9px;
        background: rgba(12,12,20,0.55);
        backdrop-filter: blur(12px) saturate(1.4);
        -webkit-backdrop-filter: blur(12px) saturate(1.4);
        border-color: rgba(255,255,255,0.10);
    }
    .nr-trend-line { display: none; }

    /* Floating-панель фильтров — поверх карты */
    .nr-actions-floating {
        position: absolute !important;
        top: 56px;
        left: 12px;
        right: 64px;  /* не влезает под FAB */
        z-index: 870;
        margin: 0 !important;
        max-width: calc(100vw - 76px);
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        background: rgba(12,12,20,0.40) !important;
        backdrop-filter: blur(18px) saturate(1.4);
        -webkit-backdrop-filter: blur(18px) saturate(1.4);
    }
    .nr-actions-floating::-webkit-scrollbar { display: none; }

    /* Правый FAB-стек — привязан к шторке через --nr-sheet-offset */
    .nr-fab-stack {
        position: fixed !important;
        right: 12px !important;
        bottom: calc(var(--nr-sheet-offset, 18dvh) + 16px) !important;
        top: auto !important;
        left: auto !important;
        z-index: 900;
    }

    /* Шторка — fixed снизу, поверх карты */
    .nr-content .nr-list-column {
        position: fixed !important;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto !important;
        z-index: 940;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: auto;
    }
}
.nr-fab-stack > * {
    pointer-events: auto;
}

.nr-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(20,22,32,0.75);
    color: #fff;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
    text-decoration: none;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.nr-fab svg {
    opacity: 0.92;
    transition: opacity 0.16s ease;
}
.nr-fab:hover,
.nr-fab:active {
    transform: translateY(-2px);
    border-color: rgba(56,202,255,0.45);
    background: rgba(20,22,32,0.85);
    box-shadow:
        0 14px 30px rgba(0,0,0,0.50),
        0 0 24px rgba(56,202,255,0.22),
        inset 0 1px 0 rgba(255,255,255,0.10);
}
.nr-fab:hover svg,
.nr-fab:active svg {
    opacity: 1;
}
.nr-fab.is-active {
    border-color: rgba(56,202,255,0.65);
    color: #38caff;
    background: rgba(56,202,255,0.12);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.45),
        0 0 20px rgba(56,202,255,0.32),
        inset 0 1px 0 rgba(255,255,255,0.08);
}
.nr-fab.is-active svg {
    opacity: 1;
}

/* Чат-FAB с акцентным градиентом */
.nr-fab-chat {
    background: linear-gradient(135deg, rgba(255,45,85,0.22), rgba(255,107,53,0.15));
    border-color: rgba(255,45,85,0.35);
}
.nr-fab-chat:hover {
    background: linear-gradient(135deg, rgba(255,45,85,0.32), rgba(255,107,53,0.22));
    border-color: rgba(255,45,85,0.55);
    box-shadow:
        0 14px 30px rgba(0,0,0,0.50),
        0 0 24px rgba(255,45,85,0.35),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

/* На ПК стек не нужен фиксированным — переносим в хедер справа */
@media (min-width: 981px) {
    .nr-fab-stack {
        position: absolute;
        right: 20px;
        top: 20px;
        bottom: auto;
        flex-direction: row;
    }
}

/* ---------- ПАНЕЛЬ ФИЛЬТРОВ ---------- */

/* ===== КНОПКА ТЕПЛОКАРТЫ в главной панели фильтров =====
   Постоянное мягкое оранжевое свечение — Call-to-Action,
   привлекает внимание к главной фишке сервиса. При активации
   свечение становится интенсивнее + сама кнопка заполняется
   градиентом. */
.nr-heat-btn {
    position: relative;
    /* Постоянное свечение даже в неактивном состоянии — намёк "нажми меня" */
    border-color: rgba(255,107,53,0.40) !important;
    box-shadow:
        0 0 0 1px rgba(255,107,53,0.18),
        0 0 16px rgba(255,107,53,0.30),
        0 4px 14px rgba(255,45,85,0.18) !important;
    animation: nrHeatBtnGlow 3.2s ease-in-out infinite;
}

@keyframes nrHeatBtnGlow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255,107,53,0.18),
            0 0 14px rgba(255,107,53,0.28),
            0 4px 12px rgba(255,45,85,0.16);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255,107,53,0.32),
            0 0 22px rgba(255,107,53,0.42),
            0 0 38px rgba(255,107,53,0.18),
            0 4px 16px rgba(255,45,85,0.22);
    }
}

.nr-heat-btn .nr-heat-ic {
    display: inline-block;
    transition: filter 0.22s ease, transform 0.22s ease;
    /* Иконка огня сама по себе слегка светится */
    filter: drop-shadow(0 0 4px rgba(255,107,53,0.55));
}

.nr-heat-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255,45,85,0.32), rgba(255,107,53,0.22)) !important;
    border-color: rgba(255,107,53,0.65) !important;
    /* Активное — сильнее светит, без анимации (чтобы был чёткий "включено") */
    animation: none;
    box-shadow:
        0 0 0 1px rgba(255,107,53,0.32),
        0 8px 24px rgba(255,45,85,0.32),
        0 0 36px rgba(255,107,53,0.45),
        0 0 60px rgba(255,107,53,0.22),
        inset 0 1px 0 rgba(255,255,255,0.14) !important;
}
.nr-heat-btn.is-active .nr-heat-ic {
    filter: drop-shadow(0 0 10px rgba(255,107,53,0.95));
    transform: scale(1.10);
}
.nr-heat-btn:not(.is-active):hover {
    border-color: rgba(255,107,53,0.55) !important;
    background: rgba(255,107,53,0.08) !important;
    box-shadow:
        0 0 0 1px rgba(255,107,53,0.30),
        0 0 24px rgba(255,107,53,0.45),
        0 4px 14px rgba(255,45,85,0.22) !important;
}

/* ===== СКРЫВАЕМ СТАРЫЙ КРАСНЫЙ ЧАТ-ВИДЖЕТ =====
   Теперь чат-поддержка открывается через FAB в правом стеке
   (nrFabChatBtn → nrSupportChat). Сам блок переписки остаётся
   в DOM но отображается только при клике по FAB. */
.nr-support-mini,
.nr-support-mini-btn {
    display: none !important;
}
.nr-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 22px;
    background: rgba(10,10,18,0.88);
    border: 1px solid rgba(255,255,255,0.09);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    align-items: center;
    position: relative;
    z-index: 40;
    overflow: visible;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.40),
        0 0 0 1px rgba(0,224,255,0.04) inset,
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* ---------- КНОПКИ ФИЛЬТРОВ ---------- */
.nr-btn {
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, opacity .16s ease;
    line-height: 1;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    flex: 0 0 auto;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
    font-family: var(--nr-font-body);
    font-size: 13px;
    letter-spacing: 0.02em;
}

.nr-btn .nr-ic {
    width: 18px;
    display: inline-flex;
    justify-content: center;
    opacity: 0.92;
}

.nr-btn .nr-lbl {
    font-size: 13px;
    opacity: 0.92;
    letter-spacing: .1px;
}

.nr-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

.nr-btn:active {
    transform: translateY(0) scale(.985);
}

.nr-btn.is-selected {
    background: rgba(0,224,255,0.10);
    border: 1px solid rgba(0,224,255,0.50);
    box-shadow:
        0 0 20px rgba(0,224,255,0.20),
        0 0 40px rgba(0,224,255,0.08),
        0 10px 30px rgba(0,0,0,0.22);
}

.nr-btn-count {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    background: rgba(255,45,85,0.92);
    color: #fff;
    box-shadow: 0 8px 18px rgba(255,45,85,0.35);
    margin-left: 2px;
}

.nr-reset-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    opacity: .88;
}

.nr-more-wrap {
    position: relative;
}

.nr-more-btn {
    padding-left: 16px;
    padding-right: 16px;
}

/* ---------- БЭКДРОП ---------- */
.nr-more-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4,6,10,0.60);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
    z-index: 2147483645;
}

.nr-more-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ---------- ПАНЕЛЬ ФИЛЬТРОВ (модальная) ---------- */
.nr-more-panel {
    position: fixed;
    padding: 16px;
    border-radius: 26px;
    /* Усиленный premium glassmorphism — насыщенный, без синевы.
       Огненный glow сверху + ультрафиолет снизу. */
    background:
        radial-gradient(ellipse 60% 30% at 50% 0%,  rgba(255,107,53,0.10), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, rgba(168,85,247,0.07), transparent 55%),
        linear-gradient(180deg, rgba(12,12,18,0.94), rgba(6,7,11,0.96));
    border: 0.5px solid rgba(255,138,0,0.18);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    backdrop-filter: blur(28px) saturate(1.4);
    box-shadow:
        0 32px 100px rgba(0,0,0,0.70),
        0 0 0 1px rgba(255,255,255,0.04),
        0 0 60px rgba(255,107,53,0.08),
        inset 0 1px 0 rgba(255,255,255,0.07);
    z-index: 2147483647;
    max-height: calc(100vh - 110px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(.985);
    transition: opacity .26s ease, transform .26s ease, visibility .26s ease;
}

.nr-more-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nr-more-panel.is-mobile-sheet {
    transform: translateY(calc(100% + 24px));
}

.nr-more-panel.is-mobile-sheet.is-open {
    transform: translateY(0);
}

.nr-more-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 2px 2px 14px;
    position: relative;
}

.nr-more-head::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}

.nr-more-sheet-grip {
    display: none;
    width: 52px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    margin: 2px auto 0;
}

.nr-more-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.nr-more-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nr-more-title {
    font-size: 15px;
    letter-spacing: .2px;
    opacity: .96;
    font-family: var(--nr-font-head);
    font-weight: 600;
}

.nr-more-subtitle {
    font-size: 12px;
    line-height: 1.35;
    opacity: .58;
    max-width: 320px;
}

.nr-more-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .14s ease, background .14s ease, border-color .14s ease;
    flex: 0 0 auto;
    font-size: 18px;
}

.nr-more-close:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.16);
}

/* ---------- SELECTED BAR ---------- */
.nr-selected-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 24px;
    margin: 12px 0 12px;
}

.nr-selected-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    background: rgba(0,224,255,0.09);
    border: 1px solid rgba(0,224,255,0.22);
    color: rgba(210,250,255,0.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.nr-selected-empty {
    font-size: 12px;
    opacity: .56;
    padding: 4px 2px;
}

/* ---------- СЕКЦИИ ФИЛЬТРОВ ---------- */
.nr-filter-section {
    margin-top: 0;
    padding-top: 14px;
}

.nr-filter-section + .nr-filter-section {
    margin-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.nr-filter-section-title {
    font-size: 11px;
    line-height: 1.2;
    opacity: .60;
    letter-spacing: .28px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: var(--nr-font-head);
    font-weight: 600;
}

.nr-filter-section-caption {
    margin: -2px 0 12px;
    font-size: 12px;
    line-height: 1.35;
    opacity: .55;
}

.nr-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nr-filter-pills-grid .nr-filter-pill {
    min-width: calc(50% - 5px);
    justify-content: center;
}

/* ---------- ПИЛЮЛИ ФИЛЬТРОВ С ИКОНКАМИ КАТЕГОРИЙ ---------- */
.nr-filter-pill {
    color: #fff;
    padding: 11px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
    line-height: 1;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 8px 22px rgba(0,0,0,0.16);
    -webkit-tap-highlight-color: transparent;
    font-size: 13px;
    font-family: var(--nr-font-body);
}

/* Иконки категорий с цветами */
.nr-filter-pill[data-format="club"] {
    border-color: rgba(168,85,247,0.30);
}
.nr-filter-pill[data-format="club"]::before {
    content: "🪩";
    font-size: 15px;
}
.nr-filter-pill[data-format="club"].is-active {
    background: rgba(168,85,247,0.14);
    border-color: rgba(168,85,247,0.55);
    box-shadow: 0 0 20px rgba(168,85,247,0.20), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-format="bar"] {
    border-color: rgba(56,202,255,0.28);
}
.nr-filter-pill[data-format="bar"]::before {
    content: "🍸";
    font-size: 15px;
}
.nr-filter-pill[data-format="bar"].is-active {
    background: rgba(56,202,255,0.12);
    border-color: rgba(56,202,255,0.52);
    box-shadow: 0 0 20px rgba(56,202,255,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-format="pub"] {
    border-color: rgba(245,158,11,0.28);
}
.nr-filter-pill[data-format="pub"]::before {
    content: "🍺";
    font-size: 15px;
}
.nr-filter-pill[data-format="pub"].is-active {
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.52);
    box-shadow: 0 0 20px rgba(245,158,11,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-format="disco"] {
    border-color: rgba(244,114,182,0.28);
}
.nr-filter-pill[data-format="disco"]::before {
    content: "✨";
    font-size: 15px;
}
.nr-filter-pill[data-format="disco"].is-active {
    background: rgba(244,114,182,0.12);
    border-color: rgba(244,114,182,0.52);
    box-shadow: 0 0 20px rgba(244,114,182,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-format="lounge"] {
    border-color: rgba(16,185,129,0.28);
}
.nr-filter-pill[data-format="lounge"]::before {
    content: "🥂";
    font-size: 15px;
}
.nr-filter-pill[data-format="lounge"].is-active {
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.52);
    box-shadow: 0 0 20px rgba(16,185,129,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-option="dancefloor"]::before { content: "💃"; font-size: 15px; }
.nr-filter-pill[data-option="dancefloor"].is-active {
    background: rgba(0,224,255,0.10);
    border-color: rgba(0,224,255,0.50);
    box-shadow: 0 0 20px rgba(0,224,255,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-option="karaoke"]::before { content: "🎤"; font-size: 15px; }
.nr-filter-pill[data-option="karaoke"].is-active {
    background: rgba(251,191,36,0.10);
    border-color: rgba(251,191,36,0.50);
    box-shadow: 0 0 20px rgba(251,191,36,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-option="strip"]::before { content: "🔥"; font-size: 15px; }
.nr-filter-pill[data-option="strip"].is-active {
    background: rgba(255,45,85,0.10);
    border-color: rgba(255,45,85,0.50);
    box-shadow: 0 0 20px rgba(255,45,85,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill[data-option="afterparty"]::before { content: "🌙"; font-size: 15px; }
.nr-filter-pill[data-option="afterparty"].is-active {
    background: rgba(99,102,241,0.10);
    border-color: rgba(99,102,241,0.50);
    box-shadow: 0 0 20px rgba(99,102,241,0.18), 0 8px 22px rgba(0,0,0,0.16);
}

.nr-filter-pill.primary {
    background: linear-gradient(180deg, rgba(255,45,85,1), rgba(255,45,85,.84));
    border: 1px solid rgba(255,45,85,0.20);
    box-shadow: 0 10px 24px rgba(255,45,85,0.22);
}

.nr-filter-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.18);
}

.nr-filter-pill.is-active {
    background: rgba(0,224,255,0.10);
    border: 1px solid rgba(0,224,255,0.48);
    box-shadow: 0 0 18px rgba(0,224,255,0.14), 0 8px 22px rgba(0,0,0,0.16);
}

/* ---------- ДОПЛНИТЕЛЬНЫЕ ОПЦИИ ---------- */
.nr-more-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nr-more-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,255,255,0.10);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.20);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.nr-more-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255,138,0,0.30);
    background: rgba(255,138,0,0.04);
    box-shadow: 0 18px 42px rgba(0,0,0,0.30);
}

.nr-mi-ic {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at top left, rgba(255,107,53,0.18), transparent 70%),
        rgba(255,255,255,0.05);
    border: 0.5px solid rgba(255,255,255,0.10);
    flex: 0 0 auto;
    font-size: 19px;
}

.nr-mi-txt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: auto;
}

.nr-mi-title {
    font-size: 13px;
    opacity: .97;
    font-family: var(--nr-font-body);
    font-weight: 600;
}

.nr-mi-sub {
    font-size: 12px;
    opacity: .58;
}

.nr-mi-chip {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    background: rgba(255,255,255,0.05);
    border: 0.5px solid rgba(255,255,255,0.10);
    opacity: .85;
    font-weight: 600;
}

/* Active state — огненный акцент вместо бирюзового */
.nr-more-item.is-active {
    border-color: rgba(255,138,0,0.50);
    background:
        radial-gradient(ellipse at top right, rgba(255,107,53,0.10), transparent 60%),
        rgba(255,107,53,0.05);
    box-shadow:
        0 0 0 1px rgba(255,138,0,0.18),
        0 0 24px rgba(255,107,53,0.16),
        0 16px 40px rgba(0,0,0,0.30);
}

.nr-more-item.is-active .nr-mi-ic {
    background:
        radial-gradient(ellipse at top left, rgba(255,107,53,0.30), transparent 70%),
        rgba(255,107,53,0.10);
    border-color: rgba(255,138,0,0.40);
}

.nr-more-item.is-active .nr-mi-chip {
    background: linear-gradient(135deg, #ff8a00, #ff5a00);
    border-color: rgba(255,138,0,0.50);
    color: #fff;
    opacity: 1;
    box-shadow: 0 0 16px rgba(255,107,53,0.30);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ---------- ФУТЕР ПАНЕЛИ ---------- */
.nr-more-footer {
    position: sticky;
    bottom: -16px;
    margin: 16px -16px -16px;
    padding: 14px 16px 16px;
    display: flex;
    gap: 10px;
    background: linear-gradient(180deg, rgba(10,10,18,0.05), rgba(10,10,18,0.98) 22%);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.nr-more-footer-btn {
    min-height: 46px;
    border-radius: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.10);
    cursor: pointer;
    color: #fff;
    font-size: 13px;
    font-family: var(--nr-font-body);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.nr-more-footer-btn.ghost {
    flex: 0 0 auto;
    background: rgba(255,255,255,0.05);
}

.nr-more-footer-btn.primary {
    flex: 1 1 auto;
    /* Огненный градиент идентичный кнопке "Открыть" в карточках */
    background: linear-gradient(135deg, #ff8a00 0%, #ff5a00 45%, #ff2d55 100%);
    border-color: rgba(255,138,0,0.45);
    color: #fff;
    box-shadow:
        0 14px 32px rgba(255,90,0,0.42),
        0 0 28px rgba(255,138,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.22);
    font-family: var(--nr-font-head);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
    position: relative;
    overflow: hidden;
}

/* Бегущий блик для premium-вайба */
.nr-more-footer-btn.primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    animation: nrCardLinkShimmer 4.5s ease-in-out infinite;
    pointer-events: none;
}

.nr-more-footer-btn.primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 18px 40px rgba(255,90,0,0.55),
        0 0 36px rgba(255,138,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.28);
}

.nr-more-footer-btn:hover {
    transform: translateY(-1px);
}

/* ---------- КОНТЕНТ ---------- */
.nr-content {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 22px;
    align-items: start;
}

.nr-list-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.leaflet-control-attribution {
    display: none !important;
}


/* ---------- ПОДСКАЗКА РЕЖИМА (плашка активного фильтра) ---------- */
.nr-mode-hint {
    min-height: 0;
    margin: 0 0 16px 0;
    font-size: 13px;
    line-height: 1.2;
    opacity: 0;
    max-height: 0;
    transform: translateY(-4px);
    transition: opacity .22s ease, transform .22s ease, max-height .26s ease, margin .22s ease;
    color: rgba(255,255,255,0.86);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow: hidden;
    pointer-events: none;
}

.nr-mode-hint.is-visible {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
    pointer-events: auto;
}

/* Premium glassmorphism пилл — каждый активный фильтр.
   Тонкая огненная граница + лёгкое свечение + label "Фильтр:" */
.nr-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at left, rgba(255,107,53,0.16), transparent 70%),
        rgba(20,18,24,0.62);
    border: 0.5px solid rgba(255,138,0,0.42);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow:
        0 8px 22px rgba(0,0,0,0.32),
        0 0 18px rgba(255,107,53,0.18),
        inset 0 1px 0 rgba(255,255,255,0.06);
    font-family: var(--nr-font-body);
    white-space: nowrap;
}

/* Префикс "Фильтр:" — добавляется через CSS перед текстом первой пиллы */
.nr-mode-hint::before {
    content: "Фильтр:";
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.55;
    color: rgba(255,255,255,0.78);
    font-family: var(--nr-font-head);
    font-weight: 600;
    margin-right: 2px;
}

/* ---------- СПИСОК ---------- */
.nr-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 650px;
}

.nr-list-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---------- КАРТА ---------- */
#map {
    height: 650px;
    border-radius: 24px;
    overflow: hidden;
    background: #0b0b0f;
    transform: translateZ(0);
    will-change: transform;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 26px 70px rgba(0,0,0,0.32),
        0 0 0 1px rgba(0,224,255,0.04) inset;
}

/* Тайлы стилизуются через JS — hue-rotate + brightness 1.05.
   ВАЖНО: НЕ ставить здесь brightness < 1 — карта станет чёрной. */
#map .leaflet-tile {
    /* filter управляется через #nr-map-tile-style в JS */
}

.nr-map {
    position: relative;
    z-index: 1;
}


/* ---------- КАРТОЧКИ ЗАВЕДЕНИЙ (Premium Glassmorphism) ---------- */
.nr-card {
    /* Graphite premium: глубокий чёрно-серый, без синевы.
       Лёгкие огненно-оранжевый и ультрафиолет акценты — brand-окраска.
       backdrop-filter blur(20px) даёт настоящее «стекло» поверх карты. */
    background:
        radial-gradient(ellipse 70% 40% at 100% 0%, rgba(255,107,53,0.08), transparent 50%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(168,85,247,0.06), transparent 55%),
        rgba(14,15,18,0.62);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    backdrop-filter: blur(20px) saturate(1.4);
    padding: 24px;
    border-radius: 22px;
    /* Тонкая 0.5px неоновая граница — premium signature */
    border: 0.5px solid rgba(0,224,255,0.18);
    transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease, background .28s ease;
    position: relative;
    cursor: pointer;
    transform: translateZ(0);
    box-shadow:
        0 24px 56px rgba(0,0,0,0.50),
        0 0 0 1px rgba(255,255,255,0.03),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
}

.nr-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 35%);
    border-radius: inherit;
}

.nr-card:hover {
    transform: translateY(-4px);
    /* Hover: граница переходит в фиолетовый неон */
    border-color: rgba(168,85,247,0.45);
    background:
        radial-gradient(ellipse 70% 40% at 100% 0%, rgba(255,107,53,0.12), transparent 50%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(168,85,247,0.10), transparent 55%),
        rgba(18,16,24,0.68);
    box-shadow:
        0 32px 70px rgba(0,0,0,0.58),
        0 0 0 1px rgba(168,85,247,0.18),
        0 0 40px rgba(168,85,247,0.18),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.nr-card-basic {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.010)),
        rgba(14,17,23,0.65);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.20),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

/* ЛИДЕР НОЧИ — усиленное двойное свечение (огонь + ультрафиолет) */
.nr-card.leader {
    /* Двойная градиентная рамка через border + псевдо-кольцо */
    border: 0.5px solid rgba(255,107,53,0.65);
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,107,53,0.16), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(168,85,247,0.10), transparent 55%),
        rgba(18,12,18,0.68);
    box-shadow:
        0 0 0 1px rgba(255,45,85,0.30),
        0 0 50px rgba(255,107,53,0.32),
        0 0 100px rgba(255,45,85,0.18),
        0 24px 60px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.08);
    padding-top: 46px;
    animation: nrLeaderGlow 3s ease-in-out infinite;
}

@keyframes nrLeaderGlow {
    0%   { box-shadow: 0 0 0 1px rgba(255,45,85,0.30), 0 0 50px rgba(255,107,53,0.32), 0 0 100px rgba(255,45,85,0.18), 0 24px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08); }
    50%  { box-shadow: 0 0 0 1px rgba(255,45,85,0.50), 0 0 80px rgba(255,107,53,0.50), 0 0 140px rgba(255,45,85,0.30), 0 24px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.10); }
    100% { box-shadow: 0 0 0 1px rgba(255,45,85,0.30), 0 0 50px rgba(255,107,53,0.32), 0 0 100px rgba(255,45,85,0.18), 0 24px 60px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08); }
}

.nr-card.leader::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255,107,53,0.55), rgba(255,45,85,0.40), rgba(168,85,247,0.45));
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    filter: blur(6px);
}

.nr-card.active {
    border-color: rgba(0,224,255,0.55);
    box-shadow:
        0 0 0 1px rgba(0,224,255,0.30),
        0 0 32px rgba(0,224,255,0.22),
        0 24px 56px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.nr-card.leader.nr-leader-switch {
    animation: nrLeaderSwitch .85s ease-out 1;
}

@keyframes nrLeaderSwitch {
    0%   { transform: translateY(-2px) scale(1); }
    35%  { transform: translateY(-4px) scale(1.012); }
    100% { transform: translateY(-2px) scale(1); }
}

/* ---------- БЕЙДЖИ ---------- */
.nr-leader-badge {
    position: absolute;
    top: 12px;
    right: 14px;
    background: linear-gradient(135deg, #ff2d55, #ff6b35);
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: float 2.5s ease-in-out infinite;
    box-shadow: 0 10px 28px rgba(255,45,85,0.28);
    z-index: 8;
    white-space: nowrap;
    font-family: var(--nr-font-head);
    font-weight: 700;
    letter-spacing: 0.04em;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

.nr-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    background:
        radial-gradient(ellipse at left, rgba(0,224,255,0.20), transparent 70%),
        rgba(0,224,255,0.08);
    border: 0.5px solid rgba(0,224,255,0.55);
    color: #9ff0ff;
    margin-left: 0;
    vertical-align: middle;
    box-shadow: 0 0 14px rgba(0,224,255,0.20), inset 0 1px 0 rgba(255,255,255,0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    flex: 0 0 auto;
    font-family: var(--nr-font-body);
    text-shadow: 0 0 8px rgba(0,224,255,0.30);
    white-space: nowrap;
}

.nr-card-lite-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 14px;
    font-size: 11px;
    line-height: 1;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    margin-left: 10px;
    vertical-align: middle;
}

/* ---------- ФИЧИ ЗАВЕДЕНИЯ ---------- */
.nr-feature-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nr-feature-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.88);
    font-family: var(--nr-font-body);
}

/* Иконки фич с цветами в карточках */
.nr-feature-chip.is-core {
    background: rgba(0,224,255,0.08);
    border-color: rgba(0,224,255,0.26);
    color: rgba(190,250,255,0.98);
}

.nr-feature-chip.is-priority {
    background: linear-gradient(180deg, rgba(255,45,85,0.16), rgba(255,45,85,0.09));
    border-color: rgba(255,45,85,0.38);
    color: rgba(255,220,228,0.98);
    box-shadow: 0 0 14px rgba(255,45,85,0.10);
}

.nr-feature-chip.is-priority-dance {
    background: linear-gradient(180deg, rgba(0,224,255,0.14), rgba(0,224,255,0.07));
    border-color: rgba(0,224,255,0.35);
    color: rgba(205,248,255,0.98);
}

.nr-feature-chip.is-priority-karaoke {
    background: linear-gradient(180deg, rgba(251,191,36,0.16), rgba(251,191,36,0.07));
    border-color: rgba(251,191,36,0.35);
    color: rgba(255,236,188,0.98);
}

.nr-feature-chip.is-priority-strip {
    background: linear-gradient(180deg, rgba(255,45,85,0.18), rgba(255,45,85,0.09));
    border-color: rgba(255,45,85,0.42);
    color: rgba(255,220,228,0.98);
}

/* Клуб — фиолетовый */
.nr-feature-chip[class*="club"],
.nr-feature-chip.is-club {
    background: rgba(168,85,247,0.10);
    border-color: rgba(168,85,247,0.32);
    color: rgba(220,196,255,0.98);
}

/* Бар — голубой */
.nr-feature-chip[class*="bar"],
.nr-feature-chip.is-bar {
    background: rgba(56,202,255,0.10);
    border-color: rgba(56,202,255,0.30);
    color: rgba(190,238,255,0.98);
}

/* Паб — янтарный */
.nr-feature-chip[class*="pub"],
.nr-feature-chip.is-pub {
    background: rgba(245,158,11,0.10);
    border-color: rgba(245,158,11,0.30);
    color: rgba(255,228,168,0.98);
}

/* Лаунж — зелёный */
.nr-feature-chip[class*="lounge"],
.nr-feature-chip.is-lounge {
    background: rgba(16,185,129,0.10);
    border-color: rgba(16,185,129,0.30);
    color: rgba(180,255,230,0.98);
}

.nr-card-basic .nr-feature-chip {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.62);
    box-shadow: none;
}

.nr-feature-chip.neutral {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.62);
}

/* ---------- РЕКОМЕНДАЦИИ ---------- */
.nr-rec {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.2;
    color: rgba(255,255,255,0.78);
}

.nr-rec-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.86);
}

.nr-rec-pill.now   { background: rgba(255,45,85,0.14);   border-color: rgba(255,45,85,0.45);  color: #ff2d55; }
.nr-rec-pill.maybe { background: rgba(0,224,255,0.10);   border-color: rgba(0,224,255,0.32);  color: #00e0ff; }
.nr-rec-pill.later { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.10); color: rgba(255,255,255,0.78); }

.nr-why {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(255,255,255,0.70);
}

.nr-why b { color: #00e0ff; }

/* ---------- ДИСТАНЦИЯ ---------- */
.nr-distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1;
    margin-left: 10px;
    vertical-align: middle;
    background: rgba(0,224,255,0.08);
    border: 1px solid rgba(0,224,255,0.22);
    color: rgba(0,224,255,0.95);
}

/* ---------- ЧАСЫ РАБОТЫ ---------- */
.nr-hours {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    line-height: 1.2;
    color: rgba(255,255,255,0.80);
}

.nr-hours-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.86);
}

.nr-hours-pill.open   { background: rgba(0,200,83,0.10);  border-color: rgba(0,200,83,0.28);  color: rgba(160,255,205,0.95); }
.nr-hours-pill.closed { background: rgba(255,45,85,0.10); border-color: rgba(255,45,85,0.24); color: rgba(255,175,190,0.95); }
.nr-hours-sub { opacity: .65; }

/* ---------- СТАТУС ---------- */
.nr-status {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(255,255,255,0.68);
    text-align: left;
}

.nr-status-label { color: #00e0ff; }
.nr-card-basic .nr-status { color: rgba(255,255,255,0.55); }

/* ---------- META БЛОК ---------- */
.nr-basic-meta-block { margin-top: 10px; }

.nr-basic-meta-label {
    font-size: 11px;
    line-height: 1.2;
    color: rgba(255,255,255,0.40);
    text-transform: uppercase;
    letter-spacing: .28px;
    margin-bottom: 6px;
    font-family: var(--nr-font-head);
}

.nr-basic-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ---------- ЗАГОЛОВОК КАРТОЧКИ ---------- */
/* Flex-row чтобы бейдж "Проверено" был на одной строке с названием.
   Если название слишком длинное — оно переносится, но бейдж
   всегда остаётся в одной "ячейке" справа от первого слова названия. */
.nr-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--nr-font-head);
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: #fff;
}

/* Чтобы бейджи не сжимались и не переносились отдельными строками */
.nr-title > .nr-badge,
.nr-title > .nr-lite-badge,
.nr-title > .nr-distance-badge {
    flex: 0 0 auto;
    white-space: nowrap;
}

.nr-meta {
    opacity: .72;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.5;
}

.nr-address {
    /* Premium pill: иконка 📍 (приходит из контента) + адрес.
       Стеклянная капсула — выглядит как «метка на карте»,
       тематически связано с brand-логикой radar. */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 12px;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at left, rgba(255,107,53,0.10), transparent 70%),
        rgba(255,255,255,0.04);
    border: 0.5px solid rgba(255,107,53,0.28);
    color: rgba(255,236,220,0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.04);
    font-weight: 500;
    letter-spacing: 0.01em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    align-self: flex-start;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.nr-address:hover {
    border-color: rgba(255,107,53,0.50);
    background:
        radial-gradient(ellipse at left, rgba(255,107,53,0.18), transparent 70%),
        rgba(255,107,53,0.06);
    transform: translateY(-1px);
}

/* ---------- БАР ЗАПОЛНЕНИЯ ---------- */
.nr-fill-bar {
    margin-top: 12px;
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    overflow: hidden;
}

.nr-fill-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff2d55, #ff6a00);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255,45,85,0.30);
}

.nr-card-basic .nr-fill-bar {
    height: 4px;
    background: rgba(255,255,255,0.06);
}

.nr-card-basic .nr-fill-bar span {
    background: linear-gradient(90deg, rgba(255,255,255,0.38), rgba(255,255,255,0.18));
    box-shadow: none;
}

/* ---------- СТАТИСТИКА ---------- */
.nr-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    gap: 10px;
}

.nr-trust { color: #00e0ff; }
.nr-card-basic .nr-trust { color: rgba(255,255,255,0.55); }

/* ---------- ДЕЙСТВИЯ КАРТОЧКИ ---------- */
.nr-card-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nr-card-link {
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, filter .18s ease;
    border: 0.5px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    font-family: var(--nr-font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nr-card-link:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 10px 24px rgba(0,0,0,0.30);
}

/* PRIMARY ("Открыть") — огненный градиент как в попапе */
.nr-card-link.primary {
    background: linear-gradient(135deg, #ff8a00 0%, #ff5a00 45%, #ff2d55 100%);
    border-color: rgba(255,138,0,0.45);
    color: #fff;
    box-shadow:
        0 12px 28px rgba(255,90,0,0.40),
        0 0 24px rgba(255,138,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.22);
    text-shadow: 0 1px 2px rgba(0,0,0,0.20);
}

/* Бегущий блик на primary — premium вайб */
.nr-card-link.primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%);
    animation: nrCardLinkShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes nrCardLinkShimmer {
    0%   { transform: translateX(0%); opacity: 0; }
    15%  { opacity: 1; }
    65%  { transform: translateX(420%); opacity: 1; }
    100% { transform: translateX(420%); opacity: 0; }
}

.nr-card-link.primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 16px 38px rgba(255,90,0,0.55),
        0 0 36px rgba(255,138,0,0.36),
        inset 0 1px 0 rgba(255,255,255,0.28);
}

.nr-card-basic .nr-card-link.primary {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.85);
    box-shadow: none;
}

.nr-card-basic .nr-card-link.primary::before { display: none; }

/* ROUTE и TAXI — единый glass-стиль, без яркой бирюзы и желтизны.
   Тёмное стекло с тонким бирюзовым accent — соответствует premium-карточке. */
.nr-card-link.route {
    background: rgba(0,224,255,0.06);
    border-color: rgba(0,224,255,0.30);
    color: #d4faff;
}

.nr-card-link.route:hover {
    background: rgba(0,224,255,0.12);
    border-color: rgba(0,224,255,0.50);
    box-shadow:
        0 10px 24px rgba(0,224,255,0.22),
        0 0 22px rgba(0,224,255,0.18);
}

.nr-card-basic .nr-card-link.route {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.72);
}

.nr-card-link.taxi {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

.nr-card-link.taxi:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.24);
    box-shadow: 0 10px 24px rgba(0,0,0,0.30);
}

/* ---------- LEAFLET POPUP — кастомный nr-venue-popup виден,
     остальные стандартные попапы не используются, но не блокируем их насильно ---------- */

/* ---------- КИНО-РЕЖИМ ---------- */
.nr-dashboard.nr-cinema .nr-content {
    grid-template-columns: 1fr;
}

.nr-dashboard.nr-cinema #nr-list-wrap {
    display: none;
}

/* ---------- B2B КНОПКА ---------- */
.nr-b2b-cta {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,224,255,0.10);
    border: 1px solid rgba(0,224,255,0.35);
    color: rgba(0,224,255,0.92);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease, opacity .15s ease;
    opacity: .58;
    z-index: 9;
}

.nr-card:hover .nr-b2b-cta { opacity: .96; }

/* ---------- ИЗБРАННОЕ ---------- */
.nr-fav-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,200,0,0.10);
    border: 1px solid rgba(255,200,0,0.22);
    color: rgba(255,200,0,0.85);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    opacity: .52;
    z-index: 9;
}

.nr-card:hover .nr-fav-btn { opacity: .96; }

.nr-fav-btn.is-on {
    opacity: 1;
    background: rgba(255,200,0,0.20);
    border-color: rgba(255,200,0,0.55);
    box-shadow: 0 0 16px rgba(255,200,0,0.22);
}

/* ---------- ПУСТОЙ СПИСОК ---------- */
.nr-empty {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    line-height: 1.35;
}

/* ---------- РУЧКА ШТОРКИ ---------- */
.nr-sheet-handle { display: none; }


/* ---------- ЧАТ ПОДДЕРЖКИ ---------- */
.nr-support-mini {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10010;
    pointer-events: none;
}

.nr-support-mini-btn {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,45,85,0.90), rgba(200,20,50,0.90));
    border: 1px solid rgba(255,45,85,0.40);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(12px);
    box-shadow:
        0 12px 32px rgba(255,45,85,0.28),
        0 0 0 1px rgba(255,100,100,0.15) inset;
    transition: transform .18s ease, box-shadow .18s ease;
    font-size: 20px;
}

.nr-support-mini-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255,45,85,0.36);
}

.nr-support-chat {
    position: fixed;
    right: 18px;
    bottom: 78px;
    width: 360px;
    max-width: calc(100vw - 24px);
    border-radius: 22px;
    background:
        radial-gradient(circle at top left,  rgba(0,224,255,0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(255,45,85,0.07), transparent 24%),
        linear-gradient(180deg, rgba(14,15,22,0.98), rgba(8,9,14,0.98));
    border: 1px solid rgba(255,255,255,0.11);
    box-shadow: 0 28px 80px rgba(0,0,0,0.48);
    backdrop-filter: blur(20px);
    z-index: 10011;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(.985);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    overflow: hidden;
}

.nr-support-chat.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nr-support-chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nr-support-chat-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nr-support-chat-title {
    font-size: 14px;
    line-height: 1.2;
    opacity: .96;
    font-family: var(--nr-font-head);
    font-weight: 600;
}

.nr-support-chat-subtitle {
    font-size: 12px;
    line-height: 1.35;
    opacity: .58;
}

.nr-support-chat-close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.05);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nr-support-chat-role-switch {
    display: flex;
    gap: 8px;
    padding: 12px 14px 0;
}

.nr-support-role-btn {
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-family: var(--nr-font-body);
    transition: background .16s ease, border-color .16s ease;
}

.nr-support-role-btn.is-active {
    background: rgba(0,224,255,0.10);
    border-color: rgba(0,224,255,0.28);
    color: #d6fbff;
}

.nr-support-chat-messages {
    height: 240px;
    overflow: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.012);
    flex: 1 1 auto;
}

.nr-support-chat-empty {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,0.58);
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

.nr-support-chat-msg {
    max-width: 86%;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.42;
    word-break: break-word;
}

.nr-support-chat-msg.user {
    align-self: flex-end;
    background: rgba(0,224,255,0.12);
    border: 1px solid rgba(0,224,255,0.24);
    color: #dffbff;
}

.nr-support-chat-msg.admin {
    align-self: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}

.nr-support-chat-msg-meta {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    opacity: .52;
}

.nr-support-chat-form {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nr-support-chat-textarea {
    width: 100%;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-radius: 14px;
    padding: 11px 13px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    color: #fff;
    font-size: 13px;
    resize: none;
    min-height: 82px;
    font-family: var(--nr-font-body);
    transition: border-color .16s ease;
}

.nr-support-chat-textarea::placeholder { color: rgba(255,255,255,0.38); }

.nr-support-chat-textarea:focus {
    border-color: rgba(0,224,255,0.30);
    box-shadow: 0 0 0 3px rgba(0,224,255,0.06);
}

.nr-support-chat-actions { display: flex; justify-content: flex-end; }

.nr-support-chat-send {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,45,85,0.20);
    background: linear-gradient(180deg, rgba(255,45,85,1), rgba(255,45,85,.84));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(255,45,85,0.22);
    font-family: var(--nr-font-head);
    font-weight: 600;
    font-size: 13px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.nr-support-chat-send:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(255,45,85,0.28);
}

/* ---------- МЕДИА КАРТОЧКИ (слайдер) ---------- */
.nr-card:not(.nr-card-basic) {
    padding-bottom: 18px;
}

.nr-card:not(.nr-card-basic) .nr-card-media {
    position: relative;
    height: 214px;
    margin: -22px -22px 14px;
    overflow: hidden;
    border-radius: 20px 20px 16px 16px;
    background: #151820;
    z-index: 1;
}

.nr-card.leader:not(.nr-card-basic) .nr-card-media { margin-top: -46px; }

.nr-card-slider { position: relative; width: 100%; height: 100%; }

.nr-card-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .45s ease, transform 1.8s ease;
}

.nr-card-slide.is-active { opacity: 1; transform: scale(1); }

.nr-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(8,10,14,0.10) 35%, rgba(8,10,14,0.36));
    pointer-events: none;
}

.nr-card-media-empty {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), #141821;
}

.nr-card-media-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

.nr-card-media-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.18);
    transition: transform .2s ease, background .2s ease;
}

.nr-card-media-dot.is-active {
    background: #fff;
    opacity: 1;
    transform: scale(1.06);
}

.nr-card:not(.nr-card-basic) .nr-title {
    margin-top: 2px;
    font-size: 19px;
    line-height: 1.22;
    padding: 0 2px;
    font-family: var(--nr-font-head);
    /* Flex-вёрстка: название + badge "Проверено" (или "Стандарт") на одной
       строке. Badge живёт inline-flex, при нехватке места переносится но
       остаётся attached к названию. align-items:baseline даёт визуальное
       выравнивание текста и badge по нижней линии шрифта. */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    column-gap: 10px;
    row-gap: 4px;
}
.nr-card:not(.nr-card-basic) .nr-hours        { margin-top: 10px; padding: 0 2px; }
.nr-card:not(.nr-card-basic) .nr-feature-row  { margin-top: 10px; padding: 0 2px; }
.nr-card:not(.nr-card-basic) .nr-address      {
    margin-top: 12px;
    padding: 6px 12px 6px 10px;
    color: rgba(255,236,220,0.92);
    align-self: flex-start;
}

.nr-card:not(.nr-card-basic) .nr-fill-bar {
    margin-top: 14px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
}

.nr-card:not(.nr-card-basic) .nr-fill-bar span {
    background: linear-gradient(90deg, #ff8a00, #ff5a00);
}

.nr-card:not(.nr-card-basic) .nr-stats { margin-top: 10px; align-items: center; font-size: 13px; }
.nr-card:not(.nr-card-basic) .nr-trust { color: #9fefff; }
.nr-card:not(.nr-card-basic) .nr-card-actions { margin-top: 16px; gap: 10px; }

.nr-card:not(.nr-card-basic) .nr-card-link {
    min-height: 40px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 12px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.20);
}

/* Primary в premium-карточке — НЕ переопределяем, наследует огненный градиент.
   Только усиливаем тень. */
.nr-card:not(.nr-card-basic) .nr-card-link.primary {
    box-shadow:
        0 14px 30px rgba(255,90,0,0.42),
        0 0 26px rgba(255,138,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

.nr-card:not(.nr-card-basic) .nr-card-link.route {
    background: rgba(0,224,255,0.08);
    border-color: rgba(0,224,255,0.28);
    color: #d4faff;
}

.nr-card:not(.nr-card-basic) .nr-card-link.taxi {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.14);
    color: #fff;
}

.nr-card:not(.nr-card-basic) .nr-verified-badge { transform: translateY(-1px); }

.nr-card:not(.nr-card-basic) .nr-fav-btn,
.nr-card:not(.nr-card-basic) .nr-b2b-cta { top: 14px; }

.nr-card:not(.nr-card-basic) .nr-fav-btn {
    left: 14px;
    width: 30px;
    height: 30px;
    background: rgba(15,18,24,0.68);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(8px);
    color: #ffd15a;
    opacity: .90;
}

.nr-card:not(.nr-card-basic) .nr-b2b-cta {
    right: 14px;
    width: 30px;
    height: 30px;
    background: rgba(15,18,24,0.68);
    border: 1px solid rgba(0,224,255,0.32);
    backdrop-filter: blur(8px);
    color: #8df5ff;
    opacity: .90;
}

/* ---------- МОБИЛЬНЫЕ ФИЛЬТРЫ (горизонтальный скролл) ---------- */
.nr-mobile-inline-filters { display: none; }


/* ---------- МОБАЙЛ ---------- */
@media (max-width: 980px) {
    /* ================================================
       APP-LIKE LAYOUT
       Dashboard = fullscreen viewport.
       Карта = абсолютный фон на весь экран.
       Хедер + фильтры = absolute floating поверх карты.
       Шторка = absolute bottom внутри dashboard,
                  не может вылезти за пределы.
       ================================================ */
    .nr-dashboard {
        padding: 0 !important;
        margin: 0 !important;
        position: relative;
        width: 100vw;
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        /* Убираем glass-обёртку на мобиле — она съедала драгоценную высоту */
        background: #070810;
        border: none !important;
        border-radius: 0 !important;
    }

    /* Блок нижних секций (тарифы, SEO) — скрывается когда шторка в max.
       Так юзер не видит контент сайта под app-view и ощущает монолит.
       В min-режиме доступен обычным скроллом страницы.
       padding-bottom учитывает высоту шторки (18dvh + запас) чтобы
       последний блок (тарифы) не перекрывался шторкой при скролле. */
    .nr-page-below {
        position: relative;
        z-index: 2;
        background: #070810;
        padding: 18px 12px calc(20dvh + 72px);
    }

    body.nr-sheet-max-active .nr-page-below {
        display: none;
    }

    /* Фон page — чтобы скрыть просветы по бокам */
    body {
        background: #070810;
    }

    /* Когда шторка в max — блокируем скролл страницы.
       ВАЖНО: position:fixed на body убивает position:fixed дочерних элементов
       (nr-list-column), поэтому используем только overflow:hidden + touch-action. */
    body.nr-sheet-max-active,
    body.nr-lock-scroll {
        overflow: hidden !important;
        touch-action: none;
    }

    .nr-header {
        margin-bottom: 12px;
        flex-direction: column;
        gap: 12px;
    }


    .nr-actions {
        margin-bottom: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 8px;
        z-index: 50;
        border-radius: 18px;
        position: sticky;
        top: calc(env(safe-area-inset-top, 0px) + 8px);
        background: rgba(8,8,16,0.95);
        backdrop-filter: blur(20px) saturate(180%);
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        touch-action: pan-x;
        contain: layout paint style;
    }

    .nr-actions::-webkit-scrollbar { height: 0; }

    .nr-btn {
        border-radius: 999px;
        padding: 10px 14px;
        min-height: 42px;
        white-space: nowrap;
        transform: translateZ(0);
        will-change: auto;
    }

    .nr-btn .nr-lbl { font-size: 12px; }

    .nr-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #map {
        height: 100dvh !important;
        width: 100%;
        border-radius: 0 !important;
        position: absolute !important;
        inset: 0;
        top: 0;
        left: 0;
        z-index: 0;
        contain: layout paint style;
        pointer-events: auto;
    }

    /* .nr-map — обёртка карты — превращается в fullscreen слой */
    .nr-map {
        position: absolute !important;
        inset: 0;
        height: 100dvh;
        width: 100%;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        z-index: 0;
    }

    /* Контент (содержит map) — тоже fullscreen */
    .nr-content {
        position: absolute !important;
        inset: 0;
        width: 100%;
        height: 100dvh;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 0;
        display: block;
    }

    /* ===== КОМПАКТНЫЙ ХЕДЕР поверх карты (floating) ===== */
    .nr-header-compact {
        position: absolute !important;
        top: 10px;
        left: 12px;
        right: 12px;
        z-index: 100;
        margin: 0 !important;
        padding: 8px 12px;
        border-radius: 14px;
        background: rgba(12,14,22,0.55);
        border: 1px solid rgba(255,255,255,0.08);
        backdrop-filter: blur(14px) saturate(1.3);
        -webkit-backdrop-filter: blur(14px) saturate(1.3);
        box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    }
    .nr-header-compact .nr-brand-title {
        font-size: 18px;
    }
    .nr-header-compact .nr-brand-meta {
        margin-top: 4px;
        padding: 2px 8px;
        font-size: 10.5px;
    }
    .nr-header-compact .nr-trend-line {
        display: none; /* На мобиле — скрываем, займём позже в футере/аналитике */
    }

    /* ===== FLOATING ПАНЕЛЬ ФИЛЬТРОВ поверх карты ===== */
    .nr-actions-floating {
        position: absolute !important;
        top: 80px;           /* под хедер */
        left: 12px;
        right: 12px;
        width: auto !important;
        max-width: calc(100vw - 24px);
        z-index: 100;
        margin: 0 !important;
        padding: 6px !important;
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        /* Чуть более прозрачная панель — карта слегка видна сквозь
           для ощущения монолита app. */
        background: rgba(12,14,22,0.45) !important;
        backdrop-filter: blur(10px) saturate(1.3);
        -webkit-backdrop-filter: blur(10px) saturate(1.3);
    }
    .nr-actions-floating::-webkit-scrollbar { display: none; }
    .nr-actions-floating .nr-btn {
        flex: 0 0 auto;
    }

    /* Шторка ВСЕГДА пришпилена к низу viewport (position: fixed).
       z-index 9998 — чуть ниже fab-стека (9999), но выше всего остального. */
    .nr-list-column {
        position: fixed !important;
        left: 8px;
        right: 8px;
        bottom: 8px;
        top: auto;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        gap: 0;
        pointer-events: none;
        /* Единый transition — убран дубль ниже */
        transition: transform 0.35s cubic-bezier(.22,1,.36,1);
        will-change: transform;
    }
    .nr-list-column > * {
        pointer-events: auto;
    }

    /* Полное скрытие шторки — режим "чистая карта" */
    body.nr-sheet-hidden .nr-list-column {
        transform: translateY(110%);
        pointer-events: none !important;
    }
    body.nr-sheet-hidden .nr-list-column > * {
        pointer-events: none;
    }

    .nr-mobile-inline-filters {
        display: block;
        position: relative;
        padding: 8px 14px 8px;
        background: rgba(10,10,18,0.98);
        border-top: 1px solid rgba(255,255,255,0.06);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        pointer-events: auto;
        margin-top: 0;
        overflow: hidden;
        z-index: 1;
    }

    /* Плашка активного фильтра — НЕ fixed, живёт в нормальном потоке.
       На мобиле она сидит между топ-баром и картой. Никаких наложений. */
    .nr-mode-hint {
        position: relative;
        margin: 0 8px 8px;
        padding: 8px 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        border-radius: 14px;
        background: rgba(10,10,18,0.78);
        -webkit-backdrop-filter: blur(20px) saturate(1.4);
        backdrop-filter: blur(20px) saturate(1.4);
        border: 0.5px solid rgba(255,138,0,0.22);
        box-shadow: 0 14px 32px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.05);
        scrollbar-width: none;
        z-index: 1;
    }
    .nr-mode-hint::-webkit-scrollbar { display: none; }

    .nr-mode-hint::before {
        flex: 0 0 auto;
    }

    .nr-mode-pill {
        flex: 0 0 auto;
        font-size: 12px;
        padding: 6px 12px 6px 10px;
    }

    .nr-mobile-inline-filters-scroll {
        display: flex;
        align-items: center;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        padding: 0 34px 2px 0;
    }

    .nr-mobile-inline-filters-scroll::-webkit-scrollbar { display: none; }

    .nr-mobile-inline-filter {
        appearance: none;
        border: none;
        background: transparent;
        color: rgba(255,255,255,0.58);
        padding: 0;
        margin: 0;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        min-height: auto;
        font-size: 15px;
        line-height: 1.1;
        font-weight: 500;
        cursor: pointer;
        transition: color .16s ease, opacity .16s ease, transform .16s ease;
        -webkit-tap-highlight-color: transparent;
        white-space: nowrap;
        flex: 0 0 auto;
        letter-spacing: .01em;
        font-family: var(--nr-font-body);
    }

    .nr-mobile-inline-filter-emoji {
        font-size: 18px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-1px);
        opacity: .92;
    }

    .nr-mobile-inline-filter-label { display: inline-block; white-space: nowrap; }
    .nr-mobile-inline-filter:hover { color: rgba(255,255,255,0.84); }

    .nr-mobile-inline-filter.is-active {
        color: #ffffff;
        text-shadow: 0 0 18px rgba(255,255,255,0.10);
    }

    .nr-mobile-inline-filter.is-active .nr-mobile-inline-filter-emoji {
        opacity: 1;
        transform: translateY(-1px) scale(1.05);
    }

    .nr-mobile-inline-filter:active { transform: scale(.985); }

    #nr-list-wrap {
        position: relative;
        left: auto; right: auto; bottom: auto;
        z-index: 1;
        border-radius: 22px 22px 0 0;
        border: 1px solid rgba(255,255,255,0.08);
        border-bottom: none;
        background:
            radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,107,53,0.06), transparent 60%),
            radial-gradient(ellipse 60% 40% at 100% 0%, rgba(168,85,247,0.05), transparent 55%),
            linear-gradient(180deg, #0c0d12 0%, #07080c 100%);
        box-shadow:
            0 -24px 70px rgba(0,0,0,0.65),
            0 -1px 0 rgba(255,255,255,0.06);
        overflow: hidden;
        transition: max-height .18s ease;
        max-height: 16vh;
        display: flex;
        flex-direction: column;
        will-change: auto;
        transform: translateZ(0);
        contain: layout paint style;
        pointer-events: auto;
        touch-action: none;
    }

    /* Когда шторка в max — она fixed поверх карты.
       Карта продолжает скроллится/зумиться только через FAB "где я". */

    .nr-sheet-handle {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px 12px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        cursor: grab;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: none;
        pointer-events: auto;
        position: relative;
        z-index: 2;
        /* Большая поверхность для жеста — palm/finger ловится точнее */
        min-height: 48px;
    }

    .nr-sheet-handle:active { cursor: grabbing; }

    .nr-sheet-grip {
        width: 44px;
        height: 4px;
        border-radius: 999px;
        /* Более яркий и широкий grip — явный сигнал «потяни» */
        background: linear-gradient(90deg, rgba(255,138,0,0.55), rgba(255,45,85,0.55));
        flex: 0 0 auto;
        transition: background 0.2s ease, width 0.2s ease, opacity 0.2s ease;
        position: absolute;
        left: 50%;
        top: 6px;
        transform: translateX(-50%);
        box-shadow: 0 0 10px rgba(255,107,53,0.30);
    }
    .nr-sheet-handle:hover .nr-sheet-grip,
    .nr-sheet-handle:active .nr-sheet-grip {
        background: linear-gradient(90deg, rgba(255,138,0,0.85), rgba(255,45,85,0.85));
        width: 56px;
    }

    /* ===== ПОДВАЛ ШТОРКИ — ссылка на блоки ниже =====
       Появляется в конце списка карточек. Юзер видит: «есть ещё что-то».
       Клик → плавный скролл к "О сервисе" с предварительным закрытием шторки. */
    .nr-list-footer-link {
        display: none;
    }
}

/* На ПК footer-ссылка не нужна — есть отдельный блок */
@media (min-width: 981px) {
    .nr-list-footer-link {
        display: none !important;
    }
}

/* На мобиле — показываем подвал (только в max-state, в min он скрыт) */
@media (max-width: 980px) {
    .nr-list-footer-link {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        /* Компактнее чем раньше — не должна доминировать над списком */
        margin: 6px 14px calc(8px + env(safe-area-inset-bottom, 0px));
        padding: 10px 14px;
        border-radius: 12px;
        text-decoration: none;
        font-family: var(--nr-font-head, system-ui);
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: #fff !important;
        /* Огненный градиент — premium CTA, но компактный */
        background: linear-gradient(135deg, #ff2d55 0%, #ff6b35 50%, #ff9a00 100%) !important;
        border: 1px solid rgba(255,107,53,0.40);
        flex: 0 0 auto;
        box-shadow:
            0 8px 20px rgba(255,45,85,0.32),
            0 0 22px rgba(255,107,53,0.26),
            inset 0 1px 0 rgba(255,255,255,0.16);
        transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.22s ease;
        position: relative;
        overflow: hidden;
    }
    /* Бегущий блик слева направо — premium вайб */
    .nr-list-footer-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: -50%;
        width: 50%;
        height: 100%;
        background: linear-gradient(120deg,
            transparent 0%,
            rgba(255,255,255,0.15) 50%,
            transparent 100%);
        animation: nrFooterShimmer 3.6s ease-in-out infinite;
        pointer-events: none;
    }
    @keyframes nrFooterShimmer {
        0%   { transform: translateX(0%); }
        70%  { transform: translateX(400%); }
        100% { transform: translateX(400%); }
    }
    .nr-list-footer-link:active {
        transform: scale(0.98);
        filter: brightness(1.1);
        box-shadow:
            0 14px 32px rgba(255,45,85,0.50),
            0 0 36px rgba(255,107,53,0.45),
            inset 0 1px 0 rgba(255,255,255,0.22);
    }
    .nr-list-footer-text {
        font-family: var(--nr-font-head, system-ui);
        position: relative;
        z-index: 1;
    }
    .nr-list-footer-arrow {
        font-size: 15px;
        opacity: 1;
        position: relative;
        z-index: 1;
        animation: nrListFooterArrow 1.8s ease-in-out infinite;
    }
    @keyframes nrListFooterArrow {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(3px); }
    }

    .nr-sheet-title {
        font-size: 13px;
        opacity: .82;
        flex: 0 0 auto;
        font-family: var(--nr-font-head);
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .nr-sheet-swipe-hint {
        margin-left: auto;
        margin-right: 8px;
        font-size: 11px;
        opacity: .52;
        white-space: nowrap;
    }

    .nr-sheet-state {
        font-size: 12px;
        opacity: .52;
        flex: 0 0 auto;
    }

    .nr-list { min-height: auto; gap: 0; }

    .nr-list-inner {
        padding: 12px 14px 14px;
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 14px;
        scroll-padding-right: 14px;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        contain: layout paint style;
        pointer-events: auto;
    }

    .nr-list-inner::-webkit-scrollbar { height: 0; }

    .nr-card {
        padding: 16px;
        border-radius: 18px;
        flex: 0 0 86%;
        max-width: 86%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        transform: translateZ(0);
        will-change: auto;
        backface-visibility: hidden;
        /* Premium graphite glassmorphism. БЕЗ СИНЕВЫ.
           Глубокий чёрно-серый + лёгкие огненные акценты + неоновая
           0.5px бирюзовая граница. backdrop-filter blur(22px) даёт
           настоящее «стекло» поверх карты. */
        background:
            radial-gradient(ellipse 70% 40% at 100% 0%, rgba(255,107,53,0.10), transparent 55%),
            radial-gradient(ellipse 60% 50% at 0% 100%, rgba(168,85,247,0.07), transparent 55%),
            rgba(12,12,16,0.62) !important;
        -webkit-backdrop-filter: blur(22px) saturate(1.5);
        backdrop-filter: blur(22px) saturate(1.5);
        border: 0.5px solid rgba(0,224,255,0.22) !important;
        box-shadow:
            0 24px 56px rgba(0,0,0,0.55),
            0 0 0 1px rgba(0,224,255,0.05),
            0 0 32px rgba(168,85,247,0.06),
            inset 0 1px 0 rgba(255,255,255,0.06) !important;
        transition: border-color .22s ease, background .22s ease, transform .26s ease, box-shadow .26s ease;
        pointer-events: auto;
        display: flex;
        flex-direction: column;
    }

    .nr-card:hover,
    .nr-card.active {
        /* Active/hover — фиолетовый неон вместо бирюзы */
        border-color: rgba(168,85,247,0.55) !important;
        background:
            radial-gradient(ellipse 70% 40% at 100% 0%, rgba(255,107,53,0.14), transparent 55%),
            radial-gradient(ellipse 60% 50% at 0% 100%, rgba(168,85,247,0.12), transparent 55%),
            rgba(16,14,22,0.70) !important;
        box-shadow:
            0 30px 64px rgba(0,0,0,0.60),
            0 0 0 1px rgba(168,85,247,0.20),
            0 0 44px rgba(168,85,247,0.22),
            inset 0 1px 0 rgba(255,255,255,0.08) !important;
    }

    /* Кнопки действий всегда прижаты к низу */
    .nr-card .nr-card-actions {
        margin-top: auto;
        flex-shrink: 0;
        padding-top: 12px;
    }

    .nr-card-basic {
        background: linear-gradient(180deg, rgba(255,255,255,0.024), rgba(255,255,255,0.010)), #10141b;
        border: 1px solid rgba(255,255,255,0.05);
    }

    /* Лидер на мобиле — полные premium эффекты как на ПК.
       Раньше тени были отключены для производительности, но современные
       мобильные GPU справляются с этим без проблем. */
    .nr-card.leader {
        padding-top: 42px;
        animation: nrLeaderGlow 3s ease-in-out infinite;
        border: 0.5px solid rgba(255,107,53,0.65) !important;
        background:
            radial-gradient(ellipse 80% 40% at 50% 0%, rgba(255,107,53,0.18), transparent 55%),
            radial-gradient(ellipse 60% 50% at 100% 100%, rgba(168,85,247,0.10), transparent 55%),
            rgba(18,12,18,0.68) !important;
    }

    /* Градиентное blur-кольцо за карточкой лидера — как на ПК */
    .nr-card.leader::after {
        display: block !important;
        content: "";
        position: absolute;
        inset: -3px;
        border-radius: 21px;
        background: linear-gradient(135deg, rgba(255,107,53,0.55), rgba(255,45,85,0.40), rgba(168,85,247,0.45));
        z-index: -1;
        opacity: 0.5;
        pointer-events: none;
        filter: blur(6px);
    }

    .nr-leader-badge {
        top: 10px;
        right: 12px;
        left: auto;
        transform: none;
        font-size: 10px;
        padding: 5px 10px;
    }

    .nr-title { font-size: 16px; }

    .nr-meta, .nr-why, .nr-status, .nr-hours, .nr-stats { font-size: 12px; }

    .nr-card-actions { margin-top: 14px; gap: 8px; }

    /* Базовая card-link на мобиле — но primary СОХРАНЯЕТ свой огненный
       glow box-shadow, не сбрасываем его до none! */
    .nr-card-link:not(.primary) {
        min-height: 36px;
        padding: 9px 14px;
        font-size: 12px;
        border-radius: 999px;
        box-shadow: none;
    }

    /* Primary "Открыть" — сохраняет огненную тень и shimmer-блик */
    .nr-card-link.primary {
        min-height: 36px;
        padding: 9px 16px;
        font-size: 12px;
        border-radius: 999px;
    }

    /* ================================================================
       СОСТОЯНИЯ ШТОРКИ — 2 snap-точки: min / max
       ================================================================
       ВЫСОТЫ ШТОРКИ ВЫНЕСЕНЫ В КОНЕЦ ФАЙЛА (см. блок «PREMIUM SHEET»).
       Здесь оставлены ТОЛЬКО структурные правила для контента карточек.
       Это убирает рассинхрон значений между двумя media-блоками. */

    /* В max-state карточка автоматически растягивается до контента.
       Никакого max-height/overflow:auto — это создаёт вложенный скролл,
       который ломает горизонтальный snap-pan на iOS. Контент карточки
       должен помещаться полностью, а если не помещается — скроллится
       вся шторка через .nr-list-inner. */
    .nr-dashboard.nr-sheet-max .nr-card {
        max-height: none;
        overflow: visible;
    }

    /* В min-state карточка имеет фиксированную высоту = высоте шторки
       минус handle и фильтры. Содержимое карточки (compact-вариант)
       подобрано так, чтобы поместиться без обрезки. */
    .nr-dashboard.nr-sheet-min .nr-card,
    .nr-dashboard.nr-sheet-collapsed .nr-card {
        max-height: none;
        overflow: hidden;
    }

/* Кнопка "Подробнее о проекте и тарифах" — скрытие.
   Три уровня защиты:
   1. CSS-класс на #nr-dashboard (работает до порталинга)
   2. data-атрибут на самой кнопке (работает после порталинга)
   3. body-класс (синхронизируется в setSheetState) */
.nr-dashboard.nr-sheet-min .nr-list-footer-link,
.nr-dashboard.nr-sheet-collapsed .nr-list-footer-link,
body.nr-sheet-min-active .nr-list-footer-link,
.nr-list-footer-link[data-sheet-state="min"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nr-dashboard.nr-sheet-max .nr-list-footer-link,
.nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
body.nr-sheet-max-active .nr-list-footer-link {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.nr-list-footer-link[data-sheet-state="min"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nr-dashboard.nr-sheet-max .nr-list-footer-link,
.nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
body.nr-sheet-max-active .nr-list-footer-link {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

    .nr-dashboard.nr-cinema .nr-list-column { display: none; }

    .nr-more-backdrop { z-index: 2147483646; }

    .nr-more-panel {
        left: 0 !important; right: 0 !important;
        top: auto !important; bottom: 0 !important;
        width: auto !important;
        max-height: min(86vh, calc(100dvh - 8px));
        border-radius: 28px 28px 0 0;
        padding: 0;
        /* Premium glass в духе карточек и попапов */
        background:
            radial-gradient(ellipse at top left,  rgba(255,45,85,0.12), transparent 45%),
            radial-gradient(ellipse at top right, rgba(168,85,247,0.10), transparent 45%),
            linear-gradient(180deg, rgba(18,16,30,0.96) 0%, rgba(8,9,16,0.98) 100%) !important;
        -webkit-backdrop-filter: blur(26px) saturate(1.4);
        backdrop-filter: blur(26px) saturate(1.4);
        border: 1px solid rgba(255,45,85,0.18) !important;
        border-bottom: none !important;
        border-left: none; border-right: none;
        overflow: auto;
        box-shadow:
            0 -24px 70px rgba(0,0,0,0.70),
            0 -1px 0 rgba(255,45,85,0.15),
            inset 0 1px 0 rgba(255,255,255,0.05);
        /* Без contain — чтобы backdrop-filter работал корректно */
        transition: transform 0.32s cubic-bezier(.22,1,.36,1), opacity 0.22s ease;
        will-change: transform;
    }

    .nr-more-panel.is-mobile-sheet { transform: translateY(calc(100% + 24px)); }
    .nr-more-panel.is-mobile-sheet.is-open { transform: translateY(0); }

    /* Во время свайпа drag — снимаем transition */
    .nr-more-panel.is-dragging { transition: none !important; }

    .nr-more-head {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 10px 14px 12px;
        background: rgba(12,12,20,0.97);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .nr-more-sheet-grip { display: block; }
    .nr-more-title { font-size: 15px; }
    .nr-more-subtitle { font-size: 12px; }
    .nr-more-close { width: 40px; height: 40px; border-radius: 14px; }

    .nr-selected-bar { padding: 12px 14px 2px; margin-bottom: 0; }

    .nr-filter-section { padding: 14px 14px 0; margin-top: 0; }
    .nr-filter-section + .nr-filter-section { margin-top: 14px; }
    .nr-filter-section-title { margin-bottom: 12px; font-size: 11px; }

    .nr-filter-pills { gap: 10px; }

    .nr-filter-pill {
        min-height: 44px;
        padding: 11px 14px;
        font-size: 13px;
        box-shadow: none;
    }

    .nr-filter-pills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .nr-filter-pills-grid .nr-filter-pill { min-width: 0; width: 100%; }

    .nr-filter-section-format,
    .nr-filter-section-options { display: none !important; }

    .nr-more-grid { gap: 12px; }

    .nr-more-item {
        min-height: 60px;
        border-radius: 18px;
        padding: 12px;
        background: rgba(255,255,255,0.04);
    }

    .nr-more-item:hover { transform: none !important; }
    .nr-mi-ic { width: 38px; height: 38px; }

    .nr-more-footer {
        bottom: 0;
        margin: 14px 0 0;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(10,10,18,0.97);
        backdrop-filter: blur(18px);
    }

    .nr-more-footer-btn { min-height: 48px; font-size: 14px; }

    .nr-support-mini {
        right: 10px;
        bottom: calc(118px + env(safe-area-inset-bottom, 0px));
        z-index: 10000;
    }

    .nr-support-chat {
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        bottom: calc(174px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px;
    }

    /* Touch оптимизация */
    .nr-card, .nr-btn, .nr-more-item, .nr-filter-pill,
    #nr-list-wrap, .nr-actions,
    .nr-support-mini-btn, .nr-support-chat-send,
    .nr-support-chat-close, .nr-support-role-btn,
    .nr-mobile-inline-filter {
        -webkit-tap-highlight-color: transparent;
    }

    .nr-card:hover, .nr-btn:hover, .nr-more-item:hover {
        transform: none !important;
    }

    .nr-card:active, .nr-btn:active, .nr-filter-pill:active,
    .nr-more-item:active,
    .nr-support-mini-btn:active, .nr-support-chat-send:active,
    .nr-support-role-btn:active {
        transform: scale(.985);
    }

    .nr-card a, .nr-card button,
    .nr-more-panel button, 
    .leaflet-marker-icon { pointer-events: auto; }

    /* Анимация лидера и его glow — ВКЛЮЧЕНЫ на мобиле для premium-вайба.
       Раньше отключались для производительности, но современные мобилки
       без проблем обрабатывают box-shadow + transform animations. */

    .nr-card:not(.nr-card-basic) .nr-card-media {
        /* Premium увеличенное превью: с 168px до 260px (~+55%).
           Это критичный visual-hook — фото становится главным героем карточки. */
        height: 260px;
        margin: -16px -16px 14px;
        border-radius: 18px 18px 16px 16px;
    }

    .nr-card.leader:not(.nr-card-basic) .nr-card-media { margin-top: -42px; }

    .nr-card:not(.nr-card-basic) .nr-title { font-size: 17px; line-height: 1.25; }
    .nr-card:not(.nr-card-basic) .nr-feature-row { gap: 6px; }
    .nr-card:not(.nr-card-basic) .nr-feature-chip { padding: 5px 9px; font-size: 11px; }

    .nr-card:not(.nr-card-basic) .nr-card-link {
        min-height: 38px;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 700;
    }

    .nr-card:not(.nr-card-basic) .nr-fav-btn,
    .nr-card:not(.nr-card-basic) .nr-b2b-cta { top: 12px; width: 32px; height: 32px; }

    .nr-card:not(.nr-card-basic) .nr-fav-btn  { left: 12px; }
    .nr-card:not(.nr-card-basic) .nr-b2b-cta  { right: 12px; }

    .nr-social-bar {
        gap: 10px;
    }

    .nr-social-btn {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .nr-btn .nr-lbl { font-size: 11px; }
    .nr-card { flex: 0 0 88%; max-width: 88%; }
    .nr-filter-pills-grid { grid-template-columns: 1fr; }

    .nr-support-chat {
        bottom: calc(166px + env(safe-area-inset-bottom, 0px));
    }

    .nr-card:not(.nr-card-basic) .nr-card-media { height: 230px; }
    .nr-card:not(.nr-card-basic) .nr-card-actions { gap: 7px; }
    .nr-card:not(.nr-card-basic) .nr-card-link { padding: 9px 14px; }

    .nr-mobile-inline-filter { gap: 6px; font-size: 14px; }
    .nr-mobile-inline-filter-emoji { font-size: 17px; }
    .nr-mobile-inline-filters { padding: 7px 12px 7px; }
    .nr-mobile-inline-filters-scroll { gap: 14px; padding-right: 32px; }

    .nr-social-btn { flex: 1 1 100%; font-size: 12px; }
}


/* ---------- АНИМАЦИЯ ЗАГРУЗКИ ---------- */
.nr-dashboard.nr-reloading .nr-content {
    opacity: 0.22;
    transition: opacity 260ms ease;
}
/* ============================================================
   NIGHTRADAR — РАСШИРЕННЫЕ БЛОКИ ГЛАВНОЙ СТРАНИЦЫ v2.0
   SEO-блок, блок для владельцев, улучшенные карточки,
   входящие анимации, premium визуал
   ============================================================ */

/* ---------- ВХОДЯЩИЕ АНИМАЦИИ ---------- */
@keyframes nrFadeUp {
    0%   { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes nrFadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes nrGlowPulse {
    0%,100% { opacity: 0.5; }
    50%      { opacity: 1; }
}
@keyframes nrSlideRight {
    0%   { transform: translateX(-12px); opacity: 0; }
    100% { transform: translateX(0);     opacity: 1; }
}
@keyframes nrCountUp {
    0%   { opacity: 0; transform: scale(0.88); }
    60%  { transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes nrShimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.nr-fade-up  { animation: nrFadeUp  .55s ease both; }
.nr-fade-in  { animation: nrFadeIn  .45s ease both; }
.nr-delay-1  { animation-delay: .08s; }
.nr-delay-2  { animation-delay: .16s; }
.nr-delay-3  { animation-delay: .24s; }
.nr-delay-4  { animation-delay: .32s; }
.nr-delay-5  { animation-delay: .40s; }

/* ---------- РАЗДЕЛ: ПОЧЕМУ NIGHTRADAR (SEO) ---------- */
.nr-why-section {
    margin-top: 56px;
    padding: 0 0 8px;
    position: relative;
}

.nr-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0,224,255,0.08);
    border: 1px solid rgba(0,224,255,0.20);
    color: rgba(0,224,255,0.88);
    font-size: 11px;
    font-family: var(--nr-font-head);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.nr-section-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nr-cyan);
    box-shadow: 0 0 8px var(--nr-cyan);
    animation: nrGlowPulse 2s ease-in-out infinite;
}

.nr-section-title {
    font-family: var(--nr-font-head);
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #fff 40%, rgba(0,224,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nr-section-subtitle {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.60);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Сетка фич */
.nr-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 16px;
}

.nr-why-card {
    background:
        radial-gradient(circle at top left, rgba(0,224,255,0.07), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)),
        #10121a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.nr-why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent 40%);
    pointer-events: none;
}

.nr-why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 22px 55px rgba(0,0,0,0.28);
}

/* Цветовые акценты карточек */
.nr-why-card.accent-cyan  { --card-accent: var(--nr-cyan); }
.nr-why-card.accent-red   { --card-accent: var(--nr-red); }
.nr-why-card.accent-purple{ --card-accent: var(--nr-purple); }
.nr-why-card.accent-amber { --card-accent: var(--nr-amber); }
.nr-why-card.accent-green { --card-accent: var(--nr-green); }
.nr-why-card.accent-pink  { --card-accent: var(--nr-pink); }

.nr-why-card.accent-cyan   { background: radial-gradient(circle at top left, rgba(0,224,255,0.10), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), #10121a; border-color: rgba(0,224,255,0.14); }
.nr-why-card.accent-red    { background: radial-gradient(circle at top left, rgba(255,45,85,0.09), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), #10121a; border-color: rgba(255,45,85,0.14); }
.nr-why-card.accent-purple { background: radial-gradient(circle at top left, rgba(168,85,247,0.09), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), #10121a; border-color: rgba(168,85,247,0.14); }
.nr-why-card.accent-amber  { background: radial-gradient(circle at top left, rgba(245,158,11,0.09), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), #10121a; border-color: rgba(245,158,11,0.14); }
.nr-why-card.accent-green  { background: radial-gradient(circle at top left, rgba(16,185,129,0.09), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), #10121a; border-color: rgba(16,185,129,0.14); }
.nr-why-card.accent-pink   { background: radial-gradient(circle at top left, rgba(244,114,182,0.09), transparent 45%), linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)), #10121a; border-color: rgba(244,114,182,0.14); }

.nr-why-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    background: rgba(var(--card-accent, 0,224,255), 0.08);
    border: 1px solid rgba(var(--card-accent, 0,224,255), 0.18);
    flex-shrink: 0;
}

.nr-why-card.accent-cyan   .nr-why-icon { background: rgba(0,224,255,0.10); border-color: rgba(0,224,255,0.22); }
.nr-why-card.accent-red    .nr-why-icon { background: rgba(255,45,85,0.10);  border-color: rgba(255,45,85,0.22); }
.nr-why-card.accent-purple .nr-why-icon { background: rgba(168,85,247,0.10); border-color: rgba(168,85,247,0.22); }
.nr-why-card.accent-amber  .nr-why-icon { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.22); }
.nr-why-card.accent-green  .nr-why-icon { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.22); }
.nr-why-card.accent-pink   .nr-why-icon { background: rgba(244,114,182,0.10);border-color: rgba(244,114,182,0.22); }

.nr-why-card-title {
    font-family: var(--nr-font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: #fff;
}

.nr-why-card-text {
    font-size: 13px;
    line-height: 1.52;
    color: rgba(255,255,255,0.60);
}

/* ---------- СЧЁТЧИКИ СТАТИСТИКИ ---------- */
.nr-stats-row {
    display: flex;
    gap: 2px;
    margin-top: 48px;
    margin-bottom: 56px;
    padding: 28px 32px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 60% 100% at 0% 50%, rgba(0,224,255,0.07), transparent),
        radial-gradient(ellipse 60% 100% at 100% 50%, rgba(168,85,247,0.07), transparent),
        rgba(255,255,255,0.028);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    position: relative;
}

.nr-stats-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.018), transparent 40%);
    pointer-events: none;
}

.nr-stat-item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.nr-stat-item + .nr-stat-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255,255,255,0.08);
}

.nr-stat-num {
    font-family: var(--nr-font-head);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 30%, var(--nr-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: nrCountUp .7s ease both;
}

.nr-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.52);
    letter-spacing: 0.02em;
    line-height: 1.3;
    max-width: 120px;
}

/* ---------- БЛОК ДЛЯ ВЛАДЕЛЬЦЕВ ЗАВЕДЕНИЙ ---------- */
.nr-b2b-section {
    margin: 64px 0 8px;
    position: relative;
}

.nr-b2b-banner {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    padding: 52px 48px;
    background:
        radial-gradient(ellipse 80% 120% at 0% 50%, rgba(255,45,85,0.22), transparent 55%),
        radial-gradient(ellipse 80% 120% at 100% 50%, rgba(168,85,247,0.20), transparent 55%),
        radial-gradient(ellipse 50% 80% at 50% 0%, rgba(0,224,255,0.10), transparent 60%),
        linear-gradient(135deg, #100a14 0%, #0d0b18 50%, #0a0e18 100%);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
        0 32px 90px rgba(0,0,0,0.36),
        0 0 0 1px rgba(255,45,85,0.05) inset,
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Декоративные линии на фоне */
.nr-b2b-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 28px,
            rgba(255,255,255,0.012) 28px,
            rgba(255,255,255,0.012) 29px
        );
    pointer-events: none;
}

/* Декоративное свечение */
.nr-b2b-banner::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,45,85,0.18), transparent 65%);
    pointer-events: none;
    animation: nrGlowPulse 4s ease-in-out infinite;
}

.nr-b2b-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.nr-b2b-left {}

.nr-b2b-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,45,85,0.12);
    border: 1px solid rgba(255,45,85,0.30);
    color: rgba(255,180,195,0.95);
    font-size: 11px;
    font-family: var(--nr-font-head);
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.nr-b2b-eyebrow::before {
    content: "★";
    color: rgba(255,45,85,0.90);
}

.nr-b2b-title {
    font-family: var(--nr-font-head);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 14px;
    color: #fff;
}

.nr-b2b-title span {
    background: linear-gradient(135deg, #ff2d55, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nr-b2b-desc {
    font-size: 15px;
    line-height: 1.58;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin-bottom: 28px;
}

/* Список преимуществ */
.nr-b2b-perks {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 32px;
}

.nr-b2b-perk {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.3;
}

.nr-b2b-perk-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,224,255,0.10);
    border: 1px solid rgba(0,224,255,0.22);
    font-size: 13px;
    flex-shrink: 0;
    color: var(--nr-cyan);
}

/* Тарифные блоки */
.nr-b2b-plans {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 260px;
    max-width: 300px;
}

.nr-b2b-plan {
    border-radius: 18px;
    padding: 18px 20px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: transform .20s ease, border-color .20s ease;
}

.nr-b2b-plan:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.14);
}

.nr-b2b-plan.is-featured {
    background:
        radial-gradient(circle at top right, rgba(255,45,85,0.15), transparent 50%),
        rgba(255,255,255,0.055);
    border-color: rgba(255,45,85,0.35);
    box-shadow: 0 0 28px rgba(255,45,85,0.12);
}

.nr-b2b-plan-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #ff2d55, #ff6b35);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-family: var(--nr-font-head);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(255,45,85,0.30);
}

.nr-b2b-plan-name {
    font-size: 12px;
    font-family: var(--nr-font-head);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.nr-b2b-plan-price {
    font-family: var(--nr-font-head);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 4px;
}

.nr-b2b-plan-price sub {
    font-size: 13px;
    font-weight: 500;
    opacity: .65;
    vertical-align: baseline;
    letter-spacing: 0;
}

.nr-b2b-plan-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.50);
    line-height: 1.35;
}

/* CTA кнопки */
.nr-b2b-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.nr-b2b-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 26px;
    border-radius: 16px;
    font-family: var(--nr-font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.nr-b2b-btn.primary {
    background: linear-gradient(135deg, #ff2d55, #ff6b35);
    border: 1px solid rgba(255,45,85,0.20);
    color: #fff;
    box-shadow: 0 14px 36px rgba(255,45,85,0.30);
}

.nr-b2b-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(255,45,85,0.40);
}

.nr-b2b-btn.secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.88);
}

.nr-b2b-btn.secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.20);
    box-shadow: 0 12px 30px rgba(0,0,0,0.20);
}

/* ---------- СОЦИАЛЬНЫЕ ССЫЛКИ ---------- */
.nr-social-bar {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nr-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.88);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
    font-family: var(--nr-font-body);
}

.nr-social-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,0.16);
    box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}

.nr-social-btn.tg {
    background: rgba(0,136,212,0.10);
    border-color: rgba(0,136,212,0.24);
    color: rgba(130,210,255,0.95);
}
.nr-social-btn.tg:hover {
    background: rgba(0,136,212,0.16);
    border-color: rgba(0,136,212,0.40);
    box-shadow: 0 10px 28px rgba(0,136,212,0.16);
}

.nr-social-btn.vk {
    background: rgba(70,130,220,0.10);
    border-color: rgba(70,130,220,0.24);
    color: rgba(160,195,255,0.95);
}
.nr-social-btn.vk:hover {
    background: rgba(70,130,220,0.16);
    border-color: rgba(70,130,220,0.40);
    box-shadow: 0 10px 28px rgba(70,130,220,0.16);
}

.nr-social-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* ---------- SHIMMER ЭФФЕКТ (загрузка карточек) ---------- */
.nr-card-skeleton {
    background:
        linear-gradient(90deg,
            rgba(255,255,255,0.03) 0%,
            rgba(255,255,255,0.07) 50%,
            rgba(255,255,255,0.03) 100%
        );
    background-size: 200% 100%;
    animation: nrShimmer 1.6s linear infinite;
    border-radius: 22px;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* ---------- МОБИЛЬНАЯ АДАПТАЦИЯ НОВЫХ БЛОКОВ ---------- */
@media (max-width: 980px) {
    .nr-why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .nr-stats-row {
        padding: 20px 18px;
        gap: 0;
        flex-wrap: wrap;
    }

    .nr-stat-item {
        flex: 1 1 50%;
        padding: 14px 10px;
    }

    .nr-stat-item + .nr-stat-item::before {
        display: none;
    }

    .nr-b2b-banner {
        padding: 32px 22px;
    }

    .nr-b2b-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .nr-b2b-plans {
        max-width: 100%;
        min-width: 0;
        flex-direction: row;
    }

    .nr-b2b-plan {
        flex: 1 1 0;
    }

    .nr-b2b-cta-group {
        flex-direction: column;
    }

    .nr-b2b-btn {
        width: 100%;
        justify-content: center;
    }

    .nr-section-title { font-size: 22px; }
}

@media (max-width: 640px) {
    .nr-why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .nr-why-card {
        padding: 20px 18px;
    }

    .nr-stats-row {
        grid-template-columns: 1fr 1fr;
        display: grid;
        padding: 18px 14px;
        gap: 0;
        border-radius: 18px;
    }

    .nr-stat-item {
        padding: 14px 8px;
        border-right: 1px solid rgba(255,255,255,0.07);
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .nr-stat-item:nth-child(2n) { border-right: none; }
    .nr-stat-item:nth-last-child(-n+2) { border-bottom: none; }

    .nr-stat-num { font-size: 26px; }

    .nr-b2b-banner {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .nr-b2b-plans {
        flex-direction: column;
    }

    .nr-b2b-title { font-size: 20px; }
    .nr-b2b-desc { font-size: 13px; }
    .nr-section-eyebrow { font-size: 10px; }
    .nr-section-title { font-size: 20px; }

    .nr-why-section { margin-top: 40px; }
    .nr-b2b-section { margin-top: 44px; }
}

/* ============================================================
   SCROLL HINT — кнопка "прокрутить вниз" поверх карты
   Показывает пользователю что ниже есть контент
   ============================================================ */

/* Кнопка прокрутки вниз — поверх правого края карты */
.nr-scroll-hint {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    animation: nrScrollHintAppear 1s ease 2s both;
    transition: opacity .3s ease;
}

@keyframes nrScrollHintAppear {
    0%   { opacity: 0; transform: translateX(-50%) translateY(8px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nr-scroll-hint:hover { opacity: 0.85 !important; }

.nr-scroll-hint-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(8,10,18,0.88);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 8px 28px rgba(0,0,0,0.40),
        0 0 0 1px rgba(0,224,255,0.06) inset;
    font-size: 12px;
    font-family: var(--nr-font-head);
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.nr-scroll-hint-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nr-cyan);
    box-shadow: 0 0 8px var(--nr-cyan);
    animation: nrGlowPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.nr-scroll-hint-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.nr-scroll-hint-arrow span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: rgba(0,224,255,0.6);
    border-radius: 2px;
    animation: nrArrowBounce 1.6s ease-in-out infinite;
}

.nr-scroll-hint-arrow span:nth-child(1) { animation-delay: 0s; }
.nr-scroll-hint-arrow span:nth-child(2) {
    width: 14px;
    animation-delay: 0.12s;
    transform: rotate(30deg);
    transform-origin: right center;
}
.nr-scroll-hint-arrow span:nth-child(3) {
    width: 14px;
    animation-delay: 0.12s;
    transform: rotate(-30deg);
    transform-origin: left center;
}

@keyframes nrArrowBounce {
    0%,100% { opacity: 0.4; transform: translateY(0); }
    50%      { opacity: 1;   transform: translateY(3px); }
}

/* На мобиле: кнопка скрыта — вместо неё баннер ВНУТРИ шторки */
@media (max-width: 980px) {
    .nr-scroll-hint {
        display: none !important;
    }
}

/* ============================================================
   ПК: убираем пустоту между картой и нижними блоками
   ============================================================ */

@media (min-width: 981px) {
    /* Секции вплотную к карте — без огромных отступов */
    .nr-why-section {
        margin-top: 40px;
    }
    .nr-b2b-section {
        margin-top: 48px;
    }
    .nr-stats-row {
        margin-top: 36px;
        margin-bottom: 44px;
    }
}


/* ============================================================
   РАЗДЕЛИТЕЛЬ между картой/списком и SEO-блоками
   Визуальный "переход" — пользователь понимает что ниже
   ============================================================ */

.nr-section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0 0;
    opacity: 0.55;
}

.nr-section-divider::before,
.nr-section-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.nr-section-divider-text {
    font-size: 11px;
    font-family: var(--nr-font-head);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

@media (max-width: 980px) {
    .nr-section-divider {
        margin: 28px 0 0;
    }
}

/* ============================================================
   🔴 СИСТЕМА СВЕЧЕНИЯ МАРКЕРОВ — Движ 1...5
   GPU-оптимизировано: box-shadow + ::before с transform/opacity
   вместо тяжёлого filter:drop-shadow().

   ЦВЕТ СВЕЧЕНИЯ = цвет категории (через --nr-glow из JS).
   Клуб → фиолетовый пульс. Бар → циан. Лаунж → зелёный. И т.д.
   Статус 5 (лидер ночи) принудительно розовый.
   ============================================================ */

/* Общая обёртка — гарантируем, что glow рисуется вокруг пина */
.nr-pin-wrap {
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    transform: translateZ(0);
    will-change: transform;
}

.nr-pin-premium-wrap {
    position: relative;
    /* Дефолтный цвет свечения если JS не передал --nr-glow */
    --nr-glow: rgba(47,124,246,0.6);
    --nr-pin-color: #2f7cf6;
    width: 44px;
    height: 52px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Капля маркера — круг со срезанным углом внизу (форма пин-дропа) */
.nr-pin-drop {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #1a1d28;
    border: 2.5px solid var(--nr-pin-color);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.40),
        0 0 14px var(--nr-pin-color);
    overflow: hidden;
}

.nr-pin-drop.is-emoji {
    background: linear-gradient(135deg, #1a1d28, #252836);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.nr-pin-drop.is-leader {
    border-color: rgba(255,45,85,0.90);
    box-shadow:
        0 0 0 2px rgba(255,45,85,0.90),
        0 0 18px rgba(255,45,85,0.60),
        0 4px 16px rgba(0,0,0,0.40);
}

.nr-pin-drop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: rotate(45deg) scale(1.25);
    border: none;
    margin: 0;
    padding: 0;
}

.nr-pin-drop-emoji {
    transform: rotate(45deg);
    font-size: 20px;
    line-height: 1;
    display: block;
    user-select: none;
}

/* Треугольный "хвост" капли снизу, в цвет категории */
.nr-pin-drop-tail {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid var(--nr-pin-color);
}

.nr-pin-drop-tail.is-leader {
    border-top-color: rgba(255,45,85,0.90);
}

/* Базовая точка для бесплатных заведений */
.nr-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #2f7cf6;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.nr-pin-dot.is-warm { background: #ff9a00; }
.nr-pin-dot.is-hot  {
    background: #ff4444;
    animation: nrDotPulse 2.2s ease-in-out infinite;
}

/* Пульс для точечных маркеров горячих заведений (бесплатные). */
@keyframes nrDotPulse {
    0%   { box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 0 0 rgba(255,68,68,0.55); }
    50%  { box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 0 9px rgba(255,68,68,0); }
    100% { box-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 0 0 0 rgba(255,68,68,0); }
}

/* Псевдоэлемент-свечение — radial-gradient на GPU-composited слое.
   Цвет берётся из --nr-glow, которую выставляет JS в style маркера. */
.nr-pin-premium-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0;
    transition: opacity 0.25s ease;
    will-change: transform, opacity;
    background: radial-gradient(circle, var(--nr-glow) 0%, transparent 62%);
}

/* status-0 — без свечения (пустой crowd) */
.nr-pin-premium-wrap.status-0::before { opacity: 0; }

/* status-1 — минимум, цвет категории */
.nr-pin-premium-wrap.status-1::before {
    width: 170%;
    height: 170%;
    opacity: 0.50;
}

/* status-2 — средний */
.nr-pin-premium-wrap.status-2::before {
    width: 200%;
    height: 200%;
    opacity: 0.65;
}

/* status-3 — заметный */
.nr-pin-premium-wrap.status-3::before {
    width: 220%;
    height: 220%;
    opacity: 0.80;
}

/* status-4 — горячо, тот же цвет категории но ярче */
.nr-pin-premium-wrap.status-4::before {
    width: 250%;
    height: 250%;
    opacity: 0.95;
}

/* status-5 — ЛИДЕР НОЧИ. Принудительно ядерно-розовый + пульс.
   Переопределяем radial-gradient жёстким розовым, минуя --nr-glow. */
.nr-pin-premium-wrap.status-5::before {
    background: radial-gradient(circle, rgba(255,0,85,0.95) 0%, rgba(255,0,85,0.45) 35%, rgba(255,0,85,0) 65%);
    width: 290%;
    height: 290%;
    opacity: 1;
    animation: nrRadarPulse 2s ease-in-out infinite;
}

/* Пульс только через transform + opacity — никаких box-shadow/filter */
@keyframes nrRadarPulse {
    0%   { transform: translate3d(-50%, -50%, 0) scale(1);    opacity: 0.95; }
    50%  { transform: translate3d(-50%, -50%, 0) scale(1.25); opacity: 0.55; }
    100% { transform: translate3d(-50%, -50%, 0) scale(1);    opacity: 0.95; }
}

/* На мобильных существенно смягчаем свечение обычных маркеров (1-4):
   opacity снижен на ~30%, радиус — на ~15%. Это даёт более «дорогой»
   спокойный вид, маркеры не забивают теплокарту, не сливаются друг
   с другом. Пульс 5/5 (лидер ночи) тоже немного сужен, но остаётся
   заметным как ключевой акцент. */
@media (max-width: 980px) {
    .nr-pin-premium-wrap.status-1::before { width: 120%; height: 120%; opacity: 0.27; }
    .nr-pin-premium-wrap.status-2::before { width: 140%; height: 140%; opacity: 0.36; }
    .nr-pin-premium-wrap.status-3::before { width: 155%; height: 155%; opacity: 0.46; }
    .nr-pin-premium-wrap.status-4::before { width: 170%; height: 170%; opacity: 0.55; }
    .nr-pin-premium-wrap.status-5::before { width: 195%; height: 195%; }
    /* Для лидера: уменьшаем амплитуду пульса чтобы не было нервозно */
    @keyframes nrRadarPulse {
        0%   { transform: translate3d(-50%, -50%, 0) scale(1);    opacity: 0.85; }
        50%  { transform: translate3d(-50%, -50%, 0) scale(1.15); opacity: 0.50; }
        100% { transform: translate3d(-50%, -50%, 0) scale(1);    opacity: 0.85; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .nr-pin-premium-wrap.status-5::before { animation: none; opacity: 0.9; }
}

/* ============================================================
   🗺️ КАСТОМНЫЙ POPUP ЗАВЕДЕНИЯ НА КАРТЕ
   Все правила заточены с !important чтобы пересилить дефолтные
   .leaflet-popup-content{padding:13px 24px;margin:13px 20px}
   которые у Leaflet жёстко заданы и ломают нашу вёрстку.

   UX фикс: обёртка popup'а pointer-events: none — жесты карты
   (pan, zoom, щипок) проходят сквозь фон. Только интерактивные
   элементы внутри (.nr-pop-btn, .nr-pop-badge.is-clickable,
   .leaflet-popup-close-button) имеют pointer-events: auto.
   Это решает проблему блокировки управления картой на мобилах.
   ============================================================ */

.leaflet-popup.nr-venue-popup {
    margin-bottom: 28px !important;
    pointer-events: none !important;
}
.leaflet-popup.nr-venue-popup .leaflet-popup-content-wrapper,
.leaflet-popup.nr-venue-popup .leaflet-popup-tip {
    pointer-events: none !important;
}
/* Только интерактивные элементы получают pointer-events: auto —
   чтобы по ним можно было кликать, но жесты карты проходили сквозь фон */
.leaflet-popup.nr-venue-popup .leaflet-popup-close-button,
.leaflet-popup.nr-venue-popup .nr-pop-btn,
.leaflet-popup.nr-venue-popup .nr-pop-badge.is-clickable {
    pointer-events: auto !important;
}

.leaflet-popup.nr-venue-popup .leaflet-popup-content-wrapper {
    background: linear-gradient(155deg, #15111f 0%, #0c0a14 100%) !important;
    border: 1px solid rgba(255,45,85,0.25);
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow:
        0 24px 60px rgba(0,0,0,0.60),
        0 0 0 1px rgba(255,255,255,0.04),
        0 0 40px rgba(255,45,85,0.14) !important;
    overflow: hidden;
}

/* Главный сброс — убираем padding и margin от Leaflet */
.leaflet-popup.nr-venue-popup .leaflet-popup-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 280px !important;
    min-width: 260px !important;
    max-width: 280px !important;
    line-height: 1.35 !important;
    color: #fff !important;
    font-family: var(--nr-font-body, system-ui), -apple-system, sans-serif !important;
    font-size: 13px !important;
}

.leaflet-popup.nr-venue-popup .leaflet-popup-tip-container {
    width: 40px;
    height: 20px;
}

.leaflet-popup.nr-venue-popup .leaflet-popup-tip {
    background: #0c0a14 !important;
    border: 1px solid rgba(255,45,85,0.25);
    box-shadow: none !important;
}

.leaflet-popup.nr-venue-popup .leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 26px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.60) !important;
    z-index: 5;
    transition: background 0.2s ease, transform 0.15s ease;
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.leaflet-popup.nr-venue-popup .leaflet-popup-close-button:hover {
    background: rgba(255,45,85,0.70) !important;
    transform: scale(1.1);
}

/* Убираем дефолтную ссылочную подпись "x" */
.leaflet-popup.nr-venue-popup .leaflet-popup-close-button span {
    display: inline-block;
    line-height: 1;
}

/* ---- Сам контент попапа ---- */
.nr-pop {
    display: block;
    width: 100%;
    color: #fff;
}

.nr-pop-photo {
    position: relative;
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1a1526, #0d0b18);
    overflow: hidden;
}

.nr-pop-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.nr-pop-photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: 0.55;
    background: linear-gradient(135deg, #1a1526, #0d0b18);
}

.nr-pop-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.80) 100%);
    pointer-events: none;
    z-index: 1;
}

.nr-pop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    font-family: var(--nr-font-head, system-ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,0.60);
    border: 1px solid rgba(255,255,255,0.15);
    text-decoration: none !important;
    line-height: 1.2;
}

.nr-pop-badge.is-hot {
    background: linear-gradient(135deg, #ff2d55, #ff9a00);
    border-color: rgba(255,255,255,0.30);
    box-shadow: 0 6px 16px rgba(255,45,85,0.40);
    color: #fff !important;
}

.nr-pop-badge.is-hot.is-clickable {
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.nr-pop-badge.is-hot.is-clickable:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255,45,85,0.55);
}
.nr-pop-badge.is-hot.is-clickable::after {
    content: " ›";
    font-weight: 900;
    margin-left: 2px;
    opacity: 0.9;
}

.nr-pop-body {
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: transparent;
}

.nr-pop-title {
    font-family: var(--nr-font-head, system-ui);
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    color: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nr-pop-addr {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: rgba(255,255,255,0.65) !important;
    margin: 0 !important;
}

.nr-pop-addr-ic {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.2;
    opacity: 0.85;
}

/* Social proof: живой счётчик «X чел. смотрят сейчас» */
.nr-pop-live {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255,45,85,0.12), rgba(255,154,0,0.04));
    border: 1px solid rgba(255,45,85,0.25);
    font-size: 12px !important;
    color: rgba(255,255,255,0.92) !important;
    font-family: var(--nr-font-head, system-ui);
    letter-spacing: 0.01em;
    line-height: 1.3;
}
.nr-pop-live b {
    color: #ff6b9a;
    font-weight: 900;
    margin: 0 1px;
}
.nr-pop-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2d55;
    box-shadow: 0 0 0 0 rgba(255,45,85,0.60);
    animation: nrLiveDot 1.8s ease-out infinite;
    flex-shrink: 0;
}
@keyframes nrLiveDot {
    0%   { box-shadow: 0 0 0 0 rgba(255,45,85,0.70); transform: scale(1); }
    70%  { box-shadow: 0 0 0 10px rgba(255,45,85,0); transform: scale(1.15); }
    100% { box-shadow: 0 0 0 0 rgba(255,45,85,0); transform: scale(1); }
}

.nr-pop-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.nr-pop-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px !important;
    font-weight: 700;
    color: rgba(255,255,255,0.85) !important;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    font-family: var(--nr-font-head, system-ui);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
}

.nr-pop-chip.is-open  { color: #7cffb4 !important; background: rgba(0,255,120,0.08); border-color: rgba(0,255,120,0.25); }
.nr-pop-chip.is-closed{ color: #ff8a95 !important; background: rgba(255,45,85,0.10); border-color: rgba(255,45,85,0.30); }

.nr-pop-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 2px;
}

.nr-pop-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    font-family: var(--nr-font-head, system-ui) !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
    line-height: 1;
    white-space: nowrap;
}

.nr-pop-btn.is-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #ff2d55, #ff6b35);
    box-shadow: 0 6px 18px rgba(255,45,85,0.35);
}
.nr-pop-btn.is-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }

.nr-pop-btn.is-ghost {
    color: #eaf6ff !important;
    background: rgba(56,202,255,0.10);
    border-color: rgba(56,202,255,0.30);
}
.nr-pop-btn.is-ghost:hover {
    background: rgba(56,202,255,0.18);
    transform: translateY(-1px);
}

.nr-pop-btn.is-taxi {
    color: #ffd56b !important;
    background: rgba(255,200,60,0.10);
    border-color: rgba(255,200,60,0.30);
}
.nr-pop-btn.is-taxi:hover {
    background: rgba(255,200,60,0.18);
    transform: translateY(-1px);
}

/* ============================================================
   🔥 ТЕПЛОКАРТА
   Фильтр задаётся в JS (ensureHeatPane) с учётом мобилы —
   не дублируем CSS-правилом чтобы не грузить браузер двойной композицией.
   ============================================================ */

/* ============================================================
   🎯 B2B LIVE-DEMO: сравнение Стандарт vs Премиум
   Владелец сразу видит почему стоит платить за Премиум —
   разница визуальной видимости на карте.
   ============================================================ */

.nr-b2b-demo {
    position: relative;
    margin-top: 32px;
    padding: 24px 20px 28px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(56,202,255,0.08), transparent 55%),
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(255,45,85,0.10), transparent 55%),
        linear-gradient(155deg, #100c1a 0%, #0a0814 100%);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.nr-b2b-demo-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
}

.nr-b2b-demo-title-eyebrow {
    font-family: var(--nr-font-head, system-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(56,202,255,0.85);
}

.nr-b2b-demo-title-main {
    font-family: var(--nr-font-head, system-ui);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.nr-b2b-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
    /* min-width:0 на grid-items через селектор — ключ к тому,
       чтобы карточки не расползались по ширине контента. */
}

.nr-b2b-demo-grid > * {
    min-width: 0;
    overflow: hidden;
}

.nr-b2b-demo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.nr-b2b-demo-card.is-premium {
    border-color: rgba(255,45,85,0.30);
    background:
        radial-gradient(ellipse 100% 60% at 50% 0%, rgba(255,45,85,0.10), transparent 70%),
        rgba(255,255,255,0.03);
}

.nr-b2b-demo-card:hover {
    transform: translateY(-2px);
}

.nr-b2b-demo-label {
    font-family: var(--nr-font-head, system-ui);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.60);
    width: fit-content;
}

.nr-b2b-demo-card.is-premium .nr-b2b-demo-label {
    color: #ff6b9a;
}

.nr-b2b-demo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1.2;
    min-height: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0814;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Фейковая карта — чёрный фон с сеткой улиц */
.nr-b2b-demo-map {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(100,110,130,0.22) 49.5%, rgba(100,110,130,0.22) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(100,110,130,0.22) 49.5%, rgba(100,110,130,0.22) 50.5%, transparent 50.5%),
        linear-gradient(32deg, transparent 66%, rgba(90,100,120,0.18) 66%, rgba(90,100,120,0.18) 67%, transparent 67%),
        linear-gradient(115deg, transparent 58%, rgba(90,100,120,0.16) 58%, rgba(90,100,120,0.16) 59%, transparent 59%),
        linear-gradient(155deg, #0f1324 0%, #070510 100%);
    background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100%, 100% 100%;
    opacity: 0.9;
}

/* Стандарт-пин — маленькая синяя точка */
.nr-b2b-demo-pin-basic {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2f7cf6;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Премиум-пин — капля с фото и ядерным свечением 5/5 */
.nr-b2b-demo-pin-premium {
    position: relative;
    width: 48px;
    height: 56px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    will-change: transform;
}

.nr-b2b-demo-pin-premium::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    width: 220%;
    height: 220%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,0,85,0.90) 0%, rgba(255,0,85,0.40) 35%, rgba(255,0,85,0) 65%);
    transform: translate3d(-50%, -50%, 0) scale(1);
    animation: nrRadarPulse 2s ease-in-out infinite;
    z-index: 0;
    will-change: transform, opacity;
}

.nr-b2b-demo-pin-photo {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background:
        linear-gradient(135deg, rgba(255,0,85,0.25), transparent 60%),
        url("https://images.unsplash.com/photo-1571266028243-e4bb35f9cae5?w=120") center/cover no-repeat,
        linear-gradient(135deg, #ff2d55, #a855f7);
    border: 2.5px solid #ff0055;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.50),
        0 0 0 2px rgba(255,0,85,0.20);
    z-index: 1;
}

.nr-b2b-demo-pin-photo::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #ff0055;
}

.nr-b2b-demo-caption {
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(255,255,255,0.55);
}

.nr-b2b-demo-card.is-premium .nr-b2b-demo-caption {
    color: rgba(255,255,255,0.78);
}

/* Стрелка между карточками — только на ПК и планшетах */
.nr-b2b-demo-arrow {
    display: none;
}

@media (min-width: 600px) {
    .nr-b2b-demo-arrow {
        display: flex;
        position: absolute;
        left: 50%;
        top: 54%;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff2d55, #ff9a00);
        color: #fff;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 900;
        box-shadow: 0 8px 22px rgba(255,45,85,0.40);
        pointer-events: none;
        z-index: 2;
    }
}

/* На узких мобилах (<480px) — карточки в колонку, чтобы Премиум не обрезался */
@media (max-width: 479px) {
    .nr-b2b-demo {
        padding: 20px 14px 22px;
    }
    .nr-b2b-demo-title-main { font-size: 15px; }
    .nr-b2b-demo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .nr-b2b-demo-card { padding: 12px 12px 10px; }
    .nr-b2b-demo-pin-premium { width: 42px; height: 50px; }
    .nr-b2b-demo-pin-photo { width: 42px; height: 42px; }
    .nr-b2b-demo-stage {
        aspect-ratio: 2.2;
        min-height: 90px;
    }
}

/* Средние мобилы (480-599px) — две колонки но аккуратно */
@media (min-width: 480px) and (max-width: 599px) {
    .nr-b2b-demo-grid {
        gap: 10px;
    }
    .nr-b2b-demo-pin-premium { width: 40px; height: 48px; }
    .nr-b2b-demo-pin-photo { width: 40px; height: 40px; }
}

/* ============================================================
   📍 МЯГКИЙ БАННЕР ГЕОЛОКАЦИИ
   Показываем через 4 сек, если раньше не дали доступ к координатам.
   НЕ вызывает системный попап — только по клику "Показать".
   Cooldown 48 часов (ставится в JS).
   ============================================================ */
.nr-geo-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 2147483640;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(145deg, #15111f 0%, #0e0a18 100%);
    border: 1px solid rgba(56,202,255,0.28);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.55),
        0 0 32px rgba(56,202,255,0.16);
    color: #fff;
    font-family: var(--nr-font-body, system-ui);
    transform: translateY(calc(100% + 20px));
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), opacity 0.25s ease;
    will-change: transform, opacity;
}

.nr-geo-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.nr-geo-banner-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: radial-gradient(circle, rgba(56,202,255,0.30), rgba(56,202,255,0.05));
    border: 1px solid rgba(56,202,255,0.30);
}

.nr-geo-banner-body {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
}

.nr-geo-banner-title {
    font-family: var(--nr-font-head, system-ui);
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    letter-spacing: -0.01em;
}

.nr-geo-banner-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.62);
    margin-top: 2px;
}

.nr-geo-banner-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nr-geo-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: var(--nr-font-head, system-ui);
    font-weight: 700;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.nr-geo-banner-btn.primary {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    color: #fff;
    background: linear-gradient(135deg, #38caff, #2f7cf6);
    box-shadow: 0 6px 16px rgba(56,202,255,0.30);
}
.nr-geo-banner-btn.primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.nr-geo-banner-btn.ghost {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.70);
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.10);
}
.nr-geo-banner-btn.ghost:hover { background: rgba(255,45,85,0.15); color: #fff; }

/* На ПК — баннер не тянется на всю ширину */
@media (min-width: 981px) {
    .nr-geo-banner {
        left: auto;
        right: 24px;
        bottom: 24px;
        max-width: 420px;
    }
}

/* Высоты шторки — совпадают с nrGetSheetHeightsPx(): 16vh / 72vh */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-collapsed .nr-list-column #nr-list-wrap {
        max-height: 16vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-expanded .nr-list-column #nr-list-wrap {
        max-height: 72vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-card {
        max-height: calc(72vh - 74px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.nr-resetting-sheet #nr-list-wrap {
        transition: none !important;
    }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║   PREMIUM COMPACT CARD — новый layout для свёрнутой шторки        ║
   ║                                                                   ║
   ║   Структура (сверху вниз):                                        ║
   ║   [ photo 110px ]                                                 ║
   ║   [ title + verified-bage ]                                       ║
   ║   [ open-pill ] [ category-chip ]                                 ║
   ║   [ 📍 distance/address ]                                         ║
   ║   [ 🔥 5/5 • ★ 237 ]                                              ║
   ║   [ Открыть ] [ Маршрут ]                                         ║
   ║                                                                   ║
   ║   Каждый блок имеет фиксированный gap, общая высота = ~248px.     ║
   ║   Помещается в шторку 280px (handle 44 + filters 0 + card 248).   ║
   ╚══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 980px) {

    /* Фото в compact — компактнее но не маленькое. Высота 110px.
       Перебивает обычное правило nr-card-media из основного блока. */
    .nr-dashboard.nr-sheet-min .nr-card .nr-card-media,
    .nr-dashboard.nr-sheet-collapsed .nr-card .nr-card-media {
        height: 110px !important;
        border-radius: 18px !important;
        margin: 0 0 10px 0 !important;
        position: relative;
        overflow: hidden;
    }

    /* Тело compact — flex column с равными gap'ами */
    .nr-compact-body {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
    }

    /* Заголовок: название + verified-бейдж */
    .nr-compact-head {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .nr-title-compact {
        font-size: 17px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        letter-spacing: -0.012em;
        margin: 0 !important;
        color: #fff;
        font-family: var(--nr-font-head, system-ui);
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    /* В compact бейджик «Проверено» / «Стандарт» — компактно справа */
    .nr-compact-head .nr-verified-badge,
    .nr-compact-head .nr-card-lite-badge {
        flex: 0 0 auto;
        font-size: 10px !important;
        padding: 3px 8px !important;
        white-space: nowrap;
    }

    /* Мета-строка: open-pill + category-chip */
    .nr-compact-meta {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    /* Open/closed pill — компактный, цветной */
    .nr-compact-pill {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        letter-spacing: 0.01em;
        white-space: nowrap;
    }
    .nr-compact-pill--open {
        background: rgba(16, 185, 129, 0.14);
        color: #34d399;
        border: 1px solid rgba(16, 185, 129, 0.30);
    }
    .nr-compact-pill--closed {
        background: rgba(255, 45, 85, 0.12);
        color: #ff6b85;
        border: 1px solid rgba(255, 45, 85, 0.28);
    }

    /* Category chip — главная категория одним пилюлей */
    .nr-compact-chip {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.08);
        white-space: nowrap;
    }
    .nr-compact-chip--cat[data-cat="club"]    { color: #c4b5fd; border-color: rgba(168,85,247,0.28); }
    .nr-compact-chip--cat[data-cat="bar"]     { color: #93d8ff; border-color: rgba(56,202,255,0.28); }
    .nr-compact-chip--cat[data-cat="pub"]     { color: #fbd38d; border-color: rgba(245,158,11,0.28); }
    .nr-compact-chip--cat[data-cat="lounge"]  { color: #6ee7b7; border-color: rgba(16,185,129,0.28); }
    .nr-compact-chip--cat[data-cat="karaoke"] { color: #fde68a; border-color: rgba(251,191,36,0.28); }
    .nr-compact-chip--cat[data-cat="strip"]   { color: #ff8fa3; border-color: rgba(255,45,85,0.28); }

    /* Локация (📍 + текст) */
    .nr-compact-loc-wrap {
        display: flex;
        align-items: center;
    }
    .nr-compact-loc {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.62);
        letter-spacing: -0.005em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .nr-compact-loc-ico {
        font-size: 11px;
        opacity: 0.85;
        flex: 0 0 auto;
    }

    /* Stats row: 🔥 движ • ★ рейтинг */
    .nr-compact-stats-row {
        display: flex;
        align-items: center;
        gap: 14px;
        font-size: 12.5px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.78);
        margin-top: 2px;
    }
    .nr-compact-stat {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .nr-compact-stat-ico {
        font-size: 13px;
        opacity: 0.92;
    }

    /* Кнопки compact: primary + secondary в один ряд */
    .nr-card-actions--compact {
        display: flex !important;
        gap: 8px !important;
        margin-top: 6px !important;
    }
    .nr-compact-btn-primary {
        flex: 1.4 1 0 !important;
        min-height: 40px !important;
        font-size: 13px !important;
    }
    .nr-compact-btn-secondary {
        flex: 1 1 0 !important;
        min-height: 40px !important;
        font-size: 13px !important;
    }

    /* В compact-режиме скрываем ВСЕ legacy элементы (которые рендерятся
       только в full). Это страховка чтобы старый каскад не дал лишний
       контент при гибридном рендере. */
    .nr-dashboard.nr-sheet-min .nr-card > .nr-feature-row,
    .nr-dashboard.nr-sheet-collapsed .nr-card > .nr-feature-row,
    .nr-dashboard.nr-sheet-min .nr-card > .nr-hours,
    .nr-dashboard.nr-sheet-collapsed .nr-card > .nr-hours {
        display: none !important;
    }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║   B2B PREMIUM RING — золотая рамка для verified=1 в compact       ║
   ║                                                                   ║
   ║   Бизнес-логика: владелец заведения, который купил подтверждение,║
   ║   получает визуальную премиум-маркировку В СВЁРНУТОМ режиме.     ║
   ║   Это «доллар» для владельцев — они видят что их инвестиция       ║
   ║   выделяет их карточку среди обычных. Конверсия в B2B-апсейл.    ║
   ╚══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-card.nr-card-verified:not(.leader),
    .nr-dashboard.nr-sheet-collapsed .nr-card.nr-card-verified:not(.leader) {
        position: relative;
        border: 1px solid rgba(212, 175, 55, 0.36) !important;
        box-shadow:
            0 18px 50px rgba(0, 0, 0, 0.55),
            0 0 22px rgba(212, 175, 55, 0.10),
            inset 0 1px 0 rgba(255, 215, 130, 0.08) !important;
    }
    /* Тонкое золотое свечение вокруг — анимированное */
    .nr-dashboard.nr-sheet-min .nr-card.nr-card-verified:not(.leader)::before,
    .nr-dashboard.nr-sheet-collapsed .nr-card.nr-card-verified:not(.leader)::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        background: linear-gradient(
            135deg,
            rgba(255, 215, 130, 0.35) 0%,
            rgba(212, 175, 55, 0.10) 35%,
            transparent 60%,
            rgba(212, 175, 55, 0.10) 80%,
            rgba(255, 215, 130, 0.30) 100%
        );
        z-index: -1;
        opacity: 0.6;
        pointer-events: none;
        animation: nrGoldShimmer 6s ease-in-out infinite;
    }
}

@keyframes nrGoldShimmer {
    0%, 100% { opacity: 0.45; }
    50%      { opacity: 0.75; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║   PULL-TO-REFRESH INDICATOR                                       ║
   ║                                                                   ║
   ║   Юзер тянет шторку вниз из max-state → видит индикатор готовности║
   ║   к обновлению. На handle появляется второй grip с тёплым свече-  ║
   ║   нием, его прозрачность растёт по мере приближения к threshold.  ║
   ╚══════════════════════════════════════════════════════════════════╝ */
@media (max-width: 980px) {
    .nr-sheet-handle {
        --nr-ptr-progress: 0;
    }
    /* Иконка обновления — псевдоэлемент handle, появляется только
       когда юзер тянет вниз из max */
    .nr-dashboard.nr-sheet-max .nr-sheet-handle::after,
    .nr-dashboard.nr-sheet-expanded .nr-sheet-handle::after {
        content: "↓ Потяни ещё, чтобы обновить";
        position: absolute;
        top: 22px;
        left: 50%;
        transform: translateX(-50%) translateY(-6px) scale(0.96);
        font-size: 11px;
        font-weight: 600;
        font-family: var(--nr-font-body, system-ui);
        color: var(--nr-accent-1);
        letter-spacing: 0.01em;
        white-space: nowrap;
        opacity: calc(var(--nr-ptr-progress, 0) * 1.2);
        transition: opacity 0.12s ease, transform 0.18s ease;
        pointer-events: none;
        text-shadow: 0 0 12px var(--nr-accent-glow);
    }
    body.nr-ptr-armed .nr-sheet-handle::after {
        content: "↑ Отпусти для обновления" !important;
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) scale(1) !important;
    }

    /* Loading state — после отпускания. До reload (~280ms) показываем
       спиннер чтобы юзер понимал что обновление пошло. */
    body.nr-ptr-loading::before {
        content: "";
        position: fixed;
        top: calc(var(--nr-safe-top) + 12px);
        left: 50%;
        transform: translateX(-50%);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2.5px solid rgba(255, 255, 255, 0.16);
        border-top-color: var(--nr-accent-1);
        animation: nrPtrSpin 0.8s linear infinite;
        z-index: 99999;
        pointer-events: none;
    }
}

@keyframes nrPtrSpin {
    to { transform: translateX(-50%) rotate(360deg); }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║   LAZY PLACEHOLDER — фиксированная высота для не-смонтированных    ║
   ║                                                                   ║
   ║   IntersectionObserver-based lazy mount: пока карточка вне        ║
   ║   viewport — она placeholder фиксированной высоты, не загружая    ║
   ║   фото и не рендеря 30+ DOM-нод. Это даёт мгновенный старт даже  ║
   ║   на 200+ заведениях.                                            ║
   ╚══════════════════════════════════════════════════════════════════╝ */
.nr-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 240px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.02),
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.02)
    );
    background-size: 200% 200%;
    animation: nrPlaceholderShimmer 1.4s ease-in-out infinite;
}
.nr-card[data-lazy-state="placeholder"] {
    /* Placeholder фон чуть бледнее обычной карточки */
    background: rgba(14, 14, 18, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30) !important;
}

@keyframes nrPlaceholderShimmer {
    0%   { background-position:   0%   0%; }
    50%  { background-position: 100% 100%; }
    100% { background-position:   0%   0%; }
}

/* ╔══════════════════════════════════════════════════════════════════╗
   ║   ACCESSIBILITY — prefers-reduced-motion                          ║
   ║   Уважаем настройку юзера: не анимируем shimmer, glow, spin.     ║
   ╚══════════════════════════════════════════════════════════════════╝ */
@media (prefers-reduced-motion: reduce) {
    .nr-dashboard.nr-sheet-min .nr-card.nr-card-verified::before,
    .nr-dashboard.nr-sheet-collapsed .nr-card.nr-card-verified::before {
        animation: none !important;
    }
    body.nr-ptr-loading::before {
        animation: none !important;
        border-top-color: rgba(255,255,255,0.5) !important;
    }
    .nr-card-placeholder {
        animation: none !important;
    }
    #nr-list-wrap {
        transition: none !important;
    }
}
.nr-single-v18 {
    overflow-x: clip;
}

.nr-booking-modal,
.nr-story-viewer,
.nr-lightbox,
.nr-review-modal,
.nr-owner-reply-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 12px !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.nr-booking-modal.is-open,
.nr-story-viewer.is-open,
.nr-lightbox.is-open,
.nr-review-modal.is-open,
.nr-owner-reply-modal.is-open {
    display: flex !important;
}

.nr-booking-modal-backdrop,
.nr-story-viewer-backdrop,
.nr-lightbox-backdrop,
.nr-review-modal-backdrop,
.nr-owner-reply-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 0 !important;
    margin: 0 !important;
}

.nr-booking-modal-dialog,
.nr-review-modal-dialog,
.nr-owner-reply-modal-dialog {
    position: relative !important;
    z-index: 2 !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: auto !important;
    flex-shrink: 0 !important;
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;
}

.nr-story-viewer-shell {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
    width: min(400px, calc(100vw - 20px)) !important;
    height: min(720px, calc(100dvh - 48px)) !important;
}

.nr-lightbox-backdrop {
    cursor: zoom-out;
}

.admin-bar .nr-booking-modal,
.admin-bar .nr-story-viewer,
.admin-bar .nr-lightbox,
.admin-bar .nr-review-modal,
.admin-bar .nr-owner-reply-modal {
    top: 0 !important;
    height: 100dvh !important;
}

@media (max-width: 760px) {
    .nr-story-viewer-shell {
        width: calc(100vw - 14px) !important;
        height: calc(100dvh - 28px) !important;
        border-radius: 18px !important;
    }
}
/* ── ШТОРКА: финальные правила высот и transition ─────────────── */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-collapsed .nr-list-column #nr-list-wrap {
        max-height: 16vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-expanded .nr-list-column #nr-list-wrap {
        max-height: 72vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.nr-resetting-sheet #nr-list-wrap {
        transition: none !important;
    }

    /* ── КНОПКА ТАРИФОВ: все варианты селекторов ─────────────── */
    .nr-dashboard.nr-sheet-min .nr-list-footer-link,
    .nr-dashboard.nr-sheet-collapsed .nr-list-footer-link,
    body:not(.nr-sheet-max-active) .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="min"] {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nr-dashboard.nr-sheet-max .nr-list-footer-link,
    .nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
    body.nr-sheet-max-active .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="max"] {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
/* ── ШТОРКА: финальные правила высот и transition ─────────────── */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-collapsed .nr-list-column #nr-list-wrap {
        max-height: 16vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-expanded .nr-list-column #nr-list-wrap {
        max-height: 72vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-card {
        max-height: calc(72vh - 74px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.nr-resetting-sheet #nr-list-wrap {
        transition: none !important;
    }

    /* Кнопка тарифов: все варианты селекторов */
    .nr-dashboard.nr-sheet-min .nr-list-footer-link,
    .nr-dashboard.nr-sheet-collapsed .nr-list-footer-link,
    body:not(.nr-sheet-max-active) .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="min"] {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nr-dashboard.nr-sheet-max .nr-list-footer-link,
    .nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
    body.nr-sheet-max-active .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="max"] {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
/* ── ШТОРКА: финальные правила высот и transition ─────────────── */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-collapsed .nr-list-column #nr-list-wrap {
        max-height: 16vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-expanded .nr-list-column #nr-list-wrap {
        max-height: 72vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-card {
        max-height: calc(72vh - 74px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.nr-resetting-sheet #nr-list-wrap {
        transition: none !important;
    }

    /* Кнопка тарифов: все варианты селекторов */
    .nr-dashboard.nr-sheet-min .nr-list-footer-link,
    .nr-dashboard.nr-sheet-collapsed .nr-list-footer-link,
    body:not(.nr-sheet-max-active) .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="min"] {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nr-dashboard.nr-sheet-max .nr-list-footer-link,
    .nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
    body.nr-sheet-max-active .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="max"] {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
/* ── ШТОРКА: финальные правила высот и transition ─────────────── */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-collapsed .nr-list-column #nr-list-wrap {
        max-height: 16vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-list-column #nr-list-wrap,
    .nr-dashboard.nr-sheet-expanded .nr-list-column #nr-list-wrap {
        max-height: 72vh;
        transition: max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nr-dashboard.nr-sheet-max .nr-card {
        max-height: calc(72vh - 74px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.nr-resetting-sheet #nr-list-wrap {
        transition: none !important;
    }

    /* Кнопка тарифов: все варианты селекторов */
    .nr-dashboard.nr-sheet-min .nr-list-footer-link,
    .nr-dashboard.nr-sheet-collapsed .nr-list-footer-link,
    body:not(.nr-sheet-max-active) .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="min"] {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nr-dashboard.nr-sheet-max .nr-list-footer-link,
    .nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
    body.nr-sheet-max-active .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="max"] {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
/* ══════════════════════════════════════════════════════════════════
   ФИНАЛЬНЫЙ ПРИОРИТЕТНЫЙ ФИКС: кнопка тарифов не имеет права появиться,
   пока шторка не в состоянии "max". Перекрывает любые инлайн-стили,
   которые JS мог выставить до того, как узел был подменён/пересоздан. */
@media (max-width: 980px) {
    .nr-dashboard.nr-sheet-min .nr-list-footer-link,
    .nr-dashboard.nr-sheet-collapsed .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="min"],
    body:not(.nr-sheet-max-active) .nr-list-footer-link {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    .nr-dashboard.nr-sheet-max .nr-list-footer-link,
    .nr-dashboard.nr-sheet-expanded .nr-list-footer-link,
    .nr-list-footer-link[data-sheet-state="max"],
    body.nr-sheet-max-active .nr-list-footer-link {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }
}