/* ===== 全局重置 ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f0f2f5;
            color: #1a1a1a;
            min-height: 100vh;
        }

        /* ===== 顶部导航 ===== */
        .header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 16px 40px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
                min-width: 365px;
        }

        .header-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #fff;
            font-size: 24px;
            font-weight: 700;
            text-decoration: none;
        }

        .logo-icon {
            font-size: 32px;
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .header-actions .search-box {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            padding: 8px 18px;
            backdrop-filter: blur(10px);
            transition: all 0.3s;
        }

        .header-actions .search-box:focus-within {
            background: rgba(255, 255, 255, 0.9);
        }

        .header-actions .search-box input {
            border: none;
            background: transparent;
            outline: none;
            color: #fff;
            font-size: 14px;
            width: 180px;
            transition: width 0.3s;
        }

        .header-actions .search-box:focus-within input {
            color: #333;
            width: 220px;
        }

        .header-actions .search-box input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .header-actions .search-icon {
            color: rgba(255, 255, 255, 0.7);
            font-size: 18px;
            margin-right: 8px;
        }

        .header-btn {
            color: #fff;
            text-decoration: none;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .header-btn:hover {
            background: rgba(255, 255, 255, 0.25);
        }

        .header-btn.primary {
            background: #fff;
            color: #667eea;
            border: none;
        }

        .header-btn.primary:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
        }

        /* ===== 分类标签 ===== */
        .tabs {
            max-width: 1400px;
            margin: 24px auto 0;
            padding: 0 40px;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .tab {
            padding: 10px 28px;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            color: #666;
            background: #fff;
            border: 1px solid #f0f0f0;
            cursor: pointer;
            transition: all 0.3s;
        }

        .tab:hover {
            border-color: #667eea;
            color: #667eea;
        }

        .tab.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border: none;
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
        }

        /* ===== 主内容 ===== */
        .main {
            max-width: 1400px;
            margin: 24px auto 60px;
            padding: 0 40px;
        }

        /* ===== 用户卡片网格 ===== */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }

        /* ===== 用户卡片 ===== */
        .card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            position: relative;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 48px rgba(102, 126, 234, 0.12);
        }

        .card-image {
            width: 100%;
            height: 520px;
            background: #e8ecf1;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .card-image .status-dot {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            border: 2px solid #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .card-image .status-dot.online {
            background: #52c41a;
        }

        .card-image .status-dot.offline {
            background: #ddd;
        }

        .card-image .match-badge {
            position: absolute;
            bottom: 16px;
            left: 16px;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(10px);
            color: #fff;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
        }

        .card-body {
            padding: 20px;
        }

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

        .card-user {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .card-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #e8ecf1;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
            border: 2px solid #f0f0f0;
        }

        .card-name {
            font-size: 18px;
            font-weight: 600;
        }

        .card-age {
            font-size: 14px;
            color: #999;
            font-weight: 400;
        }

        .card-vip {
            font-size: 16px;
        }

        .card-location {
            font-size: 13px;
            color: #999;
            display: flex;
            align-items: center;
            gap: 4px;
            margin-bottom: 8px;
        }

        .card-tags {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }

        .card-tag {
            font-size: 12px;
            color: #667eea;
            background: #f0f5ff;
            padding: 2px 14px;
            border-radius: 20px;
        }

        .card-bio {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-actions {
            display: flex;
            gap: 10px;
        }

        .card-actions .btn {
            flex: 1;
            padding: 10px 0;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 500;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            text-align: center;
        }

        .card-actions .btn:active {
            transform: scale(0.95);
        }

        .card-actions .btn-chat {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
        }

        .card-actions .btn-chat:hover {
            box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
            transform: translateY(-2px);
        }

        .card-actions .btn-like {
            background: #f5f7fa;
            color: #666;
            flex: 1;
        }

        .card-actions .btn-like:hover {
            background: #fff0f0;
            color: #ff6b6b;
        }

        .card-actions .btn-like.liked {
            background: #fff0f0;
            color: #ff6b6b;
        }

        .card-actions .btn-play {
            background: #f0f5ff;
            color: #667eea;
            flex: 0.5;
        }

        .card-actions .btn-play:hover {
            background: #667eea;
            color: #fff;
        }

        /* ===== 加载更多 ===== */
        .load-more {
            text-align: center;
            padding: 40px 0 20px;
        }

        .load-more .btn {
            padding: 14px 60px;
            border-radius: 40px;
            background: #fff;
            border: 1px solid #f0f0f0;
            font-size: 16px;
            color: #666;
            cursor: pointer;
            transition: all 0.3s;
        }

        .load-more .btn:hover {
            border-color: #667eea;
            color: #667eea;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        }

        /* ===== 底部 ===== */
        .footer {
            background: #fff;
            padding: 30px 40px;
            border-top: 1px solid #f0f0f0;
            text-align: center;
            font-size: 14px;
            color: #999;
        }

        /* ============================================
                   响应式设计
                   ============================================ */

        /* 平板 */
        @media (max-width: 1024px) {
            .header {
                padding: 14px 24px;
            }

            .tabs {
                padding: 0 24px;
                margin-top: 16px;
            }

            .main {
                padding: 0 24px;
                margin-top: 16px;
            }

            .card-grid {
                grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
                gap: 20px;
            }
        }

        /* 手机 */
        @media (max-width: 768px) {
            .header {
                padding: 12px 16px;
            }

            .logo {
                font-size: 18px;
                gap: 8px;
            }

            .logo-icon {
                font-size: 24px;
            }

            .header-actions .search-box {
                padding: 6px 14px;
            }

            .header-actions .search-box input {
                width: 100px;
                font-size: 13px;
            }

            .header-actions .search-box:focus-within input {
                width: 130px;
            }

            .header-btn {
                font-size: 12px;
                padding: 6px 14px;
            }

            .tabs {
                padding: 0 16px;
                gap: 6px;
                margin-top: 12px;
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .tabs::-webkit-scrollbar {
                display: none;
            }

            .tab {
                font-size: 13px;
                padding: 8px 18px;
                white-space: nowrap;
                flex-shrink: 0;
            }

            .main {
                padding: 0 16px;
                margin-top: 12px;
            }

            .card-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .card-image {
                height: 160px;
            }

            .card-body {
                padding: 14px;
            }

            .card-avatar {
                width: 40px;
                height: 40px;
            }

            .card-name {
                font-size: 15px;
            }

            .card-tags {
                margin-bottom: 8px;
            }

            .card-tag {
                font-size: 11px;
                padding: 2px 10px;
            }

            .card-bio {
                font-size: 13px;
                -webkit-line-clamp: 1;
                margin-bottom: 12px;
            }

            .card-actions .btn {
                font-size: 12px;
                padding: 8px 0;
            }

            .card-actions .btn-like,
            .card-actions .btn-play {
                flex: 0.4;
            }

            .load-more .btn {
                padding: 12px 40px;
                font-size: 14px;
            }

            .footer {
                padding: 20px 16px;
                font-size: 12px;
            }
        }

        /* 小手机 */
        @media (max-width: 480px) {
            .header-actions .search-box input {
                width: 70px;
            }

            .header-actions .search-box:focus-within input {
                width: 100px;
            }

            .card-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .card-image {
                height: 480px;
                width: 100%;
            }

            .tab {
                font-size: 12px;
                padding: 6px 14px;
            }

            .header-btn {
                font-size: 11px;
                padding: 4px 12px;
            }

            .header-btn.primary {
                font-size: 12px;
                padding: 6px 14px;
            }
        }

        /* ===== 动画 ===== */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card {
            animation: fadeUp 0.6s ease forwards;
            opacity: 0;
        }

        .card:nth-child(1) {
            animation-delay: 0.05s;
        }
        .card:nth-child(2) {
            animation-delay: 0.10s;
        }
        .card:nth-child(3) {
            animation-delay: 0.15s;
        }
        .card:nth-child(4) {
            animation-delay: 0.20s;
        }
        .card:nth-child(5) {
            animation-delay: 0.25s;
        }
        .card:nth-child(6) {
            animation-delay: 0.30s;
        }
        .card:nth-child(7) {
            animation-delay: 0.35s;
        }
        .card:nth-child(8) {
            animation-delay: 0.40s;
        }
        .toast {
            position: fixed;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            padding: 14px 28px;
            border-radius: 12px;
            color: #fff;
            font-size: 15px;
            background: #333;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            z-index: 9999;
            animation: fadeIn 0.3s ease;
            text-align: center;
            min-width: 150px;
        }

        .toast-success { background: #52c41a; }
        .toast-error { background: #ff4d4f; }
        .toast-info { background: #667eea; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
            to { opacity: 1; transform: translateX(-50%) translateY(0); }
        }

        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }