/* ToMojeMiasto — wersja mobilna */
:root {
    --mobile-tab-h: 3.75rem;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --mobile-bottom-ui: calc(var(--mobile-tab-h) + var(--safe-bottom));
}

@media (max-width: 767px) {
    .site-body--has-tab-bar {
        padding-bottom: var(--mobile-bottom-ui);
    }
    .site-body--has-tab-bar.has-cookie-bar {
        padding-bottom: calc(var(--mobile-bottom-ui) + 5.5rem);
    }
    .page-shell {
        padding-top: 1.25rem;
        padding-bottom: 1.5rem;
    }
    .page-header__title {
        font-size: clamp(1.375rem, 5vw, 1.875rem);
    }
    .pre-footer-zone {
        padding-top: 1.25rem;
        padding-bottom: 1rem;
    }
    .site-footer__inner {
        padding-bottom: calc(1.5rem + var(--safe-bottom));
    }
}

/* Drawer nawigacji */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgb(15 23 42 / 0.55);
    backdrop-filter: blur(2px);
}
.mobile-nav-backdrop.is-open {
    display: block;
}
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 56;
    width: min(20rem, 88vw);
    height: 100%;
    height: 100dvh;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -8px 0 30px rgb(0 0 0 / 0.15);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem calc(1rem + var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.is-open {
    transform: translateX(0);
}
.mobile-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}
.mobile-nav-drawer__title {
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}
.mobile-nav-drawer__close {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mobile-nav-drawer .nav-link {
    display: flex;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    border-radius: 0.625rem;
}
body.mobile-nav-open {
    overflow: hidden;
}
@media (min-width: 768px) {
    .mobile-nav-backdrop,
    .mobile-nav-drawer {
        display: none !important;
    }
}

/* Stary panel mobilny ukryty — zastapiony drawerem */
.site-nav__mobile {
    display: none !important;
}

/* Dolny pasek nawigacji */
.mobile-tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 48;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    gap: 0.125rem;
    min-height: var(--mobile-tab-h);
    padding: 0.25rem 0.5rem calc(0.25rem + var(--safe-bottom));
    background: rgb(255 255 255 / 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgb(15 23 42 / 0.08);
}
.mobile-tab-bar__item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
    padding: 0.25rem 0.125rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.625rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.1;
    border-radius: 0.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mobile-tab-bar__item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.mobile-tab-bar__item.nav-link--active,
.mobile-tab-bar__item:active {
    color: var(--city-primary);
    background: rgb(30 64 175 / 0.08);
}
.mobile-tab-bar__item svg,
.mobile-tab-bar__item .nav-icon {
    flex-shrink: 0;
}
.nav-icon {
    display: block;
    width: 1.375rem;
    height: 1.375rem;
}
.nav-icon--logo {
    object-fit: contain;
    border-radius: 0.3125rem;
}
.mobile-tab-bar__item.nav-link--active .nav-icon--logo {
    filter: none;
}
.quick-link__icon .nav-icon,
.quick-link__icon .nav-icon--logo {
    width: 1.5rem;
    height: 1.5rem;
}
.mobile-tab-bar__item svg {
    flex-shrink: 0;
}

/* Quick links na stronie glownej */
.mobile-quick-section {
    margin-bottom: 1.25rem;
}
.mobile-quick-section .quick-link {
    min-height: 5rem;
    padding: 0.875rem 0.5rem;
    font-size: 0.75rem;
}
.mobile-quick-section .quick-link__icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

/* Sticky CTA na mobile */
.mobile-sticky-cta {
    display: none;
}
@media (max-width: 767px) {
    .mobile-sticky-cta {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--mobile-bottom-ui);
        z-index: 47;
        padding: 0.5rem 1rem;
        background: rgb(255 255 255 / 0.95);
        backdrop-filter: blur(8px);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 12px rgb(15 23 42 / 0.06);
    }
    .mobile-sticky-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
        font-size: 1rem;
    }
    .page-shell--has-sticky-cta {
        padding-bottom: 4rem;
    }
}

/* Cookie / PWA — safe area */
#cookie-bar > div {
    padding-bottom: calc(1rem + var(--safe-bottom));
}

/* Touch targets */
@media (max-width: 767px) {
    .btn {
        min-height: 2.75rem;
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
    .site-nav__toggle {
        width: 2.75rem;
        height: 2.75rem;
    }
    .pagination__btn {
        min-height: 2.75rem;
        padding: 0.625rem 1.125rem;
    }
    .card-pad {
        padding: 1rem;
    }
    .classified-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    .site-footer__links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Home — sidebar na gorze na mobile */
@media (max-width: 1023px) {
    .home-layout__sidebar {
        order: -1;
    }
}

/* Dark mode mobile */
html[data-theme="dark"] .mobile-nav-drawer {
    background: var(--tm-surface, #1e293b);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .mobile-nav-drawer__title {
    color: var(--tm-text, #f1f5f9);
}
html[data-theme="dark"] .mobile-nav-drawer__head {
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .mobile-tab-bar {
    background: rgb(15 23 42 / 0.96);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .mobile-tab-bar__item {
    color: #94a3b8;
}
html[data-theme="dark"] .mobile-sticky-cta {
    background: rgb(15 23 42 / 0.95);
    border-color: var(--tm-border, #475569);
}

/* Admin — mobilne menu */
@media (max-width: 767px) {
    .admin-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding-bottom: 0.5rem;
    }
    .admin-nav.is-mobile-open {
        display: flex;
    }
    .admin-nav__group {
        position: static;
    }
    .admin-nav__dropdown {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 0.75rem;
        background: transparent;
        min-width: 0;
    }
    .admin-nav__group.is-open .admin-nav__dropdown {
        display: flex;
    }
    .admin-nav__trigger,
    .admin-nav__link {
        width: 100%;
        justify-content: space-between;
        min-height: 2.75rem;
    }
    .admin-mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.5rem 0.75rem;
        border: 1px solid #475569;
        border-radius: 0.375rem;
        background: rgb(51 65 85 / 0.5);
        color: #e2e8f0;
        font-size: 0.875rem;
        cursor: pointer;
    }
}
@media (min-width: 768px) {
    .admin-mobile-nav-toggle {
        display: none;
    }
}

/* PWA — instalacja i tryb standalone */
.pwa-install-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bottom-ui, 0);
    z-index: 49;
    padding: 0.75rem 1rem calc(0.75rem + var(--safe-bottom));
    background: rgb(255 255 255 / 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 24px rgb(15 23 42 / 0.1);
}
.pwa-install-bar__inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 72rem;
    margin: 0 auto;
}
.pwa-install-bar__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.12);
}
.pwa-install-bar__title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #0f172a;
    margin: 0 0 0.125rem;
}
.pwa-install-bar__hint {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}
.pwa-install-bar__ios {
    margin: 0.375rem 0 0;
    padding-left: 1.125rem;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.45;
    text-align: left;
}
.pwa-install-bar__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
}
.pwa-install-bar__close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: #f1f5f9;
    border-radius: 9999px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}
@media (min-width: 768px) {
    .pwa-install-bar { display: none !important; }
}
@media (max-width: 767px) {
    body.has-pwa-install-bar.site-body--has-tab-bar {
        padding-bottom: calc(var(--mobile-bottom-ui) + 6.5rem);
    }
    body.has-pwa-install-bar.site-body--has-tab-bar.has-cookie-bar {
        padding-bottom: calc(var(--mobile-bottom-ui) + 12rem);
    }
    #cookie-bar {
        bottom: var(--mobile-bottom-ui, 0);
    }
    body.has-pwa-install-bar #cookie-bar {
        bottom: calc(var(--mobile-bottom-ui) + 5.5rem);
    }
}
.site-body--pwa-standalone {
    padding-top: env(safe-area-inset-top, 0px);
}
.site-body--pwa-standalone .site-nav {
    padding-top: env(safe-area-inset-top, 0px);
}
.site-body--pwa-standalone .mobile-tab-bar {
    padding-bottom: calc(0.25rem + var(--safe-bottom));
}
html[data-theme="dark"] .pwa-install-bar {
    background: rgb(15 23 42 / 0.98);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .pwa-install-bar__title {
    color: var(--tm-text, #f1f5f9);
}
html[data-theme="dark"] .pwa-install-bar__hint,
html[data-theme="dark"] .pwa-install-bar__ios {
    color: #94a3b8;
}
html[data-theme="dark"] .pwa-install-bar__close {
    background: #334155;
    color: #cbd5e1;
}
/* Teraz w miescie — dynamiczny pasek (mobile) */
.mobile-live-feed {
    padding: 0.625rem 0 0.375rem;
    background: linear-gradient(135deg, rgb(30 64 175 / 0.06) 0%, rgb(255 255 255 / 0) 55%);
    border-bottom: 1px solid #e2e8f0;
}
.mobile-live-feed__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1rem 0.5rem;
}
.mobile-live-feed__title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.mobile-live-feed__pulse {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #ef4444;
    flex-shrink: 0;
    animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgb(239 68 68 / 0.5); }
    50% { opacity: 0.85; transform: scale(1.15); box-shadow: 0 0 0 6px rgb(239 68 68 / 0); }
}
.mobile-live-feed__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-live-feed__more {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--city-primary);
    text-decoration: none;
    white-space: nowrap;
}
.mobile-live-feed__scroll {
    display: flex;
    gap: 0.625rem;
    overflow-x: auto;
    padding: 0 1rem 0.625rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-live-feed__scroll::-webkit-scrollbar { display: none; }
.mobile-live-feed__card {
    flex: 0 0 10.5rem;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    color: inherit;
}
.mobile-live-feed__media {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.08);
}
.mobile-live-feed__card.is-live .mobile-live-feed__media {
    border-color: rgb(239 68 68 / 0.45);
    box-shadow: 0 0 0 1px rgb(239 68 68 / 0.15), 0 4px 12px rgb(239 68 68 / 0.12);
}
.mobile-live-feed__img {
    width: 100%;
    height: 5rem;
    object-fit: cover;
    display: block;
}
.mobile-live-feed__img--emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8fafc, #eef2ff);
    font-size: 1.75rem;
}
.mobile-live-feed__badge {
    position: absolute;
    left: 0.375rem;
    top: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    background: rgb(15 23 42 / 0.72);
    color: #fff;
    backdrop-filter: blur(4px);
}
.mobile-live-feed__badge--live {
    background: #dc2626;
    animation: live-badge 2s ease-in-out infinite;
}
@keyframes live-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}
.mobile-live-feed__card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    padding: 0 0.125rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mobile-live-feed__card-meta {
    font-size: 0.6875rem;
    color: #64748b;
    padding: 0 0.125rem 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-live-feed__chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1rem 0.75rem;
    scrollbar-width: none;
}
.mobile-live-feed__chips::-webkit-scrollbar { display: none; }
.mobile-live-feed__chip {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
}
.mobile-live-feed__chip--cta {
    background: var(--city-primary);
    border-color: var(--city-primary);
    color: #fff;
}
html[data-theme="dark"] .mobile-live-feed {
    background: linear-gradient(135deg, rgb(30 64 175 / 0.15) 0%, transparent 55%);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .mobile-live-feed__title { color: var(--tm-text, #f1f5f9); }
html[data-theme="dark"] .mobile-live-feed__media { background: var(--tm-surface, #1e293b); border-color: var(--tm-border, #475569); }
html[data-theme="dark"] .mobile-live-feed__card-title { color: var(--tm-text, #f1f5f9); }
html[data-theme="dark"] .mobile-live-feed__chip { background: var(--tm-surface, #1e293b); border-color: var(--tm-border, #475569); color: #cbd5e1; }
.mobile-live-feed__title-block { flex: 1; min-width: 0; }
.mobile-live-feed__mood-emoji { font-size: 1.125rem; line-height: 1; flex-shrink: 0; }
.mobile-live-feed__hint {
    font-size: 0.6875rem;
    color: #64748b;
    margin: 0.125rem 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-live-feed__live-count {
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #dc2626;
    background: #fef2f2;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    flex-shrink: 0;
}
.mobile-live-feed__hero {
    position: relative;
    margin: 0 1rem 0.625rem;
    height: 9.5rem;
    border-radius: 1rem;
    overflow: hidden;
}
.mobile-live-feed__hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}
.mobile-live-feed__hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}
.mobile-live-feed__hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--city-primary);
    background-image: var(--hero-image, none);
    background-size: cover;
    background-position: center;
}
.mobile-live-feed__hero-slide.is-live .mobile-live-feed__hero-bg {
    box-shadow: inset 0 0 0 2px rgb(239 68 68 / 0.5);
}
.mobile-live-feed__hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgb(15 23 42 / 0.88) 0%, rgb(15 23 42 / 0.25) 55%, rgb(15 23 42 / 0.1) 100%);
}
.mobile-live-feed__hero-emoji {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.35;
}
.mobile-live-feed__hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.875rem 1rem;
    gap: 0.2rem;
}
.mobile-live-feed__hero-badge {
    align-self: flex-start;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.2);
    backdrop-filter: blur(4px);
}
.mobile-live-feed__hero-badge--live {
    background: #dc2626;
    animation: live-badge 2s ease-in-out infinite;
}
.mobile-live-feed__hero-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgb(0 0 0 / 0.35);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mobile-live-feed__hero-meta {
    font-size: 0.75rem;
    opacity: 0.9;
}
.mobile-live-feed__hero-cta {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.125rem;
    opacity: 0.95;
}
.mobile-live-feed__hero-dots {
    position: absolute;
    bottom: 0.5rem;
    right: 0.625rem;
    z-index: 3;
    display: flex;
    gap: 0.3rem;
}
.mobile-live-feed__hero-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: rgb(255 255 255 / 0.45);
    cursor: pointer;
}
.mobile-live-feed__hero-dot.is-active {
    width: 1rem;
    background: #fff;
}
.mobile-live-feed__ticker {
    overflow: hidden;
    margin-bottom: 0.5rem;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.mobile-live-feed__ticker-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: live-ticker 35s linear infinite;
    padding: 0.25rem 0;
}
.mobile-live-feed__ticker-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}
@keyframes live-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.mobile-live-feed__vibes {
    display: flex;
    gap: 0.375rem;
    overflow-x: auto;
    padding: 0 1rem 0.5rem;
    scrollbar-width: none;
}
.mobile-live-feed__vibes::-webkit-scrollbar { display: none; }
.mobile-live-feed__vibe {
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}
.mobile-live-feed__vibe.is-active {
    background: var(--city-primary);
    border-color: var(--city-primary);
    color: #fff;
}
.mobile-live-feed__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0 1rem 0.375rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #64748b;
}
.mobile-live-feed__card.is-hidden { display: none !important; }
html[data-theme="dark"] .mobile-live-feed__hint { color: #94a3b8; }
html[data-theme="dark"] .mobile-live-feed__live-count { background: rgb(127 29 29 / 0.35); color: #fca5a5; }
html[data-theme="dark"] .mobile-live-feed__ticker-item { color: #94a3b8; }
html[data-theme="dark"] .mobile-live-feed__vibe { background: var(--tm-surface, #1e293b); border-color: var(--tm-border, #475569); color: #cbd5e1; }
html[data-theme="dark"] .mobile-live-feed__stats { color: #94a3b8; }

/* Strona glowna mobile — tylko puls miasta */
@media (max-width: 767px) {
    .site-body--mobile-home .site-footer,
    .site-body--mobile-home .pre-footer-zone {
        display: none;
    }
    .site-body--mobile-home main {
        padding-bottom: 0;
    }
}
.mobile-live-feed--home {
    padding-bottom: 0.5rem;
    border-bottom: none;
    min-height: 0;
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
.mobile-live-feed--home .mobile-live-feed__head {
    padding-left: 0;
    padding-right: 0;
}
.mobile-live-feed--home .mobile-live-feed__hero {
    height: 11.5rem;
    margin: 0 0 0.75rem;
}
.mobile-live-feed--home .mobile-live-feed__ticker {
    margin-left: 0;
    margin-right: 0;
}
.mobile-live-feed--home .mobile-live-feed__vibes,
.mobile-live-feed--home .mobile-live-feed__stats {
    padding-left: 0;
    padding-right: 0;
}
.mobile-live-feed--home .mobile-live-feed__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 0 0.75rem;
}

/* Pasek lokalnie — tylko mobile (strip na podstronach) */
@media (min-width: 768px) {
    .mobile-live-feed:not(.mobile-live-feed--home) {
        display: none !important;
    }
    .mobile-tab-bar {
        display: none !important;
    }
    .site-body--has-tab-bar {
        padding-bottom: 0;
    }
}

/* Strona glowna — puls miasta na wiekszych ekranach */
@media (min-width: 768px) {
    .mobile-live-feed--home {
        padding-top: 0.75rem;
        padding-bottom: 1.5rem;
    }
    .mobile-live-feed--home .mobile-live-feed__hero {
        height: 14rem;
    }
    .mobile-live-feed--home .mobile-live-feed__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.625rem;
    }
}
@media (min-width: 1024px) {
    .mobile-live-feed--home .mobile-live-feed__hero {
        height: 16rem;
    }
    .mobile-live-feed--home .mobile-live-feed__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.mobile-live-feed__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.05);
}
.mobile-live-feed__row.is-live {
    border-color: rgb(239 68 68 / 0.35);
    background: linear-gradient(90deg, rgb(254 242 242 / 0.5), #fff 40%);
}
.mobile-live-feed__row.is-hidden { display: none !important; }
.mobile-live-feed__row-media {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.625rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-live-feed__row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mobile-live-feed__row-emoji { font-size: 1.375rem; }
.mobile-live-feed__row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.mobile-live-feed__row-badge {
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}
.mobile-live-feed__row-badge--live { color: #dc2626; }
.mobile-live-feed__row-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mobile-live-feed__row-meta {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-live-feed__row-arrow {
    font-size: 1.25rem;
    color: #94a3b8;
    flex-shrink: 0;
}
html[data-theme="dark"] .mobile-live-feed__row {
    background: var(--tm-surface, #1e293b);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .mobile-live-feed__row.is-live {
    background: linear-gradient(90deg, rgb(127 29 29 / 0.2), var(--tm-surface, #1e293b) 45%);
}
html[data-theme="dark"] .mobile-live-feed__row-title { color: var(--tm-text, #f1f5f9); }


/* Mapa lokalnych miejsc (Mapbox) */
.page-shell--local-map {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.local-map-wrap {
    margin-bottom: 0.5rem;
}
.local-map-vibes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.625rem;
}
.local-map-vibe {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
}
.local-map-vibe.is-active {
    background: var(--city-primary);
    border-color: var(--city-primary);
    color: #fff;
}
.local-map {
    width: 100%;
    height: min(70vh, 32rem);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgb(15 23 42 / 0.08);
}
.local-map-popup-wrap .mapboxgl-popup-content {
    padding: 0;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgb(15 23 42 / 0.22);
}
.local-map-popup-wrap .mapboxgl-popup-close-button {
    font-size: 1.125rem;
    padding: 0.35rem 0.5rem;
    color: #64748b;
}
.local-map-popup {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    padding: 0.875rem 1rem;
    min-width: 14rem;
}
.local-map-popup__head {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}
.local-map-popup__emoji {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}
.local-map-popup__titles {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}
.local-map-popup__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}
.local-map-popup__cat {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--city-primary, #1e40af);
    background: rgb(30 64 175 / 0.08);
    padding: 0.125rem 0.4375rem;
    border-radius: 9999px;
    width: fit-content;
}
.local-map-popup__desc {
    margin: 0;
    color: #475569;
    font-size: 0.8125rem;
}
.local-map-popup__addr {
    margin: 0;
    color: #64748b;
    font-size: 0.75rem;
}
.local-map-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
    padding: 0.4375rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--city-primary, #1e40af);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    text-align: center;
}
.local-map-popup__cta:hover {
    opacity: 0.92;
}
.leaflet-popup-content .local-map-popup {
    margin: 0;
}
@media (min-width: 768px) {
    .local-map {
        height: min(75vh, 36rem);
    }
}
html[data-theme="dark"] .local-map {
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .local-map-vibe {
    background: var(--tm-surface, #1e293b);
    border-color: var(--tm-border, #475569);
    color: #cbd5e1;
}

/* Hero — banery: zdjecie lub uklad CSS (bez rozciaganych logo) */
.mobile-live-feed__hero-slide--composed .mobile-live-feed__hero-bg {
    background-image: none;
}
.mobile-live-feed__hero-slide--food .mobile-live-feed__hero-bg {
    background: linear-gradient(135deg, #92400e 0%, #78350f 45%, #451a03 100%);
}
.mobile-live-feed__hero-slide--party .mobile-live-feed__hero-bg {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 45%, #312e81 100%);
}
.mobile-live-feed__hero-slide--promo .mobile-live-feed__hero-bg {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 45%, #134e4a 100%);
}
.mobile-live-feed__hero-slide--city .mobile-live-feed__hero-bg {
    background: linear-gradient(135deg, var(--city-primary) 0%, #1e3a8a 55%, #0f172a 100%);
}
.mobile-live-feed__hero-slide--composed .mobile-live-feed__hero-emoji {
    font-size: 4rem;
    opacity: 0.22;
    top: 0.75rem;
    right: 1rem;
    left: auto;
    bottom: auto;
    inset: auto;
    position: absolute;
}
.mobile-live-feed__hero-thumb {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    border-radius: 1rem;
    background: rgb(255 255 255 / 0.92);
    padding: 0.375rem;
    box-shadow: 0 8px 24px rgb(15 23 42 / 0.2);
}
.mobile-live-feed__hero-slide--photo .mobile-live-feed__hero-bg {
    background-size: cover;
    background-position: center;
}

.local-map .leaflet-container {
    width: 100%;
    height: 100%;
    z-index: 1;
    font-family: inherit;
}
.local-map .leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.12) !important;
}

.local-map .mapboxgl-map {
    width: 100%;
    height: 100%;
    font-family: inherit;
}
.local-map .mapboxgl-ctrl-group {
    border: none !important;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.12) !important;
}
.local-map .mapboxgl-popup-content {
    border-radius: 0.75rem;
    padding: 0.625rem 0.75rem;
    box-shadow: 0 4px 16px rgb(15 23 42 / 0.12);
}

.local-map-alert {
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #fcd34d;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.8125rem;
    line-height: 1.45;
}
html[data-theme="dark"] .local-map-alert {
    background: rgb(146 64 14 / 0.2);
    border-color: #b45309;
    color: #fcd34d;
}

/* Lokalnie — podzakladki Lista | Mapa (mobile) */
.local-mobile-tabs {
    display: flex;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 40;
}
.local-mobile-tabs__item {
    flex: 1;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    color: #475569;
    background: #f1f5f9;
}
.local-mobile-tabs__item.is-active {
    background: var(--city-primary, #1e40af);
    color: #fff;
}
html[data-theme="dark"] .local-mobile-tabs {
    background: var(--tm-surface, #1e293b);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .local-mobile-tabs__item {
    background: rgb(15 23 42 / 0.5);
    color: #cbd5e1;
}

/* Mapa — pelny ekran na telefonie */
@media (max-width: 767px) {
    .site-body--local-map-full {
        overflow: hidden;
        height: 100dvh;
        display: flex;
        flex-direction: column;
    }
    .site-body--local-map-full .site-nav__menu,
    .site-body--local-map-full .site-nav__toggle {
        display: none;
    }
    .site-body--local-map-full .site-nav__inner {
        min-height: 3rem;
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
    }
    .site-body--local-map-full .site-nav__logo-img {
        width: 36px;
        height: 36px;
    }
    .site-body--local-map-full main {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        padding: 0;
    }
    .site-body--local-map-full .page-shell--local-map {
        flex: 1;
        display: flex;
        flex-direction: column;
        max-width: none;
        width: 100%;
        padding: 0;
        margin: 0;
        min-height: 0;
    }
    .site-body--local-map-full .local-map-wrap {
        flex: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        min-height: 0;
        margin: 0;
    }
    .site-body--local-map-full .local-map {
        flex: 1;
        width: 100%;
        height: auto !important;
        min-height: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
    .site-body--local-map-full .local-map-vibes {
        position: absolute;
        top: max(0.5rem, env(safe-area-inset-top, 0px));
        left: 0.5rem;
        right: 0.5rem;
        z-index: 10;
        margin: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.125rem;
    }
    .site-body--local-map-full .local-map-vibes::-webkit-scrollbar {
        display: none;
    }
    .site-body--local-map-full .local-map-vibe {
        flex-shrink: 0;
        background: rgb(255 255 255 / 0.94);
        backdrop-filter: blur(6px);
        box-shadow: 0 2px 8px rgb(15 23 42 / 0.12);
    }
    .site-body--local-map-full .local-map-hint {
        position: absolute;
        bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
        left: 0.5rem;
        right: 0.5rem;
        z-index: 10;
        margin: 0;
        padding: 0.375rem 0.625rem;
        border-radius: 0.5rem;
        background: rgb(255 255 255 / 0.92);
        backdrop-filter: blur(6px);
        font-size: 0.6875rem;
        box-shadow: 0 2px 8px rgb(15 23 42 / 0.1);
    }
    .site-body--local-map-full .site-footer {
        display: none;
    }
    .site-body--local-map-full .local-mobile-tabs {
        flex-shrink: 0;
    }
}

/* Pinezki kategorii na mapie */
.local-map-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 9999px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(15 23 42 / 0.28);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.local-map-pin__icon {
    font-size: 1.25rem;
    line-height: 1;
}
.local-map-pin:hover,
.local-map-pin:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgb(15 23 42 / 0.35);
    outline: none;
}
.local-map-pin--open {
    background: #dcfce7;
    border-color: #16a34a;
    box-shadow: 0 4px 14px rgb(22 163 74 / 0.35);
}
.local-map-pin--closed {
    background: #fee2e2;
    border-color: #dc2626;
    box-shadow: 0 4px 14px rgb(220 38 38 / 0.35);
}
.local-map-pin-leaflet {
    background: transparent !important;
    border: none !important;
}

.local-map-popup-wrap--name .mapboxgl-popup-content,
.leaflet-container .local-map-popup-wrap--name {
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
}
.local-map-popup--name-only {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    align-items: center;
    text-align: center;
    min-width: 7rem;
}
.local-map-popup--name-only .local-map-popup__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.local-map-popup--name-only .local-map-popup__link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--city-primary, #1e40af);
    text-decoration: none;
}
html[data-theme="dark"] .local-map-pin {
    border-color: rgb(255 255 255 / 0.85);
}
html[data-theme="dark"] .local-map-popup--name-only .local-map-popup__name {
    color: #f8fafc;
}

.local-map-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    color: #64748b;
}
.local-map-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.local-map-legend__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    border: 1px solid rgb(15 23 42 / 0.12);
}
.local-map-legend__dot--open { background: #22c55e; border-color: #16a34a; }
.local-map-legend__dot--closed { background: #ef4444; border-color: #dc2626; }

/* Okolica — lista miejsc (te same co na mapie) */
.page-shell--local-list {
    padding-bottom: 1rem;
}
.local-list-wrap {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.local-list-vibes {
    flex-shrink: 0;
    margin-bottom: 0.75rem;
}
.local-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.local-list__item[hidden] {
    display: none;
}
.local-list-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.06);
}
.local-list-card:active {
    transform: scale(0.99);
}
.local-list-card__pin {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.12);
}
.local-list-card__pin--open {
    background: #dcfce7;
    border-color: #16a34a;
}
.local-list-card__pin--closed {
    background: #fee2e2;
    border-color: #dc2626;
}
.local-list-card__emoji {
    font-size: 1.25rem;
    line-height: 1;
}
.local-list-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.local-list-card__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}
.local-list-card__name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: #0f172a;
    line-height: 1.3;
}
.local-list-card__status {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
}
.local-list-card__status--open {
    color: #15803d;
    background: #dcfce7;
}
.local-list-card__status--closed {
    color: #b91c1c;
    background: #fee2e2;
}
.local-list-card__cat {
    font-size: 0.75rem;
    color: #64748b;
}
.local-list-card__addr {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.35;
}
.local-list-empty {
    margin-top: 0.5rem;
}
html[data-theme="dark"] .local-list-card {
    background: var(--tm-surface, #1e293b);
    border-color: var(--tm-border, #475569);
}
html[data-theme="dark"] .local-list-card__name {
    color: #f8fafc;
}
html[data-theme="dark"] .local-list-card__addr {
    color: #cbd5e1;
}
@media (max-width: 767px) {
    .site-body--has-tab-bar .page-shell--local-list {
        padding: 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }
}

.local-list-card__meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    flex-shrink: 0;
}
.local-list-card__distance {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--city-primary, #1e40af);
    white-space: nowrap;
}
.local-list-card__distance.is-loading {
    color: #94a3b8;
}
.local-list-geo-hint {
    margin: 0;
    line-height: 1.4;
}
.local-list-hint__route {
    white-space: nowrap;
}
html[data-theme="dark"] .local-list-card__distance {
    color: #93c5fd;
}

/* Pozycja uzytkownika na mapie (mobile) */
.local-map-user-marker {
    background: transparent !important;
    border: none !important;
}
.local-map-user {
    position: relative;
    width: 24px;
    height: 24px;
}
.local-map-user__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 9999px;
    background: #3b82f6;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgb(59 130 246 / 0.35);
    z-index: 2;
}
.local-map-user__pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border-radius: 9999px;
    background: rgb(59 130 246 / 0.25);
    animation: local-map-user-pulse 2s ease-out infinite;
    z-index: 1;
}
@keyframes local-map-user-pulse {
    0% { transform: scale(0.65); opacity: 0.9; }
    70% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}
.local-map .mapboxgl-ctrl-geolocate {
    background: #fff;
}
html[data-theme="dark"] .local-map .mapboxgl-ctrl-geolocate {
    background: var(--tm-surface, #1e293b);
}

.local-map-popup-wrap--card .mapboxgl-popup-content,
.leaflet-container .local-map-popup-wrap--card .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgb(226 232 240 / 0.9);
    box-shadow: 0 16px 40px rgb(15 23 42 / 0.28);
}
.leaflet-container .local-map-popup-wrap--card .leaflet-popup-content {
    margin: 0;
    width: auto !important;
}
.leaflet-container .local-map-popup-wrap--card .leaflet-popup-tip {
    background: #fff;
    border: 1px solid rgb(226 232 240 / 0.9);
    box-shadow: none;
}
.local-map-popup-wrap--card .mapboxgl-popup-close-button {
    font-size: 1.25rem;
    line-height: 1;
    padding: 0.5rem 0.625rem;
    color: #94a3b8;
    z-index: 2;
}
.local-map-popup-wrap--card .mapboxgl-popup-close-button:hover {
    color: #475569;
    background: transparent;
}
.local-map-popup--card {
    padding: 0.875rem 0.875rem 0.75rem;
    min-width: 13rem;
    max-width: 17.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.local-map-popup--card .local-map-popup__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 0.625rem;
    margin-bottom: 0.375rem;
}
.local-map-popup--card .local-map-popup__emoji {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    line-height: 1;
    border-radius: 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.local-map-popup--card .local-map-popup__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.local-map-popup--card .local-map-popup__status {
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.45rem;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.local-map-popup--card .local-map-popup__status--open {
    background: #dcfce7;
    color: #15803d;
}
.local-map-popup--card .local-map-popup__status--closed {
    background: #fee2e2;
    color: #b91c1c;
}
.local-map-popup--card .local-map-popup__addr {
    margin: 0 0 0.625rem;
    padding-left: 0.125rem;
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.35;
}
.local-map-popup--card .local-map-popup__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    padding: 0.5rem 0.75rem;
    border-radius: 0.625rem;
    background: var(--city-primary, #1e40af);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8125rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgb(30 64 175 / 0.25);
}
.local-map-popup--card .local-map-popup__cta:hover {
    filter: brightness(1.05);
}
html[data-theme="dark"] .local-map-popup--card {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}
html[data-theme="dark"] .local-map-popup--card .local-map-popup__emoji {
    background: rgb(15 23 42 / 0.6);
    border-color: #475569;
}
html[data-theme="dark"] .local-map-popup--card .local-map-popup__name {
    color: #f8fafc;
}
html[data-theme="dark"] .local-map-popup--card .local-map-popup__addr {
    color: #94a3b8;
}
html[data-theme="dark"] .leaflet-container .local-map-popup-wrap--card .leaflet-popup-tip {
    background: #1e293b;
    border-color: #475569;
}
