/**
 * Activities index page — extracted from inline styles
 * Uses design tokens from tokens.css
 */

/* ═══════ LAYOUT ═══════ */
.page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 64px);
    margin-top: 64px;
}
.page-list {
    overflow-y: auto;
    padding: 24px;
}
.page-map {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
}
.page-map #actMap { width: 100%; height: 100%; }

@media (max-width: 1200px) {
    .page-layout { grid-template-columns: 1fr 45%; }
}
@media (max-width: 900px) {
    .page-layout { grid-template-columns: 1fr; height: auto; margin-top: 56px; }
    .page-map { display: none; }
    /* Espace pour que le dernier élément ne soit pas caché sous la bottom nav */
    .page-list {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

/* ═══════ TOP BAR ═══════ */
.top-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--bg-elevated); box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px; height: 64px;
}
.top-bar-logo { font-size: 24px; text-decoration: none; }
.top-bar-search {
    flex: 1; display: flex; align-items: center; gap: 8px;
    background: var(--bg-subtle); border-radius: 24px; padding: 8px 16px;
    max-width: 480px;
}
.top-bar-search i { color: var(--text-muted); font-size: 14px; }
.top-bar-search input {
    flex: 1; border: none; background: none; font-size: 14px; outline: none;
    font-family: var(--font-body); color: var(--text);
}
.top-bar-back {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--primary); font-weight: 600;
}

@media (max-width: 900px) {
    .top-bar { height: 56px; padding: 8px 16px; }
}

/* ═══════ FILTERS ═══════ */
.filters-bar {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.filter-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
    background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-secondary);
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
    min-height: 44px;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); color: var(--text-inverse); border-color: var(--primary); }
.filter-chip i { font-size: 12px; }

.filter-dropdown {
    position: relative; display: inline-block;
}
.filter-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 4px); left: 0;
    background: var(--bg-elevated); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
    border: 1px solid var(--border); z-index: 50; min-width: 160px;
    max-height: 300px; overflow-y: auto;
}
.filter-dropdown-menu.show { display: block; }
.filter-dropdown-menu a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; font-size: 13px; color: var(--text-secondary);
    transition: background 0.15s;
}
.filter-dropdown-menu a:hover { background: var(--bg-subtle); }
.filter-dropdown-menu a.active { color: var(--primary); font-weight: 600; }

/* ═══════ RESULTS HEADER ═══════ */
.results-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.results-count { font-size: 15px; color: var(--text-secondary); }
.results-count strong { color: var(--text); }
.sort-select {
    padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; background: var(--bg-elevated); cursor: pointer; font-family: var(--font-body);
    color: var(--text); min-height: 36px;
}
@media (max-width: 600px) {
    .sort-select { padding: 10px 14px; min-height: 44px; font-size: 14px; }
}

/* ═══════ CARDS GRID ═══════ */
.act-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.act-card {
    background: var(--bg-elevated); border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.25s; cursor: pointer;
}
.act-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.act-card-image {
    position: relative; height: 170px; overflow: hidden; background: var(--bg-subtle);
}
.act-card-image img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s;
}
.act-card:hover .act-card-image img { transform: scale(1.05); }
.act-card-noimg {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: var(--gray-300);
}
.act-card-category {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,0,0,0.6); color: white; padding: 4px 10px;
    border-radius: 12px; font-size: 11px; font-weight: 600;
    backdrop-filter: blur(4px);
}
.act-card-category i { margin-right: 4px; }
.act-card-free {
    position: absolute; top: 10px; right: 10px;
    background: #10b981; color: white; padding: 4px 10px;
    border-radius: 12px; font-size: 11px; font-weight: 700;
}

