.members-container {
    max-width: 952px;
    margin: 0 auto;
    padding: 112px 16px 60px;
}

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

.members-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.separator {
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg,
        #ff3b3b 0%, #ff7a18 40%, rgba(255,255,255,0.05) 100%);
}

.members-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 8px;
    border-bottom: 1px solid #161616;
    border-radius: 6px;
    transition: background 0.15s;
}

.member-card:hover {
    background: #0d0d0d;
}

.member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff3b3b, #ff7a18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    text-decoration: none;
    transition: opacity 0.15s;
}

.member-avatar:hover { opacity: 0.85; }

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.member-username {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}

.member-username:hover { color: #ff3b3b; }

.member-stat {
    color: #444;
    font-size: 12px;
    margin: 0;
}

.member-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.member-btn--follow {
    background: linear-gradient(90deg, #ff3b3b, #ff7a18);
    border: none;
    color: #fff;
}

.member-btn--follow:hover { opacity: 0.85; }

.member-btn--following {
    background: none;
    border: 1px solid #333;
    color: #777;
}

.member-btn--following:hover {
    border-color: #ff3b3b;
    color: #ff3b3b;
}

.member-btn--requested {
    background: none;
    border: 1px solid #222;
    color: #444;
    cursor: default;
}

.members-empty {
    color: #444;
    font-size: 14px;
    padding: 40px 0;
    text-align: center;
}

.profile-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.member-avatar-wrap {
    text-decoration: none;
    flex-shrink: 0;
}

.member-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: opacity 0.15s;
}

.member-avatar-img:hover { opacity: 0.85; }

@media (max-width: 768px) {

    .members-container {
        padding-top: 88px;
        padding-bottom: 40px;
    }

    /* Header */
    .members-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 10px;
    }

    .members-title {
        font-size: 20px;
    }

    .members-search {
        width: 100%;
    }

    .members-search .search-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .members-search .search-input {
        width: 100%;
    }

    /* Cards */
    .member-card {
        padding: 12px 4px;
        gap: 12px;
    }

    .member-avatar {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .member-avatar-img {
        width: 38px;
        height: 38px;
    }

    .member-username {
        font-size: 13px;
    }

    .member-stat {
        font-size: 11px;
    }

    .member-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .members-empty {
        font-size: 13px;
    }
}

.followers-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s;
    margin-bottom: 4px;
}

.followers-back:hover { color: #fff; }

.followers-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #222;
}

.followers-tab {
    color: #555;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 0 0 10px;
    margin-right: 24px;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.followers-tab:hover { color: #aaa; }

.followers-tab--active {
    color: #fff;
}

.followers-tab--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff3b3b, #ff7a18);
    border-radius: 2px;
}

@media (max-width: 768px) {

    /* Tabs followers/following */
    .followers-tabs {
        gap: 0;
        width: 100%;
    }

    .followers-tab {
        font-size: 13px;
        margin-right: 20px;
        padding-bottom: 8px;
    }

    .followers-back {
        font-size: 12px;
    }
}