<style>
    body {
        background-color: #f5f7fa;
    }

    .profile-card {
        border: none;
        border-radius: 14px;
        box-shadow: 0 6px 20px rgba(0,0,0,.05);
        transition: transform .2s, box-shadow .2s;
        overflow: hidden;
    }

    .profile-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }
.cover {
    height: 90px;
    background-size: cover;
    background-position: center;
    position: relative;
    filter: blur(6px);
    transform: scale(1.1);
}

    /* Dark overlay for contrast */
    .cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
    }

    /* Avatar stays sharp above cover */
    .avatar {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #fff;
        margin-top: -36px;
        background: #fff;
        position: relative;
        z-index: 2;
    }

    /* Increased DP size */
    .avatar-lg {
        width: 120px;
        height: 120px;
        margin-top: -60px; /* overlaps cover nicely */
        box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    }

    /* Optional: smoother hover */
    .profile-card:hover .avatar-lg {
        transform: scale(1.05);
        transition: 0.3s ease;
    }

    .username {
        color: #6c757d;
        font-size: 14px;
    }

    @media (max-width: 576px) {
        .cover {
            height: 70px;
        }

        .avatar {
            width: 64px;
            height: 64px;
            margin-top: -32px;
        }
    }

    .post-stats {
        font-size: 0.9rem;
    }

    .stat-like i {
        color: #e0245e;
        margin-right: 4px;
    }

    .stat-retweet i {
        color: #1da1f2;
        margin-right: 4px;
    }

    .post-stats span {
        cursor: default;
    }

    :root {
        --bs-body-bg: #FFE6F2;
        --bs-body-color: #111;
    }

    .search-input::placeholder {
        font-size: 0.85rem;
    }

    @media (min-width: 768px) {
        .search-input::placeholder {
            font-size: 1rem;
        }
    }

    /* Make search button identical to header nav-link */
    .search-btn {
        font-size: 1rem;              /* same as nav-link */
        line-height: 1.5;
        padding-top: 0.375rem;        /* matches Bootstrap nav-link */
        padding-bottom: 0.375rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile: slightly tighter so it doesn't look oversized */
    @media (max-width: 767px) {
        .search-btn {
            font-size: 0.95rem;
            padding-top: 0.35rem;
            padding-bottom: 0.35rem;
        }
    }


</style>

