        /* ============================================================
           CUTE PET-FRIENDLY THEME
           ============================================================ */
        @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Quicksand', 'Segoe UI', 'PingFang TC', 'Microsoft YaHei', sans-serif; }

        body {
            background: #fcf6f0;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(255, 215, 190, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(255, 215, 190, 0.25) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 235, 220, 0.3) 0%, transparent 70%);
            min-height: 100vh;
            color: #4a3f3a;
            padding: 1.5rem;
            position: relative;
        }

        /* Floating Paw Prints Background */
        body::before {
            content: "🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾🐾";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            font-size: 3rem;
            letter-spacing: 8rem;
            line-height: 8rem;
            opacity: 0.06;
            pointer-events: none;
            z-index: 0;
            white-space: nowrap;
            overflow: hidden;
            transform: rotate(-5deg) scale(1.2);
            color: #c9a88c;
        }

        /* Subtle Bone Pattern */
        body::after {
            content: "🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴🦴";
            position: fixed;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 100%;
            font-size: 2.5rem;
            letter-spacing: 6rem;
            line-height: 6rem;
            opacity: 0.04;
            pointer-events: none;
            z-index: 0;
            white-space: nowrap;
            overflow: hidden;
            transform: rotate(8deg) scale(1.1);
            color: #b8957a;
        }

        .app {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        /* ============================================================
           HEADER
           ============================================================ */
        .header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1rem 2rem;
            background: rgba(255, 248, 242, 0.9);
            backdrop-filter: blur(12px);
            border-radius: 60px;
            border: 2px solid rgba(255, 215, 190, 0.5);
            box-shadow: 0 8px 32px rgba(180, 130, 100, 0.12);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header-logo {
            font-size: 2.2rem;
            line-height: 1;
        }

        .header-brand {
            display: flex;
            flex-direction: column;
        }

        .header-brand .brand-name {
            font-size: 1.6rem;
            font-weight: 700;
            background: linear-gradient(135deg, #d48c6b, #b8735a);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
        }

        .header-brand .brand-sub {
            font-size: 0.7rem;
            font-weight: 600;
            color: #b8957a;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-top: -2px;
        }

        .header-brand .brand-sub i {
            color: #d48c6b;
            margin-right: 4px;
        }

        .header-right {
            display: flex;
            gap: 0.8rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .badge {
            background: #f5e8df;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            font-size: 0.85rem;
            font-weight: 600;
            color: #6b5a4f;
            border: 1px solid rgba(180, 130, 100, 0.15);
        }
        .badge i { margin-right: 6px; color: #d48c6b; }

        .lang-switch {
            display: flex;
            gap: 4px;
            background: #f5e8df;
            border-radius: 40px;
            padding: 4px;
            border: 1px solid rgba(180, 130, 100, 0.15);
        }
        .lang-switch a {
            padding: 0.25rem 1rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.8rem;
            color: #6b5a4f;
            transition: 0.15s;
        }
        .lang-switch a.active {
            background: white;
            color: #4a3f3a;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        .lang-switch a:hover:not(.active) { background: rgba(255,255,255,0.4); }

        .admin-link {
            background: #d48c6b;
            color: white;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            transition: 0.15s;
            border: none;
        }
        .admin-link:hover { background: #b8735a; transform: scale(0.97); }

        /* ============================================================
           FILTER BAR
           ============================================================ */
        .filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem 1.2rem;
            background: rgba(255, 248, 242, 0.9);
            backdrop-filter: blur(8px);
            padding: 1rem 1.8rem;
            border-radius: 60px;
            box-shadow: 0 4px 20px rgba(180, 130, 100, 0.08);
            margin-bottom: 2rem;
            align-items: center;
            border: 1px solid rgba(255, 215, 190, 0.4);
        }
        .filter-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        .filter-group label {
            font-weight: 600;
            color: #6b5a4f;
            font-size: 0.85rem;
            white-space: nowrap;
        }
        .filter-group label i { color: #d48c6b; margin-right: 4px; }

        .filter-group select,
        .filter-group input[type="text"] {
            padding: 0.4rem 1rem;
            border-radius: 40px;
            border: 1px solid #e6d5c8;
            background: white;
            font-size: 0.9rem;
            min-width: 120px;
            outline: none;
            transition: 0.15s;
            font-family: inherit;
        }
        .filter-group select:focus,
        .filter-group input[type="text"]:focus {
            border-color: #d48c6b;
            box-shadow: 0 0 0 3px rgba(212, 140, 107, 0.15);
        }
        .filter-group input[type="text"] { min-width: 180px; }
        .filter-group input[type="text"]::placeholder { color: #b0a89b; }

        .search-btn {
            background: #d48c6b;
            color: white;
            border: none;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.15s;
        }
        .search-btn:hover { background: #b8735a; transform: scale(0.97); }

        .clear-btn {
            background: transparent;
            border: 1px solid #e6d5c8;
            padding: 0.4rem 1.2rem;
            border-radius: 40px;
            font-weight: 500;
            color: #6b5a4f;
            cursor: pointer;
            transition: 0.15s;
        }
        .clear-btn:hover { background: #f5e8df; }

        /* ============================================================
           RESTAURANT GRID
           ============================================================ */
        .restaurant-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.8rem;
            margin-top: 0.5rem;
        }

        .restaurant-card {
            background: rgba(255, 248, 242, 0.9);
            backdrop-filter: blur(4px);
            border-radius: 28px;
            padding: 1.2rem;
            transition: all 0.25s ease;
            border: 1px solid rgba(255, 215, 190, 0.3);
            box-shadow: 0 4px 16px rgba(180, 130, 100, 0.06);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

        .restaurant-card::before {
            content: "🐾";
            position: absolute;
            top: -10px;
            right: -10px;
            font-size: 4rem;
            opacity: 0.06;
            transform: rotate(15deg);
        }

        .restaurant-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 40px rgba(180, 130, 100, 0.15);
            border-color: rgba(212, 140, 107, 0.3);
            background: rgba(255, 248, 242, 0.98);
        }

        .restaurant-photo {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 16px;
            margin-bottom: 0.8rem;
            background: #ede6dc;
            border: 2px solid rgba(255, 215, 190, 0.2);
        }
        .restaurant-photo-placeholder {
            width: 100%;
            height: 180px;
            border-radius: 16px;
            margin-bottom: 0.8rem;
            background: #f5e8df;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #c9a88c;
            font-size: 3rem;
            border: 2px dashed rgba(180, 130, 100, 0.15);
        }

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 0.3rem;
        }
        .card-header h3 {
            font-size: 1.2rem;
            font-weight: 700;
            color: #4a3f3a;
        }
        .card-details {
            font-size: 0.85rem;
            color: #6b5a4f;
            margin: 0.3rem 0 0.5rem;
            line-height: 1.7;
        }
        .card-details i { width: 18px; color: #b8957a; margin-right: 4px; }
        .card-details .rating { color: #f5a623; }

        .card-details .review-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: #d48c6b;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.8rem;
            transition: 0.15s;
            cursor: pointer;
            border: none;
            background: none;
            padding: 0;
        }
        .card-details .review-link:hover {
            color: #b8735a;
            text-decoration: underline;
        }
        .card-details .review-link i {
            color: #f5a623;
            width: auto;
        }

        .service-icons {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin: 0.3rem 0;
        }
        .service-icons i {
            font-size: 0.8rem;
            color: #6b5a4f;
            background: #f5efe9;
            padding: 0.2rem 0.5rem;
            border-radius: 20px;
            border: 1px solid rgba(180, 130, 100, 0.08);
        }

        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin: 0.5rem 0 0.2rem;
        }
        .tag {
            background: #f5e8df;
            padding: 0.15rem 0.7rem;
            border-radius: 30px;
            font-size: 0.65rem;
            font-weight: 600;
            color: #6b5a4f;
        }

        .card-footer {
            margin-top: 0.8rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid rgba(180, 130, 100, 0.1);
            padding-top: 0.8rem;
        }
        .detail-btn {
            background: #d48c6b;
            border: none;
            padding: 0.3rem 1.2rem;
            border-radius: 40px;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: 0.15s;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .detail-btn:hover { background: #b8735a; transform: scale(0.97); }

        .google-link {
            color: #b8957a;
            font-size: 0.8rem;
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: 0.15s;
        }
        .google-link:hover { color: #d48c6b; }
        .google-link i { color: #34a853; }

        /* ============================================================
           PAGINATION
           ============================================================ */
        .pagination-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2.5rem;
            flex-wrap: wrap;
        }
        .pagination-btn {
            background: #f5e8df;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 40px;
            font-weight: 600;
            color: #6b5a4f;
            cursor: pointer;
            transition: 0.15s;
            min-width: 40px;
        }
        .pagination-btn:hover:not(:disabled) { background: #e6d5c8; }
        .pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }
        .pagination-btn.active {
            background: #d48c6b;
            color: white;
        }
        .pagination-info {
            color: #6b5a4f;
            font-size: 0.9rem;
            margin: 0 0.5rem;
            font-weight: 500;
        }
        .restaurant-grid.loading { opacity: 0.6; pointer-events: none; }

        /* ============================================================
           DETAIL OVERLAY
           ============================================================ */
        .detail-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(60, 50, 45, 0.6);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 999;
            padding: 1.5rem;
        }
        .detail-overlay.active { display: flex; }

        .detail-panel {
            background: rgba(255, 248, 242, 0.98);
            backdrop-filter: blur(12px);
            max-width: 700px;
            width: 100%;
            border-radius: 48px;
            padding: 2rem;
            box-shadow: 0 40px 80px rgba(60, 50, 45, 0.3);
            position: relative;
            animation: fadeUp 0.35s ease;
            max-height: 90vh;
            overflow-y: auto;
            border: 1px solid rgba(255, 215, 190, 0.3);
        }
        .detail-panel::-webkit-scrollbar { width: 6px; }
        .detail-panel::-webkit-scrollbar-track { background: #f5e8df; border-radius: 10px; }
        .detail-panel::-webkit-scrollbar-thumb { background: #d48c6b; border-radius: 10px; }

        @keyframes fadeUp {
            0% { opacity: 0; transform: translateY(30px) scale(0.97); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }

        .close-detail {
            position: sticky;
            top: 0;
            float: right;
            background: #f5e8df;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 40px;
            font-size: 1.2rem;
            cursor: pointer;
            color: #6b5a4f;
            z-index: 10;
            margin-bottom: 0.5rem;
            transition: 0.15s;
        }
        .close-detail:hover { background: #e6d5c8; }

        .detail-panel .restaurant-photo {
            height: 250px;
            margin-bottom: 1rem;
            border-radius: 20px;
        }

        .detail-panel h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
            display: flex;
            align-items: center;
            gap: 12px;
            color: #4a3f3a;
        }
        .detail-panel h2 i { color: #d48c6b; font-size: 1.6rem; }

        .detail-meta {
            margin: 0.8rem 0 1.2rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem 1.2rem;
            background: #f5efe9;
            padding: 0.8rem 1.2rem;
            border-radius: 40px;
        }
        .detail-meta span {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #6b5a4f;
            font-size: 0.85rem;
            font-weight: 500;
        }
        .detail-meta i { color: #b8957a; width: 18px; }

        .detail-meta .review-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #f5a623;
            color: white;
            padding: 0.15rem 0.8rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.8rem;
            transition: 0.15s;
            border: none;
            cursor: pointer;
        }
        .detail-meta .review-link-btn:hover {
            background: #e09515;
            transform: scale(0.97);
        }
        .detail-meta .review-link-btn i {
            color: white;
            width: auto;
        }

        .detail-desc {
            line-height: 1.7;
            color: #5a4f4a;
            margin: 0.8rem 0 1rem;
            padding: 0.5rem 0;
            border-top: 1px solid rgba(180, 130, 100, 0.1);
            border-bottom: 1px solid rgba(180, 130, 100, 0.1);
            font-size: 0.95rem;
        }

        .detail-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.3rem 1.5rem;
            margin: 0.8rem 0;
        }
        .detail-info-grid .info-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: #5a4f4a;
            padding: 0.3rem 0;
            border-bottom: 1px solid rgba(180, 130, 100, 0.06);
        }
        .detail-info-grid .info-item i { width: 20px; color: #b8957a; }
        .detail-info-grid .info-item .label { font-weight: 600; color: #6b5a4f; min-width: 70px; }
        .detail-info-grid .info-item a { color: #d48c6b; text-decoration: none; font-weight: 500; }
        .detail-info-grid .info-item a:hover { text-decoration: underline; }
        .detail-info-grid .full-width { grid-column: 1 / -1; }

        .detail-services {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.8rem 0;
            padding: 0.8rem 0;
            border-top: 1px solid rgba(180, 130, 100, 0.1);
            border-bottom: 1px solid rgba(180, 130, 100, 0.1);
        }
        .detail-services .service-tag {
            background: #f5e8df;
            padding: 0.3rem 1rem;
            border-radius: 30px;
            font-size: 0.8rem;
            color: #6b5a4f;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
            border: 1px solid rgba(180, 130, 100, 0.08);
        }
        .detail-services .service-tag i { color: #b8957a; }

        .detail-extra {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem 0.8rem;
            margin: 0.8rem 0 1.2rem;
        }
        .detail-extra .tag {
            font-size: 0.8rem;
            padding: 0.2rem 1rem;
            background: #f5e8df;
            border-radius: 30px;
            font-weight: 500;
            color: #6b5a4f;
        }

        .detail-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        .detail-google-fallback {
            display: inline-block;
            background: #d48c6b;
            color: white;
            padding: 0.6rem 1.6rem;
            border-radius: 60px;
            text-decoration: none;
            font-weight: 600;
            transition: 0.15s;
            border: none;
            font-size: 0.95rem;
        }
        .detail-google-fallback i { margin-right: 8px; }
        .detail-google-fallback:hover { background: #b8735a; transform: scale(0.97); }

        .detail-review-link {
            display: inline-block;
            background: #f5a623;
            color: white;
            padding: 0.6rem 1.6rem;
            border-radius: 60px;
            text-decoration: none;
            font-weight: 600;
            transition: 0.15s;
            border: none;
            font-size: 0.95rem;
        }
        .detail-review-link i { margin-right: 8px; }
        .detail-review-link:hover { background: #e09515; transform: scale(0.97); }

        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem 1rem;
            color: #b8957a;
            font-size: 1.2rem;
            background: rgba(255, 248, 242, 0.8);
            border-radius: 60px;
            border: 2px dashed rgba(180, 130, 100, 0.15);
        }
        .no-results i { font-size: 2.5rem; opacity: 0.5; display: block; margin-bottom: 1rem; }

        /* ============================================================
           RESPONSIVE
           ============================================================ */
        @media (max-width: 700px) {
            .filter-bar {
                border-radius: 32px;
                padding: 1rem;
                flex-direction: column;
                align-items: stretch;
            }
            .filter-group { flex-wrap: wrap; width: 100%; }
            .filter-group select, .filter-group input[type="text"] { flex: 1; min-width: 80px; }
            .clear-btn, .search-btn { width: 100%; text-align: center; }

            .header {
                flex-direction: column;
                align-items: stretch;
                gap: 0.8rem;
                padding: 1rem;
                border-radius: 32px;
            }
            .header-left { justify-content: center; }
            .header-right { justify-content: center; }

            .detail-panel { padding: 1.2rem; border-radius: 32px; }
            .detail-info-grid { grid-template-columns: 1fr; }
            .pagination-container { gap: 0.3rem; }
            .pagination-btn { padding: 0.4rem 0.7rem; font-size: 0.85rem; min-width: 32px; }
            .restaurant-grid { grid-template-columns: 1fr; }

            body { padding: 0.8rem; }
        }
