:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #141414;
    --bg-hover: #1f1f1f;
    --bg-elevated: #242424;
    
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    --text-muted: #525252;
    
    --accent: #10b981;
    --accent-hover: #059669;
    --accent-light: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.15);
    
    --favorite: #fbbf24;
    --favorite-hover: #f59e0b;
    
    --border: #262626;
    --border-light: #404040;
    --border-subtle: #1f1f1f;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Header */
.header {
    padding: 32px 0 24px;
    text-align: center;
    position: relative;
}

.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    font-weight: 400;
    max-width: 400px;
    margin: 0 auto;
}

/* View Toggle */
.view-toggle {
    display: inline-flex;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid var(--border);
    margin-top: 20px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-tertiary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-btn:hover {
    color: var(--text-primary);
}

.view-btn.active {
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* Search */
.search-section {
    padding: 0 0 20px;
}

.search-wrapper {
    position: relative;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 16px 48px 16px 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
    border-color: var(--border-light);
    background: var(--bg-tertiary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.clear-btn {
    position: absolute;
    right: 14px;
    width: 28px;
    height: 28px;
    background: var(--border);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 1rem;
    transition: all 0.15s ease;
}

.clear-btn:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

/* Location Section */
.location-section {
    padding: 0 0 16px;
}

.location-container {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4px;
    transition: all 0.2s ease;
}

.location-container:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.location-icon {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    color: var(--accent);
    flex-shrink: 0;
}

.location-input {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9375rem;
    outline: none;
}

.location-input::placeholder {
    color: var(--text-muted);
}

.location-btn {
    padding: 10px 16px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius-md);
    color: #000;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.location-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.location-status {
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-status.active {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-light);
}

/* Categories */
.category-section {
    padding: 0 0 16px;
    position: sticky;
    top: 0;
    background: linear-gradient(to bottom, var(--bg-primary) 90%, transparent);
    z-index: 100;
    padding-top: 8px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 8px;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.category-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.category-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.category-icon {
    font-size: 1rem;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.stats-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sync-btn {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sync-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

.sync-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.favorites-count {
    color: var(--favorite);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Places List */
.places-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.place-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.place-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.place-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.place-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    padding-right: 40px;
    letter-spacing: -0.01em;
}

/* User avatar for places with notes */
.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    margin-left: 8px;
}

.place-header:has(.user-avatar) .place-name {
    padding-right: 72px;
}

.fav-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.125rem;
    z-index: 10;
    color: var(--text-tertiary);
}

.fav-btn:hover {
    transform: scale(1.1);
    border-color: var(--border-light);
}

.fav-btn.active {
    background: var(--favorite);
    border-color: var(--favorite);
    color: #000;
}

.place-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.area-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    color: var(--accent-light);
    font-weight: 500;
}

.place-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    color: var(--favorite);
    font-weight: 600;
}

.place-rating .star {
    font-size: 0.875rem;
}

.place-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--favorite);
    font-weight: 600;
}

.place-rating .star {
    font-size: 0.875rem;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.maps-link, .details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    flex: 1;
}

.maps-link:hover, .details-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}

/* Map Container - Mobile Full Screen Only */
.map-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: none;
    background: var(--bg-primary);
}

.map-container.active {
    display: block;
}

/* Mobile-only full screen map */
@media (min-width: 769px) {
    .map-container.mobile-only {
        display: none !important;
    }
}

#map {
    width: 100%;
    height: 100%;
}

/* Inline Map for Desktop */
.map-inline-container {
    margin: 20px 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.map-inline {
    width: 100%;
    height: 500px;
}

.map-inline-controls {
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .map-inline-container {
        display: none !important;
    }
}

/* Map Controls Overlay */
.map-controls {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.map-controls > * {
    pointer-events: auto;
}

.map-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

.map-close-btn:hover {
    background: var(--bg-hover);
    transform: scale(1.05);
}

.map-category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    padding: 8px 12px;
    border: 1px solid var(--border);
}

.map-category-scroll::-webkit-scrollbar {
    display: none;
}

.map-category-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.map-category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.map-category-btn.active {
    background: var(--accent);
    color: #000;
}

/* Desktop - embedded map */
@media (min-width: 769px) {
    .map-container {
        position: relative;
        height: 600px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        overflow: hidden;
    }
    
    .map-close-btn {
        display: none;
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

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

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    border-bottom: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-tertiary);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.modal-body {
    padding: 28px;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-right: 50px;
    letter-spacing: -0.02em;
}

.modal-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section-title {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.rating-stars {
    color: var(--favorite);
    font-size: 1.125rem;
    letter-spacing: 2px;
}

.review-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.review-rating {
    color: var(--favorite);
    font-size: 0.875rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--text-tertiary);
}

/* Footer */
.footer {
    text-align: center;
    padding: 60px 0 30px;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-heart {
    color: #ef4444;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .app {
        padding: 0 16px 32px;
    }
    
    .header {
        padding: 24px 0 16px;
    }
    
    .logo {
        font-size: 1.625rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .places-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 500px;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
    
    .modal-title {
        font-size: 1.375rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.place-card {
    animation: fadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}

/* Leaflet Customization */
.leaflet-popup-content-wrapper {
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-tip {
    background: var(--bg-card);
}

.leaflet-container a {
    color: var(--accent-light);
}

.leaflet-container a:hover {
    color: var(--accent);
}

/* Distance Tag */
.distance-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--accent-glow);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--accent-light);
}

.distance-tag::before {
    content: '📍';
    font-size: 0.75rem;
}

/* Highlights Box for Notes */
.highlights-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin: 12px 0;
    position: relative;
}

.highlights-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.highlights-icon {
    font-size: 0.875rem;
}

.highlights-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-light);
}

.highlights-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

/* Remove old place-description styles since we're using highlights-box now */
.place-description {
    display: none;
}

/* Location Autocomplete Dropdown */
.location-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: 250px;
    overflow-y: auto;
    z-index: 200;
    box-shadow: var(--shadow-lg);
    margin-top: -4px;
    padding-top: 4px;
}

.location-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-autocomplete-item:last-child {
    border-bottom: none;
}

.location-autocomplete-item:hover,
.location-autocomplete-item.selected {
    background: var(--bg-hover);
}

.location-autocomplete-item.selected {
    border-left: 3px solid var(--accent);
    padding-left: 13px;
}

.location-autocomplete-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.location-autocomplete-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-autocomplete-subtext {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.location-container {
    position: relative;
}

/* Vibe Filters Section */
.vibe-section {
    padding: 0 0 16px;
}

.vibe-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 4px 8px;
}

.vibe-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 8px;
}

.vibe-scroll::-webkit-scrollbar {
    display: none;
}

.vibe-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.vibe-btn:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-light);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.vibe-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: #8b5cf6;
    color: #a78bfa;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.vibe-icon {
    font-size: 0.875rem;
}

/* Vibe tags on place cards */
.vibe-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 500;
    color: #a78bfa;
}

/* Search Autocomplete Dropdown */
.search-autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.search-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-autocomplete-item:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.search-autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.search-autocomplete-item:hover,
.search-autocomplete-item.selected {
    background: var(--bg-hover);
}

.search-autocomplete-item.selected {
    border-left: 3px solid var(--accent);
    padding-left: 13px;
}

.search-autocomplete-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.search-autocomplete-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.search-autocomplete-category {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}