.act-card-body { padding: 14px; }
.act-card-name {
    font-size: 15px; font-weight: 700; color: var(--text);
    line-height: 1.3; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.act-card-location {
    font-size: 13px; color: var(--text-muted); margin-bottom: 8px;
    display: flex; align-items: center; gap: 4px;
}
.act-card-location i { font-size: 11px; color: var(--primary); }
.act-card-price { margin-left: auto; font-weight: 600; color: var(--primary); }

.act-card-bottom { display: flex; align-items: center; }
.act-card-rating { display: flex; align-items: center; gap: 6px; }
.rating-pill {
    background: var(--primary); color: white; padding: 4px 10px;
    border-radius: 6px; font-size: 13px; font-weight: 700;
}
.rating-count { font-size: 12px; color: var(--text-muted); }
.act-card-no-rating { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* ═══════ PAGINATION ═══════ */
.pagination {
    display: flex; justify-content: center; gap: 4px; margin-top: 32px;
}
.pagination a, .pagination span {
    display: flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
    border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-secondary);
    transition: all 0.2s;
}
@media (max-width: 600px) {
    .pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; }
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current {
    background: var(--primary); color: white; border-color: var(--primary);
}

/* ═══════ ACTIVE FILTERS BAR ═══════ */
.active-filters {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    margin-bottom: 16px; padding: 10px 14px;
    background: var(--primary-light); border-radius: var(--radius-sm);
}
.active-filters-label { font-size: 12px; font-weight: 600; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 0.5px; }
.active-filter-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; background: var(--bg-elevated); border-radius: 16px;
    font-size: 12px; font-weight: 500; color: var(--text);
    border: 1px solid var(--primary); transition: all 0.15s;
}
.active-filter-tag:hover { background: var(--gray-100); border-color: var(--gray-400); }
.active-filter-tag i { font-size: 10px; color: var(--text-muted); cursor: pointer; }
.active-filter-tag i:hover { color: var(--danger, #ef4444); }
.active-filters-clear {
    margin-left: auto; font-size: 12px; color: var(--primary);
    font-weight: 600; cursor: pointer; white-space: nowrap;
}
.active-filters-clear:hover { text-decoration: underline; }

/* ═══════ EMPTY STATE ═══════ */
.empty-state {
    text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; color: var(--gray-300); }
.empty-state h3 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state .reset-link {
    display: inline-block; margin-top: 12px; padding: 8px 20px;
    background: var(--primary); color: white; border-radius: 20px;
    font-size: 13px; font-weight: 600;
}

/* ═══════ MOBILE MAP TOGGLE ═══════ */
.map-toggle-btn {
    display: none;
    position: fixed;
    /* Positionné au-dessus de la bottom nav (56px) + marge confortable */
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 110;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    background: var(--gray-900);
    color: var(--text-inverse);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    font-family: var(--font-body);
    white-space: nowrap;
}
.map-toggle-btn i { margin-right: 6px; }
@media (max-width: 900px) {
    .map-toggle-btn { display: flex; align-items: center; }
    .page-map.mobile-show {
        display: block !important;
        position: fixed;
        top: 56px;
        left: 0; right: 0;
        bottom: calc(56px + env(safe-area-inset-bottom, 0px));
        z-index: 80;
        height: auto;
    }
}
@media (max-width: 768px) {
    .map-toggle-btn {
        bottom: calc(68px + env(safe-area-inset-bottom, 0px) + 8px);
    }
}

/* ═══════ MAP LEGEND ═══════ */
.map-legend {
    position: absolute; bottom: 10px; left: 10px; z-index: 1000;
    background: var(--bg-elevated); border-radius: var(--radius-sm); padding: 10px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); font-size: 11px; max-height: 200px; overflow-y: auto;
}
@media (max-width: 900px) {
    .page-map.mobile-show .map-legend {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        left: 50%; transform: translateX(-50%);
        max-width: 90vw; white-space: nowrap;
    }
}
.map-legend-title { font-weight: 700; font-size: 12px; margin-bottom: 6px; color: var(--text); }
.map-legend-item { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.map-legend-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ═══════ CARD HIGHLIGHT ═══════ */
.act-card.map-highlight {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    box-shadow: 0 0 0 4px rgba(0,99,90,0.15), var(--shadow-md);
}

/* ═══════ MAP MARKERS ═══════ */
.act-marker {
    width: 38px; height: 38px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    border: 2.5px solid white;
    animation: markerFade 0.3s ease-out both;
    transition: transform 0.2s, box-shadow 0.2s;
}
.act-marker i {
    transform: rotate(45deg);
    font-size: 14px; color: white;
}
.act-marker.highlighted {
    background: var(--warning) !important;
    transform: rotate(-45deg) scale(1.3);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
    z-index: 1000 !important;
}
@keyframes markerFade { from { opacity: 0; transform: rotate(-45deg) scale(0.5); } to { opacity: 1; transform: rotate(-45deg) scale(1); } }

/* ═══════ TOP BAR — act-map-btn ═══════ */
.act-map-btn {
    display: none; /* desktop : bouton carte déjà visible via desktop UI */
    align-items: center; gap: 6px;
    padding: 8px 16px; height: 40px;
    border: none; border-radius: 20px;
    background: var(--gray-900); color: #fff;
    font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: var(--font-body);
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.2s;
}
.act-map-btn i { font-size: 14px; }
.act-map-btn:hover { background: #111; }

@media (max-width: 900px) {
    /* Bouton carte dans la top-bar (icône + label) */
    .act-map-btn {
        display: flex;
        padding: 8px 14px;
        min-width: 44px; min-height: 44px;
        border-radius: 50px;
    }
    .act-map-btn-label { display: inline; }
    /* Cacher le bouton flottant map-toggle-btn quand actMapToggleTop est visible */
    .map-toggle-btn { display: none !important; }
}

/* ═══════ ACT FILTER BAR — ligne 2 mobile ═══════ */
.act-filter-bar {
    display: none; /* caché sur desktop */
    position: fixed;
    top: 56px; left: 0; right: 0;
    z-index: 90;
    background: var(--bg-elevated);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 8px 12px;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 900px) {
    .act-filter-bar { display: flex; }
    /* Pousser le page-layout en dessous de la 2ème barre */
    .page-layout { margin-top: 108px; }
    /* Cacher la filters-bar desktop + sort-select desktop sur mobile */
    .filters-bar { display: none; }
    .sort-select { display: none; }
    /* Résultats header : uniquement le count */
    .results-header { justify-content: flex-start; }
}

/* Chip ville */
.act-loc-chip {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 12px;
    border: 1px solid var(--border); border-radius: 20px;
    background: var(--bg-subtle); color: var(--text);
    font-size: 13px; font-weight: 500;
    cursor: pointer; font-family: var(--font-body);
    overflow: hidden; white-space: nowrap;
    transition: border-color 0.2s;
}
.act-loc-chip:hover { border-color: var(--primary); }
.act-loc-chip i:first-child { color: var(--primary); font-size: 13px; flex-shrink: 0; }
.act-loc-chip span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.act-loc-chevron { font-size: 10px; color: var(--text-muted); flex-shrink: 0; }

/* Bouton Filtres */
.act-filter-btn {
    display: flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: 20px;
    background: var(--bg-elevated); color: var(--text-secondary);
    font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: var(--font-body); white-space: nowrap; flex-shrink: 0;
    transition: all 0.2s;
}
.act-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.act-filter-btn.has-filters {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.act-filter-badge {
    background: #fff; color: var(--primary);
    border-radius: 10px; padding: 1px 6px;
    font-size: 11px; font-weight: 700; line-height: 1.4;
}
.act-filter-btn:not(.has-filters) .act-filter-badge {
    background: var(--primary); color: #fff;
}

/* Bouton Trier */
.act-sort-btn {
    display: flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px;
    border: 1px solid var(--border); border-radius: 20px;
    background: var(--bg-elevated); color: var(--text-secondary);
    font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: var(--font-body); white-space: nowrap; flex-shrink: 0;
    transition: all 0.2s;
}
.act-sort-btn:hover { border-color: var(--primary); color: var(--primary); }
.act-sort-btn.active { border-color: var(--primary); color: var(--primary); }

/* ═══════ ACT OVERLAY ═══════ */
.act-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.act-overlay.open { display: block; opacity: 1; }

/* ═══════ ACT BOTTOM SHEET ═══════ */
.act-sheet {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 210;
    background: var(--bg-elevated);
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    display: flex; flex-direction: column;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
    /* hidden by default */
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.act-sheet.ready { display: flex; }
.act-sheet.active { transform: translateY(0); }

.act-sheet-handle {
    width: 40px; height: 4px;
    background: var(--border); border-radius: 2px;
    margin: 12px auto 0; flex-shrink: 0;
}
.act-sheet-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.act-sheet-title {
    font-size: 17px; font-weight: 700; color: var(--text);
}
.act-sheet-close {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: var(--bg-subtle); border-radius: 50%;
    cursor: pointer; color: var(--text-secondary); font-size: 14px;
}
.act-sheet-close:hover { background: var(--gray-200); }

.act-sheet-body {
    overflow-y: auto; flex: 1;
    padding: 8px 0 calc(env(safe-area-inset-bottom, 0px) + 8px);
    -webkit-overflow-scrolling: touch;
}

/* Rows inside ville sheet */
.act-sheet-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; font-size: 15px; color: var(--text);
    transition: background 0.15s; cursor: pointer;
}
.act-sheet-row:hover { background: var(--bg-subtle); }
.act-sheet-row.active { color: var(--primary); font-weight: 600; }
.act-row-check { color: var(--primary); font-size: 14px; }

/* Sections inside filtres sheet */
.act-sheet-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.act-sheet-section:last-child { border-bottom: none; }
.act-sheet-label {
    font-size: 12px; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin: 0 0 12px;
    display: flex; align-items: center; gap: 6px;
}
.act-sheet-label i { color: var(--primary); }

/* Footer of filtres sheet */
.act-sheet-footer {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}
.act-sheet-reset {
    flex: 0; white-space: nowrap;
    font-size: 14px; font-weight: 600; color: var(--text-secondary);
    text-decoration: underline; cursor: pointer;
}
.act-sheet-reset:hover { color: var(--text); }
.act-sheet-apply {
    flex: 1;
    padding: 14px 20px; border-radius: 12px;
    background: var(--primary); color: #fff;
    font-size: 15px; font-weight: 700;
    border: none; cursor: pointer; font-family: var(--font-body);
    transition: background 0.2s;
}
.act-sheet-apply:hover { background: var(--primary-dark); }

/* ═══════ ACT SEGMENT (iOS-style) ═══════ */
.act-segment {
    display: flex; gap: 0;
    background: var(--bg-subtle); border-radius: 10px;
    padding: 3px;
}
.act-seg {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 8px 4px; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    cursor: pointer; text-align: center; transition: all 0.2s;
    white-space: nowrap;
}
.act-seg:hover { color: var(--text); }
.act-seg.active {
    background: var(--bg-elevated); color: var(--primary); font-weight: 700;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}

/* ═══════ ACT PILLS (catégories) ═══════ */
.act-pills {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.act-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 14px; border-radius: 20px;
    font-size: 13px; font-weight: 500;
    background: var(--bg-subtle); color: var(--text-secondary);
    border: 1px solid var(--border); cursor: pointer;
    transition: all 0.2s; white-space: nowrap;
}
.act-pill:hover { border-color: var(--primary); color: var(--primary); }
.act-pill.active {
    background: var(--primary); color: #fff; border-color: var(--primary);
}
.act-pill i { font-size: 11px; }

/* ═══════ ACT SORT ROWS ═══════ */
.act-sort-row {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px; cursor: pointer;
    transition: background 0.15s; color: var(--text);
}
.act-sort-row:hover { background: var(--bg-subtle); }
.act-sort-row.active { color: var(--primary); }

.act-sort-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--bg-subtle); display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--text-secondary); flex-shrink: 0;
}
.act-sort-row.active .act-sort-icon { background: rgba(0,99,90,0.1); color: var(--primary); }

.act-sort-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.act-sort-label { font-size: 15px; font-weight: 600; }
.act-sort-desc { font-size: 12px; color: var(--text-muted); }
.act-sort-row.active .act-sort-label { color: var(--primary); }

.act-sort-check { color: var(--primary); font-size: 16px; margin-left: auto; }

/* Dark mode */
[data-theme="dark"] .act-filter-bar {
    background: rgba(28,25,23,0.97);
    border-bottom-color: rgba(255,255,255,0.06);
}
[data-theme="dark"] .act-sheet {
    background: #1c1917;
}
[data-theme="dark"] .act-sheet-header { border-bottom-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .act-sheet-footer { border-top-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .act-sheet-section { border-bottom-color: rgba(255,255,255,0.06); }

/* ═══════ DYNAMIC SEARCH TOGGLE ═══════ */
.map-search-toggle {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    z-index: 1000; background: var(--bg-elevated); border-radius: 24px;
    padding: 8px 18px; font-size: 13px; font-weight: 500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15); cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    user-select: none; transition: all 0.2s; white-space: nowrap;
    font-family: var(--font-body); color: var(--text-secondary);
}
.map-search-toggle:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.2); }
.map-search-toggle.active { background: var(--primary); color: white; }
.map-search-toggle.loading { opacity: 0.7; pointer-events: none; }
.map-search-toggle .toggle-dot {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid var(--gray-300); transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.map-search-toggle.active .toggle-dot {
    background: white; border-color: white;
}
.map-search-toggle.active .toggle-dot::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 10px; color: var(--primary);
}
.map-search-toggle .spinner {
    display: none; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
    border-radius: 50%; animation: spin 0.6s linear infinite;
}
.map-search-toggle.loading .spinner { display: block; }
.map-search-toggle.loading .toggle-dot { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.dynamic-results-count {
    font-size: 14px; color: var(--text-secondary); font-weight: 500;
    margin-bottom: 12px; padding: 8px 0;
    display: none;
}
.dynamic-results-count.visible { display: block; }
